1 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * time/mktime.c (leapyear): Remove inline keyword. The code is now
4 identical to gnulib mktime.
6 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8 * configure.ac: Do not test for machine being rs6000. Do not test
10 * configure: Regenerated.
12 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
14 * configure: Regenerated.
15 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
16 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
17 Remove configure test.
18 * sysdeps/arm/configure: Regenerated.
19 * sysdeps/nptl/configure.ac: Do not check
20 libc_cv_asm_cfi_directives.
21 * sysdeps/nptl/configure: Regenerated.
22 * sysdeps/x86_64/nptl/configure.ac: Remove file.
23 * sysdeps/x86_64/nptl/configure: Remove generated file.
24 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
26 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
28 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
31 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
32 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
35 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
36 instead of whether it is defined.
37 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
38 * sysdeps/hppa/dl-machine.h: Likewise.
39 * sysdeps/ia64/dl-machine.h: Likewise.
40 * sysdeps/m68k/dl-machine.h: Likewise.
41 * sysdeps/microblaze/dl-machine.h: Likewise.
42 * sysdeps/mips/dl-machine.: Likewise.
43 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47 * sysdeps/sh/dl-machine.h: Likewise.
48 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50 * sysdeps/tile/dl-machine.h: Likewise.
51 * sysdeps/x86_64/dl-machine.h: Likewise.
53 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
55 (verify_persistent_db): Likewise.
57 2014-06-26 Roland McGrath <roland@hack.frob.com>
59 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
60 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
61 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
62 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
63 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
65 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
67 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
68 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
69 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
70 Identical file removed.
71 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
72 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
73 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
74 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
75 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
76 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
77 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
78 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
79 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
80 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
81 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
83 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
84 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
85 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
86 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
87 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
88 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
90 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
91 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
92 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
93 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
94 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
95 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
96 Identical file removed.
97 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
98 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
99 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
100 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
101 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
103 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
106 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
107 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
108 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
110 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
112 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
114 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
117 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
120 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
122 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
125 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
127 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
129 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
131 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
132 * sysdeps/unix/sysv/linux/s390/Versions
133 (libpthread: GLIBC_2.19): New version set.
134 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
135 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
136 (librt: GLIBC_2.3.3): New version set.
137 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
138 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
139 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
140 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
141 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
142 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
143 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
144 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
145 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
146 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
147 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
148 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
149 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
150 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
151 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
152 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
153 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
154 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
155 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
156 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
157 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
158 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
159 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
160 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
161 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
162 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
163 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
164 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
165 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
166 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
167 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
168 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
169 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
170 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
171 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
172 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
173 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
174 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
175 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
176 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
177 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
178 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
179 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
180 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
181 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
183 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
184 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
185 (__libc_vfork): Define the function under this name.
186 [!NOT_IN_libc] (__vfork): Make this an alias.
187 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
188 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
189 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
190 (__libc_vfork): Define the function under this name.
191 [!NOT_IN_libc] (__vfork): Make this an alias.
192 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
193 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
194 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
195 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
196 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
197 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
199 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
200 code that was previously under [RESET_PID].
201 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
202 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
203 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
205 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
206 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
207 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
208 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
209 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
210 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
211 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
212 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
213 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
214 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
215 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
217 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
218 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
219 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
220 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
221 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
222 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
223 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
224 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
225 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
226 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
227 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
228 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
229 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
230 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
231 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
232 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
233 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
234 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
235 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
236 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
237 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
238 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
239 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
240 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
241 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
242 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
243 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
244 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
245 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
247 2014-06-25 Roland McGrath <roland@hack.frob.com>
249 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
250 that was previously under [RESET_PID].
251 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
253 2014-06-25 Joseph Myers <joseph@codesourcery.com>
255 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
256 not undefine and redefine.
257 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
258 [O_CLOEXEC]: Make code unconditional.
259 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
260 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
262 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
263 conditional variable definition.
264 (shm_open) [O_CLOEXEC]: Make code unconditional.
265 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
268 * configure.ac (USE_REGPARMS): Don't define here.
269 * configure: Regenerated.
270 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
271 * sysdeps/i386/configure: Regenerated.
273 * nptl/createthread.c: Don't include kernel-features.h.
274 * nptl/pthread_cancel.c: Likewise.
275 * nptl/pthread_condattr_setclock.c: Likewise.
276 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
277 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
278 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
279 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
280 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
281 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
282 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
283 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
284 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
285 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
286 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
287 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
288 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
289 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
290 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
291 * nscd/gai.c: Likewise.
292 * nss/nss_db/db-open.c: Likewise.
293 * sysdeps/generic/ldsodefs.h: Likewise.
294 * sysdeps/sh/nptl/tls.h: Likewise.
295 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
296 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
297 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
298 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
299 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
300 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
301 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
302 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
303 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
304 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
305 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
306 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
307 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
308 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
309 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
310 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
311 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
312 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
313 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
314 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
315 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
316 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
317 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
318 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
319 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
320 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
321 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
322 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
323 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
324 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
325 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
326 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
327 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
328 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
329 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
330 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
331 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
332 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
333 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
334 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
335 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
336 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
337 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
338 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
339 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
340 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
341 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
342 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
343 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
344 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
345 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
346 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
347 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
348 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
349 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
350 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
351 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
352 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
375 * sysdeps/unix/sysv/linux/pread.c: Likewise.
376 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
377 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
378 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
379 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
380 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
381 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
382 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
383 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
384 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
385 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
386 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
387 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
388 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
389 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
390 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
391 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
392 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
393 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
394 * sysdeps/unix/sysv/linux/system.c: Likewise.
395 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
396 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
397 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
398 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
399 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
400 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
401 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
403 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
404 * configure: Regenerated.
405 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
407 * configure.ac (base_machine): Do not set specially for particular
409 * configure: Regenerated.
410 * sysdeps/powerpc/preconfigure: Move machine and base_machine
411 settings from configure.ac.
412 * sysdeps/i386/preconfigure: New file.
413 * sysdeps/s390/preconfigure: Likewise.
414 * sysdeps/sh/preconfigure: Likewise.
415 * sysdeps/sparc/preconfigure: Likewise.
417 2014-06-25 Roland McGrath <roland@hack.frob.com>
419 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
420 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
421 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
422 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
423 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
424 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
425 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
426 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
427 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
428 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
429 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
430 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
431 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
432 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
433 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
434 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
435 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
436 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
437 * sysdeps/sparc/sparc64/Makefile: ... appended here.
439 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
440 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
441 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
442 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
443 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
444 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
445 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
446 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
447 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
448 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
449 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
450 * sysdeps/sparc/sparc32/sem_post.c: ... here.
451 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
452 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
453 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
454 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
455 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
456 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
457 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
458 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
459 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
460 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
461 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
462 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
463 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
464 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
465 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
466 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
467 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
468 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
469 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
470 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
471 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
472 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
473 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
474 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
475 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
476 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
478 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
479 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
480 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
481 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
482 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
484 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
486 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
487 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
489 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
492 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
494 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
495 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
496 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
498 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
501 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
504 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
506 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
509 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
510 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
511 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
513 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
515 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
516 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
517 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
520 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
523 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
524 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
525 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
526 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
528 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
529 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
530 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
531 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
532 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
534 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
535 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
537 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
540 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
541 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
542 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
543 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
545 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
546 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
547 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
548 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
549 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
551 2014-06-25 Joseph Myers <joseph@codesourcery.com>
553 * timezone/checktab.awk: Update from tzcode 2014e.
554 * timezone/private.h: Likewise.
555 * timezone/tzfile.h: Likewise.
556 * timezone/zdump.c: Likewise.
557 * timezone/zic.c: Likewise.
559 * sysdeps/unix/sysv/linux/kernel-features.h
560 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
561 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
562 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
563 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
564 Remove conditional code.
566 2014-06-25 Will Newton <will.newton@linaro.org>
568 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
569 (_dl_arm_cap_flags): Add HWCAP2 values.
570 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
571 (_DL_HWCAP_COUNT): Increase to 37.
572 (_DL_HWCAP_LAST): New define.
573 (_DL_HWCAP2_LAST): New define.
574 (_dl_procinfo): Add support for printing
576 (_dl_string_hwcap): Use _dl_hwcap_string.
578 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
582 2014-06-25 Joseph Myers <joseph@codesourcery.com>
584 * README: Do not mention ports directory.
586 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
588 * sysdeps/unix/sysv/linux/futimes.c: Do not include
590 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
591 conditional variable definition.
592 (__futimes): Update comment.
593 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
594 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
597 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
598 arguments close to 0.
599 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
601 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
603 * math/auto-libm-test-in: Add more tests of exp10.
604 * math/auto-libm-test-out: Regenerated.
605 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
607 * sysdeps/unix/sysv/linux/kernel-features.h
608 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
609 * sysdeps/unix/sysv/linux/readv.c: Do not include
611 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
612 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
613 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
615 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
617 * sysdeps/unix/sysv/linux/writev.c: Do not include
619 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
620 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
621 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
623 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
626 2014-06-25 Will Newton <will.newton@linaro.org>
628 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
629 comment changes throughout the file. Remove checks
630 for HAVE_*_H definitions that are not required.
631 (__gen_tempname): Call abort if an unknown kind value is
634 2014-06-25 Andreas Schwab <schwab@suse.de>
637 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
638 scalbln, scalblnf, scalblnl in libc.
640 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
643 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
644 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
645 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
647 2014-06-24 Roland McGrath <roland@hack.frob.com>
649 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
650 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
651 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
652 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
654 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
655 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
657 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
658 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
659 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
660 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
661 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
662 * sysdeps/x86/bits/pthreadtypes.h: ... here.
663 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
664 * sysdeps/x86/bits/semaphore.h: ... here.
665 * sysdeps/x86/nptl/elide.h: Moved ...
666 * sysdeps/x86/elide.h: ... here.
667 * sysdeps/x86_64/nptl/Implies: File removed.
668 * sysdeps/i386/nptl/Implies: File removed.
670 2014-06-24 Joseph Myers <joseph@codesourcery.com>
673 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
674 return the argument for normal arguments with exponent below -64.
675 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
677 * math/auto-libm-test-in: Add another test of expm1.
678 * math/auto-libm-test-out: Regenerated.
681 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
682 calling __erfcl for arguments at least 16.
683 * math/auto-libm-test-in: Add more tests of erf.
684 * math/auto-libm-test-out: Regenerated.
686 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
687 individual architectures.
688 * sysdeps/unix/sysv/linux/configure: Regenerated.
689 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
690 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
691 * sysdeps/unix/sysv/linux/powerpc/configure.ac
692 (ldd_rewrite_script): Define variable.
693 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
698 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
699 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
700 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
701 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
702 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
703 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
704 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
705 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
707 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
710 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
711 Rename member __data.d to __data.__elision_data.
713 2014-06-24 Wilco <wdijkstr@arm.com>
715 * NEWS: Add 16918 to fixed bug list.
717 2014-06-24 Wilco <wdijkstr@arm.com>
719 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
721 2014-06-24 Wilco <wdijkstr@arm.com>
723 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
724 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
725 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
726 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
727 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
728 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
729 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
732 2014-06-24 Wilco <wdijkstr@arm.com>
734 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
736 2014-06-24 Wilco <wdijkstr@arm.com>
738 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
739 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
740 * sysdeps/arm/fesetround.c (fesetround): Remove space.
741 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
743 2014-06-24 Wilco <wdijkstr@arm.com>
746 * sysdeps/arm/feupdateenv.c (feupdateenv):
747 Rewrite to reduce FPSCR accesses and fix return value.
749 2014-06-24 Wilco <wdijkstr@arm.com>
751 * sysdeps/arm/fclrexcpt.c (feclearexcept):
752 Optimize to avoid unnecessary FPSCR writes.
753 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
754 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
755 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
756 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
758 2014-06-24 Wilco <wdijkstr@arm.com>
760 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
761 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
762 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
763 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
764 Call libc_fetestexcept_vfp.
765 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
766 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
767 __SOFTFP__ ifdef so that they can be built for softfp.
769 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
771 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
772 argument type signed char.
774 * Makerules (check-abi): Dump diff of symlist if the test
777 2014-06-23 Roland McGrath <roland@hack.frob.com>
779 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
782 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
783 Remove unused variable ST.
785 2014-06-23 Joseph Myers <joseph@codesourcery.com>
789 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
790 small arguments before calling __expm1.
791 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
792 small arguments before calling __expm1f.
793 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
794 small arguments before calling __expm1l.
795 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
797 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
798 * math/auto-libm-test-in: Add more cosh tests. Do not allow
799 spurious underflow for some cosh tests.
800 * math/auto-libm-test-out: Regenerated.
801 * sysdeps/i386/fpu/libm-test-ulps: Update.
804 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
805 (__ieee754_y1): Set errno if return value overflows.
806 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
807 (__ieee754_y1f): Set errno if return value overflows.
808 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
809 (__ieee754_y1l): Set errno if return value overflows.
810 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
811 (__ieee754_y1l): Set errno if return value overflows.
812 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
813 * math/auto-libm-test-out: Regenerated.
815 * math/gen-auto-libm-tests.c: Document use of
816 ignore-zero-inf-sign.
817 (input_flag_type): Add value flag_ignore_zero_inf_sign.
818 (input_flags): Add ignore-zero-inf-sign.
819 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
820 * math/gen-libm-test.pl (generate_testfile): Handle
821 ignore-zero-inf-sign.
822 * math/auto-libm-test-in: Mark some cpow tests with
823 ignore-zero-inf-sign and some with xfail-rounding.
824 * math/auto-libm-test-out: Regenerated.
825 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
826 * sysdeps/i386/fpu/libm-test-ulps: Update.
827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
830 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
831 overflowing or underflowing operations take place with sign of
833 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
834 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
835 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
836 (__ieee754_pow): Recompute overflowing and underflowing results in
837 original rounding mode.
838 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
839 (__powl_helper): Allow negative argument X and scale negated value
840 as needed. Avoid passing value outside [-1, 1] to f2xm1.
841 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
842 overflowing or underflowing operations take place with sign of
844 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
846 * math/auto-libm-test-in: Add more tests of pow.
847 * math/auto-libm-test-out: Regenerated.
848 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
849 (pow_tonearest_test_data): Remove.
850 (pow_test_tonearest): Likewise.
851 (pow_towardzero_test_data): Likewise.
852 (pow_test_towardzero): Likewise.
853 (pow_downward_test_data): Likewise.
854 (pow_test_downward): Likewise.
855 (pow_upward_test_data): Likewise.
856 (pow_test_upward): Likewise.
857 (main): Don't call removed functions.
858 * sysdeps/i386/fpu/libm-test-ulps: Update.
859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
861 2014-06-23 Roland McGrath <roland@hack.frob.com>
863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1037 2014-06-23 Will Newton <will.newton@linaro.org>
1038 Wilco <wdijkstr@arm.com>
1040 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1041 implementation. Include get-rounding-mode.h.
1042 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1043 [!libc_feholdsetround_noex_ctx]: Define
1044 libc_feholdsetround_noex_ctx.
1045 [!libc_feholdsetround_noexf_ctx]: Define
1046 libc_feholdsetround_noexf_ctx.
1047 [!libc_feholdsetround_noexl_ctx]: Define
1048 libc_feholdsetround_noexl_ctx.
1049 (libc_feholdsetround_ctx): New function.
1050 (libc_feresetround_ctx): New function.
1051 (libc_feholdsetround_noex_ctx): New function.
1052 (libc_feresetround_noex_ctx): New function.
1054 2014-06-23 Roland McGrath <roland@hack.frob.com>
1056 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1057 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1058 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1059 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1060 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1061 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1063 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1064 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1065 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1066 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1067 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1068 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1069 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1070 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1071 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1072 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1073 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1075 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1077 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1078 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1079 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1080 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1081 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1083 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1084 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1085 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1086 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1087 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1088 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1089 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1090 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1092 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1093 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1095 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1096 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1097 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1098 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1100 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1101 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1102 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1103 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1104 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1105 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1106 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1107 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1108 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1109 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1111 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1113 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1114 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1115 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1116 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1117 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1118 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1119 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1120 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1121 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1122 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1123 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1124 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1125 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1127 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1128 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1129 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1130 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1131 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1132 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1134 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1135 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1136 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1137 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1138 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1140 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1141 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1142 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1143 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1144 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1145 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1146 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1147 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1148 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1149 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1150 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1151 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1152 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1153 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1154 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1155 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1156 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1157 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1158 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1159 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1160 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1161 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1162 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1163 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1164 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1165 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1166 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1167 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1169 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1171 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1172 (FALLOC_FL_COLLAPSE_RANGE): New macro.
1173 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1174 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1175 (IPV6_PMTUDISC_INTERFACE): Likewise.
1176 (IPV6_PMTUDISC_OMIT): Likewise.
1178 2014-06-23 Andreas Schwab <schwab@suse.de>
1180 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1181 Remove unused errout label.
1183 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1185 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1186 macro: hardware supports Vector Crypto instructions.
1188 2014-06-23 Will Newton <will.newton@linaro.org>
1190 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1191 rather than __builtin_expect.
1193 * elf/dl-lookup.c (undefined_msg): Remove variable.
1194 (_dl_lookup_symbol_x): Replace undefined_msg with string
1197 * elf/dl-lookup.c (do_lookup_unique): New function.
1198 (do_lookup_x): Move STB_GNU_UNIQUE handling code
1199 to a separate function.
1201 2014-06-23 Andreas Schwab <schwab@suse.de>
1204 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1205 before reading the next line.
1207 2014-06-23 Will Newton <will.newton@linaro.org>
1209 * test-skeleton.c (signal_handler): Use printf and %m
1210 rather than perror. Use printf rather than fprintf to
1211 stderr. Use puts rather than fputs to stderr.
1214 2014-06-22 Ludovic Courtès <ludo@gnu.org>
1216 * nscd/nscd.c (thread_info_t): Remove typedef.
1217 (thread_info): Remove variable.
1219 2014-06-21 Allan McRae <allan@archlinux.org>
1221 * NEWS: Mention CVE-2014-4043.
1223 2014-06-20 Roland McGrath <roland@hack.frob.com>
1225 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1226 * nptl/smp.h: ... here.
1228 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1230 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1231 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1232 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1233 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1235 * nptl/allocatestack.c: Include <stack-aliasing.h>.
1236 * nptl/stack-aliasing.h: New file.
1237 * sysdeps/i386/i686/stack-aliasing.h: New file.
1238 * sysdeps/i386/i686/nptl/Makefile: File removed.
1239 * sysdeps/x86_64/stack-aliasing.h: New file.
1240 * sysdeps/x86_64/nptl/Makefile
1241 (CFLAGS-pthread_create.c): Variable removed.
1243 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1244 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1246 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1247 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1250 2014-06-21 Joseph Myers <joseph@codesourcery.com>
1252 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1253 (__ASSUME_SIGFRAME_V2): Remove macro.
1254 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1255 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1256 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1257 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1258 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1259 Declare as function. Remove conditional macro definitions.
1260 (__default_rt_sa_restorer): Likewise.
1261 (__default_sa_restorer_v1): Remove declaration.
1262 (__default_sa_restorer_v2): Likewise.
1263 (__default_rt_sa_restorer_v1): Likewise.
1264 (__default_rt_sa_restorer_v2): Likewise.
1265 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1266 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1267 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1269 2014-06-20 Roland McGrath <roland@hack.frob.com>
1271 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1272 (libpthread-routines): Add sysdep.
1273 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1274 * sysdeps/unix/sysv/linux/sparc/Versions
1275 (libpthread: GLIBC_2.3.3): New version set.
1276 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1277 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1278 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1279 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1280 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1281 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1283 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1284 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1285 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1286 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1287 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1288 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1289 * sysdeps/sparc/nptl/sem_init.c: ... here.
1290 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1291 * sysdeps/sparc/nptl/sem_post.c: ... here.
1292 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1293 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1294 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1295 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1296 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1297 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1298 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1299 (libpthread-routines): Add cpu_relax.
1300 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1302 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1303 (librt: GLIBC_2.3.3): New version set.
1304 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1305 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1306 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1307 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1308 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1309 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1310 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1311 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1313 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1314 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1315 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1316 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1317 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1318 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1319 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1320 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1321 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1322 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1324 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1326 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1328 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1330 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1332 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1334 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1336 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1338 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1340 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1342 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1344 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1346 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1347 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1348 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1349 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1350 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1351 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1352 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1353 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1354 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1355 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1356 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1358 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1359 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1360 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1361 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1362 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1364 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1366 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1367 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1368 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1369 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1370 * nscd/nscd.c: Likewise.
1371 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1372 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1373 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1374 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1376 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1377 <kernel-features.h>.
1378 (init_mq_netlink): Remove conditional have_sock_cloexec
1379 definitions. Remove code conditional on have_sock_cloexec < 0.
1380 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1381 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1382 * sysdeps/unix/sysv/linux/opensock.c: Do not include
1383 <kernel-features.h>.
1384 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1385 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1387 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1389 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1390 Add tests for memset_chk and memset.
1392 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1395 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1398 * elf/tst-dl-iter-static.c: New file.
1399 * elf/Makefile (tests-static): Add tst-dl-iter-static.
1401 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1404 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1406 * sysdeps/unix/sysv/linux/kernel-features.h
1407 (__ASSUME_F_GETOWN_EX): Remove macro.
1408 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1409 <kernel-features.h>.
1410 (miss_F_GETOWN_EX): Remove variable or macro.
1411 (do_fcntl): Do not check miss_F_GETOWN_EX.
1412 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1414 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1416 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1417 [!__ASSUME_AT_RANDOM]: Remove conditional code.
1418 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1420 * sysdeps/unix/sysv/linux/kernel-features.h
1421 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1422 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1423 [ADJ_OFFSET_SS_READ]: Make code unconditional.
1424 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1426 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1429 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1430 Fix calculation of the symbol's value.
1431 * sysdeps/arm/tst-armtlsdescloc.c: New file.
1432 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1433 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1434 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1435 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1436 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1437 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1438 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1439 (modules-names): Add `tst-armtlsdescmod',
1440 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1441 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1442 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1443 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1444 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1445 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1446 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1447 ($(objpfx)tst-armtlsdescloc): New dependency.
1448 ($(objpfx)tst-armtlsdescextnow): Likewise.
1449 ($(objpfx)tst-armtlsdescextlazy): Likewise.
1450 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1452 * sysdeps/arm/configure: Regenerate.
1454 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1456 * include/fcntl.h (__atfct_seterrno): Remove prototype.
1457 (__atfct_seterrno_2): Likewise.
1458 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1459 <kernel-features.h>.
1460 (__ASSUME_ATFCTS): Do not undefine and redefine.
1461 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1462 (__have_atfcts): Remove conditional definition.
1463 (__fxstatat([__NR_fstatat64]: Make code unconditional.
1464 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1465 unreachable if [__ASSUME_ATFCTS].
1466 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1467 not undefine and redefine.
1468 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1469 <kernel-features.h>.
1470 (faccessat) [__NR_faccessat]: Make code unconditional.
1471 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1472 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1473 <kernel-features.h>.
1474 (fchmodat) [__NR_fchmodat]: Make code unconditional.
1475 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1476 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1477 <kernel-features.h>.
1478 (fchownat) [__NR_fchownat]: Make code unconditional.
1479 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1480 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1481 <kernel-features.h>.
1482 (futimesat) [__NR_futimesat]: Make code unconditional.
1483 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1484 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1485 <kernel-features.h>.
1486 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1487 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1488 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1489 <kernel-features.h>.
1490 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1491 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1492 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1493 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1494 <kernel-features.h>.
1495 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1496 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1497 * sysdeps/unix/sysv/linux/linkat.c: Do not include
1498 <kernel-features.h>.
1499 (linkat) [__NR_linkat]: Make code unconditional.
1500 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1501 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1502 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1503 <kernel-features.h>.
1504 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1505 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1506 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1507 <kernel-features.h>.
1508 (mkdirat) [__NR_mkdirat]: Make code unconditional.
1509 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1510 * sysdeps/unix/sysv/linux/openat.c: Do not include
1511 <kernel-features.h>.
1512 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1513 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1514 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1515 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1516 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1517 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1518 <kernel-features.h>.
1519 (readlinkat) [__NR_readlinkat]: Make code unconditional.
1520 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
1521 result of INLINE_SYSCALL directly, not via int variable.
1522 * sysdeps/unix/sysv/linux/renameat.c: Do not include
1523 <kernel-features.h>.
1524 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1525 (renameat) [__NR_renameat]: Make code unconditional.
1526 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1527 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1528 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1529 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1530 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1531 (__ASSUME_ATFCTS): Do not undefine and redefine.
1532 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1533 <kernel-features.h>.
1534 (symlinkat) [__NR_symlinkat]: Make code unconditional.
1535 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1536 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1537 <kernel-features.h>.
1538 (unlinkat) [__NR_unlinkat]: Make code unconditional.
1539 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1540 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1541 (__ASSUME_ATFCTS): Do not undefine and redefine.
1542 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1543 <kernel-features.h>.
1544 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1545 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1546 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1547 <kernel-features.h>.
1548 (__xmknodat) [__NR_mknodat]: Make code unconditional.
1549 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1551 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1553 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1555 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
1558 * posix/regcomp.c (parse_reg_exp): Deallocate partially
1559 constructed tree before returning error.
1560 * posix/bug-regexp36.c: Expand test case.
1562 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1565 * math/libm-test.inc (scalbln_test_date):
1566 Add errno expectations.
1567 * math/w_scalblnf.c: New File.
1568 Add wrapper which checks for setting errno to ERANGE.
1569 Add weak_alias for corresponding scalbln function.
1570 * math/w_scalbln.c: Likewise.
1571 * math/w_scalblnl.c: Likewise.
1572 * math/Makefile (libm-calls): Add w_scalbln.
1573 * sysdeps/ieee754/flt-32/s_scalblnf.c:
1574 Remove weak_alias for corresponding scalbln function.
1575 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1576 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1577 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1578 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1579 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1580 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1581 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1582 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1583 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1584 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1585 Remove long_double_symbol for scalblnl function in libm, libc.
1586 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1587 Add wrapper which checks for setting errno to ERANGE.
1588 Add long_double_symbol for scalblnl function in libm, libc.
1589 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1590 Remove long_double_symbol for scalblnl in libm.
1591 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1592 Add wrapper which checks for setting errno to ERANGE.
1593 Add long_double_symbol for scalblnl function in libm.
1594 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1595 Do not use wrapper because of own implementation.
1597 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
1599 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1600 3 bytes for __pad1 for x32.
1601 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1603 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
1604 H.J. Lu <hongjiu.lu@intel.com>
1606 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1607 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1608 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1609 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1610 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1612 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
1615 * posix/regcomp.c (parse_expression): Deallocate partially
1616 constructed tree before returning error.
1617 * posix/Makefile.c (tests): Add bug-regex36.
1618 (generated): Add bug-regex36.mtrace.
1619 (tests-special): Add $(objpfx)bug-regex36-mem.out
1620 (bug-regex36-ENV): New variable.
1621 ($(objpfx)bug-regex36-mem.out): New rule.
1622 * posix/bug-regex36.c: New file.
1624 2014-06-19 Will Newton <will.newton@linaro.org>
1626 * malloc/malloc.c (systrim): If extra is zero then return
1629 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1631 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1633 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
1635 * sysdeps/aarch64/strchr.S: New file.
1637 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1640 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1641 from arguments -2 or below.
1642 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1643 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1645 2014-06-18 Andreas Schwab <schwab@suse.de>
1648 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1649 of a bracket expr not to run off the end of the string.
1650 * posix/Makefile (tests): Add tst-fnmatch3.
1651 * posix/tst-fnmatch3.c: New file.
1653 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1655 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1656 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1657 [$(cross-compiling) = no]: Likewise.
1658 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1659 [$(cross-compiling) = no]: Likewise.
1661 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1664 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1665 double, adjusted for any remainder from the high double.
1666 * math/libm-test.inc (nearbyint): Add tests.
1669 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1671 * nptl/sysdeps/powerpc/Makefile: Moved ...
1672 * sysdeps/powerpc/nptl/Makefile: ... here.
1673 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1674 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1675 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1676 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1677 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1678 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1679 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1680 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1681 * nptl/sysdeps/powerpc/tls.h: Moved ...
1682 * sysdeps/powerpc/nptl/tls.h: ... here.
1684 2014-06-16 Joseph Myers <joseph@codesourcery.com>
1687 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1688 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1689 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1690 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1691 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1692 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1693 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1694 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1695 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1697 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
1699 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1701 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
1703 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1706 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1709 2014-06-16 Florian Weimer <fweimer@redhat.com>
1712 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1713 non-executed part of the test.
1715 2014-06-16 Andreas Schwab <schwab@suse.de>
1717 * string/bits/string2.h (strdup, strndup): Update feature guard.
1719 2014-06-14 David S. Miller <davem@davemloft.net>
1721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1723 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
1725 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1726 that was previously under [RESET_PID].
1727 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1729 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1730 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1731 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1732 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1733 (__libc_vfork): New strong alias.
1734 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1736 2014-06-14 Andi Kleen <ak@linux.intel.com>
1738 * sysdeps/generic/elide.h: New file.
1740 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1742 * Makefile (installed-headers): Adjust path of pthread.h header.
1744 2014-06-13 Roland McGrath <roland@hack.frob.com>
1746 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1747 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1748 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1749 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1751 * nptl/sysdeps/s390/Makefile: Moved ...
1752 * sysdeps/s390/nptl/Makefile: ... here.
1753 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1754 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1755 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1756 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1757 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1758 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1759 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1760 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1761 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1762 * sysdeps/s390/nptl/pthreaddef.h: ... here.
1763 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1764 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1765 * nptl/sysdeps/s390/tls.h: Moved ...
1766 * sysdeps/s390/nptl/tls.h: ... here.
1768 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1769 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1771 2014-06-13 David S. Miller <davem@davemloft.net>
1773 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1774 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1775 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1776 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1777 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1778 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1779 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1780 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1781 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1782 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1783 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1784 Remove RESET_PID cpp guards.
1785 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1786 Remove RESET_PID cpp guards.
1787 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1789 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
1791 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1794 2014-06-13 Andi Kleen <ak@linux.intel.com>
1796 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1797 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1798 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1799 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1800 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1801 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1802 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1803 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1804 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1805 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1806 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1807 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1808 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1809 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1810 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1811 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1812 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1813 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1814 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1815 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1817 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1818 (pthread_rwlock_rdlock): Add elision.
1819 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1820 (pthread_rwlock_wrlock): Add elision.
1821 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1822 (pthread_rwlock_trywrlock): Add elision.
1823 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1824 (pthread_rwlock_tryrdlock): Add elision.
1825 * nptl/pthread_rwlock_unlock.c: Include elide.h.
1826 (pthread_rwlock_tryrdlock): Add elision unlock.
1827 * nptl/sysdeps/pthread/pthread.h:
1828 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1829 (PTHREAD_RWLOCK_INITIALIZER,
1830 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1831 Handle new elision field.
1832 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1833 * sysdeps/arm/nptl/bits/pthreadtypes.h
1834 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1835 * sysdeps/sh/nptl/bits/pthreadtypes.h
1836 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1837 * sysdeps/tile/nptl/bits/pthreadtypes.h
1838 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1839 * sysdeps/a/nptl/bits/pthreadtypes.h
1840 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1841 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1842 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1843 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1844 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1845 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1846 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1847 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1848 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1849 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1850 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1851 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1852 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1853 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1854 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1855 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1856 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1857 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1858 (elision_init): Set try_xbegin to zero when no RTM.
1859 * sysdeps/x86/nptl/bits/pthreadtypes.h
1860 (pthread_rwlock_t): Change __pad1 to __rwelision.
1861 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1863 2014-06-13 Andi Kleen <ak@linux.intel.com>
1865 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1866 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1867 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1868 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1870 2014-06-13 Meador Inge <meadori@codesourcery.com>
1873 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1874 that the cached result has been set before returning it.
1876 2014-06-12 Roland McGrath <roland@hack.frob.com>
1878 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1879 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1880 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1881 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1882 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1883 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1885 * nptl/sysdeps/sparc/Makefile: Moved ...
1886 * sysdeps/sparc/nptl/Makefile: ... here.
1887 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1888 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1889 * nptl/sysdeps/sparc/tls.h: Moved ...
1890 * sysdeps/sparc/nptl/tls.h: ... here.
1891 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1892 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1893 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1894 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1895 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1896 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1897 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1898 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1899 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1900 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1901 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1902 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1903 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1904 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1905 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1906 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1907 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1908 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1910 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1911 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1913 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1914 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1916 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1917 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1920 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1922 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1923 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1925 * sysdeps/pthread/posix-timer.h: Include <list.h>.
1926 (struct list_links): Type removed.
1927 (struct thread_node, struct timer_node): Replace struct list_links
1928 with struct list_head.
1929 (list_unlink_ip): Likewise.
1930 * sysdeps/pthread/timer_routines.c
1931 (timer_free_list, thread_free_list, thread_active_list): Likewise.
1932 (list_append, list_insbefore): Likewise.
1933 (list_init): Function removed.
1934 (thread_init, init_module): Use INIT_LIST_HEAD instead.
1935 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1936 * sysdeps/pthread/Makefile: ... here, new file.
1938 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1939 * sysdeps/nptl/Implies: ... here.
1940 * sysdeps/unix/sysv/linux/Implies: Add nptl.
1941 * nptl/sysdeps/pthread/list.h: Moved ...
1942 * include/list.h: ... here.
1943 * nptl/sysdeps/pthread/createthread.c: Moved ...
1944 * nptl/createthread.c: ... here.
1945 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1946 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1947 * nptl/pt-longjmp.c: ... here.
1948 * nptl/sysdeps/pthread/Makefile: Moved ...
1949 * sysdeps/nptl/Makefile: ... here.
1950 * nptl/sysdeps/pthread/Subdirs: Moved ...
1951 * sysdeps/nptl/Subdirs: ... here.
1952 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1953 * sysdeps/nptl/aio_misc.h: ... here.
1954 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1955 * sysdeps/nptl/bits/libc-lock.h: ... here.
1956 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1957 * sysdeps/nptl/bits/libc-lockP.h: ... here.
1958 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1959 * sysdeps/nptl/bits/stdio-lock.h: ... here.
1960 * nptl/sysdeps/pthread/configure: Moved ...
1961 * sysdeps/nptl/configure: ... here.
1962 * nptl/sysdeps/pthread/configure.ac: Moved ...
1963 * sysdeps/nptl/configure.ac: ... here.
1964 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1965 * sysdeps/nptl/gai_misc.h: ... here.
1966 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1967 * sysdeps/nptl/librt-cancellation.c: ... here.
1968 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1969 * sysdeps/nptl/malloc-machine.h: ... here.
1970 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1971 * sysdeps/nptl/pthread-functions.h: ... here.
1972 * nptl/sysdeps/pthread/pthread.h: Moved ...
1973 * sysdeps/nptl/pthread.h: ... here.
1974 * nptl/sysdeps/pthread/setxid.h: Moved ...
1975 * sysdeps/nptl/setxid.h: ... here.
1976 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1977 * sysdeps/nptl/sigfillset.c: ... here.
1978 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1979 * sysdeps/nptl/tcb-offsets.h: ... here.
1980 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1981 * sysdeps/nptl/tst-mqueue8x.c: ... here.
1982 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1983 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1984 * nptl/sysdeps/pthread/allocalim.h: Moved ...
1985 * sysdeps/pthread/allocalim.h: ... here.
1986 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1987 * sysdeps/pthread/bits/sigthread.h: ... here.
1988 * nptl/sysdeps/pthread/flockfile.c: Moved ...
1989 * sysdeps/pthread/flockfile.c: ... here.
1990 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1991 * sysdeps/pthread/ftrylockfile.c: ... here.
1992 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1993 * sysdeps/pthread/funlockfile.c: ... here.
1994 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1995 * sysdeps/pthread/posix-timer.h: ... here.
1996 * nptl/sysdeps/pthread/timer_create.c: Moved ...
1997 * sysdeps/pthread/timer_create.c: ... here.
1998 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1999 * sysdeps/pthread/timer_delete.c: ... here.
2000 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2001 * sysdeps/pthread/timer_getoverr.c: ... here.
2002 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2003 * sysdeps/pthread/timer_gettime.c: ... here.
2004 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2005 * sysdeps/pthread/timer_routines.c: ... here.
2006 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2007 * sysdeps/pthread/timer_settime.c: ... here.
2008 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2009 * sysdeps/pthread/tst-timer.c: ... here.
2010 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2011 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2013 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2014 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2016 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2017 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2018 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2019 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2020 Update #include target.
2021 * nptl/sysdeps/i386/i686/Makefile: Moved ...
2022 * sysdeps/i386/i686/nptl/Makefile: ... here.
2023 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2024 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2025 Update #include target.
2026 * nptl/sysdeps/i386/i686/tls.h: Moved ...
2027 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
2028 * nptl/sysdeps/i386/Makefile: Moved ...
2029 * sysdeps/i386/nptl/Makefile: ... here.
2030 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2031 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2032 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2033 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2034 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2035 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2036 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2037 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2038 * sysdeps/i386/nptl/pthreaddef.h: ... here.
2039 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2040 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2041 * nptl/sysdeps/i386/tls.h: Moved ...
2042 * sysdeps/i386/nptl/tls.h: ... here.
2044 * sysdeps/sh/Makefile [$(subdir) = csu]
2045 (gen-as-const-headers): Add tcb-offsets.sym.
2046 * nptl/sysdeps/sh/Makefile: File removed.
2047 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2048 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2049 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2050 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2051 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2052 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2053 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2054 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2055 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2056 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2057 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2058 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2059 * nptl/sysdeps/sh/tls.h: Moved ...
2060 * sysdeps/sh/nptl/tls.h: ... here.
2061 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2062 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2063 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2064 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2065 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2066 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2067 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2068 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2069 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2070 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2071 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2072 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2073 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2074 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2075 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2076 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2077 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2078 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2079 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2080 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2081 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2082 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2083 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2084 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2085 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2087 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2088 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2090 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2091 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2092 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2093 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2094 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2095 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2096 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2097 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2098 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2099 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2100 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2101 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2102 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2103 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2104 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2105 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2106 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2107 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2108 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2110 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2112 * posix/spawn_faction_addopen.c: Include string.h.
2114 2014-06-11 Roland McGrath <roland@hack.frob.com>
2116 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2117 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2118 * nptl/sysdeps/x86_64/Makefile: Moved ...
2119 * sysdeps/x86_64/nptl/Makefile: ... here.
2120 * nptl/sysdeps/x86_64/configure: Moved ...
2121 * sysdeps/x86_64/nptl/configure: ... here.
2122 * nptl/sysdeps/x86_64/configure.ac: Moved ...
2123 * sysdeps/x86_64/nptl/configure.ac: ... here.
2124 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2125 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2126 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2127 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2128 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2129 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2130 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2131 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2132 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2133 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2134 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2135 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2136 * nptl/sysdeps/x86_64/tls.h: Moved ...
2137 * sysdeps/x86_64/nptl/tls.h: ... here.
2138 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2139 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2140 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2141 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2143 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2145 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2149 2014-06-11 Joseph Myers <joseph@codesourcery.com>
2151 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2153 [POSIX] (off_t): Likewise.
2154 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2155 [POSIX] (S_ISBLK): Require macro.
2156 [POSIX] (S_ISCHR): Likewise.
2157 [POSIX] (S_ISDIR): Likewise.
2158 [POSIX] (S_ISFIFO): Likewise.
2159 [POSIX] (S_ISREG): Likewise.
2160 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2162 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2164 [POSIX] (time_t): Likewise.
2165 [POSIX] (timer_t): Likewise.
2167 2014-06-11 Florian Weimer <fweimer@redhat.com>
2170 * posix/spawn_int.h (struct __spawn_action): Make the path string
2171 non-const to support deallocation.
2172 * posix/spawn_faction_addopen.c
2173 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2174 * posix/spawn_faction_destroy.c
2175 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
2176 path in all spawn_do_open actions.
2177 * posix/tst-spawn.c (do_test): Exercise the copy operation in
2178 posix_spawn_file_actions_addopen.
2180 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
2182 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2183 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2184 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2185 conditional code always true.
2186 (__libc_vfork): New alias.
2188 2014-06-11 Roland McGrath <roland@hack.frob.com>
2190 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2191 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2193 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2195 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2196 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2198 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2199 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2201 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2202 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2204 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2206 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2207 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2208 multiarch strcmp for PPC64.
2209 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2210 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2211 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2212 multiarch optimizations.
2213 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2214 (__libc_ifunc_impl_list): Likewise.
2216 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2218 * benchtests/scripts/validate_benchout.py: New script.
2219 * benchtests/Makefile (bench-func): Call it.
2220 * benchtests/scripts/benchout.schema.json: New file.
2222 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
2224 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2225 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2226 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2227 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2228 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2229 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2230 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2231 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2232 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2233 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2234 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2235 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2236 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2237 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2238 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2239 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2240 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2242 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2244 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2246 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2247 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2249 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2251 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2253 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2255 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2257 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2258 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2260 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2262 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2264 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2266 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2268 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2269 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2271 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2273 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2275 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2277 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2279 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2281 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2283 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2284 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2286 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2288 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2290 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2292 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2294 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2296 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2298 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2299 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2301 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2303 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2305 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2307 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2309 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2310 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2312 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2314 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2316 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2317 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2319 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2320 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2322 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2324 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2326 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2328 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2330 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2332 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2334 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2335 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2337 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2339 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2341 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2343 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2344 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2345 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2346 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2347 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2349 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2351 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2352 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2353 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2354 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2355 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2356 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2357 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2358 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2359 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2360 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2361 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2362 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2363 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2365 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2366 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2368 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2369 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2370 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2371 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2373 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2374 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2375 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2376 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2377 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2378 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2379 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2381 2014-06-10 Wilco <wdijkstr@arm.com>
2383 * math/test-fenv-return.c: New file.
2384 * math/Makefile: Add new test test-fenv-return.
2386 2014-06-10 Joseph Myers <joseph@codesourcery.com>
2389 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2391 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2392 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2393 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2394 0.0L for an argument of 1.0L.
2395 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2397 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2398 value when x - 1 is zero.
2399 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2400 * sysdeps/i386/fpu/libm-test-ulps: Update.
2401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2403 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2406 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2408 2014-06-09 Roland McGrath <roland@hack.frob.com>
2410 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2411 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2413 2014-06-09 Roland McGrath <roland@hack.frob.com>
2415 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2416 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2418 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2419 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2421 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2422 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2424 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2425 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2427 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2428 if not already defined.
2429 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2430 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2431 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2432 (TLS_INIT_TP): Use it.
2433 (TLS_DEFINE_INIT_TP): New macro.
2434 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2436 2014-06-09 Joseph Myers <joseph@codesourcery.com>
2438 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2440 [POSIX] (IXANY): Likewise.
2441 [POSIX] (OLCUC): Likewise.
2442 [POSIX || POSIX2008] (CBAUD): Do not allow.
2443 [POSIX || POSIX2008] (DEFECHO): Likewise.
2444 [POSIX || POSIX2008] (ECHOCTL): Likewise.
2445 [POSIX || POSIX2008] (ECHOKE): Likewise.
2446 [POSIX || POSIX2008] (ECHOPRT): Likewise.
2447 [POSIX || POSIX2008] (EXTA): Likewise.
2448 [POSIX || POSIX2008] (EXTB): Likewise.
2449 [POSIX || POSIX2008] (FLUSHO): Likewise.
2450 [POSIX || POSIX2008] (LOBLK): Likewise.
2451 [POSIX || POSIX2008] (PENDIN): Likewise.
2452 [POSIX || POSIX2008] (SWTCH): Likewise.
2453 [POSIX || POSIX2008] (VDISCARD): Likewise.
2454 [POSIX || POSIX2008] (VDSUSP): Likewise.
2455 [POSIX || POSIX2008] (VLNEXT): Likewise.
2456 [POSIX || POSIX2008] (VREPRINT): Likewise.
2457 [POSIX || POSIX2008] (VSTATUS): Likewise.
2458 [POSIX || POSIX2008] (VWERASE): Likewise.
2459 (B*): Change to B[0123456789]*.
2460 * conform/data/time.h-data [POSIX || UNIX98]
2461 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2462 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2463 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2464 [POSIX] (tm_*): Do not allow.
2466 2014-06-07 Joseph Myers <joseph@codesourcery.com>
2468 * Makefile (install): Don't set LANGUAGE.
2469 * Makefile.in (install): Likewise.
2470 * assert/Makefile (test-assert-ENV): Remove variable.
2471 (test-assert-perr-ENV): Likewise.
2472 * elf/Makefile (neededtest4-ENV): Likewise.
2473 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2474 [$(cross-compiling) = no]: Don't set LANGUAGE.
2475 * io/ftwtest-sh (LANG): Remove variable.
2476 * libio/Makefile (tst-widetext-ENV): Likewise.
2477 * manual/install.texi (Running make install): Don't refer to
2478 environment settings for make install.
2479 * INSTALL: Regenerated.
2480 * nptl/tst-tls6.sh: Don't set LANG.
2481 * posix/globtest.sh (LANG): Remove variable.
2482 * string/Makefile (tester-ENV): Likewise.
2483 (inl-tester-ENV): Likewise.
2484 (noinl-tester-ENV): Likewise.
2485 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2486 [$(cross-compiling) = no]: Don't set LANGUAGE.
2487 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2488 without explicit environment settings.
2490 2014-06-06 Roland McGrath <roland@hack.frob.com>
2492 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2493 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2494 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2495 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2497 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
2499 * crypt/crypt-private.h [DOS]: Add some includes taken from the
2500 other files in the crypt directory.
2501 * crypt/crypt.c: Remove duplicate includes.
2502 * crypt/crypt-entry.c: Likewise.
2503 * crypt/crypt_util.c: Likewise.
2505 2014-06-06 Joseph Myers <joseph@codesourcery.com>
2507 * Makeconfig (run-program-env): New variable.
2508 (run-program-prefix-before-env): Likewise.
2509 (run-program-prefix-after-env): Likewise.
2510 (run-program-prefix): Define in terms of new variables.
2511 (built-program-cmd-before-env): New variable.
2512 (built-program-cmd-after-env): Likewise.
2513 (built-program-cmd): Define in terms of new variables.
2514 (test-program-prefix-before-env): New variable.
2515 (test-program-prefix-after-env): Likewise.
2516 (test-program-prefix): Define in terms of new variables.
2517 (test-program-cmd-before-env): New variable.
2518 (test-program-cmd-after-env): Likewise.
2519 (test-program-cmd): Define in terms of new variables.
2520 * Rules (make-test-out): Use $(run-program-env).
2521 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2522 (help): Do not mention environment variables. Mention
2523 --timeoutfactor option.
2524 (timeoutfactor): New variable.
2525 (blacklist_exports): Remove function.
2526 (exports): Remove variable.
2527 (command): Do not include ${exports}.
2528 * manual/install.texi (Configuring and compiling): Do not mention
2529 test wrappers preserving environment variables. Mention that last
2530 assignment to a variable must take precedence.
2531 * INSTALL: Regenerated.
2532 * benchtests/Makefile (run-bench): Use $(run-program-env).
2533 * catgets/Makefile ($(objpfx)test1.cat): Use
2534 $(built-program-cmd-before-env), $(run-program-env) and
2535 $(built-program-cmd-after-env).
2536 ($(objpfx)test2.cat): Do not specify environment variables
2538 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2539 $(run-program-env) and $(built-program-cmd-after-env).
2540 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2541 $(run-program-env) and $(test-program-cmd-after-env).
2542 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2544 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2545 run_program_env and test_program_cmd_after_env arguments.
2546 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2547 * elf/tst-pathopt.sh: Use run_program_env argument.
2548 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2549 $(test-wrapper-env) and $(run-program-env).
2550 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2551 run_program_env arguments.
2552 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2553 * intl/Makefile ($(objpfx)tst-gettext.out): Use
2554 $(test-program-prefix-before-env), $(run-program-env) and
2555 $(test-program-prefix-after-env).
2556 ($(objpfx)tst-gettext2.out): Likewise.
2557 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2558 run_program_env and test_program_prefix_after_env arguments.
2559 * intl/tst-gettext2.sh: Likewise.
2560 * intl/tst-gettext4.sh: Do not set environment variables
2562 * intl/tst-gettext6.sh: Likewise.
2563 * intl/tst-translit.sh: Likewise.
2564 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2565 $(test-program-prefix-before-env), $(run-program-env) and
2566 $(test-program-prefix-after-env).
2567 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2568 run_program_env and test_program_prefix_after_env arguments.
2569 * math/Makefile (run-regen-ulps): Use $(run-program-env).
2570 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2571 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
2572 explicitly with each use of ${test_wrapper_env}.
2573 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2574 $(test-program-prefix-before-env), $(run-program-env) and
2575 $(test-program-prefix-after-env).
2576 * posix/tst-getconf.sh: Do not set environment variables
2578 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2579 run_program_env and test_program_prefix_after_env arguments.
2580 * stdio-common/tst-printf.sh: Do not set environment variables
2582 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2583 $(test-program-prefix-before-env), $(run-program-env) and
2584 $(test-program-prefix-after-env).
2585 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2586 run_program_env and test_program_prefix_after_env arguments.
2587 Split $test calls into $test_pre and $test.
2588 * timezone/Makefile (build-testdata): Use
2589 $(built-program-cmd-before-env), $(run-program-env) and
2590 $(built-program-cmd-after-env).
2592 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2594 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2595 strlen for non SHARED builds.
2597 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2599 * nptl/allocatestack.c (check_list): Inlined function...
2600 (__reclaim_stacks): ... here.
2602 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2605 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2608 2014-06-05 Joseph Myers <joseph@codesourcery.com>
2610 * Rules (make-test-out): Include
2611 LOCPATH=$(common-objpfx)localedata in default environment.
2612 * debug/Makefile (tst-chk1-ENV): Remove variable.
2613 (tst-chk2-ENV): Likewise.
2614 (tst-chk3-ENV): Likewise.
2615 (tst-chk4-ENV): Likewise.
2616 (tst-chk5-ENV): Likewise.
2617 (tst-chk6-ENV): Likewise.
2618 (tst-lfschk1-ENV): Likewise.
2619 (tst-lfschk2-ENV): Likewise.
2620 (tst-lfschk3-ENV): Likewise.
2621 (tst-lfschk4-ENV): Likewise.
2622 (tst-lfschk5-ENV): Likewise.
2623 (tst-lfschk6-ENV): Likewise.
2624 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2625 (tst-iconv7-ENV): Likewise.
2626 * intl/Makefile (LOCPATH-ENV): Likewise.
2627 (tst-codeset-ENV): Likewise.
2628 (tst-gettext3-ENV): Likewise.
2629 (tst-gettext5-ENV): Likewise.
2630 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2631 (tst-fopenloc-ENV): Likewise.
2632 (tst-fgetws-ENV): Remove variable.
2633 (tst-ungetwc1-ENV): Likewise.
2634 (tst-ungetwc2-ENV): Likewise.
2635 (bug-ungetwc2-ENV): Likewise.
2636 (tst-swscanf-ENV): Likewise.
2637 (bug-ftell-ENV): Likewise.
2638 (tst-fgetwc-ENV): Likewise.
2639 (tst-fseek-ENV): Likewise.
2640 (tst-ftell-partial-wide-ENV): Likewise.
2641 (tst-ftell-active-handler-ENV): Likewise.
2642 (tst-ftell-append-ENV): Likewise.
2643 * posix/Makefile (tst-fnmatch-ENV): Likewise.
2644 (tst-regexloc-ENV): Likewise.
2645 (bug-regex1-ENV): Likewise.
2646 (tst-regex-ENV): Likewise.
2647 (tst-regex2-ENV): Likewise.
2648 (bug-regex5-ENV): Likewise.
2649 (bug-regex6-ENV): Likewise.
2650 (bug-regex17-ENV): Likewise.
2651 (bug-regex18-ENV): Likewise.
2652 (bug-regex19-ENV): Likewise.
2653 (bug-regex20-ENV): Likewise.
2654 (bug-regex22-ENV): Likewise.
2655 (bug-regex23-ENV): Likewise.
2656 (bug-regex25-ENV): Likewise.
2657 (bug-regex26-ENV): Likewise.
2658 (bug-regex30-ENV): Likewise.
2659 (bug-regex32-ENV): Likewise.
2660 (bug-regex33-ENV): Likewise.
2661 (bug-regex34-ENV): Likewise.
2662 (bug-regex35-ENV): Likewise.
2663 (tst-rxspencer-ENV): Likewise.
2664 (tst-rxspencer-no-utf8-ENV): Likewise.
2665 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2666 (tst-sscanf-ENV): Likewise.
2667 (tst-swprintf-ENV): Likewise.
2668 (tst-swscanf-ENV): Likewise.
2669 (test-vfprintf-ENV): Likewise.
2670 (scanf13-ENV): Likewise.
2671 (bug14-ENV): Likewise.
2672 (tst-grouping-ENV): Likewise.
2673 * stdlib/Makefile (tst-strtod-ENV): Likewise.
2674 (tst-strtod3-ENV): Likewise.
2675 (tst-strtod4-ENV): Likewise.
2676 (tst-strtod5-ENV): Likewise.
2677 (testmb2-ENV): Likewise./
2678 * string/Makefile (tst-strxfrm-ENV): Likewise.
2679 (tst-strxfrm2-ENV): Likewise.
2680 (bug-strcoll1-ENV): Likewise.
2681 (test-strcasecmp-ENV): Likewise.
2682 (test-strncasecmp-ENV): Likewise.
2683 * time/Makefile (tst-strptime-ENV): Likewise.
2684 (tst-ftime_l-ENV): Likewise.
2685 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2686 (tst-mbrtowc-ENV): Likewise.
2687 (tst-wcrtomb-ENV): Likewise.
2688 (tst-mbrtowc2-ENV): Likewise.
2689 (tst-c16c32-1-ENV): Likewise.
2690 (tst-mbsnrtowcs-ENV): Likewise.
2692 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2694 * manual/resource.texi (How to get information about the memory
2695 subsystem?): Fix typo.
2696 Reported by Peon de la Parra Ivan <peon@keba.com>
2698 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
2701 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2702 (pthread_spin_lock): Branch out of spin loop to proper location.
2703 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2704 (pthread_spin_lock): Likewise.
2706 * nptl/tst-spin4.c: New test.
2707 * nptl/Makefile (tests): Add tst-spin4.
2709 2014-06-03 Andreas Schwab <schwab@suse.de>
2712 * resolv/res_send.c (send_dg): Reload file descriptor after
2715 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
2717 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2719 2014-06-03 Richard Henderson <rth@redhat.com>
2721 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2722 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2723 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2724 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
2725 in the SAVE_PID block.
2726 (__libc_vfork): New alias.
2727 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2729 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2730 child in registers, not on the stack. Remove RESET_PID conditionals.
2731 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2733 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
2735 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2737 2014-06-03 Wilco <wdijkstr@arm.com>
2739 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2740 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2741 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2742 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2743 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2746 2014-06-03 Wilco <wdijkstr@arm.com>
2748 * sysdeps/aarch64/fpu/math_private.h
2749 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2750 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2751 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2752 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2755 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2757 * crypt/crypt-private.h: Include ufc-crypt.h.
2758 (__b64_from_24bit): Declare extern.
2759 * crypt/crypt_util.c(__b64_from_24bit): New function.
2760 (b64t): New static const variable.
2761 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2762 (b64t): Remove variable.
2763 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2764 * crypt/sha256-crypt.c: Include crypt-private.h.
2765 (b64t): Remove variable.
2766 (__sha256_crypt_r): Remove b64_from_24bit and replace
2767 with __b64_from_24bit.
2768 * crypt/sha512-crypt.c: Likewise.
2770 2014-06-02 Roland McGrath <roland@hack.frob.com>
2772 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2773 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2774 Label the code __libc_vfork rather than __vfork.
2775 [!NOT_IN_libc] (vfork): Define as weak alias.
2776 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2777 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2778 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2780 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2782 * malloc/malloc.c (malloc_info): Fix format specifier for
2785 2014-06-02 Wilco <wdijkstr@arm.com>
2787 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2790 2014-06-02 Wilco <wdijkstr@arm.com>
2793 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2794 Rewrite to reduce FPCR/FPSR accesses.
2796 2014-06-01 David S. Miller <davem@davemloft.net>
2798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2800 2014-05-31 David S. Miller <davem@davemloft.net>
2802 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2803 to occur in round to nearest mode when |x| >= 2.0
2805 2014-05-30 Richard Henderson <rth@twiddle.net>
2807 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2808 (PSEUDO_RET_NOERRNO): Remove.
2809 (ret): Don't redefine.
2810 (ret_NOERRNO): Define in terms of ret.
2811 (ret_ERRVAL): Likewise.
2813 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2814 use of PSEUDO_RET; perform the error check directly.
2816 2014-05-30 Marko Myllynen <myllynen@redhat.com>
2818 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2821 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2823 * malloc/malloc (malloc_info): Fix formatting.
2825 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2826 Roland McGrath <roland@hack.frob.com>
2828 * malloc/malloc (malloc_info): Also print mmapped statistics.
2830 2014-05-30 Roland McGrath <roland@hack.frob.com>
2832 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2833 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2835 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
2837 * malloc/malloc.c (malloc_info): Inline mi_arena.
2839 2014-05-29 Richard Henderson <rth@twiddle.net>
2841 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2842 Remove comma before expanding ASM_ARGS_##nr.
2843 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2844 Make _x0 a strict output; make _x8 a strict input; adjust expansion
2846 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2847 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2848 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2849 (ASM_ARGS_1): Add leading comma.
2851 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2852 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2853 to __errno_location.
2854 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2855 Remove the expected plt for __errno_location.
2857 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2858 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2861 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2862 Always allocate 64 bytes of stack frame. Use ldp/stp to create
2863 it and break it down.
2864 (DOCARGS_0, DOCARGS_1): Do nothing.
2865 (DOCARGS_2): Update to store into the new stack frame.
2866 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2867 (UNDOCARGS_1): Update to restore from the new stack frame.
2868 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2869 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2871 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2872 (SINGLE_THREAD_P): New parameter for result regno.
2873 (PSEUDO): Update to match; use cbz instead of beq.
2875 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2876 Use ENTRY to define the _nocancel entry point. Share the syscall
2877 and syscall error check paths with the cancel path.
2880 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2881 whitespace; tabs before and after asm mnemonics.
2883 2014-05-29 Eric Wong <normalperson@yhbt.net>
2886 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2887 Call fstat64 or stat64 internally, depending on arguments passed.
2888 Replace stat buffer argument with file descriptor argument.
2889 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2890 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2891 Pass fd to __internal_statvfs instead of calling fstat64.
2892 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2893 Pass fd to __internal_statvfs64 instead of calling fstat64.
2894 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2895 Pass -1 to __internal_statvfs instead of calling stat64.
2896 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2897 Pass -1 to __internal_statvfs64 instead of calling stat64.
2899 2014-05-28 Roland McGrath <roland@hack.frob.com>
2901 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2902 that was previously under [RESET_PID].
2903 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2905 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2906 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2908 2014-05-27 Roland McGrath <roland@hack.frob.com>
2910 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2912 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2913 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2915 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
2917 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2919 2014-05-27 Andreas Schwab <schwab@suse.de>
2921 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2923 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2924 * elf/rtld.c (init_tls, dl_main): Likewise.
2925 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2926 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2927 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2928 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2929 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2930 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2931 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2932 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2933 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2934 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2935 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2936 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2937 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2938 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2939 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2940 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2941 * sysdeps/generic/tls.h: Update description.
2943 2014-05-27 Will Newton <will.newton@linaro.org>
2946 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2947 and restore r2 rather than just restoring.
2949 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2952 * libio/tst-ftell-append.c: New test case.
2953 * libio/Makefile (tests): Add test case.
2954 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2956 * libio/wfileops.c (do_ftell_wide): Likewise.
2958 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2960 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2962 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2966 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2967 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2968 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2969 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2970 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2971 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2972 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2975 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2978 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2979 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2980 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2981 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2982 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2984 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2985 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2987 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2989 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2991 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2992 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2993 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2995 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2996 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2997 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2998 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3000 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3003 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3006 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3009 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3013 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3016 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3021 conditional [RESET_PID].
3022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3023 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3025 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3030 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3031 (__libc_vfork): New strong alias.
3032 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3034 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3039 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3040 (__libc_vfork): New strong alias.
3041 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3043 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3046 2014-05-26 Carlos O'Donell <carlos@redhat.com>
3048 * malloc/malloc.c (mi_arena): New function.
3049 (malloc_info): Remove nested function mi_arena. Call non-nosted
3052 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3054 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3056 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3057 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3058 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3059 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3060 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3061 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3062 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3064 2014-05-26 Andreas Schwab <schwab@suse.de>
3067 * locale/programs/repertoire.c (repertoire_read): Add slash
3068 between I18NPATH element and file name.
3069 * locale/programs/locfile.c (locfile_read): Likewise.
3071 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3073 * nptl/pthread_mutexattr_settype.c
3074 (__pthread_mutexattr_settype):
3075 Disable lock elision for PTHREAD_MUTEX_NORMAL.
3077 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3079 * nptl/tst-mutex5 (do_test):
3080 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3082 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3084 * benchtests/README: Document 'init' directive.
3085 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3087 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3088 (parse_file): Recognize 'init' directive.
3090 2014-05-26 Kyle McMartin <kyle@redhat.com>
3093 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3094 alignment of struct pthread.
3096 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3099 * nscd/netgroupcache.c (addgetnetgrentX): Look for
3100 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3101 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3102 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3104 2014-05-25 Richard Henderson <rth@twiddle.net>
3106 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3107 (SINGLE_THREAD_P_PIC): Remove.
3108 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3109 (SINGLE_THREAD_P_PIC): Remove.
3111 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3112 branch to syscall error ...
3114 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3115 from __local_syscall_error to .Lsyscall_error.
3116 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3117 (SYSCALL_ERROR): Update label name.
3119 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3120 Do not use DOARGS/UNDOARGS.
3121 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3122 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3123 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3124 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3125 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3127 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3130 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3131 define if !NOT_IN_libc.
3132 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3133 define with non-default symbol versions.
3135 2014-05-23 Richard Henderson <rth@twiddle.net>
3137 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3138 (vfork, __vfork): Define via compat_symbol.
3140 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3141 [!HAVE_IFUNC] (vfork_compat): Remove.
3142 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3144 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3147 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3148 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3151 2014-05-23 Richard Henderson <rth@twiddle.net>
3153 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3154 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3155 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3156 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3158 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3159 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3160 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3161 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3162 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3163 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3164 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3165 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3166 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3167 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3168 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3169 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3170 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3171 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3172 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3173 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3174 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3175 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3176 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3177 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3178 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3179 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3180 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3181 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3182 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3183 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3184 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3185 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3186 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3187 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3188 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3189 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3190 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3191 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3192 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3193 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3194 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3195 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3196 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3197 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3198 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3199 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3200 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3201 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3202 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3203 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3204 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3205 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3206 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3207 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3208 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3209 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3210 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3211 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3212 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3213 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3215 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3216 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3217 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
3218 before exiting on error.
3219 (__libc_vfork): New strong alias.
3220 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3221 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3223 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3224 that was previously under [RESET_PID].
3225 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3227 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3229 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3232 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3233 value when x - 1 is zero.
3234 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3235 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3236 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3237 0.0L for an argument of 1.0L.
3238 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3240 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3241 value when x - 1 is zero.
3242 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3243 * sysdeps/i386/fpu/libm-test-ulps: Update.
3244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3246 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3248 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3249 alphasort and versionsort.
3251 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3253 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3255 [copysignf]: Likewise.
3257 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3259 * crypt/md5-crypt.c: Fix formatting.
3261 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3263 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3264 (b64_from_24bit): New function.
3266 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3268 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3269 libc_hidden_builtin_def to ifunc.
3270 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3271 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3273 2014-05-21 Roland McGrath <roland@hack.frob.com>
3275 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3276 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3278 2014-05-21 Joseph Myers <joseph@codesourcery.com>
3280 * nscd/Depend (linuxthreads): Remove.
3282 * resolv/Depend (linuxthreads): Remove.
3283 * rt/Depend (linuxthreads): Remove.
3285 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3286 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3287 $(common-objpfx)elf/.
3288 (link-libc-before-gnulib): Likewise.
3289 (elfobjdir): Remove variable.
3290 * Makefile (install): Use $(elf-objpfx) instead of
3291 $(common-objpfx)elf/.
3292 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3294 (link-libc-deps): Likewise.
3295 ($(common-objpfx)libc.so): Likewise.
3296 ($(common-objpfx)linkobj/libc.so): Likewise.
3297 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3298 instead of $(common-objpfx)elf/.
3299 (symbolic-link-list): Likewise.
3300 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3301 [$(cross-compiling) = no]: Likewise.
3302 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3304 (static-gnulib-arch): Likewise.
3305 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3306 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3307 $(common-objpfx)elf/.
3309 2014-05-21 Richard Henderson <rth@redhat.com>
3311 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3312 (SINGLE_THREAD_P): Use the correct width load. Fold
3313 into the ldr offset.
3315 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3316 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3318 2014-05-20 Joseph Myers <joseph@codesourcery.com>
3320 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3321 (libgcc_s_resume): Use __attribute_used__.
3322 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3325 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3327 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3328 optimization when used with float constants.
3330 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3332 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
3335 * locale/nl_langinfo_l.c: Make direct reference to every
3336 _nl_current_CATEGORY symbol.
3337 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3338 (tests-static): Add tst-langinfo-static.
3339 (tests-special): Add tst-langinfo-static.out.
3340 ($(objpfx)tst-langinfo.out): Redirect output.
3341 ($(objpfx)tst-langinfo-static.out): New.
3342 * localedata/tst-langinfo.sh: Send output to stdout.
3343 * localedata/tst-langinfo-static.c: New file.
3346 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3347 when the shift amount is modulo the limb size.
3349 2014-05-20 Richard Henderson <rth@redhat.com>
3352 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3353 Change type of sa_flags from unsigned int to int.
3356 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3358 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3360 2014-05-20 Will Newton <will.newton@linaro.org>
3362 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3363 Test the return value of the system call in the nocancel case.
3365 2014-05-20 Will Newton <will.newton@linaro.org>
3366 Yvan Roux <yvan.roux@linaro.org>
3368 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3369 #include of asm/ptrace.h.
3370 (PTRACE_GET_THREAD_AREA): Remove #undef.
3371 (PTRACE_GETHBPREGS): Likewise.
3372 (PTRACE_SETHBPREGS): Likewise.
3373 (struct user_regs_struct): New structure.
3374 (struct user_fpsimd_struct): New structure.
3375 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3376 #include of asm/ptrace.h and second #include of sys/user.h.
3377 (PTRACE_GET_THREAD_AREA): Remove #undef.
3378 (PTRACE_GETHBPREGS): Likewise.
3379 (PTRACE_SETHBPREGS): Likewise.
3380 (ELF_NGREG): Use new struct user_regs_struct.
3381 (elf_fpregset_t): Use new struct user_fpsimd_struct.
3383 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3385 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3386 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3388 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3391 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3392 membar to avoid block loads/stores to overlap previous stores.
3394 2014-05-17 Richard Henderson <rth@redhat.com>
3396 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3397 Create the __##syscall_name##_nocancel entry point.
3398 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3399 Remove; let the sysdep-cancel.h code create it.
3401 2014-05-17 David S. Miller <davem@davemloft.net>
3403 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3404 Protect with __USE_GNU.
3405 (TIOCSET_TEMPT): Likewise.
3406 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3407 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3408 these are already provided in bits/ioctl-types.h
3410 2014-05-16 Roland McGrath <roland@hack.frob.com>
3412 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3413 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3415 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3416 Use wait4 regardless of [__NR_waitpid].
3418 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3421 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3422 (_FP_NANSIGN_Q): Set the quiet bit.
3424 2014-05-16 Joseph Myers <joseph@codesourcery.com>
3426 * benchtests/Makefile
3427 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3428 not $(common-objpfx)math/libm.so.
3429 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3430 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3431 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3432 $(common-objpfx)dlfcn/libdl.so.
3433 ($(objpfx)tst-audit8): Depend on $(libm), not
3434 $(common-objpfx)math/libm.so.
3435 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3436 not $(common-objpfx)dlfcn/libdl.so.
3438 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3439 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
3440 [$(build-shared) = yes].
3441 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3442 $(common-objpfx)nptl/libpthread.so.
3443 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3444 $(common-objpfx)math/libm.so$(libm.so-version) or
3445 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3446 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3447 $(common-objpfx)dlfcn/libdl.so.
3448 * setjmp/Makefile (link-libm): Remove variable.
3449 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3450 * stdio-common/Makefile (link-libm): Remove variable.
3451 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3452 * stdlib/Makefile (link-libm): Remove variable.
3453 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3454 ($(objpfx)tst-strtod-round): Likewise.
3455 ($(objpfx)tst-tininess): Likewise.
3456 ($(objpfx)tst-strtod-underflow): Likewise.
3457 ($(objpfx)tst-strtod6): Likewise.
3458 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3459 $(libdl), not $(common-objpfx)nptl/libpthread.so and
3460 $(common-objpfx)dlfcn/libdl.so.
3462 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3464 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3465 BSD terminal modes definitions.
3467 2014-05-16 Roland McGrath <roland@hack.frob.com>
3469 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3470 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3472 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3473 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3474 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3475 Don't do #include_next.
3476 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3477 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3478 Don't do #include_next.
3479 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3480 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3481 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3482 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3484 2014-05-16 Allan McRae <allan@archlinux.org>
3486 * po/sv.po: Update Swedish translation from translation project.
3488 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3491 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
3494 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3495 errno if the TIOCGPTN ioctl fails with an error different than
3497 * login/tst-ptsname.c: New file.
3498 * login/Makefile (tests): Add tst-ptsname.
3501 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3504 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3507 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3508 herrno to return EAI_AGAIN.
3510 2014-05-14 Roland McGrath <roland@hack.frob.com>
3512 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3513 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3514 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3515 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3516 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3517 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3518 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3519 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3520 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3521 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3522 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3523 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3524 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3525 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3526 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3527 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3528 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3529 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3530 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3531 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3532 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3533 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3534 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3535 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3536 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3537 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3538 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3539 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3540 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3541 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3542 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3543 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3545 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3548 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3549 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3550 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3552 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3553 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3554 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3555 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3556 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3557 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3558 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3559 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3560 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3561 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3562 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3564 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3565 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3566 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3568 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3569 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3570 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3571 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3572 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3573 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3574 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3575 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3577 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3578 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3579 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3581 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3582 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3583 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3584 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3585 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3586 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3587 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3588 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3589 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3590 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3591 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3592 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3593 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3594 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3595 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3596 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3598 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3599 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3600 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3602 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3603 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3604 (libpthread-sysdep_routines): Add elision-related stuff here instead.
3605 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3606 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3607 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3608 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3609 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3610 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3611 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3612 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3613 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3614 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3615 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3616 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3617 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3618 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3619 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3620 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3621 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3622 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3623 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3624 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3625 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3626 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3627 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3628 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3629 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3630 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3631 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3632 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3634 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3635 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3637 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3638 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3639 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3640 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3641 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3642 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3644 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3645 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3647 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3648 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3650 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3651 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3653 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3654 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3655 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3656 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3658 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3659 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3660 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3661 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3662 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3663 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3664 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3665 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3667 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3668 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3670 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3672 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3673 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3674 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3675 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3676 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3678 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3680 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3682 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3683 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3684 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3685 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3686 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3687 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3689 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3690 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3692 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3693 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3695 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3696 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3698 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3699 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3700 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3701 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3703 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3704 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3705 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3706 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3707 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3708 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3709 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3710 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3712 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3713 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3715 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3717 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3718 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3719 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3720 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3721 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3723 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3725 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3727 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3728 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3729 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3730 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3731 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3732 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3733 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3734 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3735 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3736 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3738 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3739 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3741 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3742 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3744 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3745 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3747 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3748 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3749 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3750 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3751 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3752 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3754 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3755 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3756 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3757 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3758 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3759 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3760 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3761 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3763 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3764 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3766 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3768 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3769 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3770 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3771 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3772 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3774 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3776 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3778 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3779 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3780 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3781 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3782 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3783 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3784 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3785 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3786 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3787 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3788 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3790 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3791 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3793 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3794 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3796 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3797 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3798 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3799 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3800 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3801 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3802 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3803 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3804 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3805 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3806 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3807 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3808 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3809 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3810 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3811 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3812 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3813 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3815 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3816 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3817 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3818 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3820 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3821 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3822 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3823 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3824 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3825 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3826 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3827 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3829 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3830 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3832 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3833 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3834 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3835 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3836 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3837 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3838 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3839 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3840 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3841 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3842 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3843 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3844 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3845 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3846 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3847 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3848 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3850 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3851 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3852 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3853 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3854 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3856 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3857 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3858 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3859 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3860 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3861 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3862 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3863 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3864 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3865 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3867 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3868 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3870 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3871 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3872 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3873 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3874 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3875 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3876 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3877 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3878 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3879 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3880 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3881 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3882 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3883 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3884 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3886 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3888 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3890 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3892 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3894 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3896 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3898 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3900 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3902 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3904 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3905 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3906 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3907 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3908 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3909 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3910 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3911 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3912 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3913 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3914 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3915 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3916 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3917 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
3918 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3920 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3921 that was previously under [RESET_PID].
3922 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3923 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3924 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3926 * sysdeps/i386/nptl/Implies: New file.
3927 * sysdeps/x86_64/nptl/Implies: New file.
3928 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3929 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3930 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3931 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3933 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3934 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3935 (__libc_vfork): New strong alias.
3936 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3937 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3939 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3940 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3941 (__libc_vfork): New strong alias.
3942 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3943 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3945 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3946 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3947 (__libc_vfork): New strong alias.
3948 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3949 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3950 * nptl/pt-vfork.c: New file.
3951 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3952 (libpthread: GLIBC_2.20): New version set (empty).
3954 2014-05-14 Will Newton <will.newton@linaro.org>
3956 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3959 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3962 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3963 arguments with exponent 65 or above.
3964 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3965 arguments 0x1p113L or above.
3966 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3967 to arguments 0x1p107L or above.
3968 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3969 positive arguments with exponent 65 or above.
3970 * math/auto-libm-test-in: Add more tests of log1p.
3971 * math/auto-libm-test-out: Regenerated.
3974 * math/s_cacos.c (__cacos): Ensure zero real part of result from
3975 non-finite arguments is +0.
3976 * math/s_cacosf.c (__cacosf): Likewise.
3977 * math/s_cacosl.c (__cacosl): Likewise.
3978 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3979 * sysdeps/i386/fpu/libm-test-ulps: Update.
3980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3983 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3985 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3986 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3987 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3988 for explicit high bit of mantissa when testing for argument equal
3990 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3991 * sysdeps/i386/fpu/libm-test-ulps: Update.
3992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3995 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3996 (__erf): Scale by 16 instead of 8 in potentially underflowing
3997 case. Ensure exception if result actually underflows.
3998 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3999 (__erff): Scale by 16 instead of 8 in potentially underflowing
4000 case. Ensure exception if result actually underflows.
4001 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4002 (efx8): Remove variable.
4003 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4004 case. Ensure exception if result actually underflows.
4005 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4006 (efx8): Remove variable.
4007 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4008 case. Ensure exception if result actually underflows.
4009 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4010 (efx8): Remove variable.
4011 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4012 case. Ensure exception if result actually underflows.
4013 * math/auto-libm-test-in: Add more tests of erf.
4014 * math/auto-libm-test-out: Regenerated.
4016 2014-05-14 Andreas Schwab <schwab@suse.de>
4018 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4019 Remove code conditionalized on USE___THREAD.
4021 * config.h.in (HAVE_PT_CHOWN): Define as 0.
4022 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4025 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4027 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4028 Define unconditionally.
4029 (__ASSUME_O_CLOEXEC): Likewise.
4030 (__ASSUME_SOCK_CLOEXEC): Likewise.
4031 (__ASSUME_IN_NONBLOCK): Likewise.
4032 (__ASSUME_PIPE2): Likewise.
4033 (__ASSUME_EVENTFD2): Likewise.
4034 (__ASSUME_SIGNALFD4): Likewise.
4035 (__ASSUME_DUP3): Likewise.
4036 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4037 (__ASSUME_DUP3): Do not define.
4038 (__ASSUME_EVENTFD2): Likewise.
4039 (__ASSUME_IN_NONBLOCK): Likewise.
4040 (__ASSUME_O_CLOEXEC): Likewise.
4041 (__ASSUME_PIPE2): Likewise.
4042 (__ASSUME_SIGNALFD4): Likewise.
4043 (__ASSUME_SOCK_CLOEXEC): Likewise.
4044 (__ASSUME_UTIMES): Undefine.
4045 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4046 (__ASSUME_UTIMES): Do not define.
4047 (__ASSUME_O_CLOEXEC): Likewise.
4048 (__ASSUME_SOCK_CLOEXEC): Likewise.
4049 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4050 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4052 (__ASSUME_PIPE2): Likewise.
4053 (__ASSUME_EVENTFD2): Likewise.
4054 (__ASSUME_SIGNALFD4): Likewise.
4055 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4056 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4058 (__ASSUME_EVENTFD2): Likewise.
4059 (__ASSUME_SIGNALFD4): Likewise.
4060 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4061 (__ASSUME_32BITUIDS): Likewise.
4062 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4063 (__ASSUME_IPC64): Likewise.
4064 (__ASSUME_ST_INO_64_BIT): Likewise.
4065 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4066 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4067 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4068 (__ASSUME_UTIMES): Do not define.
4069 (__ASSUME_PSELECT): Likewise.
4070 (__ASSUME_PPOLL): Likewise.
4071 (__ASSUME_O_CLOEXEC): Likewise.
4072 (__ASSUME_SOCK_CLOEXEC): Likewise.
4073 (__ASSUME_IN_NONBLOCK): Likewise.
4074 (__ASSUME_PIPE2): Likewise.
4075 (__ASSUME_EVENTFD2): Likewise.
4076 (__ASSUME_SIGNALFD4): Likewise.
4077 (__ASSUME_DUP3): Likewise.
4078 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4079 (__ASSUME_UTIMES): Likewise.
4080 (__ASSUME_O_CLOEXEC): Likewise.
4081 (__ASSUME_SOCK_CLOEXEC): Likewise.
4082 (__ASSUME_IN_NONBLOCK): Likewise.
4083 (__ASSUME_PIPE2): Likewise.
4084 (__ASSUME_EVENTFD2): Likewise.
4085 (__ASSUME_SIGNALFD4): Likewise.
4086 (__ASSUME_DUP3): Likewise.
4087 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4088 (__ASSUME_UTIMES): Likewise.
4089 (__ASSUME_O_CLOEXEC): Likewise.
4090 (__ASSUME_SOCK_CLOEXEC): Likewise.
4091 (__ASSUME_IN_NONBLOCK): Likewise.
4092 (__ASSUME_PIPE2): Likewise.
4093 (__ASSUME_EVENTFD2): Likewise.
4094 (__ASSUME_SIGNALFD4): Likewise.
4095 (__ASSUME_DUP3): Likewise.
4096 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4098 (__ASSUME_UTIMES): Likewise.
4099 (__ASSUME_EVENTFD2): Likewise.
4100 (__ASSUME_SIGNALFD4): Likewise.
4101 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4102 (__ASSUME_O_CLOEXEC): Likewise.
4103 (__ASSUME_SOCK_CLOEXEC): Likewise.
4104 (__ASSUME_IN_NONBLOCK): Likewise.
4105 (__ASSUME_PIPE2): Likewise.
4106 (__ASSUME_EVENTFD2): Likewise.
4107 (__ASSUME_SIGNALFD4): Likewise.
4108 (__ASSUME_DUP3): Likewise.
4109 (__ASSUME_UTIMES): Undefine.
4111 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4112 feclearexcept. Remove symbol versioning code.
4113 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
4114 symbol versioning code.
4115 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
4116 symbol versioning code.
4117 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4118 feupdateenv. Remove symbol versioning code.
4119 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4120 fegetexceptflag. Remove symbol versioning code.
4121 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4122 fesetexceptflag. Remove symbol versioning code.
4123 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4124 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
4125 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4126 (__posix_fadvise64_l32): Remove prototype.
4127 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4130 2014-05-13 Roland McGrath <roland@hack.frob.com>
4132 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4133 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4134 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4135 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4137 2014-05-13 Sami Kerola <kerolasa@iki.fi>
4139 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4140 current working directory
4142 2014-05-13 Roland McGrath <roland@hack.frob.com>
4144 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4145 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4146 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4147 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4148 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4149 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4150 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4151 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4152 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4153 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4154 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4155 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4156 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4157 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4158 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4159 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4160 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4161 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4162 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4163 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4164 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4165 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4166 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4167 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4168 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4169 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4170 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4171 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4172 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4173 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4174 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4175 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4176 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4177 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4178 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4179 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4180 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4181 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4182 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4183 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4184 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4185 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4187 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4188 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4190 * sysdeps/unix/sysv/linux/arm/Makefile
4191 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4192 Add rt-aeabi_unwind_cpp_pr1.
4193 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4194 Add nptl-aeabi_unwind_cpp_pr1.
4195 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4196 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4197 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4198 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4199 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4200 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4202 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4203 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4204 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4205 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4207 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4208 Deconditionalize the code that was previously under [RESET_PID].
4209 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4211 * sysdeps/generic/exit-thread.h: New file.
4212 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4213 * include/unistd.h (__exit_thread): Remove declaration.
4214 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4215 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4216 * csu/libc-start.c: Include <exit-thread.h>.
4217 (LIBC_START_MAIN): Pass no argument to __exit_thread.
4218 * nptl/pthread_create.c: Include <exit-thread.h>.
4219 (start_thread): Call __exit_thread in place of __exit_thread_inline.
4220 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4221 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4222 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4223 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4224 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4225 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4226 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4227 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4228 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4229 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4230 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4231 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4232 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4233 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4234 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4235 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4237 2014-05-13 Andreas Schwab <schwab@suse.de>
4239 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4241 2014-05-12 Joseph Myers <joseph@codesourcery.com>
4243 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4244 (__ASSUME_UTIMES): Do not condition on kernel version.
4245 (__ASSUME_PSELECT): Define unconditionally.
4246 (__ASSUME_PPOLL): Likewise.
4247 (__ASSUME_ATFCTS): Likewise.
4248 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4249 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4250 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4251 (__ASSUME_UTIMENSAT): Define unconditionally.
4252 (__ASSUME_PRIVATE_FUTEX): Likewise.
4253 (__ASSUME_FALLOCATE): Likewise.
4254 (__ASSUME_O_CLOEXEC): Likewise.
4255 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4256 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4257 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4258 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4259 (__ASSUME_IN_NONBLOCK): Likewise.
4260 (__ASSUME_PIPE2): Likewise.
4261 (__ASSUME_EVENTFD2): Likewise.
4262 (__ASSUME_SIGNALFD4): Likewise.
4263 (__ASSUME_DUP3): Likewise.
4264 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4265 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4266 (__ASSUME_AT_RANDOM): Likewise.
4267 (__ASSUME_PREADV): Likewise.
4268 (__ASSUME_PWRITEV): Likewise.
4269 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4270 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4271 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4272 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4273 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4274 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4275 (__ASSUME_O_CLOEXEC): Define unconditionally.
4276 (__ASSUME_PSELECT): Do not undefine conditionally.
4277 (__ASSUME_PPOLL): Likewise.
4278 (__ASSUME_ATFCTS): Likewise.
4279 (__ASSUME_SET_ROBUST_LIST): Likewise.
4280 (__ASSUME_UTIMENSAT): Likewise.
4281 (__ASSUME_FDATASYNC): Define unconditionally.
4282 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4283 (__ASSUME_SIGFRAME_V2): Likewise.
4284 )__ASSUME_EVENTFD2): Likewise.
4285 (__ASSUME_SIGNALFD4): Likewise.
4286 (__ASSUME_PSELECT): Do not undefine conditionally.
4287 (__ASSUME_PPOLL): Likewise.
4288 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4289 (__ASSUME_PSELECT): Define unconditionally.
4290 (__ASSUME_PPOLL): Likewise.
4291 (__ASSUME_O_CLOEXEC): Likewise.
4292 (__ASSUME_SOCK_CLOEXEC): Likewise.
4293 (__ASSUME_IN_NONBLOCK): Likewise.
4294 (__ASSUME_PIPE2): Likewise.
4295 (__ASSUME_EVENTFD2): Likewise.
4296 (__ASSUME_SIGNALFD4): Likewise.
4297 (__ASSUME_DUP3): Likewise.
4298 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4299 (__ASSUME_O_CLOEXEC): Likewise.
4300 (__ASSUME_SOCK_CLOEXEC): Likewise.
4301 (__ASSUME_IN_NONBLOCK): Likewise.
4302 (__ASSUME_PIPE2): Likewise.
4303 (__ASSUME_EVENTFD2): Likewise.
4304 (__ASSUME_SIGNALFD4): Likewise.
4305 (__ASSUME_DUP3): Likewise.
4306 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4307 (__ASSUME_EVENTFD2): Likewise.
4308 (__ASSUME_SIGNALFD4): Likewise.
4309 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4311 2014-05-12 Andreas Schwab <schwab@suse.de>
4314 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4315 (_nss_nis_gethostbyname4_r): Return error if item length is larger
4316 than maximum RPC packet size.
4317 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4318 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4319 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4320 (_nss_nis_getservbyport_r): Likewise.
4322 2014-05-12 Will Newton <will.newton@linaro.org>
4324 * malloc/Makefile (tests): Add tst-mallopt.
4325 * malloc/tst-mallopt.c: New file.
4327 2014-05-09 Roland McGrath <roland@hack.frob.com>
4329 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4330 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4332 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4334 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4335 (tst-tlsmod6.so): Likewise.
4337 2014-05-09 Roland McGrath <roland@hack.frob.com>
4339 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4341 2014-05-09 Joseph Myers <joseph@codesourcery.com>
4344 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4345 and <dl-procinfo.h>.
4346 (__fegetenv): Save SSE state in envp->__eip if supported.
4347 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4348 envp->__eip if supported.
4349 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4350 and <dl-procinfo.h>.
4351 (__fesetenv): Always set __eip, __cs_selector, __opcode,
4352 __data_offset and __data_selector in environment to 0. Set SSE
4354 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4356 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4358 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4360 2014-05-09 Will Newton <will.newton@linaro.org>
4362 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4363 and libc_relro_required for ARM.
4364 * sysdeps/arm/preconfigure: Regenerate.
4366 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
4367 Stefan Liebler <stli@linux.vnet.ibm.com>
4369 * config.make.in (enable-lock-elision): New Makefile variable.
4370 * configure.ac: Likewise.
4371 * configure: Regenerate.
4372 * sysdeps/s390/configure.ac:
4373 Add check for gcc transactions support.
4374 * sysdeps/s390/configure: Regenerate.
4375 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4376 Build elision files if enabled.
4377 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4378 Add lock elision support for s390.
4379 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4380 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4381 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4382 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4383 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4384 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4385 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4387 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4389 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4391 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4393 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4394 (__lll_timedlock_elision, __lll_lock_elision)
4395 (__lll_unlock_elision, __lll_trylock_elision)
4396 (lll_timedlock_elision, lll_lock_elision)
4397 (lll_unlock_elision, lll_trylock_elision): Add.
4398 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4399 (pthread_mutex_t): Add lock elision support for s390.
4401 2014-05-14 Wilco <wdijkstr@arm.com>
4403 * sysdeps/arm/fclrexcpt.c: Cleanup.
4404 * sysdeps/arm/fedisblxcpt.c: Cleanup.
4405 * sysdeps/arm/feenablxcpt.c: Cleanup.
4406 * sysdeps/arm/fegetenv.c: Cleanup.
4407 * sysdeps/arm/fegetexcept.c: Cleanup.
4408 * sysdeps/arm/fegetround.c: Cleanup.
4409 * sysdeps/arm/feholdexcpt.c: Cleanup.
4410 * sysdeps/arm/fesetenv.c: Cleanup.
4411 * sysdeps/arm/fesetround.c: Cleanup.
4412 * sysdeps/arm/feupdateenv.c: Cleanup.
4413 * sysdeps/arm/fgetexcptflg.c: Cleanup.
4414 * sysdeps/arm/fraiseexcpt.c: Cleanup.
4415 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4416 * sysdeps/arm/ftestexcept.c: Cleanup.
4417 * sysdeps/arm/get-rounding-mode.h: Cleanup.
4418 * sysdeps/arm/setfpucw.c: Cleanup.
4420 2014-05-09 Will Newton <will.newton@linaro.org>
4422 * sysdeps/arm/armv7/strcmp.S: New file.
4423 * NEWS: Mention addition of ARMv7 optimized strcmp.
4425 2014-05-08 Roland McGrath <roland@hack.frob.com>
4427 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4428 look for %.ac rather than %.in.
4430 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4431 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4432 * sysdeps/mach/hurd/configure: Regenerated.
4433 * sysdeps/unix/sysv/linux/configure: Regenerated.
4435 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4437 2014-05-07 Steve Ellcey <sellcey@mips.com>
4440 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4444 2014-05-07 Andreas Schwab <schwab@suse.de>
4446 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4447 when skipping over non-matching result from nscd.
4449 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
4452 * nptl/sockperf.c (client): Check socket return value.
4455 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4456 nscd security class.
4458 2014-05-06 Roland McGrath <roland@hack.frob.com>
4460 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4461 * sysdeps/arm/unwind.h: ... here.
4463 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
4466 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4469 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4471 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4472 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4473 multiarch strncpy for PPC64.
4474 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4475 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4476 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4477 multiarch optimizations.
4478 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4479 (__libc_ifunc_impl_list): Likewise.
4480 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4481 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4482 multiarch stpncpy for PPC64.
4483 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4484 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4486 2014-05-06 Andreas Schwab <schwab@suse.de>
4489 * gmon/mcount.c (_MCOUNT_DECL): Use
4490 atomic_compare_and_exchange_bool_acq instead of
4491 catomic_compare_and_exchange_bool_acq.
4493 2014-05-05 Roland McGrath <roland@hack.frob.com>
4495 * elf/Makefile (others, install-bin): Remove pldd.
4496 (pldd-modules): Variable removed.
4497 ($(objpfx)pldd): Target removed.
4498 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4499 (others, install-bin): Append pldd here.
4500 ($(objpfx)pldd): New target.
4502 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4503 to 0, so the first #if test emitted later doesn't see it undefined.
4504 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4505 * sysdeps/gnu/errlist.c: Regenerated.
4507 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4509 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4510 [libc_hidden_builtin_def]: Define to empty value.
4511 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4512 [libc_hidden_builtin_def]: Likewise.
4513 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4514 [libc_hidden_builtin_def]: Likewise.
4515 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4516 [libc_hidden_builtin_def]: Likewise.
4517 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4518 __redirect_memcpy and define ifunc as default hidden symbol.
4519 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4520 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4522 2014-05-04 Adam Conrad <adconrad@0c3.net>
4524 * locale/iso-4217.def: Reintroduce XDR currency.
4526 2014-05-04 Allan McRae <allan@archlinux.org>
4528 * po/eo.po: Update Esperanto translation from translation project.
4530 2014-05-02 Carlos O'Donell <carlos@redhat.com>
4532 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4533 and FEATURE_INDEX_MAX to 1.
4534 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4536 2014-05-01 Steve Ellcey <sellcey@mips.com>
4538 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4539 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4540 * iconvdata/big5.c (ONE_DIRECTION): Define.
4541 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4542 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4543 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4544 * iconvdata/cp932.c (ONE_DIRECTION): Define.
4545 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4546 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4547 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4548 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4549 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4550 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4551 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4552 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4553 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4554 * iconvdata/gbk.c (ONE_DIRECTION): Define.
4555 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4556 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4557 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4558 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4559 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4560 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4561 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4562 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4563 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4564 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4565 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4566 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4567 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4568 * iconvdata/iso646.c (ONE_DIRECTION): Define.
4569 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4570 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4571 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4572 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4573 * iconvdata/johab.c (ONE_DIRECTION): Define.
4574 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4575 * iconvdata/sjis.c (ONE_DIRECTION): Define.
4576 * iconvdata/t.61.c (ONE_DIRECTION): Define.
4577 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4578 * iconvdata/tscii.c (ONE_DIRECTION): Define.
4579 * iconvdata/uhc.c (ONE_DIRECTION): Define.
4580 * iconvdata/unicode.c (ONE_DIRECTION): Define.
4581 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4582 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4583 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4585 2014-05-01 Roland McGrath <roland@hack.frob.com>
4587 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4588 (_IO_JUMPS_OFFSET): Define to 0.
4590 * nptl/sysdeps/pthread/bits/libc-lock.h
4591 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4592 (__libc_lock_define_initialized_recursive): Always define using
4593 initializer. Modern compilers treat uninitialized (implicit zero) and
4594 explicit zero initializers the same (i.e. put the datum in bss).
4596 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4598 * nscd/nscd-client.h: Include <string.h>.
4600 2014-05-01 David S. Miller <davem@davemloft.net>
4603 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4604 multiple zero bytes exist at the end of a string.
4605 Reported by Aurelien Jarno <aurelien@aurel32.net>
4607 * string/test-strcmp.c (check): Add explicit test for situations where
4608 there are multiple zero bytes after the first.
4610 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4613 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4614 when compiling wprintf.
4615 * stdio-common/tstdiomisc.c (t3): New function.
4618 2014-05-01 Steve Ellcey <sellcey@mips.com>
4620 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4621 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4622 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4623 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4625 2014-05-01 Steve Ellcey <sellcey@mips.com>
4627 * stdlib/longlong.h: Updated from GCC.
4629 2014-05-01 Will Newton <will.newton@linaro.org>
4630 Bernard Ogden <bernie.ogden@linaro.org>
4632 * NEWS: Update fixed bug list.
4635 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4637 2014-04-30 David S. Miller <davem@davemloft.net>
4639 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4640 (libc_feholdexcept_setround_sparc_ctx): New function.
4641 (libc_fesetenv_sparc_ctx): Likewise.
4642 (libc_feupdateenv_sparc_ctx): Likewise.
4643 (libc_feholdsetround_sparc_ctx): Likewise.
4644 (libc_feholdexcept_setround_ctx): Define.
4645 (libc_feholdexcept_setroundf_ctx): Likewise.
4646 (libc_feholdexcept_setroundl_ctx): Likewise.
4647 (libc_fesetenv_ctx): Likewise.
4648 (libc_fesetenvf_ctx): Likewise.
4649 (libc_fesetenvl_ctx): Likewise.
4650 (libc_feupdateenv_ctx): Likewise.
4651 (libc_feupdateenvf_ctx): Likewise.
4652 (libc_feupdateenvl_ctx): Likewise.
4653 (libc_feresetround_ctx): Likewise.
4654 (libc_feresetroundf_ctx): Likewise.
4655 (libc_feresetroundl_ctx): Likewise.
4656 (libc_feholdsetround_ctx): Likewise.
4657 (libc_feholdsetroundf_ctx): Likewise.
4658 (libc_feholdsetroundl_ctx): Likewise.
4660 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4661 with __USE_GNU instead of XOPEN cpp guards.
4663 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4666 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4667 with XOPEN cpp guards.
4669 2014-04-30 Julian Brown <julian@codesourcery.com>
4672 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4675 2014-04-30 Joseph Myers <joseph@codesourcery.com>
4678 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4680 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4681 * sysdeps/unix/sysv/linux/configure: Regenerated.
4682 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4683 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4684 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4685 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4686 * README: Update reference to required Linux kernel version.
4687 * manual/install.texi (Linux): Update reference to required Linux
4688 kernel headers version.
4689 * INSTALL: Regenerated.
4691 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4693 [POSIX] (limits.h): Likewise.
4694 [POSIX] (math.h): Likewise.
4695 [POSIX] (sys/wait.h): Likewise.
4696 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4698 [POSIX] (stddef.h): Do not allow header inclusion.
4700 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4702 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4704 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
4706 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4707 Return immediately after lll_futex_wake.
4709 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4712 * nscd/nscd-client.h (datahead_init_common): Initialize entire
4714 (datahead_init_pos): Call datahead_init_common early.
4715 (datahead_init_neg): Likewise.
4717 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4718 datahead_init_neg): New functions.
4719 * nscd/aicache.c (addhstaiX): Use them.
4720 * nscd/grpcache.c (cache_addgr): Likewise.
4721 * nscd/hstcache.c (cache_addhst): Likewise.
4722 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4723 * nscd/netgroupcache.c (do_notfound): Likewise.
4724 (addgetnetgrentX): Likewise.
4725 (addinnetgrX): Likewise.
4726 * nscd/pwdcache.c (cache_addpw): Likewise.
4727 * nscd/servicescache.c (cache_addserv): Likewise.
4729 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4730 Atsushi Onoe <atsushi@onoe.org>
4735 * resolv/res_query.c (__libc_res_nsearch): Return if at least
4736 one response is valid.
4737 * resolv/res_send.c (send_dg): Check for validity of other
4738 response if the current response is a referral.
4740 2014-04-29 Steve Ellcey <sellcey@mips.com>
4742 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4744 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
4747 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4748 Always divide by positive zero when computing -Inf result.
4749 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4750 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4752 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4754 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4755 FPSCR if value do not change.
4756 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4757 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4758 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4759 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4760 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4761 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4764 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
4766 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4767 * sysdeps/unix/sysv/linux/hppa: Move directory from
4768 ports/systeps/unix/sysv/linux/hppa.
4769 * README: Update listing for hppa-*-linux-gnu.
4771 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
4774 * manual/stdio.texi (Hook functions): Fix types of stream hook
4777 * socket/sys/socket.h: Fix typo in comment.
4779 2014-04-28 Wilco <wdijkstr@arm.com>
4781 * sysdeps/arm/fenv_private.h: New file.
4782 * sysdeps/arm/math_private.h: New file.
4783 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4785 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
4787 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4789 (La_x86_64_retval): Likewise.
4791 2014-04-24 Ian Bolton <ian.bolton@arm.com>
4793 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4794 fpsr if value didn't change.
4795 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4796 to fpcr if value didn't change.
4797 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4798 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4799 fpsr or fpcr if value didn't change.
4800 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4801 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4802 fpcr if value didn't change.
4803 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4804 to fpsr if value didn't change.
4806 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4808 * nptl/tst-sem3.c: Use test-skeleton.c
4809 (main): Rename to do_test. Use return instead of
4811 * nptl/tst-sem4.c: Use test-skeleton.c
4812 (main): Rename to do_test.
4814 2014-04-22 David S. Miller <davem@davemloft.net>
4816 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4817 (struct sigaction): New struct member __glibc_reserved0, change
4818 type of sa_flags to int.
4820 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
4822 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4823 (COUNT_LEADING_ZEROS_0): Define for AArch64.
4825 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4827 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4828 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4830 2014-04-22 Will Newton <will.newton@linaro.org>
4831 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
4833 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4834 (__longjmp): Add longjmp and longjmp_target SystemTap
4836 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4837 (__sigsetjmp): Add setjmp SystemTap probe.
4839 2014-04-17 Carlos O'Donell <carlos@redhat.com>
4841 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4844 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4846 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4848 * sysdeps/powerpc/fpu/fenv_private.h
4849 (libc_feholdexcept_setroundl_ctx): Define to
4850 libc_feholdexcept_setround_ppc_ctx.
4851 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4852 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4853 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4854 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4856 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4858 * sysdeps/aarch64/math-tests.h: New file.
4860 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
4862 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4864 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4865 Check and set bit_AVX2_Usable.
4866 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4868 (bit_AVX2): Likewise.
4869 (index_AVX2_Usable): Likewise.
4870 (CPUID_AVX2): Likewise.
4871 (HAS_AVX2): Likewise.
4873 2014-04-17 Will Newton <will.newton@linaro.org>
4875 * manual/setjmp.texi (System V contexts): Add note that
4876 calling setcontext on a context created by a call to a
4877 signal handler is undefined. Update text to note that
4878 setcontext from a signal handler is possible but not
4882 * stdlib/tst-setcontext.c: Include signal.h.
4883 (main): Check that the signal stack before and
4884 after swapcontext is the same.
4886 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4887 Re-implement to restore registers in user code and avoid
4888 rt_sigreturn system call.
4890 2014-04-17 Wilco <wdijkstr@arm.com>
4892 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4893 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4894 * math/test-fenv.c: Skip exception trap tests on targets which only
4895 support non-stop mode.
4897 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4898 Wilco Dijkstra <wilco.dijkstra@arm.com>
4900 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4901 (libc_feholdsetround_aarch64_ctx)
4902 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4903 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4904 (libc_feresetround_ctx, libc_feresetroundf_ctx)
4905 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4906 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4907 (libc_feresetround_noexl_ctx): Define.
4909 2014-04-16 Richard Henderson <rth@redhat.com>
4911 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4913 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4916 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4917 const from the non-libc, non-ldso copy.
4919 * sysdeps/alpha/libm-test-ulps: Regenerate.
4921 2014-04-16 Ian Bolton <ian.bolton@arm.com>
4922 Wilco Dijkstra <wilco.dijkstra@arm.com>
4924 * sysdeps/aarch64/fpu/math_private.h: New file.
4926 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
4928 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4930 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
4932 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4933 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4934 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4935 Intel MPX bound registers before _dl_profile_fixup.
4936 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4937 registers after _dl_profile_fixup. Save and restore bound
4938 registers bnd0/bnd1 when calling _dl_call_pltexit.
4939 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4940 (LR_BND_OFFSET): Likewise.
4941 (LRV_BND0_OFFSET): Likewise.
4942 (LRV_BND1_OFFSET): Likewise.
4944 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4946 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4948 * sysdeps/mach/hurd/i386/tls.h: ... here.
4949 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4950 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4953 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4955 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4957 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4959 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4961 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4964 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4965 * sysdeps/s390/configure: Regenerate.
4968 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4969 Set round-to-nearest internally to reduce error accumulation.
4971 2014-04-16 Alan Modra <amodra@gmail.com>
4975 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4976 * math/libm-test.inc (frexp_test_data): Add tests.
4977 * NEWS: Update fixed bug list.
4979 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4981 * benchtests/Makefile: Depend on libraries in build directory.
4982 (bench-math): Separate out math tests.
4983 (bench-pthread): Separate out pthread tests.
4984 (bench): Include math and pthread tests.
4986 2014-04-14 Carlos O'Donell <carlos@redhat.com>
4989 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4990 _dl_debug_initialize.
4992 * configure.ac: Remove SELinux header check.
4993 * configure: Regenerate.
4994 * nscd/selinux.c (perms): Array of const char* to permission names.
4995 (nscd_request_avc_has_perm): Call security_deny_unknown to find
4996 default policy. Call string_to_security_class and string_to_av_perm to
4997 translate strings. Enforce default policy and call avs_has_perm with
4998 results of translated strings.
5000 2014-04-13 David S. Miller <davem@davemloft.net>
5002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5004 2014-04-12 Allan McRae <allan@archlinux.org>
5007 * manual/string.texi (Collation Functions): Fix qsort argument
5009 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5011 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
5013 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5014 Make the test a no-op if there are no exceptions defined.
5016 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5018 * elf/Makefile (tests): make tst-dlopen-aout conditional on
5019 enable-hardcoded-path-in-tests
5021 2014-04-11 Will Newton <will.newton@linaro.org>
5023 * benchtests/Makefile (extra-objs): Add json-lib.o.
5024 (bench-func): Tidy up JSON output.
5025 * benchtests/bench-skeleton.c: Include json-lib.h.
5026 (main): Use JSON library functions to do output of
5028 * benchtests/bench-timing-type.c (main): Output the
5029 timing type simply, leaving formatting to the user.
5030 * benchtests/json-lib.c: New file.
5031 * benchtests/json-lib.h: Likewise.
5033 2014-04-11 Torvald Riegel <triegel@redhat.com>
5036 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5037 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
5038 memory barriers. Add comments.
5039 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5040 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5041 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5042 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5043 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5044 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5046 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5048 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5049 * sysdeps/s390/s390-64/configure.ac: ... this ...
5050 * sysdeps/s390/configure.ac: ... to here.
5051 * sysdeps/s390/s390-32/configure: Delete file.
5052 * sysdeps/s390/s390-64/configure: Delete file.
5053 * sysdeps/s390/configure: Regenerate.
5055 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5057 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5059 2014-04-11 Will Newton <will.newton@linaro.org>
5061 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5062 to zero if it is not defined elsewhere. (mtrim): Test
5063 the value of MALLOC_DEBUG with #if rather than #ifdef.
5065 2014-04-10 Torvald Riegel <triegel@redhat.com>
5067 * benchtests/pthread_once-inputs: New file.
5068 * benchtests/pthread_once-source.c: New file.
5069 * benchtests/README: Update documentation.
5071 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
5072 H.J. Lu <hongjiu.lu@intel.com>
5074 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5075 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5076 * sysdeps/x86_64/configure: Regenerated.
5077 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5079 (REGISTER_SAVE_RAX): Likewise.
5080 (REGISTER_SAVE_RCX): Likewise.
5081 (REGISTER_SAVE_RDX): Likewise.
5082 (REGISTER_SAVE_RSI): Likewise.
5083 (REGISTER_SAVE_RDI): Likewise.
5084 (REGISTER_SAVE_R8): Likewise.
5085 (REGISTER_SAVE_R9): Likewise.
5086 (REGISTER_SAVE_BND0): Likewise.
5087 (REGISTER_SAVE_BND1): Likewise.
5088 (REGISTER_SAVE_BND2): Likewise.
5089 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
5090 bound registers when calling _dl_fixup.
5092 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5094 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5095 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5097 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5098 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5099 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5100 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5101 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5102 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5103 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5105 2014-04-09 Peter Brett <peter@peter-b.co.uk>
5108 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5109 pathconf(_PC_NAME_MAX).
5111 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5113 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5115 (__PTHREAD_SPINS): Move definition to ...
5116 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5117 (__PTHREAD_SPINS): ... here.
5118 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5119 (__PTHREAD_SPIN): Likewise.
5120 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5121 (__PTHREAD_SPIN): Likewise.
5122 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5123 (__PTHREAD_SPIN): Likewise.
5124 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5125 (__PTHREAD_SPIN): Likewise.
5126 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5127 (__PTHREAD_SPIN): Likewise.
5128 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5129 (__PTHREAD_SPIN): Likewise.
5130 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5131 (__PTHREAD_SPIN): Likewise.
5132 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5133 (__PTHREAD_SPIN): Likewise.
5134 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5135 (__PTHREAD_SPIN): Likewise.
5136 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5137 (__PTHREAD_SPIN): Likewise.
5138 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5139 (__PTHREAD_SPIN): Likewise.
5140 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5141 (__PTHREAD_SPIN): Likewise.
5143 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5144 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5145 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5146 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5148 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5149 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5150 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5151 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5153 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5154 strlen symbol for non multi-arch builds.
5155 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5156 missing hidden_def and weak_alias.
5158 2014-04-08 Carlos O'Donell <carlos@redhat.com>
5160 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5162 2014-04-07 Will Newton <will.newton@linaro.org>
5164 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5165 and contents. [!_LIBC] Remove #ifndef and contents.
5166 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
5167 * string/memccpy.c (__memccpy): Use ANSI prototype.
5168 * string/memfrob.c (memfrob): Likewise.
5169 * string/strcoll.c (STRCOLL): Likewise.
5170 * string/strlen.c (strlen): Likewise.
5171 * string/strtok.c (STRTOK): Likewise.
5172 * string/strcat.c: Remove unused #include of memcopy.h.
5173 (strcat): Use ANSI prototype.
5174 * string/strchr.c: Remove unused #include of memcopy.h.
5175 (strchr): Use ANSI prototype.
5176 * string/strcmp.c: Remove unused #include of memcopy.h.
5177 (strcmp): Use ANSI prototype.
5178 * string/strcpy.c: Remove unused #include of memcopy.h.
5179 (strcpy): Use ANSI prototype.
5181 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5183 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5184 * config.make.in (config-extra-cppflags): Set it from
5185 libc_extra_cppflags.
5186 * configure.ac (libc_extra_cflags): Make it accumulate over
5187 configure fragments.
5188 (libc_extra_cppflags): New flag.
5189 * configure. Regenerate.
5190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5191 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5192 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5196 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5197 result for FE_DOWNWARD rounding mode.
5198 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5202 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
5204 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5205 in function argument name.
5207 2014-04-03 David Svoboda <svoboda@cert.org>
5210 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5213 2014-04-03 Roland McGrath <roland@hack.frob.com>
5215 * elf/dl-unmap-segments.h: New file.
5216 * sysdeps/generic/ldsodefs.h
5217 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5218 * elf/dl-close.c: Include <dl-unmap-segments.h>.
5219 * elf/dl-fptr.c: Likewise.
5220 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5221 * sysdeps/aarch64/tlsdesc.c: Likewise.
5222 * sysdeps/arm/tlsdesc.c: Likewise.
5223 * sysdeps/i386/tlsdesc.c: Likewise.
5224 * sysdeps/tile/dl-runtime.c: Likewise.
5225 * sysdeps/x86_64/tlsdesc.c: Likewise.
5226 * elf/dl-load.h: New file.
5227 * elf/dl-load.c: Include it.
5228 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5229 Macros moved to dl-load.h.
5230 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5231 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5232 Use _dl_unmap_segments in place of __munmap.
5233 Break out segment-mapping loop into ...
5234 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5236 2014-04-03 Will Newton <will.newton@linaro.org>
5238 * elf/dl-lookup.c (do_lookup_x): Remove comment
5239 referring to nested function and move variable
5240 declarations down to before first use.
5242 2014-04-02 Joseph Myers <joseph@codesourcery.com>
5246 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5248 * math/s_catanf.c (__catanf): Likewise.
5249 * math/s_catanh.c (__catanh): Likewise.
5250 * math/s_catanhf.c (__catanhf): Likewise.
5251 * math/s_catanhl.c (__catanhl): Likewise.
5252 * math/s_catanl.c (__catanl): Likewise.
5253 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5254 by positive zero when computing -Inf result.
5255 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5256 (catanh_test): Likewise.
5257 * sysdeps/i386/fpu/libm-test-ulps: Update.
5258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5261 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5262 instead of using underflowing value in computing result.
5263 * math/s_clog10.c (__clog10): Likewise.
5264 * math/s_clog10f.c (__clog10f): Likewise.
5265 * math/s_clog10l.c (__clog10l): Likewise.
5266 * math/s_clogf.c (__clogf): Likewise.
5267 * math/s_clogl.c (__clogl): Likewise.
5268 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5269 (clog10_test): Likewise.
5270 * sysdeps/i386/fpu/libm-test-ulps: Update.
5271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5273 2014-04-02 Alan Modra <amodra@gmail.com>
5276 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5277 output when value is near a power of two. Use int64_t for lx and
5278 remove casts. Use decimal rather than hex exponent constants.
5279 Don't use long double multiplication when double will suffice.
5280 * math/libm-test.inc (nextafter_test_data): Add tests.
5281 * NEWS: Add 16739 and 16786 to bug list.
5283 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5285 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5287 2014-04-01 Will Newton <will.newton@linaro.org>
5289 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5290 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5292 2014-04-01 Florian Weimer <fweimer@redhat.com>
5295 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5296 * nptl/tst-setuid2.c: New file.
5297 * nptl/Makefile (xtests): Add tst-setuid2.
5299 2014-04-01 Alan Modra <amodra@gmail.com>
5302 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5304 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5308 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5309 set errno as appropriate.
5310 * math/w_scalbf.c (__scalbf): Likewise.
5311 * math/w_scalbl.c (__scalbl): Likewise.
5312 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5313 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5314 * math/libm-test.inc (scalb_test_data): Add errno expectations.
5318 * math/w_atan2.c: Include <errno.h>.
5319 (__atan2): Set errno for result underflowing to zero.
5320 * math/w_atan2f.c: Include <errno.h>.
5321 (__atan2f): Set errno for result underflowing to zero.
5322 * math/w_atan2l.c: Include <errno.h>.
5323 (__atan2l): Set errno for result underflowing to zero.
5324 * math/auto-libm-test-in: Don't allow missing errno for some atan2
5326 * math/auto-libm-test-out: Regenerated.
5328 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5330 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5331 Encode instruction correctly in little endian.
5332 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5334 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5336 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5338 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5341 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5344 * sysdeps/unix/sysv/linux/kernel-features.h
5345 [__sparc__ && !__arch64__ && !__sparc_v9__]
5346 (__ASSUME_SET_ROBUST_LIST): Do not define.
5347 [__sparc__ && !__arch64__ && !__sparc_v9__]
5348 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5349 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5351 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5352 (__ASSUME_FUTEX_LOCK_PI): Undefine.
5353 (__ASSUME_REQUEUE_PI): Likewise.
5354 (__ASSUME_SET_ROBUST_LIST): Likewise.
5355 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5356 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5358 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5359 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5361 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5363 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5365 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5366 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5368 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5369 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5373 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5374 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5375 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5377 2014-03-31 Will Newton <will.newton@linaro.org>
5379 * benchtests/Makefile (bench): Add ffs and ffsll to list
5381 * benchtests/ffs-inputs: New file.
5382 * benchtests/ffsll-inputs: Likewise.
5384 2014-03-29 Joseph Myers <joseph@codesourcery.com>
5387 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5388 too large before casting to int.
5389 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5390 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5391 * math/libm-test.inc (scalb_test_data): Add more tests.
5393 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5395 * benchtests/Makefile (DETAILED_OPT): New make option.
5396 (bench-func): Run benchmark program with -d if DETAILED_OPT is
5398 * benchtests/bench-skeleton.c: Include stdbool.h.
5399 (main): Store and print timings per input.
5400 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5401 member to each argument value.
5402 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5403 (_print_arg_data): Initialize per-input timing to 0.
5405 * benchtests/Makefile (timing-type): New binary.
5406 (bench-clean): Also remove bench-timing-type.
5407 (bench): New target for timing-type.
5408 (bench-func): Print output in JSON format.
5409 * benchtests/bench-skeleton.c (main): Print output in JSON
5411 * benchtests/bench-timing-type.c: New file.
5412 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5413 (TIMING_PRINT_STATS): Remove.
5414 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5417 * benchtests/bench-modf.c: Remove.
5418 * benchtests/modf-inputs: New inputs file.
5420 2014-03-28 Joseph Myers <joseph@codesourcery.com>
5423 * math/s_clog10.c (M_PI_LOG10E): New macro.
5424 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5425 imaginary parts are 0.
5426 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5427 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5428 imaginary parts are 0.
5429 * math/s_clog10l.c (M_PI_LOG10El): New macro.
5430 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5431 imaginary parts are 0.
5432 * math/libm-test.inc (clog10_test_data): Update expected results
5433 for when real and imaginary parts are 0.
5435 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5437 * elf/dl-load.c: Finish conversion of __builtin_expect into
5440 2014-03-27 Joseph Myers <joseph@codesourcery.com>
5443 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5444 1+x for argument with exponent below -67.
5445 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5447 * math/auto-libm-test-in: Add more tests of exp.
5448 * math/auto-libm-test-out: Regenerated.
5450 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5453 * inet/getnetgrent_r.c (get_nonempty_val): New function.
5454 (nscd_getnetgrent): Use it.
5457 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5460 2014-03-27 Andi Kleen <ak@linux.intel.com>
5462 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5463 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5464 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5465 (lll_robust_unlock): Remove out of line section. Use cfi
5467 (LLL_STUB_UNWIND_INFO*): Remove.
5468 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5469 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5470 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5471 (lll_robust_unlock): Remove out of line section. Use cfi
5473 (LLL_STUB_UNWIND_INFO*): Remove.
5475 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5478 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5481 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
5483 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5485 2014-03-26 Joseph Myers <joseph@codesourcery.com>
5488 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5490 * math/test-fenv-preserve.c: New file.
5491 * math/Makefile (tests): Add test-fenv-preserve.
5493 2014-03-26 Will Newton <will.newton@linaro.org>
5495 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5497 2014-03-25 Roland McGrath <roland@hack.frob.com>
5499 * scripts/versionlist.awk: Partition the version sets and emit all
5500 GLIBC_* (sorted) before all others (sorted).
5502 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5504 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5505 GLIBC_2.2.5 version.
5507 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5509 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5512 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5517 2014-03-25 Andreas Schwab <schwab@suse.de>
5519 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5520 label to be used after in6ailist is initialized.
5522 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5524 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5525 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5527 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5531 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5533 (fp_formats): Update initializers.
5534 (init_fp_formats): Initialize new field.
5535 (output_for_one_input_case): Allow underflow for results up to
5537 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5538 * math/auto-libm-test-in: Don't mark some underflows from asin and
5540 * math/auto-libm-test-out: Regenerated.
5541 * sysdeps/i386/fpu/libm-test-ulps: Update.
5542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5544 2014-03-25 Andreas Schwab <schwab@suse.de>
5546 * libio/Makefile (tst-ftell-partial-wide-ENV)
5547 (tst-ftell-active-handler-ENV): Define.
5549 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5551 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5553 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5555 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5557 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5559 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5560 * sysdeps/x86_64/fpu/multiarch/e_exp.c
5561 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5563 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5566 * elf/dl-load.c (open_verify): Add mode parameter.
5567 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5568 (open_path): Change from boolean 'secure' to complete flag 'mode'
5569 (_dl_map_object): Adjust.
5570 * elf/Makefile (tests): Add tst-dlopen-aout.
5571 * elf/tst-dlopen-aout.c: New test.
5573 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5576 * sysdeps/unix/sysv/linux/s390/bits/stat.h
5577 (struct stat): Rename member pad0 to __glibc_reserved0.
5580 * sysdeps/s390/s390-32/bits/wordsize.h
5581 (__WORDSIZE32_SIZE_ULONG): New define.
5582 * sysdeps/s390/s390-64/bits/wordsize.h
5583 (__WORDSIZE32_SIZE_ULONG): Likewise.
5584 * sysdeps/generic/stdint.h (SIZE_MAX):
5585 Define as UL if __WORDSIZE32_SIZE_ULONG.
5588 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5589 (__glibc_reserved0): New variable.
5590 (sa_flags): Change type to int.
5592 * posix/Makefile (before-compile): Use += before-compile instead
5595 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5596 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5598 2014-03-20 Andreas Schwab <schwab@suse.de>
5601 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5602 non-matching result from nscd.
5604 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5606 * scripts/bench.py: Moved to ...
5607 * benchtests/scripts/bench.py: ... here.
5608 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5610 2014-03-24 Andreas Schwab <schwab@suse.de>
5613 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5614 alloca_account and account alloca use for struct in6ailist.
5616 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5619 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5620 rounding mode to recompute results that overflow to infinity or
5622 * math/auto-libm-test-in: Don't mark tests as expected to fail for
5624 * math/auto-libm-test-out: Regenerated.
5625 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5626 (ccosh_test): Likewise.
5627 (csin_test_data): Use plus_oflow.
5628 (csin_test): Use ALL_RM_TEST.
5629 (csinh_test_data): Use plus_oflow.
5630 (csinh_test): Use ALL_RM_TEST.
5631 * sysdeps/i386/fpu/libm-test-ulps: Update.
5632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5634 2014-03-21 Joseph Myers <joseph@codesourcery.com>
5636 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5637 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5638 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5641 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5643 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5644 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5645 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5646 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5648 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5649 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5651 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5652 * sysdeps/i386/fpu/libm-test-ulps: Update.
5653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5655 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5657 * scripts/bench.pl: Remove file.
5658 * scripts/bench.py: New benchmark script.
5659 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5660 * benchtests/README: Mention python dependency.
5661 * scripts/pylintrc: New file.
5662 * scripts/pylint: New file.
5664 * bits/mathdef.h: Use #ifdef instead of #if.
5665 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5666 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5667 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5668 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5669 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5670 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5672 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5673 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5675 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5676 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5677 and strpbrk-ppc64 objects.
5678 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5679 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5680 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5681 multiarch strpbrk for POWER7.
5682 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5683 multiarch strpbrk for PPC64.
5684 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5686 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5689 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5691 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5692 (atan_test): Likewise.
5693 (atanh_test_data): Use NO_TEST_INLINE for two tests.
5694 (atanh_test): Use ALL_RM_TEST.
5695 (atan2_test_data): Likewise.
5696 (cabs_test): Likewise.
5697 (cacosh_test): Likewise.
5698 (carg_test): Likewise.
5699 (casin_test): Likewise.
5700 (casinh_test): Likewise.
5701 (cbrt_test): Likewise.
5702 (csqrt_test): Likewise.
5703 (erf_test): Likewise.
5704 (erfc_test): Likewise.
5705 (pow10_test): Likewise.
5706 (exp2_test): Likewise.
5707 (hypot_test): Likewise.
5708 (j0_test): Likewise.
5709 (j1_test): Likewise.
5710 (lgamma_test): Likewise.
5711 (gamma_test): Likewise.
5712 (sincos_test): Likewise.
5713 (tanh_test): Likewise.
5714 (y0_test): Likewise.
5715 (y1_test): Likewise.
5716 * sysdeps/i386/fpu/libm-test-ulps: Update.
5717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5719 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5721 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5722 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5723 and strcspn-ppc64 objects.
5724 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5725 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5726 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5727 multiarch strcspn for POWER7.
5728 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5729 multiarch strcspn for PPC64.
5730 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5732 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5735 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5737 * math/gen-libm-test.pl (generate_testfile): Expect only function
5738 name as argument to AUTO_TESTS_* and pass results for all rounding
5739 modes to parse_args.
5740 (parse_auto_input): Separate inputs of automatic tests from
5741 outputs before storing in %auto_tests.
5742 * math/libm-test.inc (acos_test_data): Update call to
5744 (acos_test): Use ALL_RM_TEST.
5745 (acos_tonearest_test_data): Remove.
5746 (acos_test_tonearest): Likewise.
5747 (acos_towardzero_test_data): Likewise.
5748 (acos_test_towardzero): Likewise.
5749 (acos_downward_test_data): Likewise.
5750 (acos_test_downward): Likewise.
5751 (acos_upward_test_data): Likewise.
5752 (acos_test_upward): Likewise.
5753 (acosh_test_data): Update call to AUTO_TESTS_f_f.
5754 (asin_test_data): Likewise.
5755 (asin_test): Use ALL_RM_TEST.
5756 (asin_tonearest_test_data): Remove.
5757 (asin_test_tonearest): Likewise.
5758 (asin_towardzero_test_data): Likewise.
5759 (asin_test_towardzero): Likewise.
5760 (asin_downward_test_data): Likewise.
5761 (asin_test_downward): Likewise.
5762 (asin_upward_test_data): Likewise.
5763 (asin_test_upward): Likewise.
5764 (asinh_test_data): Update call to AUTO_TESTS_f_f.
5765 (atan_test_data): Likewise.
5766 (atanh_test_data): Likewise.
5767 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5768 (cabs_test_data): Update call to AUTO_TESTS_c_f.
5769 (carg_test_data): Likewise.
5770 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5771 (ccos_test_data): Update call to AUTO_TESTS_c_c.
5772 (ccosh_test_data): Likewise.
5773 (cexp_test_data): Likewise.
5774 (clog_test_data): Likewise.
5775 (clog10_test_data): Likewise.
5776 (cos_test_data): Update call to AUTO_TESTS_f_f.
5777 (cos_test): Use ALL_RM_TEST.
5778 (cos_tonearest_test_data): Remove.
5779 (cos_test_tonearest): Likewise.
5780 (cos_towardzero_test_data): Likewise.
5781 (cos_test_towardzero): Likewise.
5782 (cos_downward_test_data): Likewise.
5783 (cos_test_downward): Likewise.
5784 (cos_upward_test_data): Likewise.
5785 (cos_test_upward): Likewise.
5786 (cosh_test_data): Update call to AUTO_TESTS_f_f.
5787 (cosh_test): Use ALL_RM_TEST.
5788 (cosh_tonearest_test_data): Remove.
5789 (cosh_test_tonearest): Likewise.
5790 (cosh_towardzero_test_data): Likewise.
5791 (cosh_test_towardzero): Likewise.
5792 (cosh_downward_test_data): Likewise.
5793 (cosh_test_downward): Likewise.
5794 (cosh_upward_test_data): Likewise.
5795 (cosh_test_upward): Likewise.
5796 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5797 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5798 (ctan_test_data): Likewise.
5799 (ctan_test): Use ALL_RM_TEST.
5800 (ctan_tonearest_test_data): Remove.
5801 (ctan_test_tonearest): Likewise.
5802 (ctan_towardzero_test_data): Likewise.
5803 (ctan_test_towardzero): Likewise.
5804 (ctan_downward_test_data): Likewise.
5805 (ctan_test_downward): Likewise.
5806 (ctan_upward_test_data): Likewise.
5807 (ctan_test_upward): Likewise.
5808 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5809 (ctanh_test): Use ALL_RM_TEST.
5810 (ctanh_tonearest_test_data): Remove.
5811 (ctanh_test_tonearest): Likewise.
5812 (ctanh_towardzero_test_data): Likewise.
5813 (ctanh_test_towardzero): Likewise.
5814 (ctanh_downward_test_data): Likewise.
5815 (ctanh_test_downward): Likewise.
5816 (ctanh_upward_test_data): Likewise.
5817 (ctanh_test_upward): Likewise.
5818 (erf_test_data): Update call to AUTO_TESTS_f_f.
5819 (erfc_test_data): Likewise.
5820 (exp_test_data): Likewise.
5821 (exp_test): Use ALL_RM_TEST.
5822 (exp_tonearest_test_data): Remove.
5823 (exp_test_tonearest): Likewise.
5824 (exp_towardzero_test_data): Likewise.
5825 (exp_test_towardzero): Likewise.
5826 (exp_downward_test_data): Likewise.
5827 (exp_test_downward): Likewise.
5828 (exp_upward_test_data): Likewise.
5829 (exp_test_upward): Likewise.
5830 (exp10_test_data): Update call to AUTO_TESTS_f_f.
5831 (exp10_test): Use ALL_RM_TEST.
5832 (exp10_tonearest_test_data): Remove.
5833 (exp10_test_tonearest): Likewise.
5834 (exp10_towardzero_test_data): Likewise.
5835 (exp10_test_towardzero): Likewise.
5836 (exp10_downward_test_data): Likewise.
5837 (exp10_test_downward): Likewise.
5838 (exp10_upward_test_data): Likewise.
5839 (exp10_test_upward): Likewise.
5840 (exp2_test_data): Update call to AUTO_TESTS_f_f.
5841 (expm1_test_data): Likewise.
5842 (expm1_test): Use ALL_RM_TEST.
5843 (expm1_tonearest_test_data): Remove.
5844 (expm1_test_tonearest): Likewise.
5845 (expm1_towardzero_test_data): Likewise.
5846 (expm1_test_towardzero): Likewise.
5847 (expm1_downward_test_data): Likewise.
5848 (expm1_test_downward): Likewise.
5849 (expm1_upward_test_data): Likewise.
5850 (expm1_test_upward): Likewise.
5851 (fma_test_data): Update call to AUTO_TESTS_fff_f.
5852 (fma_test): Use ALL_RM_TEST.
5853 (fma_towardzero_test_data): Remove.
5854 (fma_test_towardzero): Likewise.
5855 (fma_downward_test_data): Likewise.
5856 (fma_test_downward): Likewise.
5857 (fma_upward_test_data): Likewise.
5858 (fma_test_upward): Likewise.
5859 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5860 (j0_test_data): Update call to AUTO_TESTS_f_f.
5861 (j1_test_data): Likewise.
5862 (jn_test_data): Update call to AUTO_TESTS_if_f.
5863 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5864 (log_test_data): Update call to AUTO_TESTS_f_f.
5865 (log10_test_data): Likewise.
5866 (log1p_test_data): Likewise.
5867 (log2_test_data): Likewise.
5868 (pow_test_data): Update call to AUTO_TESTS_ff_f.
5869 (pow_tonearest_test_data): Likewise.
5870 (sin_test_data): Update call to AUTO_TESTS_f_f.
5871 (sin_test): Use ALL_RM_TEST.
5872 (sin_tonearest_test_data): Remove.
5873 (sin_test_tonearest): Likewise.
5874 (sin_towardzero_test_data): Likewise.
5875 (sin_test_towardzero): Likewise.
5876 (sin_downward_test_data): Likewise.
5877 (sin_test_downward): Likewise.
5878 (sin_upward_test_data): Likewise.
5879 (sin_test_upward): Likewise.
5880 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5881 (sinh_test_data): Update call to AUTO_TESTS_f_f.
5882 (sinh_test): Use ALL_RM_TEST.
5883 (sinh_tonearest_test_data): Remove.
5884 (sinh_test_tonearest): Likewise.
5885 (sinh_towardzero_test_data): Likewise.
5886 (sinh_test_towardzero): Likewise.
5887 (sinh_downward_test_data): Likewise.
5888 (sinh_test_downward): Likewise.
5889 (sinh_upward_test_data): Likewise.
5890 (sinh_test_upward): Likewise.
5891 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5892 (sqrt_test): Use ALL_RM_TEST.
5893 (sqrt_tonearest_test_data): Remove.
5894 (sqrt_test_tonearest): Likewise.
5895 (sqrt_towardzero_test_data): Likewise.
5896 (sqrt_test_towardzero): Likewise.
5897 (sqrt_downward_test_data): Likewise.
5898 (sqrt_test_downward): Likewise.
5899 (sqrt_upward_test_data): Likewise.
5900 (sqrt_test_upward): Likewise.
5901 (tan_test_data): Update call to AUTO_TESTS_f_f.
5902 (tan_test): Use ALL_RM_TEST.
5903 (tan_tonearest_test_data): Remove.
5904 (tan_test_tonearest): Likewise.
5905 (tan_towardzero_test_data): Likewise.
5906 (tan_test_towardzero): Likewise.
5907 (tan_downward_test_data): Likewise.
5908 (tan_test_downward): Likewise.
5909 (tan_upward_test_data): Likewise.
5910 (tan_test_upward): Likewise.
5911 (tanh_test_data): Update call to AUTO_TESTS_f_f.
5912 (tgamma_test_data): Likewise.
5913 (y0_test_data): Likewise.
5914 (y1_test_data): Likewise.
5915 (yn_test_data): Update call to AUTO_TESTS_if_f.
5916 (main): Do not call removed functions.
5918 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5920 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5921 (ldexp_test_data): Remove.
5922 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
5924 (scalb_test): Use ALL_RM_TEST.
5926 2014-03-19 Andreas Schwab <schwab@suse.de>
5928 * nscd/nscd.service: Also invalidate netgroup cache on reload.
5930 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5933 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5934 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5935 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5936 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5937 (__ASSUME_PREADV): Undefine.
5938 (__ASSUME_PWRITEV): Likewise.
5940 2014-03-18 Roland McGrath <roland@hack.frob.com>
5942 * bits/mman-linux.h: Add comment about non-Linux use.
5943 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5944 bits/mman-linux.h resting place.
5946 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5947 * bits/mman-linux.h: ... here.
5949 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5951 * conform/conformtest.pl: Add standard definition when calling C
5952 preprocessor on data files.
5953 (checknamespace): Remove unused variable.
5955 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5957 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5958 minus_oflow, plus_uflow and minus_uflow in expected results.
5959 * math/libm-test.inc (scalbn_test_data): Add more tests of
5960 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
5962 (scalbn_test): Use ALL_RM_TEST.
5963 (scalbln_test_data): Add more tests of negative arguments. Use
5964 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5965 (scalbln_test): Use ALL_RM_TEST.
5967 2014-03-18 Roland McGrath <roland@hack.frob.com>
5969 * scripts/abilist.awk: Ignore symbols marked with .hidden.
5971 2014-03-18 Will Newton <will.newton@linaro.org>
5973 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5976 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5978 * Makerules [!subdir] (check-abi): Exit with error status if a
5981 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5983 * math/libm-test.inc (nearbyint_test_data): Include all tests used
5984 for rint. Include results for all rounding modes.
5985 (nearbyint_test): Use ALL_RM_TEST.
5986 (rint_test_data): Include all tests used for nearbyint.
5988 2014-03-17 Will Newton <will.newton@linaro.org>
5990 * nptl/sysdeps/pthread/pthread.h: Revert previous
5993 * sysdeps/generic/ldsodefs.h: Revert previous
5996 * libio/genops.c: Revert previous change.
5997 * libio/libioP.h: Likewise.
5998 * stdio-common/vfprintf.c: Likewise.
6000 * sysdeps/generic/math_private.h: Revert previous
6003 * sysdeps/generic/math_private.h: Check whether
6004 HAVE_RM_CTX is defined with #ifdef rather
6007 * argp/argp-fmtstream.h: Check whether
6008 __STRICT_ANSI__ is defined with #ifdef rather
6010 * argp/argp.h: Likewise.
6012 * libio/genops.c: Check whether
6013 _IO_JUMPS_OFFSET is defined with #ifdef rather
6015 * libio/libioP.h: Likewise.
6016 * stdio-common/vfprintf.c: Likewise.
6018 * sysdeps/generic/ldsodefs.h: Check whether
6019 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6022 * nptl/sysdeps/pthread/pthread.h: Check
6023 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6026 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6028 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6030 * libio/tst-ftell-active-handler.c (do_append_test): Add a
6034 * libio/fileops.c (_IO_file_open): Seek to end of file but
6035 don't cache the offset.
6036 (get_file_offset): Remove function.
6037 (do_ftell): Use cached offset when available.
6038 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6039 don't cache the offset.
6040 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6042 (do_one_test): Call it.
6043 (do_ftell_test): Fix up expected old offset for a+ mode.
6044 * libio/wfileops.c (do_ftell_wide): Used cached offset when
6047 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6048 up test status with function return status.
6049 (do_write_test): Likewise.
6050 (do_append_test): Likewise.
6052 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6053 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6056 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6058 * math/gen-libm-test.pl (parse_args): Handle results specified for
6059 each rounding mode separately.
6060 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6061 tests and results from lrint_tonearest_test_data,
6062 lrint_towardzero_test_data, lrint_downward_test_data and
6063 lrint_upward_test_data.
6064 (lrint_test): Use ALL_RM_TEST.
6065 (lrint_tonearest_test_data): Remove.
6066 (lrint_test_tonearest): Likewise.
6067 (lrint_towardzero_test_data): Likewise.
6068 (lrint_test_towardzero): Likewise.
6069 (lrint_downward_test_data): Likewise.
6070 (lrint_test_downward): Likewise.
6071 (lrint_upward_test_data): Likewise.
6072 (lrint_test_upward): Likewise.
6073 (llrint_test_data): Merge in per-rounding-mode tests and results
6074 from llrint_tonearest_test_data, llrint_towardzero_test_data,
6075 llrint_downward_test_data and llrint_upward_test_data.
6076 (llrint_test): Use ALL_RM_TEST.
6077 (llrint_tonearest_test_data): Remove.
6078 (llrint_test_tonearest): Likewise.
6079 (llrint_towardzero_test_data): Likewise.
6080 (llrint_test_towardzero): Likewise.
6081 (llrint_downward_test_data): Likewise.
6082 (llrint_test_downward): Likewise.
6083 (llrint_upward_test_data): Likewise.
6084 (llrint_test_upward): Likewise.
6085 (rint_test_data): Merge in per-rounding-mode tests and results
6086 from rint_tonearest_test_data, rint_towardzero_test_data,
6087 rint_downward_test_data and rint_upward_test_data. Add
6088 per-rounding-mode results for tests not in those arrays.
6089 (rint_test): Use ALL_RM_TEST.
6090 (rint_tonearest_test_data): Remove.
6091 (rint_test_tonearest): Likewise.
6092 (rint_towardzero_test_data): Likewise.
6093 (rint_test_towardzero): Likewise.
6094 (rint_downward_test_data): Likewise.
6095 (rint_test_downward): Likewise.
6096 (rint_upward_test_data): Likewise.
6097 (rint_test_upward): Likewise.
6098 (main): Don't call removed functions.
6100 2014-03-14 Roland McGrath <roland@hack.frob.com>
6102 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6103 "Compiled on ..." crapola. It is anti-useful.
6105 2014-03-14 Joseph Myers <joseph@codesourcery.com>
6107 * scripts/evaluate-test.sh: Handle fourth argument to determine
6108 whether test run should stop on failure.
6109 * Makeconfig (stop-on-test-failure): New variable.
6110 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6111 $(stop-on-test-failure).
6112 * Makefile (tests): Give a summary of results from testing and
6113 exit with failure status if they include an ERROR or FAIL.
6115 * manual/install.texi (Configuring and compiling): Mention
6116 stop-on-test-failure=y.
6117 * INSTALL: Regenerated.
6119 2014-03-14 Roland McGrath <roland@hack.frob.com>
6121 * scripts/versionlist.awk: New file.
6122 * Makerules [$(build-shared) = yes]
6123 (postclean-generated): Add Versions.def, not Versions.def.v and
6125 ($(common-objpfx)Versions.def.v.i): Target removed.
6126 ($(common-objpfx)Versions.def): New target.
6127 ($(common-objpfx)Versions.all): Depend on that rather that
6128 $(common-objpfx)Versions.def.v.
6129 * Versions.def: File removed.
6131 * Makeconfig (+gccwarn): Add -Wundef.
6132 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6133 a dl-sysdep.h breaking its contract.
6134 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6135 * include/stackinfo.h: New file.
6136 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6137 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6138 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6139 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6140 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6141 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6142 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6143 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6144 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6145 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6146 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6147 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6148 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6149 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6150 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6152 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6155 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6157 * math/libm-test.inc (round_test_data): Add more tests.
6160 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6162 * math/libm-test.inc (nearbyint_test_data): Add more tests.
6165 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6167 * math/libm-test.inc (ceil_test_data): Add more tests.
6169 * math/libm-test.inc (trunc_test_data): Add more tests related to
6172 2014-03-14 Roland McGrath <roland@hack.frob.com>
6174 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6175 with #if rather than #ifdef.
6176 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6178 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
6180 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6181 first. Disable AVX-512 GCC support if assembler doesn't support
6183 * sysdeps/x86_64/configure: Regenerated.
6185 2014-03-13 Carlos O'Donell <carlos@redhat.com>
6187 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6188 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6189 (__old_pthread_attr_setstack): Likewise.
6190 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6191 [!_STACK_GROWS_DOWN]: Likewise.
6193 2014-03-13 Mike Frysinger <vapier@gentoo.org>
6195 * config.make.in (have-bash2): Delete.
6196 * configure.ac (libc_cv_have_bash2): Delete.
6197 * configure: Regenerate.
6198 * elf/Makefile (common-ldd-rewrite): Rename to ...
6199 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
6200 (sh-ldd-rewrite): Delete.
6201 (bash-ldd-rewrite): Delete.
6202 (have-bash2): Delete checks.
6203 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6206 * config.make.in (have-ksh): Delete.
6208 * configure.ac (libc_cv_have_ksh): Delete.
6209 * configure: Regenerate.
6211 * elf/Makefile: Delete $(have-ksh) check.
6212 ($(objpfx)sotruss): Change KSH to BASH.
6213 * elf/sotruss.ksh: Rename to ...
6214 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
6215 function style to match POSIX. Drop ksh vim mode setting.
6217 * manual/time.texi (Specifying the Time Zone with TZ): Change
6218 Tuesday to Thursday.
6220 * debug/tst-longjmp_chk2.c: Update header comment.
6221 (stackoverflow_handler): Add comment. Call assert on pass value.
6223 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
6225 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6226 (HAVE_AVX512_ASM_SUPPORT): Likewise.
6227 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6228 (La_x86_64_vector): Add zmm.
6229 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6230 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6231 ($(objpfx)tst-audit10): New target.
6232 ($(objpfx)tst-audit10.out): Likewise.
6233 (tst-audit10-ENV): New.
6234 (AVX512-CFLAGS): Likewise.
6235 (CFLAGS-tst-audit10.c): Likewise.
6236 (CFLAGS-tst-auditmod10a.c): Likewise.
6237 (CFLAGS-tst-auditmod10b.c): Likewise.
6238 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6239 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6240 * sysdeps/x86_64/configure: Regenerated.
6241 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6242 AVX-512 zmm register support.
6243 (_dl_x86_64_save_sse): Likewise.
6244 (_dl_x86_64_restore_sse): Likewise.
6245 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6246 size vector registers.
6247 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6248 (ZMM_SIZE): Likewise.
6249 * sysdeps/x86_64/tst-audit10.c: New file.
6250 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6251 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6253 2014-03-13 Roland McGrath <roland@hack.frob.com>
6255 * configure.ac (HAVE_EHDR_START): New check.
6256 * configure: Regenerated.
6257 * config.h.in (HAVE_EHDR_START): New #undef.
6258 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6259 assuming the lowest-addressed segment maps the start of the file.
6261 2014-03-13 Joseph Myers <joseph@codesourcery.com>
6263 * INSTALL: Regenerated.
6265 2014-03-13 Will Newton <will.newton@linaro.org>
6267 * manual/setjmp.texi (System V contexts): Improve
6268 clarity and grammar of documentation.
6270 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6273 * elf/Makefile (tests): Add tst-pie2.
6274 (tests-pie): Add tst-pie2.
6275 * elf/tst-pie2.c: New file.
6276 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6278 * elf/rtld.c (map_doit): Load executable as lt_executable.
6279 (dl_main): Likewise.
6281 2014-03-12 Joseph Myers <joseph@codesourcery.com>
6284 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6285 (__ASSUME_PSELECT): Undefine.
6287 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6290 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6291 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6293 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6294 selector for static builds.
6296 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6299 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6302 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6304 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6305 IFUNC selector for static builds.
6307 2014-03-11 Joseph Myers <joseph@codesourcery.com>
6309 * sysdeps/mips/math_private.h [__mips_hard_float]
6310 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6311 libc_feresetround_mips_ctx.
6312 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6313 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6314 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6317 * math/s_nextafter.c (__nextafter): Do not return value from
6318 overflowing computation.
6319 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6320 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6321 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6323 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6325 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6326 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6328 2014-03-11 Roland McGrath <roland@hack.frob.com>
6330 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6331 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6332 Move sfi_sp use from the load-multiple (that no longer sets sp) to
6333 the new mov targetting sp.
6335 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6338 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6339 Define it for static builds as well.
6340 (NO_BZERO_IMPL): Likewise.
6342 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6344 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6345 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6346 multiarch strspn for PPC64.
6347 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6348 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6349 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6350 (__libc_ifunc_impl_list): Likewise.
6351 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6352 multiarch optimizations
6353 * string/strspn.c (strspn): Using macro to redefine symbol name.
6355 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6356 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6358 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6359 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6360 multiarch strncat for PPC64.
6361 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6362 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6363 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6364 (__libc_ifunc_impl_list): Likewise.
6365 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6366 multiarch optimizations
6368 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6371 * nscd/nscd.service: Make service type forking.
6373 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6375 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6376 sign in non default rounding modes.
6377 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6379 2014-03-08 Joseph Myers <joseph@codesourcery.com>
6381 * math/libm-test.inc (ALL_RM_TEST): New macro.
6382 (ceil_test): Use ALL_RM_TEST.
6383 (cimag_test): Likewise.
6384 (conj_test): Likewise.
6385 (copysign_test): Likewise.
6386 (cproj_test): Likewise.
6387 (creal_test): Likewise.
6388 (fabs_test): Likewise.
6389 (floor_test): Likewise.
6390 (fmax_test): Likewise.
6391 (fmin_test): Likewise.
6392 (fmod_test): Likewise.
6393 (fpclassify_test): Likewise.
6394 (frexp_test): Likewise.
6395 (ilogb_test): Likewise.
6396 (isfinite_test): Likewise.
6397 (finite_test): Likewise.
6398 (isgreater_test): Likewise.
6399 (isgreaterequal_test): Likewise.
6400 (isinf_test): Likewise.
6401 (isless_test): Likewise.
6402 (islessequal_test): Likewise.
6403 (islessgreater_test): Likewise.
6404 (isnan_test): Likewise.
6405 (isnormal_test): Likewise.
6406 (issignaling_test): Likewise.
6407 (isunordered_test): Likewise.
6408 (logb_test): Likewise.
6409 (logb_downward_test_data): Remove.
6410 (logb_test_downward): Likewise.
6411 (lround_test): Use ALL_RM_TEST.
6412 (llround_test): Likewise.
6413 (modf_test): Likewise.
6414 (nexttoward_test): Likewise.
6415 (remainder_test): Likewise.
6416 (drem_test): Likewise.
6417 (remainder_tonearest_test_data): Likewise.
6418 (remainder_test_tonearest): Likewise.
6419 (drem_test_tonearest): Likewise.
6420 (remainder_towardzero_test_data): Likewise.
6421 (remainder_test_towardzero): Likewise.
6422 (drem_test_towardzero): Likewise.
6423 (remainder_downward_test_data): Likewise.
6424 (remainder_test_downward): Likewise.
6425 (drem_test_downward): Likewise.
6426 (remainder_upward_test_data): Likewise.
6427 (remainder_test_upward): Likewise.
6428 (drem_test_upward): Likewise.
6429 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
6430 (round_test): Use ALL_RM_TEST.
6431 (signbit_test): Likewise.
6432 (trunc_test): Likewise.
6433 (significand_test): Likewise.
6434 (main): Don't call removed functions.
6436 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6439 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6441 (ILL_ILLOPN): Likewise.
6442 (ILL_ILLADR): Likewise.
6443 (ILL_ILLTRP): Likewise.
6444 (ILL_PRVOPC): Likewise.
6445 (ILL_PRVREG): Likewise.
6446 (ILL_COPROC): Likewise.
6447 (ILL_BADSTK): Likewise.
6448 (FPE_INTDIV): Likewise.
6449 (FPE_INTOVF): Likewise.
6450 (FPE_FLTDIV): Likewise.
6451 (FPE_FLTOVF): Likewise.
6452 (FPE_FLTUND): Likewise.
6453 (FPE_FLTRES): Likewise.
6454 (FPE_FLTINV): Likewise.
6455 (FPE_FLTSUB): Likewise.
6456 (SEGV_MAPERR): Likewise.
6457 (SEGV_ACCERR): Likewise.
6458 (BUS_ADRALN): Likewise.
6459 (BUS_ADRERR): Likewise.
6460 (BUS_OBJERR): Likewise.
6461 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6462 (TRAP_TRACE): Likewise.
6463 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6465 (CLD_KILLED): Likewise.
6466 (CLD_DUMPED): Likewise.
6467 (CLD_TRAPPED): Likewise.
6468 (CLD_STOPPED): Likewise.
6469 (CLD_CONTINUED): Likewise.
6470 (POLL_IN): Likewise.
6471 (POLL_OUT): Likewise.
6472 (POLL_MSG): Likewise.
6473 (POLL_ERR): Likewise.
6474 (POLL_PRI): Likewise.
6475 (POLL_HUP): Likewise.
6476 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6478 (ILL_ILLOPN): Likewise.
6479 (ILL_ILLADR): Likewise.
6480 (ILL_ILLTRP): Likewise.
6481 (ILL_PRVOPC): Likewise.
6482 (ILL_PRVREG): Likewise.
6483 (ILL_COPROC): Likewise.
6484 (ILL_BADSTK): Likewise.
6485 (FPE_INTDIV): Likewise.
6486 (FPE_INTOVF): Likewise.
6487 (FPE_FLTDIV): Likewise.
6488 (FPE_FLTOVF): Likewise.
6489 (FPE_FLTUND): Likewise.
6490 (FPE_FLTRES): Likewise.
6491 (FPE_FLTINV): Likewise.
6492 (FPE_FLTSUB): Likewise.
6493 (SEGV_MAPERR): Likewise.
6494 (SEGV_ACCERR): Likewise.
6495 (BUS_ADRALN): Likewise.
6496 (BUS_ADRERR): Likewise.
6497 (BUS_OBJERR): Likewise.
6498 (BUS_MCEERR_AR): Likewise.
6499 (BUS_MCEERR_AO): Likewise.
6500 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6501 (TRAP_TRACE): Likewise.
6502 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6504 (CLD_KILLED): Likewise.
6505 (CLD_DUMPED): Likewise.
6506 (CLD_TRAPPED): Likewise.
6507 (CLD_STOPPED): Likewise.
6508 (CLD_CONTINUED): Likewise.
6509 (POLL_IN): Likewise.
6510 (POLL_OUT): Likewise.
6511 (POLL_MSG): Likewise.
6512 (POLL_ERR): Likewise.
6513 (POLL_PRI): Likewise.
6514 (POLL_HUP): Likewise.
6515 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6516 (ILL_ILLOPN): Likewise.
6517 (ILL_ILLADR): Likewise.
6518 (ILL_ILLTRP): Likewise.
6519 (ILL_PRVOPC): Likewise.
6520 (ILL_PRVREG): Likewise.
6521 (ILL_COPROC): Likewise.
6522 (ILL_BADSTK): Likewise.
6523 (FPE_INTDIV): Likewise.
6524 (FPE_INTOVF): Likewise.
6525 (FPE_FLTDIV): Likewise.
6526 (FPE_FLTOVF): Likewise.
6527 (FPE_FLTUND): Likewise.
6528 (FPE_FLTRES): Likewise.
6529 (FPE_FLTINV): Likewise.
6530 (FPE_FLTSUB): Likewise.
6531 (SEGV_MAPERR): Likewise.
6532 (SEGV_ACCERR): Likewise.
6533 (BUS_ADRALN): Likewise.
6534 (BUS_ADRERR): Likewise.
6535 (BUS_OBJERR): Likewise.
6536 (BUS_MCEERR_AR): Likewise.
6537 (BUS_MCEERR_AO): Likewise.
6538 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6539 (TRAP_TRACE): Likewise.
6540 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6542 (CLD_KILLED): Likewise.
6543 (CLD_DUMPED): Likewise.
6544 (CLD_TRAPPED): Likewise.
6545 (CLD_STOPPED): Likewise.
6546 (CLD_CONTINUED): Likewise.
6547 (POLL_IN): Likewise.
6548 (POLL_OUT): Likewise.
6549 (POLL_MSG): Likewise.
6550 (POLL_ERR): Likewise.
6551 (POLL_PRI): Likewise.
6552 (POLL_HUP): Likewise.
6553 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6555 (ILL_ILLOPN): Likewise.
6556 (ILL_ILLADR): Likewise.
6557 (ILL_ILLTRP): Likewise.
6558 (ILL_PRVOPC): Likewise.
6559 (ILL_PRVREG): Likewise.
6560 (ILL_COPROC): Likewise.
6561 (ILL_BADSTK): Likewise.
6562 (ILL_BADIADDR): Likewise.
6563 (ILL_BREAK): Likewise.
6564 (FPE_INTDIV): Likewise.
6565 (FPE_INTOVF): Likewise.
6566 (FPE_FLTDIV): Likewise.
6567 (FPE_FLTOVF): Likewise.
6568 (FPE_FLTUND): Likewise.
6569 (FPE_FLTRES): Likewise.
6570 (FPE_FLTINV): Likewise.
6571 (FPE_FLTSUB): Likewise.
6572 (FPE_DECOVF): Likewise.
6573 (FPE_DECDIV): Likewise.
6574 (FPE_DECERR): Likewise.
6575 (FPE_INVASC): Likewise.
6576 (FPE_INVDEC): Likewise.
6577 (SEGV_MAPERR): Likewise.
6578 (SEGV_ACCERR): Likewise.
6579 (SEGV_PSTKOVF): Likewise.
6580 (BUS_ADRALN): Likewise.
6581 (BUS_ADRERR): Likewise.
6582 (BUS_OBJERR): Likewise.
6583 (BUS_MCEERR_AR): Likewise.
6584 (BUS_MCEERR_AO): Likewise.
6585 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6586 (TRAP_TRACE): Likewise.
6587 (TRAP_BRANCH): Likewise.
6588 (TRAP_HWBKPT): Likewise.
6589 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6591 (CLD_KILLED): Likewise.
6592 (CLD_DUMPED): Likewise.
6593 (CLD_TRAPPED): Likewise.
6594 (CLD_STOPPED): Likewise.
6595 (CLD_CONTINUED): Likewise.
6596 (POLL_IN): Likewise.
6597 (POLL_OUT): Likewise.
6598 (POLL_MSG): Likewise.
6599 (POLL_ERR): Likewise.
6600 (POLL_PRI): Likewise.
6601 (POLL_HUP): Likewise.
6602 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6603 (ILL_ILLOPN): Likewise.
6604 (ILL_ILLADR): Likewise.
6605 (ILL_ILLTRP): Likewise.
6606 (ILL_PRVOPC): Likewise.
6607 (ILL_PRVREG): Likewise.
6608 (ILL_COPROC): Likewise.
6609 (ILL_BADSTK): Likewise.
6610 (FPE_INTDIV): Likewise.
6611 (FPE_INTOVF): Likewise.
6612 (FPE_FLTDIV): Likewise.
6613 (FPE_FLTOVF): Likewise.
6614 (FPE_FLTUND): Likewise.
6615 (FPE_FLTRES): Likewise.
6616 (FPE_FLTINV): Likewise.
6617 (FPE_FLTSUB): Likewise.
6618 (SEGV_MAPERR): Likewise.
6619 (SEGV_ACCERR): Likewise.
6620 (BUS_ADRALN): Likewise.
6621 (BUS_ADRERR): Likewise.
6622 (BUS_OBJERR): Likewise.
6623 (BUS_MCEERR_AR): Likewise.
6624 (BUS_MCEERR_AO): Likewise.
6625 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6626 (TRAP_TRACE): Likewise.
6627 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6629 (CLD_KILLED): Likewise.
6630 (CLD_DUMPED): Likewise.
6631 (CLD_TRAPPED): Likewise.
6632 (CLD_STOPPED): Likewise.
6633 (CLD_CONTINUED): Likewise.
6634 (POLL_IN): Likewise.
6635 (POLL_OUT): Likewise.
6636 (POLL_MSG): Likewise.
6637 (POLL_ERR): Likewise.
6638 (POLL_PRI): Likewise.
6639 (POLL_HUP): Likewise.
6640 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6641 (ILL_ILLOPN): Likewise.
6642 (ILL_ILLADR): Likewise.
6643 (ILL_ILLTRP): Likewise.
6644 (ILL_PRVOPC): Likewise.
6645 (ILL_PRVREG): Likewise.
6646 (ILL_COPROC): Likewise.
6647 (ILL_BADSTK): Likewise.
6648 (FPE_INTDIV): Likewise.
6649 (FPE_INTOVF): Likewise.
6650 (FPE_FLTDIV): Likewise.
6651 (FPE_FLTOVF): Likewise.
6652 (FPE_FLTUND): Likewise.
6653 (FPE_FLTRES): Likewise.
6654 (FPE_FLTINV): Likewise.
6655 (FPE_FLTSUB): Likewise.
6656 (SEGV_MAPERR): Likewise.
6657 (SEGV_ACCERR): Likewise.
6658 (BUS_ADRALN): Likewise.
6659 (BUS_ADRERR): Likewise.
6660 (BUS_OBJERR): Likewise.
6661 (BUS_MCEERR_AR): Likewise.
6662 (BUS_MCEERR_AO): Likewise.
6663 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6664 (TRAP_TRACE): Likewise.
6665 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6667 (CLD_KILLED): Likewise.
6668 (CLD_DUMPED): Likewise.
6669 (CLD_TRAPPED): Likewise.
6670 (CLD_STOPPED): Likewise.
6671 (CLD_CONTINUED): Likewise.
6672 (POLL_IN): Likewise.
6673 (POLL_OUT): Likewise.
6674 (POLL_MSG): Likewise.
6675 (POLL_ERR): Likewise.
6676 (POLL_PRI): Likewise.
6677 (POLL_HUP): Likewise.
6678 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6679 (ILL_ILLOPN): Likewise.
6680 (ILL_ILLADR): Likewise.
6681 (ILL_ILLTRP): Likewise.
6682 (ILL_PRVOPC): Likewise.
6683 (ILL_PRVREG): Likewise.
6684 (ILL_COPROC): Likewise.
6685 (ILL_BADSTK): Likewise.
6686 (FPE_INTDIV): Likewise.
6687 (FPE_INTOVF): Likewise.
6688 (FPE_FLTDIV): Likewise.
6689 (FPE_FLTOVF): Likewise.
6690 (FPE_FLTUND): Likewise.
6691 (FPE_FLTRES): Likewise.
6692 (FPE_FLTINV): Likewise.
6693 (FPE_FLTSUB): Likewise.
6694 (SEGV_MAPERR): Likewise.
6695 (SEGV_ACCERR): Likewise.
6696 (BUS_ADRALN): Likewise.
6697 (BUS_ADRERR): Likewise.
6698 (BUS_OBJERR): Likewise.
6699 (BUS_MCEERR_AR): Likewise.
6700 (BUS_MCEERR_AO): Likewise.
6701 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6702 (TRAP_TRACE): Likewise.
6703 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6705 (CLD_KILLED): Likewise.
6706 (CLD_DUMPED): Likewise.
6707 (CLD_TRAPPED): Likewise.
6708 (CLD_STOPPED): Likewise.
6709 (CLD_CONTINUED): Likewise.
6710 (POLL_IN): Likewise.
6711 (POLL_OUT): Likewise.
6712 (POLL_MSG): Likewise.
6713 (POLL_ERR): Likewise.
6714 (POLL_PRI): Likewise.
6715 (POLL_HUP): Likewise.
6716 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6717 (ILL_ILLOPN): Likewise.
6718 (ILL_ILLADR): Likewise.
6719 (ILL_ILLTRP): Likewise.
6720 (ILL_PRVOPC): Likewise.
6721 (ILL_PRVREG): Likewise.
6722 (ILL_COPROC): Likewise.
6723 (ILL_BADSTK): Likewise.
6724 (ILL_DBLFLT): Likewise.
6725 (ILL_HARDWALL): Likewise.
6726 (FPE_INTDIV): Likewise.
6727 (FPE_INTOVF): Likewise.
6728 (FPE_FLTDIV): Likewise.
6729 (FPE_FLTOVF): Likewise.
6730 (FPE_FLTUND): Likewise.
6731 (FPE_FLTRES): Likewise.
6732 (FPE_FLTINV): Likewise.
6733 (FPE_FLTSUB): Likewise.
6734 (SEGV_MAPERR): Likewise.
6735 (SEGV_ACCERR): Likewise.
6736 (BUS_ADRALN): Likewise.
6737 (BUS_ADRERR): Likewise.
6738 (BUS_OBJERR): Likewise.
6739 (BUS_MCEERR_AR): Likewise.
6740 (BUS_MCEERR_AO): Likewise.
6741 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6742 (TRAP_TRACE): Likewise.
6743 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6745 (CLD_KILLED): Likewise.
6746 (CLD_DUMPED): Likewise.
6747 (CLD_TRAPPED): Likewise.
6748 (CLD_STOPPED): Likewise.
6749 (CLD_CONTINUED): Likewise.
6750 (POLL_IN): Likewise.
6751 (POLL_OUT): Likewise.
6752 (POLL_MSG): Likewise.
6753 (POLL_ERR): Likewise.
6754 (POLL_PRI): Likewise.
6755 (POLL_HUP): Likewise.
6756 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6757 (ILL_ILLOPN): Likewise.
6758 (ILL_ILLADR): Likewise.
6759 (ILL_ILLTRP): Likewise.
6760 (ILL_PRVOPC): Likewise.
6761 (ILL_PRVREG): Likewise.
6762 (ILL_COPROC): Likewise.
6763 (ILL_BADSTK): Likewise.
6764 (FPE_INTDIV): Likewise.
6765 (FPE_INTOVF): Likewise.
6766 (FPE_FLTDIV): Likewise.
6767 (FPE_FLTOVF): Likewise.
6768 (FPE_FLTUND): Likewise.
6769 (FPE_FLTRES): Likewise.
6770 (FPE_FLTINV): Likewise.
6771 (FPE_FLTSUB): Likewise.
6772 (SEGV_MAPERR): Likewise.
6773 (SEGV_ACCERR): Likewise.
6774 (BUS_ADRALN): Likewise.
6775 (BUS_ADRERR): Likewise.
6776 (BUS_OBJERR): Likewise.
6777 (BUS_MCEERR_AR): Likewise.
6778 (BUS_MCEERR_AO): Likewise.
6779 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6780 (TRAP_TRACE): Likewise.
6781 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6783 (CLD_KILLED): Likewise.
6784 (CLD_DUMPED): Likewise.
6785 (CLD_TRAPPED): Likewise.
6786 (CLD_STOPPED): Likewise.
6787 (CLD_CONTINUED): Likewise.
6788 (POLL_IN): Likewise.
6789 (POLL_OUT): Likewise.
6790 (POLL_MSG): Likewise.
6791 (POLL_ERR): Likewise.
6792 (POLL_PRI): Likewise.
6793 (POLL_HUP): Likewise.
6794 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6795 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6798 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6799 before #include of <time.h>.
6800 [!__USE_XOPEN2K] (__need_timespec): Likewise.
6801 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6802 (test-xfail-UNIX98/sched.h/conform): Likewise.
6804 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
6806 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6807 error absence of trapping exception support.
6808 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6810 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6812 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6813 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6814 * timezone/Makefile (testdata): Move definition above include of
6816 (test-zones): New variable.
6817 (tests-special): Add zone files.
6818 (build-testdata): Use $(evaluate-test).
6820 * elf/Makefile (tests-special): Rename tests to end with .out.
6821 ($(objpfx)noload-mem): Likewise.
6822 ($(objpfx)tst-leaks1-mem): Likewise.
6823 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6824 * iconv/Makefile (xtests-special): Change test-iconvconfig to
6825 $(objpfx)test-iconvconfig.out.
6826 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
6827 set -e inside subshell and redirect output to file.
6828 * iconvdata/Makefile (generated): Rename tests to end with .out.
6830 (tests-special): Rename tests to end with .out.
6831 ($(objpfx)mtrace-tst-loading): Likewise.
6832 * intl/Makefile (generated): Likewise.
6833 (tests-special): Likewise.
6834 ($(objpfx)mtrace-tst-gettext): Likewise.
6835 * misc/Makefile (generated): Likewise.
6836 (tests-special): Likewise.
6837 ($(objpfx)tst-error1-mem): Likewise.
6838 * nptl/Makefile (tests-special): Likewise.
6839 ($(objpfx)tst-stack3-mem): Likewise.
6840 (generated): Likewise.
6841 * posix/Makefile (generated): Likewise.
6842 (tests-special): Likewise.
6843 (xtests-special): Likewise.
6844 ($(objpfx)tst-fnmatch-mem): Likewise.
6845 ($(objpfx)bug-regex2-mem): Likewise.
6846 ($(objpfx)bug-regex14-mem): Likewise.
6847 ($(objpfx)bug-regex21-mem): Likewise.
6848 ($(objpfx)bug-regex31-mem): Likewise.
6849 ($(objpfx)tst-vfork3-mem): Likewise.
6850 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6851 ($(objpfx)tst-pcre-mem): Likewise.
6852 ($(objpfx)tst-boost-mem): Likewise.
6853 ($(objpfx)bug-ga2-mem): Likewise.
6854 ($(objpfx)bug-glob2-mem): Likewise.
6855 * resolv/Makefile (generate): Likewise.
6856 (tests-special): Likewise.
6857 (xtests-special): Likewise.
6858 (generated): Likewise.
6859 ($(objpfx)mtrace-tst-leaks): Likewise.
6860 ($(objpfx)mtrace-tst-leaks2): Likewise.
6862 * scripts/merge-test-results.sh: New file.
6863 * Makefile (tests-special-notdir): New variable.
6864 (tests): Run merge-test-results.sh.
6866 * Rules (tests-special-notdir): New variable.
6867 (xtests-special-notdir): Likewise.
6868 (tests): Run merge-test-results.sh
6871 * Makeconfig (test-xfail-name): New variable.
6872 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6873 compute variable name for expected failures.
6874 * conform/Makefile (conformtest-headers-data): New variable.
6875 (conformtest-standards): Likewise.
6876 (conformtest-headers-ISO): Likewise.
6877 (conformtest-headers-ISO99): Likewise.
6878 (conformtest-headers-ISO11): Likewise.
6879 (conformtest-headers-POSIX): Likewise.
6880 (conformtest-headers-XPG3): Likewise.
6881 (conformtest-headers-XPG4): Likewise.
6882 (conformtest-headers-UNIX98): Likewise.
6883 (conformtest-headers-XOPEN2K): Likewise.
6884 (conformtest-headers-POSIX2008): Likewise.
6885 (conformtest-headers-XOPEN2K8): Likewise.
6886 (conformtest-header-list-base): Likewise.
6887 (conformtest-header-list-tests): Likewise.
6888 (conformtest-header-base): Likewise.
6889 (conformtest-header-tests): Likewise.
6890 (tests-special): Add $(conformtest-header-list-tests). If
6891 [$(fast-check) && !$(cross-compiling)], add
6892 $(conformtest-header-tests) instead of
6893 $(objpfx)run-conformtest.out.
6894 (generated): Add $(conformtest-header-list-base). If
6895 [$(fast-check) && !$(cross-compiling)], add
6896 $(conformtest-header-base). Remove previous setting.
6897 ($(conformtest-header-list-tests)): New target.
6898 (test-xfail-run-conformtest): Remove variable.
6899 ($(objpfx)run-conformtest.out): Remove target.
6900 (test-xfail-ISO11/complex.h/conform): New variable.
6901 (test-xfail-ISO11/stdalign.h/conform): Likewise.
6902 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6903 (test-xfail-XPG3/varargs.h/conform): Likewise.
6904 (test-xfail-XPG4/varargs.h/conform): Likewise.
6905 (test-xfail-UNIX98/varargs.h/conform): Likewise.
6906 (test-xfail-XPG4/ndbm.h/conform): Likewise.
6907 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6908 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6909 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6910 (test-xfail-XPG3/fcntl.h/conform): Likewise.
6911 (test-xfail-XPG3/ftw.h/conform): Likewise.
6912 (test-xfail-XPG3/grp.h/conform): Likewise.
6913 (test-xfail-XPG3/langinfo.h/conform): Likewise.
6914 (test-xfail-XPG3/limits.h/conform): Likewise.
6915 (test-xfail-XPG3/pwd.h/conform): Likewise.
6916 (test-xfail-XPG3/search.h/conform): Likewise.
6917 (test-xfail-XPG3/signal.h/conform): Likewise.
6918 (test-xfail-XPG3/stdio.h/conform): Likewise.
6919 (test-xfail-XPG3/stdlib.h/conform): Likewise.
6920 (test-xfail-XPG3/string.h/conform): Likewise.
6921 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6922 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6923 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6924 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6925 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6926 (test-xfail-XPG3/sys/types.h/conform): Likewise.
6927 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6928 (test-xfail-XPG3/termios.h/conform): Likewise.
6929 (test-xfail-XPG3/time.h/conform): Likewise.
6930 (test-xfail-XPG3/unistd.h/conform): Likewise.
6931 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6932 (test-xfail-XPG4/fcntl.h/conform): Likewise.
6933 (test-xfail-XPG4/langinfo.h/conform): Likewise.
6934 (test-xfail-XPG4/netdb.h/conform): Likewise.
6935 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6936 (test-xfail-XPG4/signal.h/conform): Likewise.
6937 (test-xfail-XPG4/stdio.h/conform): Likewise.
6938 (test-xfail-XPG4/stdlib.h/conform): Likewise.
6939 (test-xfail-XPG4/stropts.h/conform): Likewise.
6940 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6941 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6942 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6943 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6944 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6945 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6946 (test-xfail-XPG4/sys/time.h/conform): Likewise.
6947 (test-xfail-XPG4/sys/types.h/conform): Likewise.
6948 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6949 (test-xfail-XPG4/termios.h/conform): Likewise.
6950 (test-xfail-XPG4/ucontext.h/conform): Likewise.
6951 (test-xfail-XPG4/unistd.h/conform): Likewise.
6952 (test-xfail-XPG4/utmpx.h/conform): Likewise.
6953 (test-xfail-POSIX/sched.h/conform): Likewise.
6954 (test-xfail-POSIX/signal.h/conform): Likewise.
6955 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6956 (test-xfail-POSIX/tar.h/conform): Likewise.
6957 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6958 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6959 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6960 (test-xfail-UNIX98/netdb.h/conform): Likewise.
6961 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6962 (test-xfail-UNIX98/sched.h/conform): Likewise.
6963 (test-xfail-UNIX98/signal.h/conform): Likewise.
6964 (test-xfail-UNIX98/stdio.h/conform): Likewise.
6965 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6966 (test-xfail-UNIX98/stropts.h/conform): Likewise.
6967 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6968 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6969 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6970 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6971 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6972 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6973 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6974 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6975 (test-xfail-UNIX98/unistd.h/conform): Likewise.
6976 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6977 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6978 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6979 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6980 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6981 (test-xfail-XOPEN2K/math.h/conform): Likewise.
6982 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6983 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6984 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6985 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6986 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6987 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6988 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6989 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6990 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6991 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6992 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6993 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6994 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6995 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6996 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6997 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6998 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6999 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7000 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7001 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7002 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7003 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7004 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7005 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7006 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7007 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7008 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7009 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7010 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7011 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7012 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7013 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7014 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7015 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7016 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7017 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7018 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7019 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7020 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7021 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7022 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7023 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7024 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7025 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7026 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7027 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7028 (conformtest-cc-flags): Likewise.
7029 ($(conformtest-header-tests): New target.
7030 * conform/check-header-lists.sh: New file.
7031 * conform/run-conformtest.sh: Remove.
7033 * conform/conformtest.pl: Allow ' and \ in values given for
7035 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7037 [POSIX] (sys/types.h): Likewise.
7038 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7040 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7042 * conform/data/signal.h-data (SIGIO): Remove expectation.
7043 [XPG3] (SIGBUS): Do not expect.
7044 [POSIX || XPG3] (SIGPOLL): Likewise.
7045 [POSIX || XPG3] (SIGPROF): Likewise.
7046 [POSIX || XPG3] (SIGSYS): Likewise.
7047 [XPG3] (SIGTRAP): Likewise.
7048 [POSIX || XPG3] (SIGURG): Likewise.
7049 [POSIX || XPG3] (SIGVTALRM): Likewise.
7050 [POSIX || XPG3] (SIGXCPU): Likewise.
7051 [POSIX || XPG3] (SIGXFSZ): Likewise.
7052 [POSIX] (SA_SIGINFO): Expect.
7053 [XPG3] (siginfo_t): Do not expect type or contents.
7054 [POSIX] (si_pid): Do not expect element.
7055 [POSIX] (si_uid): Likewise.
7056 [POSIX] (si_addr): Likewise.
7057 [POSIX] (si_status): Likewise.
7058 [POSIX] (si_band): Likewise.
7059 [XPG4] (si_value): Likewise.
7060 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7061 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7062 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7063 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7064 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7065 [POSIX || XPG3] (ILL_PRVREG): Likewise.
7066 [POSIX || XPG3] (ILL_COPROC): Likewise.
7067 [POSIX || XPG3] (ILL_BADSTK): Likewise.
7068 [POSIX || XPG3] (FPE_INTDIV): Likewise.
7069 [POSIX || XPG3] (FPE_INTOVF): Likewise.
7070 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7071 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7072 [POSIX || XPG3] (FPE_FLTUND): Likewise.
7073 [POSIX || XPG3] (FPE_FLTRES): Likewise.
7074 [POSIX || XPG3] (FPE_FLTINV): Likewise.
7075 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7076 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7077 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7078 [POSIX || XPG3] (BUS_ADRALN): Likewise.
7079 [POSIX || XPG3] (BUS_ADRERR): Likewise.
7080 [POSIX || XPG3] (BUS_OBJERR): Likewise.
7081 [POSIX || XPG3] (CLD_EXITED): Likewise.
7082 [POSIX || XPG3] (CLD_KILLED): Likewise.
7083 [POSIX || XPG3] (CLD_DUMPED): Likewise.
7084 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7085 [POSIX || XPG3] (CLD_STOPPED): Likewise.
7086 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7087 [POSIX || XPG3] (POLL_IN): Likewise.
7088 [POSIX || XPG3] (POLL_OUT): Likewise.
7089 [POSIX || XPG3] (POLL_MSG): Likewise.
7090 [POSIX || XPG3] (POLL_ERR): Likewise.
7091 [POSIX || XPG3] (POLL_PRI): Likewise.
7092 [POSIX || XPG3] (POLL_HUP): Likewise.
7093 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7094 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7095 (SIG*): Do not allow.
7096 [XPG3] (si_*): Likewise.
7097 [XPG3] (SI_*): Likewise.
7098 [XPG3 || XPG4] (sigev_*): Likewise.
7099 [XPG3 || XPG4] (SIGEV_*): Likewise.
7100 [XPG3 || XPG4] (sival_*): Likewise.
7101 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7102 [POSIX || XPG3] (BUS_*): Likewise.
7103 [POSIX || XPG3] (CLD_*): Likewise.
7104 [POSIX || XPG3] (FPE_*): Likewise.
7105 [POSIX || XPG3] (ILL_*): Likewise.
7106 [POSIX || XPG3] (POLL_*): Likewise.
7107 [POSIX || XPG3] (SEGV_*): Likewise.
7108 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7109 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7110 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7111 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7112 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7113 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7114 Specify type and value.
7115 (TVERSLEN): Likewise.
7116 (REGTYPE): Likewise.
7117 (AREGTYPE): Likewise.
7118 (LNKTYPE): Likewise.
7119 (SYMTYPE): Likewise.
7120 (CHRTYPE): Likewise.
7121 (BLKTYPE): Likewise.
7122 (DIRTYPE): Likewise.
7123 (FIFOTYPE): Likewise.
7124 (CONTTYPE): Likewise.
7129 (TUWRITE): Likewise.
7132 (TGWRITE): Likewise.
7135 (TOWRITE): Likewise.
7137 [POSIX] (TSVTX): Expect constant.
7139 2014-03-06 Joseph Myers <joseph@codesourcery.com>
7141 * Makefile (tests): Change dependencies to ....
7142 (tests-special): ... additions to this variable.
7143 (tests): Depend on $(tests-special).
7144 * Makerules (check-abi-list): New variable.
7145 (check-abi): Depend on $(check-abi-list).
7146 [$(subdir) = elf] (tests-special): Add
7147 $(objpfx)check-abi-libc.out.
7148 [$(build-shared) = yes && subdir] (tests-special): Add
7150 [$(build-shared) = yes && subdir] (tests): Do not depend on
7152 * Rules (tests): Depend on $(tests-special).
7153 (xtests): Depend on $(xtests-special).
7154 * catgets/Makefile (tests): Change dependencies to ....
7155 (tests-special): ... additions to this variable.
7156 * conform/Makefile (tests): Change dependencies to ....
7157 (tests-special): ... additions to this variable.
7158 * elf/Makefile (tests): Change dependencies to ....
7159 (tests-special): ... additions to this variable.
7160 * grp/Makefile (tests): Change dependencies to ....
7161 (tests-special): ... additions to this variable.
7162 * iconv/Makefile (xtests): Change dependencies to ....
7163 (xtests-special): ... additions to this variable.
7164 * iconvdata/Makefile (tests): Change dependencies to ....
7165 (tests-special): ... additions to this variable.
7166 * intl/Makefile (tests): Change dependencies to ....
7167 (tests-special): ... additions to this variable. Also add
7168 $(objpfx)tst-gettext.out.
7169 * io/Makefile (tests): Change dependencies to ....
7170 (tests-special): ... additions to this variable.
7171 * libio/Makefile (tests): Change dependencies to ....
7172 (tests-special): ... additions to this variable.
7173 * malloc/Makefile (tests): Change dependencies to ....
7174 (tests-special): ... additions to this variable.
7175 * misc/Makefile (tests): Change dependencies to ....
7176 (tests-special): ... additions to this variable.
7177 * nptl/Makefile (tests): Change dependencies to ....
7178 (tests-special): ... additions to this variable.
7179 * nptl_db/Makefile (tests): Change dependencies to ....
7180 (tests-special): ... additions to this variable.
7181 * posix/Makefile (tests): Change dependencies to ....
7182 (tests-special): ... additions to this variable.
7183 (xtests): Change dependencies to ....
7184 (xtests-special): ... additions to this variable.
7185 * resolv/Makefile (tests): Change dependencies to ....
7186 (tests-special): ... additions to this variable.
7187 (xtests): Change dependencies to ....
7188 (xtests-special): ... additions to this variable.
7189 * stdio-common/Makefile (tests): Change dependencies to ....
7190 (tests-special): ... additions to this variable.
7191 (do-tst-unbputc): Remove target.
7192 (do-tst-printf): Likewise.
7193 * stdlib/Makefile (tests): Change dependencies to ....
7194 (tests-special): ... additions to this variable.
7195 * string/Makefile (tests): Change dependencies to ....
7196 (tests-special): ... additions to this variable.
7197 * sysdeps/x86/Makefile (tests): Change dependencies to ....
7198 (tests-special): ... additions to this variable.
7200 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7202 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7204 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7205 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7207 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7208 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7209 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7210 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7211 * conform/data/libgen.h-data [XPG3]: Likewise.
7212 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7213 * conform/data/ndbm.h-data [XPG3]: Likewise.
7214 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7215 * conform/data/netdb.h-data [XPG3]: Likewise.
7216 * conform/data/netinet/in.h-data [XPG3]: Likewise.
7217 * conform/data/poll.h-data [XPG3]: Likewise.
7218 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7219 * conform/data/strings.h-data [XPG3]: Likewise.
7220 * conform/data/stropts.h-data [XPG3]: Likewise.
7221 * conform/data/sys/mman.h-data [XPG3]: Likewise.
7222 * conform/data/sys/resource.h-data [XPG3]: Likewise.
7223 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7225 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7226 * conform/data/sys/time.h-data [XPG3]: Likewise.
7227 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7228 * conform/data/sys/uio.h-data [XPG3]: Likewise.
7229 * conform/data/sys/un.h-data [XPG3]: Likewise.
7230 * conform/data/syslog.h-data [XPG3]: Likewise.
7231 * conform/data/ucontext.h-data [XPG3]: Likewise.
7232 * conform/data/utmpx.h-data [XPG3]: Likewise.
7233 * conform/data/varargs.h-data [UNIX98]: Enable file.
7235 * manual/Makefile (INSTALL_INFO): Remove variable setting.
7237 * math/libm-test.inc (struct test_f_f_data): Move expected results
7238 into structure for each rounding mode.
7239 (struct test_ff_f_data): Likewise.
7240 (struct test_ff_f_data_nexttoward): Likewise.
7241 (struct test_fi_f_data): Likewise.
7242 (struct test_fl_f_data): Likewise.
7243 (struct test_if_f_data): Likewise.
7244 (struct test_fff_f_data): Likewise.
7245 (struct test_c_f_data): Likewise.
7246 (struct test_f_f1_data): Likewise.
7247 (struct test_fF_f1_data): Likewise.
7248 (struct test_ffI_f1_data): Likewise.
7249 (struct test_c_c_data): Likewise.
7250 (struct test_cc_c_data): Likewise.
7251 (struct test_f_i_data): Likewise.
7252 (struct test_ff_i_data): Likewise.
7253 (struct test_f_l_data): Likewise.
7254 (struct test_f_L_data): Likewise.
7255 (struct test_fFF_11_data): Likewise.
7257 (RM_FE_DOWNWARD): Likewise.
7258 (RM_FE_TONEAREST): Likewise.
7259 (RM_FE_TOWARDZERO): Likewise.
7260 (RM_FE_UPWARD): Likewise.
7261 (RUN_TEST_LOOP_f_f): Update references to expected results.
7262 (RUN_TEST_LOOP_2_f): Likewise.
7263 (RUN_TEST_LOOP_fff_f): Likewise.
7264 (RUN_TEST_LOOP_c_f): Likewise.
7265 (RUN_TEST_LOOP_f_f1): Likewise.
7266 (RUN_TEST_LOOP_fF_f1): Likewise.
7267 (RUN_TEST_LOOP_fI_f1): Likewise.
7268 (RUN_TEST_LOOP_ffI_f1): Likewise.
7269 (RUN_TEST_LOOP_c_c): Likewise.
7270 (RUN_TEST_LOOP_cc_c): Likewise.
7271 (RUN_TEST_LOOP_f_i): Likewise.
7272 (RUN_TEST_LOOP_f_i_tg): Likewise.
7273 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7274 (RUN_TEST_LOOP_f_b): Likewise.
7275 (RUN_TEST_LOOP_f_b_tg): Likewise.
7276 (RUN_TEST_LOOP_f_l): Likewise.
7277 (RUN_TEST_LOOP_f_L): Likewise.
7278 (RUN_TEST_LOOP_fFF_11): Likewise.
7279 * math/gen-libm-test.pl (parse_args): Output four copies of
7280 expected results for each test.
7282 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7283 (__ASSUME_UTIMES): Remove.
7284 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7285 (__ASSUME_UTIMES): Likewise.
7287 * math/gen-auto-libm-tests.c: Update comment on output format.
7288 (output_for_one_input_case): Generate before-rounding and
7289 after-rounding information as conditions on output flags not
7290 floating-point format.
7291 * math/auto-libm-test-out: Regenerated.
7292 * math/gen-libm-test.pl (cond_value): New function.
7293 (or_cond_value): Use cond_value.
7294 (generate_testfile): Handle conditional exceptions.
7296 2014-03-05 Joseph Myers <joseph@codesourcery.com>
7298 * math/libm-test.inc (max_valid_error): New variable.
7299 (init_max_error): Take new argument specifying whether function
7300 results are exactly determined. Set max_valid_error and bound
7301 other variables for errors based on this argument.
7302 (set_max_error): Do not record results above max_valid_error.
7303 (check_float_internal): Only accept errors of up to 0.5ulps if
7304 also at most max_valid_error.
7305 (START): Take new argument EXACT and pass it to init_max_error.
7306 (acos_test): Update call to START.
7307 (acos_test_tonearest): Likewise.
7308 (acos_test_towardzero): Likewise.
7309 (acos_test_downward): Likewise.
7310 (acos_test_upward): Likewise.
7311 (acosh_test): Likewise.
7312 (asin_test): Likewise.
7313 (asin_test_tonearest): Likewise.
7314 (asin_test_towardzero): Likewise.
7315 (asin_test_downward): Likewise.
7316 (asin_test_upward): Likewise.
7317 (asinh_test): Likewise.
7318 (atan_test): Likewise.
7319 (atanh_test): Likewise.
7320 (atan2_test): Likewise.
7321 (cabs_test): Likewise.
7322 (cacos_test): Likewise.
7323 (cacosh_test): Likewise.
7324 (carg_test): Likewise.
7325 (casin_test): Likewise.
7326 (casinh_test): Likewise.
7327 (catan_test): Likewise.
7328 (catanh_test): Likewise.
7329 (cbrt_test): Likewise.
7330 (ccos_test): Likewise.
7331 (ccosh_test): Likewise.
7332 (ceil_test): Likewise.
7333 (cexp_test): Likewise.
7334 (cimag_test): Likewise.
7335 (clog_test): Likewise.
7336 (clog10_test): Likewise.
7337 (conj_test): Likewise.
7338 (copysign_test): Likewise.
7339 (cos_test): Likewise.
7340 (cos_test_tonearest): Likewise.
7341 (cos_test_towardzero): Likewise.
7342 (cos_test_downward): Likewise.
7343 (cos_test_upward): Likewise.
7344 (cosh_test): Likewise.
7345 (cosh_test_tonearest): Likewise.
7346 (cosh_test_towardzero): Likewise.
7347 (cosh_test_downward): Likewise.
7348 (cosh_test_upward): Likewise.
7349 (cpow_test): Likewise.
7350 (cproj_test): Likewise.
7351 (creal_test): Likewise.
7352 (csin_test): Likewise.
7353 (csinh_test): Likewise.
7354 (csqrt_test): Likewise.
7355 (ctan_test): Likewise.
7356 (ctan_test_tonearest): Likewise.
7357 (ctan_test_towardzero): Likewise.
7358 (ctan_test_downward): Likewise.
7359 (ctan_test_upward): Likewise.
7360 (ctanh_test): Likewise.
7361 (ctanh_test_tonearest): Likewise.
7362 (ctanh_test_towardzero): Likewise.
7363 (ctanh_test_downward): Likewise.
7364 (ctanh_test_upward): Likewise.
7365 (erf_test): Likewise.
7366 (erfc_test): Likewise.
7367 (exp_test): Likewise.
7368 (exp_test_tonearest): Likewise.
7369 (exp_test_towardzero): Likewise.
7370 (exp_test_downward): Likewise.
7371 (exp_test_upward): Likewise.
7372 (exp10_test): Likewise.
7373 (exp10_test_tonearest): Likewise.
7374 (exp10_test_towardzero): Likewise.
7375 (exp10_test_downward): Likewise.
7376 (exp10_test_upward): Likewise.
7377 (pow10_test): Likewise.
7378 (exp2_test): Likewise.
7379 (expm1_test): Likewise.
7380 (expm1_test_tonearest): Likewise.
7381 (expm1_test_towardzero): Likewise.
7382 (expm1_test_downward): Likewise.
7383 (expm1_test_upward): Likewise.
7384 (fabs_test): Likewise.
7385 (fdim_test): Likewise.
7386 (floor_test): Likewise.
7387 (fma_test): Likewise.
7388 (fma_test_towardzero): Likewise.
7389 (fma_test_downward): Likewise.
7390 (fma_test_upward): Likewise.
7391 (fmax_test): Likewise.
7392 (fmin_test): Likewise.
7393 (fmod_test): Likewise.
7394 (fpclassify_test): Likewise.
7395 (frexp_test): Likewise.
7396 (hypot_test): Likewise.
7397 (ilogb_test): Likewise.
7398 (isfinite_test): Likewise.
7399 (finite_test): Likewise.
7400 (isgreater_test): Likewise.
7401 (isgreaterequal_test): Likewise.
7402 (isinf_test): Likewise.
7403 (isless_test): Likewise.
7404 (islessequal_test): Likewise.
7405 (islessgreater_test): Likewise.
7406 (isnan_test): Likewise.
7407 (isnormal_test): Likewise.
7408 (issignaling_test): Likewise.
7409 (isunordered_test): Likewise.
7410 (j0_test): Likewise.
7411 (j1_test): Likewise.
7412 (jn_test): Likewise.
7413 (ldexp_test): Likewise.
7414 (lgamma_test): Likewise.
7415 (gamma_test): Likewise.
7416 (lrint_test): Likewise.
7417 (lrint_test_tonearest): Likewise.
7418 (lrint_test_towardzero): Likewise.
7419 (lrint_test_downward): Likewise.
7420 (lrint_test_upward): Likewise.
7421 (llrint_test): Likewise.
7422 (llrint_test_tonearest): Likewise.
7423 (llrint_test_towardzero): Likewise.
7424 (llrint_test_downward): Likewise.
7425 (llrint_test_upward): Likewise.
7426 (log_test): Likewise.
7427 (log10_test): Likewise.
7428 (log1p_test): Likewise.
7429 (log2_test): Likewise.
7430 (logb_test): Likewise.
7431 (logb_test_downward): Likewise.
7432 (lround_test): Likewise.
7433 (llround_test): Likewise.
7434 (modf_test): Likewise.
7435 (nearbyint_test): Likewise.
7436 (nextafter_test): Likewise.
7437 (nexttoward_test): Likewise.
7438 (pow_test): Likewise.
7439 (pow_test_tonearest): Likewise.
7440 (pow_test_towardzero): Likewise.
7441 (pow_test_downward): Likewise.
7442 (pow_test_upward): Likewise.
7443 (remainder_test): Likewise.
7444 (drem_test): Likewise.
7445 (remainder_test_tonearest): Likewise.
7446 (drem_test_tonearest): Likewise.
7447 (remainder_test_towardzero): Likewise.
7448 (drem_test_towardzero): Likewise.
7449 (remainder_test_downward): Likewise.
7450 (drem_test_downward): Likewise.
7451 (remainder_test_upward): Likewise.
7452 (drem_test_upward): Likewise.
7453 (remquo_test): Likewise.
7454 (rint_test): Likewise.
7455 (rint_test_tonearest): Likewise.
7456 (rint_test_towardzero): Likewise.
7457 (rint_test_downward): Likewise.
7458 (rint_test_upward): Likewise.
7459 (round_test): Likewise.
7460 (scalb_test): Likewise.
7461 (scalbn_test): Likewise.
7462 (scalbln_test): Likewise.
7463 (signbit_test): Likewise.
7464 (sin_test): Likewise.
7465 (sin_test_tonearest): Likewise.
7466 (sin_test_towardzero): Likewise.
7467 (sin_test_downward): Likewise.
7468 (sin_test_upward): Likewise.
7469 (sincos_test): Likewise.
7470 (sinh_test): Likewise.
7471 (sinh_test_tonearest): Likewise.
7472 (sinh_test_towardzero): Likewise.
7473 (sinh_test_downward): Likewise.
7474 (sinh_test_upward): Likewise.
7475 (sqrt_test): Likewise.
7476 (sqrt_test_tonearest): Likewise.
7477 (sqrt_test_towardzero): Likewise.
7478 (sqrt_test_downward): Likewise.
7479 (sqrt_test_upward): Likewise.
7480 (tan_test): Likewise.
7481 (tan_test_tonearest): Likewise.
7482 (tan_test_towardzero): Likewise.
7483 (tan_test_downward): Likewise.
7484 (tan_test_upward): Likewise.
7485 (tanh_test): Likewise.
7486 (tgamma_test): Likewise.
7487 (trunc_test): Likewise.
7488 (y0_test): Likewise.
7489 (y1_test): Likewise.
7490 (yn_test): Likewise.
7491 (significand_test): Likewise.
7493 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7494 individual tests in comment.
7495 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7496 (prev_max_error): New variable.
7497 (prev_real_max_error): Likewise.
7498 (prev_imag_max_error): Likewise.
7499 (compare_ulp_data): Don't refer to test names in comment.
7500 (find_test_ulps): Remove function.
7501 (find_function_ulps): Likewise.
7502 (find_complex_function_ulps): Likewise.
7503 (init_max_error): Take function name as argument. Look up ulps
7505 (print_ulps): Remove function.
7506 (print_max_error): Use prev_max_error instead of calling
7508 (print_complex_max_error): Use prev_real_max_error and
7509 prev_imag_max_error instead of calling find_complex_function_ulps.
7510 (check_float_internal): Take max_ulp parameter instead of calling
7511 find_test_ulps. Don't call print_ulps.
7512 (check_float): Update call to check_float_internal.
7513 (check_complex): Update calls to check_float_internal.
7514 (START): Pass argument to init_max_error.
7515 * math/gen-libm-test.pl (%results): Don't include "kind"
7517 (parse_ulps): Don't handle ulps of individual tests.
7518 (print_ulps_file): Likewise.
7519 (output_ulps): Likewise.
7520 * math/README.libm-test: Update.
7521 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7523 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7524 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7525 * sysdeps/arm/libm-test-ulps: Likewise.
7526 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7527 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7528 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7529 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7530 * sysdeps/microblaze/libm-test-ulps: Likewise.
7531 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7532 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7533 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7534 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7535 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7536 * sysdeps/sh/libm-test-ulps: Likewise.
7537 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7538 * sysdeps/tile/libm-test-ulps: Likewise.
7539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7541 2014-03-04 Joseph Myers <joseph@codesourcery.com>
7543 * math/libm-test.inc (print_complex_max_error): Check separately
7544 whether real and imaginary errors are within allowed range and
7545 pass 0 to print_complex_function_ulps instead of value within
7548 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7550 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7552 (get_handles_fopen): Likewise.
7553 (do_write_test): Likewise.
7555 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7557 * libio/fileops.c (do_ftell): Use cached offset when
7559 * libio/iofwide.c (do_ftell_wide): Likewise.
7560 * libio/iofdopen.c (_IO_new_fdopen): Don't use
7562 * libio/wfileops.c (_IO_fwide): Don't cache offset.
7565 * libio/libioP.h (get_file_offset): New function.
7566 * libio/fileops.c (get_file_offset): Likewise.
7567 (do_ftell): Likewise.
7568 (_IO_new_file_seekoff): Split out ftell logic.
7569 * libio/wfileops.c (do_ftell_wide): Likewise.
7570 (_IO_wfile_seekoff): Split out ftell logic.
7571 * libio/tst-ftell-active-handler.c: New test case.
7572 * libio/Makefile (tests): Add it.
7574 2014-03-03 Roland McGrath <roland@hack.frob.com>
7576 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7577 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7579 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7582 * nscd/connections.c (nscd_init): Call do_exit.
7583 (start_threads): Call do_exit and notify_parent.
7584 (begin_drop_privileges): Call do_exit.
7585 (finish_drop_privileges): Likewise.
7586 * nscd/selinux.c (preserve_capabilities): Likewise.
7587 (install_real_capabilities): Likewise.
7588 (nscd_selinux_enabled): Likewise.
7589 (avc_create_thread): Likewise.
7590 (avc_alloc_lock): Likewise.
7591 (nscd_avc_init): Likewise.
7592 * nscd/nscd.c (parent_fd): New static variable.
7593 (main): Create a pipe between parent and child processes.
7594 Skip closing parent_fd.
7595 (monitor_child): New function.
7596 (do_exit): Likewise.
7597 (notify_parent): Likewise.
7598 * nscd/nscd.h (notify_parent): Likewise.
7599 (do_exit): Likewise.
7601 2014-03-03 Carlos O'Donell <carlos@redhat.com>
7603 * malloc/malloc.c (__libc_calloc): Revert last change.
7605 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7609 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7611 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7612 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7614 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7615 (__libc_ifunc_impl_list): Likewise.
7616 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7617 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7618 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7619 * string/strrchr.c: Define STRRCHR.
7621 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
7623 * benchtest/bench-strtok.c (simple_strtok): Delete.
7624 (strtok_string): Use as benchmark.
7625 * string/strtok (STRTOK): New macro.
7627 2014-02-28 Carlos O'Donell <carlos@redhat.com>
7629 * manual/threads.texi: Add header and standard comments to all
7632 * elf/dl-lookup.c (check_match): New function.
7633 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7634 (do_lookup_x): Remove nested function check_match. Use non-nested
7635 function check_match.
7637 2014-02-28 Roland McGrath <roland@hack.frob.com>
7639 * csu/Makefile (generated, before-compile): Use += rather than =.
7640 * catgets/Makefile (generated, generated-dirs): Likewise.
7641 * debug/Makefile (generated): Likewise.
7642 * dlfcn/Makefile (generated): Likewise.
7643 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7644 * iconvdata/Makefile (before-compile, generated): Likewise.
7645 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7646 * libio/Makefile (generated): Likewise.
7647 * malloc/Makefile (generated): Likewise.
7648 * manual/Makefile (generated, generated-dirs): Likewise.
7649 * misc/Makefile (generated): Likewise.
7650 * posix/Makefile (generated): Likewise.
7651 * resolv/Makefile (generated): Likewise.
7652 * sunrpc/Makefile (generated, generated-dirs): Likewise.
7653 * timezone/Makefile (generated, generated-dirs): Likewise.
7655 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7657 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7659 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7660 power8 implementation.
7661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7662 file: POWER8 llround ifunc implementation.
7663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7664 (__lllround): Add POWER8 implementation.
7665 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7666 POWER8 llround implementation.
7668 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7669 power8 implementation.
7670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7671 file: POWER8 llrint ifunc implementation.
7672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7673 Add POWER8 implementation.
7674 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7675 POWER8 llrint implementation.
7677 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7678 power8 implementation.
7679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7680 file: POWER8 finite ifunc implementation.
7681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7682 Add POWER8 implementation.
7683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7685 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7686 POWER8 finite implementation.
7687 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7689 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7690 power8 implementation.
7691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7692 file: POWER8 isinf ifunc implementation.
7693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7694 POWER8 implementation.
7695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7697 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7698 isinf implementation.
7699 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7701 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7702 (INIT_ARCH): Add hwcap2 initialization.
7703 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7704 power8 implementation.
7705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7706 file: POWER8 isnan ifunc implementation.
7707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7708 POWER8 implementation.
7709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7711 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7712 isnan implementation.
7713 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7715 2014-02-27 Joey Ye <joey.ye@arm.com>
7717 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7718 (_FP_NANFRAC_Q): Set to zero.
7720 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7723 * math/auto-libm-test-in: New test inputs.
7724 * math/auto-libm-test-out: Regenerate.
7725 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7728 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7730 2014-02-27 Joseph Myers <joseph@codesourcery.com>
7732 * scripts/evaluate-test.sh: Take new argument indicating whether
7733 failure is expected.
7734 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7735 indicating whether failure is expected.
7736 * conform/Makefile (test-xfail-run-conformtest): New variable.
7737 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7739 * posix/Makefile (test-xfail-annexc): New variable.
7740 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7742 2014-02-26 Joseph Myers <joseph@codesourcery.com>
7744 * argp/Makefile: Include Makeconfig immediately after defining
7746 * assert/Makefile: Likewise.
7747 * benchtests/Makefile: Likewise.
7748 * catgets/Makefile: Likewise.
7749 * conform/Makefile: Likewise.
7750 * crypt/Makefile: Likewise.
7751 * csu/Makefile: Likewise.
7752 (all): Remove target.
7753 * ctype/Makefile: Include Makeconfig immediately after defining
7755 * debug/Makefile: Likewise.
7756 * dirent/Makefile: Likewise.
7757 * dlfcn/Makefile: Likewise.
7758 * gmon/Makefile: Likewise.
7759 * gnulib/Makefile: Likewise.
7760 * grp/Makefile: Likewise.
7761 * gshadow/Makefile: Likewise.
7762 * hesiod/Makefile: Likewise.
7763 * hurd/Makefile: Likewise.
7764 (all): Remove target.
7765 * iconvdata/Makefile: Include Makeconfig immediately after
7767 * inet/Makefile: Likewise.
7768 * intl/Makefile: Likewise.
7769 * io/Makefile: Likewise.
7770 * libio/Makefile: Likewise.
7771 (all): Remove target.
7772 * locale/Makefile: Include Makeconfig immediately after defining
7774 * login/Makefile: Likewise.
7775 * mach/Makefile: Likewise.
7776 (all): Remove target.
7777 * malloc/Makefile: Include Makeconfig immediately after defining
7779 (all): Remove target.
7780 * manual/Makefile: Include Makeconfig immediately after defining
7782 * math/Makefile: Likewise.
7783 * misc/Makefile: Likewise.
7784 * nis/Makefile: Likewise.
7785 * nss/Makefile: Likewise.
7786 * po/Makefile: Likewise.
7787 (all): Remove target.
7788 * posix/Makefile: Include Makeconfig immediately after defining
7790 * pwd/Makefile: Likewise.
7791 * resolv/Makefile: Likewise.
7792 * resource/Makefile: Likewise.
7793 * rt/Makefile: Likewise.
7794 * setjmp/Makefile: Likewise.
7795 * shadow/Makefile: Likewise.
7796 * signal/Makefile: Likewise.
7797 * socket/Makefile: Likewise.
7798 * soft-fp/Makefile: Likewise.
7799 * stdio-common/Makefile: Likewise.
7800 * stdlib/Makefile: Likewise.
7801 * streams/Makefile: Likewise.
7802 * string/Makefile: Likewise.
7803 * sunrpc/Makefile: Likewise.
7804 (all): Remove target.
7805 * sysvipc/Makefile: Include Makeconfig immediately after defining
7807 * termios/Makefile: Likewise.
7808 * time/Makefile: Likewise.
7809 * timezone/Makefile: Likewise.
7810 (all): Remove target.
7811 * wcsmbs/Makefile: Include Makeconfig immediately after defining
7813 * wctype/Makefile: Likewise.
7815 2014-02-26 Steve Ellcey <sellcey@mips.com>
7817 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7818 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7819 (libc_feholdexcept_setround_mips): Ditto.
7820 (libc_feholdsetround): New.
7821 (libc_feholdsetroundf): New.
7822 (libc_feholdsetroundl): New.
7823 (libc_feupdateenv_test_mips): New.
7824 (libc_feupdateenv_test): New.
7825 (libc_feupdateenv_testf): New.
7826 (libc_feupdateenv_testl): New.
7827 (libc_feresetround): New.
7828 (libc_feresetroundf): New.
7829 (libc_feresetroundl): New.
7830 (libc_fetestexcept_mips): New.
7831 (libc_fetestexcept): New.
7832 (libc_fetestexceptf): New.
7833 (libc_fetestexceptl): New.
7835 (libc_feholdexcept_setround_mips_ctx): New.
7836 (libc_feholdexcept_setround_ctx): New.
7837 (libc_feholdexcept_setroundf_ctx): New.
7838 (libc_feholdexcept_setroundl_ctx): New.
7839 (libc_fesetenv_mips_ctx): New.
7840 (libc_fesetenv_ctx): New.
7841 (libc_fesetenv_ctxf): New.
7842 (libc_fesetenv_ctxl): New.
7843 (libc_feupdateenv_mips_ctx): New.
7844 (libc_feupdateenv_ctx): New.
7845 (libc_feupdateenvf_ctx): New.
7846 (libc_feupdateenvl_ctx): New.
7847 (libc_feholdsetround_mips_ctx): New.
7848 (libc_feholdsetround_ctx): New.
7849 (libc_feholdsetroundf_ctx): New.
7850 (libc_feholdsetroundl_ctx): New.
7851 (libc_feresetround_mips_ctx): New.
7852 (libc_feresetround_ctx): New.
7853 (libc_feresetroundf_ctx): New.
7854 (libc_feresetroundl_ctx): New.
7856 2014-02-26 Carlos O'Donell <carlos@redhat.com>
7858 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7860 * manual/ipc.texi: New file.
7861 * manual/Makefile (chapters): Add ipc.
7862 * manual/job.texi: Add "Inter-Process Communication" to next.
7863 * manual/process.texi: Add "Inter-Process Communication" to prev.
7865 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7869 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
7871 * malloc/malloc.c (__libc_calloc): Simplify implementation.
7873 * manual/arith.texi: Fix spaces after sentences.
7874 * manual/charset.texi: Likewise.
7875 * manual/errno.texi: Likewise.
7876 * manual/install.texi: Likewise.
7877 * manual/llio.texi: Likewise.
7878 * manual/locale.texi: Likewise.
7879 * manual/maint.texi: Likewise.
7880 * manual/math.texi: Likewise.
7881 * manual/memory.texi: Likewise.
7882 * manual/message.texi: Likewise.
7883 * manual/probes.texi: Likewise.
7884 * manual/resource.texi: Likewise.
7885 * manual/signal.texi: Likewise.
7886 * manual/socket.texi: Likewise.
7887 * manual/stdio.texi: Likewise.
7888 * manual/string.texi: Likewise.
7889 * manual/time.texi: Likewise.
7890 * manual/users.texi: Likewise.
7892 2014-02-25 Carlos O'Donell <carlos@redhat.com>
7895 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7896 _DEFAULT_SOURCE is defined.
7898 2014-02-25 Ulrich Drepper <drepper@gmail.com>
7899 Carlos O'Donell <carlos@redhat.com>
7902 * elf/dl-tls.c (_dl_count_modids): New function.
7903 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7904 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7905 audit library and increment generation counter.
7906 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7907 * elf/tst-audit9.c: New file.
7908 * elf/tst-auditmod9a.c: New file.
7909 * elf/tst-auditmod9b.c: New file.
7910 * elf/Makefile: Add rules to build and run tst-audit9.
7912 2014-02-25 Florian Weimer <fweimer@redhat.com>
7915 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7917 2014-02-25 Will Newton <will.newton@linaro.org>
7919 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7920 (__longjmp): Restore sp and lr before restoring callee
7921 saved registers. Add longjmp and longjmp_target
7922 SystemTap probe point.
7923 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7924 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7925 Define to zero to match jmpbuf layout.
7926 * sysdeps/arm/setjmp.S: Include stap-probe.h.
7927 (__sigsetjmp): Save sp and lr before saving callee
7928 saved registers. Add setjmp SystemTap probe point.
7930 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7932 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7934 2014-02-24 Andreas Schwab <schwab@suse.de>
7937 * elf/pldd.c (wait_for_ptrace_stop): New function.
7938 (main): Call it after attaching.
7940 2014-02-22 Roland McGrath <roland@hack.frob.com>
7942 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7943 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7944 Versions files is now verboten.
7945 * hurd/Versions (libc: GLIBC_2.0):
7946 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7947 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7948 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7949 * mach/Versions: Likewise.
7951 * csu/Versions: Remove unused %include.
7952 * resolv/Versions: Likewise.
7954 2014-02-21 Joseph Myers <joseph@codesourcery.com>
7956 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7957 ($(objpfx)check-local-headers.out): Likewise.
7958 ($(objpfx)begin-end-check.out): Likewise.
7959 * Makerules (check-abi-%.out): Likewise.
7960 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7961 ($(objpfx)test2.cat): Likewise.
7962 ($(objpfx)de/libc.cat): Likewise.
7963 ($(objpfx)test-gencat.out): Likewise.
7964 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7965 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7966 ($(objpfx)noload-mem): Likewise.
7967 ($(objpfx)tst-pathopt.out): Likewise.
7968 ($(objpfx)tst-rtld-load-self.out): Likewise.
7969 ($(objpfx)tst-array1-cmp.out): Likewise.
7970 ($(objpfx)tst-array1-static-cmp.out): Likewise.
7971 ($(objpfx)tst-array2-cmp.out): Likewise.
7972 ($(objpfx)tst-array3-cmp.out): Likewise.
7973 ($(objpfx)tst-array4-cmp.out): Likewise.
7974 ($(objpfx)tst-array5-cmp.out): Likewise.
7975 ($(objpfx)tst-array5-static-cmp.out): Likewise.
7976 ($(objpfx)check-textrel.out): Likewise.
7977 ($(objpfx)check-execstack.out): Likewise.
7978 ($(objpfx)check-localplt.out): Likewise.
7979 ($(objpfx)order2-cmp.out): Likewise.
7980 ($(objpfx)tst-leaks1-mem): Likewise.
7981 ($(objpfx)tst-leaks1-static-mem): Likewise.
7982 ($(objpfx)tst-initorder-cmp.out): Likewise.
7983 ($(objpfx)tst-initorder2-cmp.out): Likewise.
7984 ($(objpfx)tst-unused-dep.out): Likewise.
7985 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7986 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7987 * iconv/Makefile (test-iconvconfig): Likewise.
7988 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7989 ($(objpfx)iconv-test.out): Likewise.
7990 ($(objpfx)tst-tables.out): Likewise.
7991 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7992 ($(objpfx)tst-gettext.out): Likewise.
7993 ($(objpfx)tst-translit.out): Likewise.
7994 ($(objpfx)tst-gettext2.out): Likewise.
7995 ($(objpfx)tst-gettext4.out): Likewise.
7996 ($(objpfx)tst-gettext6.out): Likewise.
7997 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7998 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7999 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8000 ($(objpfx)tst-fopenloc-mem.out): Likewise.
8001 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8002 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8003 * posix/Makefile ($(objpfx)globtest.out): Likewise.
8004 ($(objpfx)wordexp-tst.out): Likewise.
8005 ($(objpfx)annexc.out): Likewise.
8006 ($(objpfx)tst-fnmatch-mem): Likewise.
8007 ($(objpfx)bug-regex2-mem): Likewise.
8008 ($(objpfx)bug-regex14-mem): Likewise.
8009 ($(objpfx)bug-regex21-mem): Likewise.
8010 ($(objpfx)bug-regex31-mem): Likewise.
8011 ($(objpfx)tst-vfork3-mem): Likewise.
8012 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8013 ($(objpfx)tst-pcre-mem): Likewise.
8014 ($(objpfx)tst-boost-mem): Likewise.
8015 ($(objpfx)tst-getconf.out): Likewise.
8016 ($(objpfx)bug-ga2-mem): Likewise.
8017 ($(objpfx)bug-glob2-mem): Likewise.
8018 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8019 ($(objpfx)mtrace-tst-leaks2): Likewise.
8020 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8021 ($(objpfx)tst-printf.out): Likewise.
8022 ($(objpfx)tst-setvbuf1.out): Likewise.
8023 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8024 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8025 ($(objpfx)tst-fmtmsg.out): Likewise.
8026 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8027 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8029 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8030 * bits/sigaction.h [__USE_MISC]: Likewise.
8031 * bits/waitstatus.h: Update #endif comments.
8032 * ctype/ctype.h: Likewise.
8033 * dirent/dirent.h: Likewise.
8034 [__USE_MISC]: Remove redundant conditionals.
8035 * grp/grp.h: Update #endif comments.
8036 [__USE_GNU]: Remove redundant conditionals.
8037 [__USE_MISC]: Likewise.
8038 * inet/netinet/in.h [__USE_GNU]: Likewise.
8039 * io/sys/stat.h [__USE_MISC]: Likewise.
8040 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8041 * libio/bits/stdio.h: Update #endif comments.
8042 [__USE_MISC]: Remove redundant conditionals.
8043 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8044 * libio/stdio.h: Update #endif comments.
8045 [__USE_MISC]: Remove redundant conditionals.
8046 * math/bits/math-finite.h [__USE_MISC]: Likewise.
8047 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8048 * math/math.h: Update #else and #endif comments.
8049 [__USE_MISC]: Remove redundant conditionals.
8050 * misc/sys/uio.h: Update #endif comments.
8051 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8052 * posix/glob.h [__USE_MISC]: Likewise.
8053 * posix/sys/types.h: Update #endif comments.
8054 [__USE_MISC]: Remove redundant conditionals.
8055 * posix/sys/wait.h: Update #endif comments.
8056 [__USE_MISC]: Remove redundant conditionals.
8057 * posix/unistd.h: Update #endif comments.
8058 [__USE_MISC]: Remove redundant conditionals.
8059 * pwd/pwd.h [__USE_GNU]: Likewise.
8060 [__USE_MISC]: Likewise.
8061 * resolv/netdb.h [__USE_GNU]: Likewise.
8062 * signal/signal.h: Update #endif comments.
8063 [__USE_MISC]: Remove redundant conditionals.
8064 * stdlib/stdlib.h: Update #else and #endif comments.
8065 [__USE_MISC]: Remove redundant conditionals.
8066 [__USE_GNU]: Likewise.
8067 * string/bits/string2.h [__USE_MISC]: Likewise.
8068 * string/string.h: Update #endif comments.
8069 [__USE_MISC]: Remove redundant conditionals.
8070 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8072 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8073 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8074 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8076 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8078 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8080 [__USE_MISC]: Remove redundant conditionals.
8081 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8082 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8083 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8084 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8085 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8087 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8088 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8090 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8091 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8093 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8095 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8096 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8098 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8100 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8101 * sysdeps/x86/bits/string.h: Update #endif comments.
8102 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8104 * time/sys/time.h: Update #endif comments.
8105 * time/time.h: Likewise.
8106 [__USE_MISC]: Remove redundant conditionals.
8108 2014-02-21 Yury Gribov <y.gribov@samsung.com>
8111 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8113 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
8115 * Versions.def (librt): Add GLIBC_2.17.
8117 2014-02-21 Adam Conrad <adconrad@0c3.net>
8119 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8120 synonym for _SYS_AUXV_H to allow direct inclusion.
8121 * sysdeps/sparc/bits/hwcap.h: Likewise.
8122 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8123 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8124 * sysdeps/sparc/sysdep.h: Likewise.
8126 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8128 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8130 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8132 * benchtests/bench-strrchr.c: Print length instead of position.
8134 2014-02-20 Joseph Myers <joseph@codesourcery.com>
8137 * sysdeps/unix/sysv/linux/kernel-features.h
8138 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8139 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8140 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8141 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8143 [__i386__ || __powerpc__ || __sh__ || __sparc__]
8144 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8145 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8146 (__ASSUME_SENDMMSG): Define instead of using previous
8147 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8148 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8149 (__ASSUME_SENDMMSG_SYSCALL): Define.
8150 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8151 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8153 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8154 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8156 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8157 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8159 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8160 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8161 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8162 [__ASSUME_SENDMMSG]: Change conditionals to
8163 [__ASSUME_SENDMMSG_SOCKETCALL].
8164 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8165 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8167 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8168 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8170 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8171 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8172 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8173 [!__ASSUME_SENDMMSG]: Change conditional to
8174 [!__ASSUME_SENDMMSG_SOCKETCALL].
8175 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8176 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8180 * sysdeps/unix/sysv/linux/kernel-features.h
8181 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8182 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8183 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8184 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8185 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8186 [__i386__ || __sparc__]
8187 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8188 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8189 (__ASSUME_RECVMMSG): Define instead of using previous
8190 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8191 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8192 (__ASSUME_RECVMMSG_SYSCALL): Define.
8193 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8194 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8196 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8197 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8199 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8200 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8202 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8203 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8204 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8205 [__ASSUME_RECVMMSG]: Change condition to
8206 [__ASSUME_RECVMMSG_SOCKETCALL].
8207 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8208 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8210 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8211 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8212 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8214 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8215 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8216 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8217 [!__ASSUME_RECVMMSG]: Change condition to
8218 [!__ASSUME_RECVMMSG_SOCKETCALL].
8219 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8220 (__ASSUME_RECVMMSG_SYSCALL): Define.
8223 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8224 __powerpc__ || __s390__ || __sh__ || __sparc__]
8225 (__ASSUME_SOCKETCALL): Define.
8226 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8227 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8228 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8229 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8230 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8231 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8232 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8233 (__ASSUME_ACCEPT4): Define instead of using previous
8234 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8235 __powerpc__ || __sparc__ || __s390__)] condition.
8236 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8237 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8238 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8239 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8240 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8241 [!__ASSUME_ACCEPT4]: Change condition to
8242 [!__ASSUME_ACCEPT4_SOCKETCALL].
8243 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8244 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
8245 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8246 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8247 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8248 __ASSUME_ACCEPT4_SYSCALL.
8249 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8250 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8251 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8252 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8253 __ASSUME_ACCEPT4_SYSCALL.
8254 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8255 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8256 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8257 [__ASSUME_ACCEPT4]: Change condition to
8258 [__ASSUME_ACCEPT4_SOCKETCALL].
8259 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8260 (__ASSUME_SOCKETCALL): Define.
8261 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8262 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8263 (__ASSUME_SOCKETCALL): Define.
8264 (__ASSUME_ACCEPT4): Remove.
8265 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8267 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8268 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8270 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8271 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8273 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8275 (HWCAP_ARM_LPAE): Likewise.
8276 (HWCAP_ARM_EVTSTRM): Likewise.
8277 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8278 Add vpfd32, lpae and evtstrm.
8279 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8282 2014-02-19 Joseph Myers <joseph@codesourcery.com>
8284 * math/auto-libm-test-in: Add tests of clog10.
8285 * math/auto-libm-test-out: Regenerated.
8286 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8287 * sysdeps/i386/fpu/libm-test-ulps: Update.
8288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8290 2014-02-18 Andreas Schwab <schwab@suse.de>
8293 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8294 Store non-zero if the second buffer was newly allocated.
8295 (send_dg): Likewise.
8296 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8297 to send_vc and send_dg.
8298 (res_nsend): Pass NULL for ansp2_malloced.
8299 * resolv/res_query.c (__libc_res_nquery): Add parameter
8300 answerp2_malloced and pass it down to __libc_res_nsend.
8301 (res_nquery): Pass additional NULL to __libc_res_nquery.
8302 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8303 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8304 second answer buffer if answerp2_malloced was set.
8305 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8306 (__libc_res_nquerydomain): Add parameter
8307 answerp2_malloced and pass it down to __libc_res_nquery.
8308 (res_nquerydomain): Pass additional NULL to
8309 __libc_res_nquerydomain.
8310 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8311 additional NULL to __libc_res_nsend and __libc_res_nquery.
8312 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8313 additional NULL to __libc_res_nsearch.
8314 (_nss_dns_gethostbyname4_r): Revert last change. Use new
8315 parameter of __libc_res_nsearch to check for separately allocated
8317 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8319 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8320 additional NULL to __libc_res_nquery.
8321 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8323 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8324 * include/resolv.h: Update prototypes of __libc_res_nquery,
8325 __libc_res_nsearch, __libc_res_nsend.
8327 2014-02-18 Joseph Myers <joseph@codesourcery.com>
8329 * math/auto-libm-test-in: Add tests of fma.
8330 * math/auto-libm-test-out: Regenerated.
8331 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8332 (fma_towardzero_test_data): Likewise.
8333 (fma_downward_test_data): Likewise.
8334 (fma_upward_test_data): Likewise.
8335 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8337 (rounding_modes): Add values for new field.
8338 (func_calc_method): Add value mpfr_fff_f.
8339 (func_calc_desc): Add mpfr_fff_f union field.
8340 (test_function): Add field exact_args.
8341 (FUNC): Add macro argument EXACT_ARGS.
8342 (FUNC_mpfr_f_f): Update call to FUNC.
8343 (FUNC_mpfr_f_f): Likewise.
8344 (FUNC_mpfr_ff_f): Likewise.
8345 (FUNC_mpfr_if_f): Likewise.
8346 (FUNC_mpc_c_f): Likewise.
8347 (FUNC_mpc_c_c): Likewise.
8348 (test_functions): Add fma. Update calls to FUNC.
8349 (handle_input_arg): Add argument exact_args.
8350 (add_test): Update call to handle_input_arg.
8351 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
8352 (output_for_one_input_case): Update call to calc_generic_results.
8353 Recalculate exact zero results in each rounding mode.
8355 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8356 non-negative before setting low bit.
8357 * math/auto-libm-test-in: Mark one asin test possibly having
8359 * math/auto-libm-test-out: Regenerated.
8360 * sysdeps/i386/fpu/libm-test-ulps: Update.
8361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8363 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
8365 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8366 * sysdeps/unix/sysv/linux/microblaze: Move directory from
8367 ports/sysdeps/unix/sysv/linux/microblaze.
8368 * README: Add missing listing for microblaze*-*-linux-gnu.
8370 2014-02-16 Mike Frysinger <vapier@gentoo.org>
8372 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8373 * sysdeps/unix/sysv/linux/ia64: Move directory from
8374 ports/sysdeps/unix/sysv/linux/ia64.
8375 * README: Update listing for ia64-*-linux-gnu.
8377 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
8378 Joseph Myers <joseph@codesourcery.com>
8380 * Makeconfig (test-name): New variable.
8381 (evaluate-test): Likewise.
8382 * Makerules (do-test-clean): Remove .test-result files.
8383 (common-mostlyclean): Likewise.
8384 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8385 * scripts/evaluate-test.sh: New file.
8387 2014-02-14 Joseph Myers <joseph@codesourcery.com>
8389 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8390 separate $(objpfx)tst-fopenloc-cmp.out and
8391 $(objpfx)tst-fopenloc-mem.out targets.
8392 (tests): Update dependencies.
8393 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8394 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8395 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8396 (tst-rxspencer-no-utf8-ARGS): New variable.
8397 (tst-rxspencer-no-utf8-ENV): Likewise.
8398 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8399 instead of $(objpfx)tst-rxspencer-mem.
8400 ($(objpfx)tst-rxspencer-mem): Change target to
8401 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
8402 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8403 * posix/tst-rxspencer-no-utf8.c: New file.
8405 * elf/Makefile ($(objpfx)order.out): Remove rule.
8406 [$(run-built-tests) = yes] (tests): Depend on
8407 $(objpfx)order-cmp.out.
8408 ($(objpfx)order-cmp.out): New rule.
8409 [$(run-built-tests) = yes] (tests): Depend on
8410 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8411 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8412 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8413 $(objpfx)tst-array5-static-cmp.out.
8414 ($(objpfx)tst-array1.out): Remove rule.
8415 ($(objpfx)tst-array1-cmp.out): New rule.
8416 ($(objpfx)tst-array1-static.out): Remove rule.
8417 ($(objpfx)tst-array1-static-cmp.out): New rule.
8418 ($(objpfx)tst-array2.out): Remove rule.
8419 ($(objpfx)tst-array2-cmp.out): New rule.
8420 ($(objpfx)tst-array3.out): Remove rule.
8421 ($(objpfx)tst-array3-cmp.out): New rule.
8422 ($(objpfx)tst-array4.out): Remove rule.
8423 ($(objpfx)tst-array4-cmp.out): New rule.
8424 ($(objpfx)tst-array5.out): Remove rule.
8425 ($(objpfx)tst-array5-cmp.out): New rule.
8426 ($(objpfx)tst-array5-static.out): Remove rule.
8427 ($(objpfx)tst-array5-static-cmp.out): New rule.
8428 [$(run-built-tests) = yes] (tests): Depend on
8429 $(objpfx)order2-cmp.out.
8430 ($(objpfx)order2.out): Remove rule.
8431 ($(objpfx)order2-cmp.out): New rule.
8432 ($(objpfx)tst-initorder.out): Remove rule.
8433 [$(run-built-tests) = yes] (tests): Depend on
8434 $(objpfx)tst-initorder-cmp.out.
8435 ($(objpfx)tst-initorder-cmp.out): New rule.
8436 ($(objpfx)tst-initorder2.out): Remove rule.
8437 [$(run-built-tests) = yes] (tests): Depend on
8438 $(objpfx)tst-initorder2-cmp.out.
8439 ($(objpfx)tst-initorder2-cmp.out): New rule.
8440 [$(run-built-tests) = yes] (tests): Depend on
8441 $(objpfx)tst-unused-dep-cmp.out.
8442 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8443 ($(objpfx)tst-unused-dep-cmp.out): New rule.
8444 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8445 on $(objpfx)tst-setvbuf1-cmp.out.
8446 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8447 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8448 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8449 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8450 ($(objpfx)tst-svc.out): Remove rule.
8451 ($(objpfx)tst-svc-cmp.out): New rule.
8453 2014-02-13 Joseph Myers <joseph@codesourcery.com>
8455 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8456 * ctype/ctype.h [__USE_MISC]: Likewise.
8457 * dirent/dirent.h [__USE_MISC]: Likewise.
8458 * grp/grp.h [__USE_MISC]: Likewise.
8459 * io/fcntl.h [__USE_MISC]: Likewise.
8460 * io/sys/stat.h [__USE_MISC]: Likewise.
8461 * libio/stdio.h [__USE_MISC]: Likewise.
8462 * posix/unistd.h [__USE_MISC]: Likewise.
8463 * pwd/pwd.h [__USE_MISC]: Likewise.
8464 * stdlib.h [__USE_MISC]: Likewise.
8465 * string/bits/string2.h [__USE_MISC]: Likewise.
8466 * string/string.h [__USE_MISC]: Likewise.
8467 * time/time.h [__USE_MISC]: Likewise.
8469 2014-02-13 Andreas Schwab <schwab@suse.de>
8472 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8473 second answer buffer if it was separately allocated.
8475 2014-02-12 Joseph Myers <joseph@codesourcery.com>
8477 * sysdeps/mips/math-tests.h: Include <features.h>.
8478 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8479 (ROUNDING_TESTS_long_double): Do not define.
8480 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8481 (EXCEPTION_TESTS_long_double): Likewise.
8482 * sysdeps/mips/mips64/libm-test-ulps: Update.
8484 * include/features.h (__USE_BSD): Remove macro definitions.
8485 (__USE_SVID): Likewise.
8486 (_BSD_SOURCE): Likewise.
8487 (_SVID_SOURCE): Likewise.
8488 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8489 from definition of _DEFAULT_SOURCE.
8490 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8492 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8493 * bits/mman.h [__USE_BSD]: Likewise.
8494 * bits/termios.h [__USE_BSD]: Likewise.
8495 * bits/waitstatus.h [__USE_BSD]: Likewise.
8496 * ctype/ctype.h [__USE_SVID]: Likewise.
8497 * dirent/dirent.h [__USE_BSD]: Likewise.
8498 * grp/grp.h [__USE_SVID]: Likewise.
8499 [__USE_BSD]: Likewise.
8500 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8501 * io/fcntl.h [__USE_BSD]: Likewise.
8502 * io/ftw.h [__USE_BSD]: Likewise.
8503 * io/sys/stat.h [__USE_BSD]: Likewise.
8504 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8505 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8506 * libio/stdio.h [__USE_SVID]: Likewise.
8507 [__USE_BSD]: Likewise.
8508 * math/math.h [__USE_SVID]: Likewise.
8509 [__USE_BSD]: Likewise.
8510 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8511 * misc/bits/syslog.h [__USE_BSD]: Likewise.
8512 * misc/search.h [__USE_SVID]: Likewise.
8513 * misc/sys/mman.h [__USE_BSD]: Likewise.
8514 * misc/sys/syslog.h [__USE_BSD]: Likewise.
8515 * misc/sys/uio.h [__USE_BSD]: Likewise.
8516 * posix/bits/unistd.h [__USE_BSD]: Likewise.
8517 * posix/glob.h [__USE_BSD]: Likewise.
8518 * posix/regex.h [__USE_BSD]: Likewise.
8519 * posix/sys/types.h [__USE_BSD]: Likewise.
8520 [__USE_SVID]: Likewise.
8521 * posix/sys/utsname.h [__USE_SVID]: Likewise.
8522 * posix/sys/wait.h [__USE_BSD]: Likewise.
8523 [__USE_SVID]: Likewise.
8524 * posix/unistd.h [__USE_BSD]: Likewise.
8525 [__USE_SVID]: Likewise.
8526 * pwd/pwd.h [__USE_SVID]: Likewise.
8527 * resolv/netdb.h [__USE_BSD]: Likewise.
8528 * setjmp/setjmp.h [__USE_BSD]: Likewise.
8529 * signal/signal.h [__USE_BSD]: Likewise.
8530 [__USE_SVID]: Likewise.
8531 * socket/sys/socket.h [__USE_BSD]: Likewise.
8532 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8533 * stdlib/stdlib.h [__USE_BSD]: Likewise.
8534 [__USE_SVID]: Likewise.
8535 * string/bits/string2.h [__USE_BSD]: Likewise.
8536 [__USE_SVID]: Likewise.
8537 * string/bits/string3.h [__USE_BSD]: Likewise.
8538 * string/endian.h [__USE_BSD]: Likewise.
8539 * string/string.h [__USE_SVID]: Likewise.
8540 [__USE_BSD]: Likewise.
8541 * string/strings.h [__USE_BSD]: Likewise.
8542 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8543 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8544 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8545 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8546 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8547 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8549 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8551 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8552 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8554 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8555 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8557 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8559 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8560 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8561 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8563 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8565 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8566 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8567 * termios/termios.h [__USE_BSD]: Likewise.
8568 * time/sys/time.h [__USE_BSD]: Likewise.
8569 * time/time.h [__USE_BSD]: Likewise.
8570 [__USE_SVID]: Likewise.
8572 * Makefile (subdir_targets): Remove subdir_lint.out.
8574 * stdio-common/Makefile (do-tst-unbputc): Remove target.
8575 (do-tst-printf): Likewise.
8576 (tests): Depend directly on $(objpfx)tst-unbputc.out and
8577 $(objpfx)tst-printf.out.
8579 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8581 * Makerules (check-abi-%): Change target to
8582 $(objpfx)check-abi-%.out.
8583 (check-abi target): Update dependencies.
8584 (check-abi-pattern variable): Redirect output of diff to $@.
8585 (check-abi variable): Likewise.
8586 * elf/Makefile (check-abi): Update dependencies.
8588 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8590 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8591 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8593 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8594 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8595 value has largest subnormal exponent.
8596 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8597 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8598 * sysdeps/aarch64/soft-fp/sfp-machine.h
8599 (_FP_TININESS_AFTER_ROUNDING): New macro.
8600 * sysdeps/alpha/soft-fp/sfp-machine.h
8601 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8602 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8604 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8605 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8606 * sysdeps/mips/soft-fp/sfp-machine.h
8607 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8608 * sysdeps/powerpc/soft-fp/sfp-machine.h
8609 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8610 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8612 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8613 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8614 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8615 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8616 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8619 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
8622 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8625 2014-02-12 Richard Henderson <rth@redhat.com>
8627 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8628 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8629 * sysdeps/unix/sysv/linux/alpha: Move directory from
8630 ports/sysdeps/unix/sysv/linux/alpha.
8631 * README: Update listing for alpha-*-linux-gnu.
8633 2014-02-11 Joseph Myers <joseph@codesourcery.com>
8635 * include/features.h: Update comment documenting feature test
8637 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
8639 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8640 (_SVID_SOURCE): Likewise.
8641 (_DEFAULT_SOURCE): Update description of default features.
8642 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8644 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8645 (S_ISVTX): Likewise.
8646 * manual/math.texi (Mathematical Constants): Likewise.
8647 * manual/signal.texi (Interrupted Primitives): Likewise.
8648 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8649 * math/test-matherr.c (_SVID_SOURCE): Do not define.
8650 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8651 Don't refer to _SVID_SOURCE in warning text.
8653 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8655 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8657 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8658 * sysdeps/mips/dl-lookup.c: Remove.
8659 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8661 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8664 * math/auto-libm-test-in: Add testcase for expl.
8665 * math/auto-libm-test-out: Regenerate.
8666 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8667 calculation of unsafe.
8668 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8670 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
8672 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8673 * sysdeps/unix/sysv/linux/aarch64: Move directory from
8674 ports/sysdeps/unix/sysv/linux/aarch64.
8675 * README: Update listing for aarch64*-*-linux-gnu.
8677 2014-02-11 Will Newton <will.newton@linaro.org>
8679 * manual/probes.texi (Mathematical Function Probes): Use
8680 "triggered" instead of "hit".
8682 * manual/probes.texi (Internal Probes): Add documentation
8683 of setjmp, longjmp and longjmp_target probes.
8685 * include/stap-probe.h: Add comment about probe argument
8688 * malloc/mtrace.c (attribute_hidden): Remove unused macro
8689 definition. (tr_where, tr_freehook, tr_mallochook,
8690 tr_reallochook, tr_memalignhook): Use ANSI protoype.
8692 2014-02-11 David S. Miller <davem@davemloft.net>
8694 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8695 processing int_tests.
8697 2014-02-10 Joseph Myers <joseph@codesourcery.com>
8699 * sysdeps/mips: Move directory from ports/sysdeps/mips.
8700 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8701 * sysdeps/unix/sysv/linux/mips: Move directory from
8702 ports/sysdeps/unix/sysv/linux/mips.
8703 * README: Update listing for mips-*-linux-gnu and
8706 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
8708 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8709 * sysdeps/unix/sysv/linux/m68k: Move directory from
8710 ports/sysdeps/unix/sysv/linux/m68k.
8711 * README: Update listing for m68k-*-linux-gnu.
8713 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
8715 * sysdeps/tile: Move directory from ports/sysdeps/tile.
8716 * sysdeps/unix/sysv/linux/generic: Move directory from
8717 ports/sysdeps/unix/sysv/linux/generic.
8718 * sysdeps/unix/sysv/linux/tile: Move directory from
8719 ports/sysdeps/unix/sysv/linux/tile.
8720 * README: Update listing for tile*-*-linux-gnu.
8722 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
8724 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8726 * benchtests/bench-memmem.c (simple_memmem): Likewise.
8727 * catgets/open_catalog.c (__open_catalog): Likewise.
8728 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8729 * debug/confstr_chk.c: Likewise.
8730 * debug/fread_chk.c (__fread_chk): Likewise.
8731 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8732 * debug/getgroups_chk.c: Likewise.
8733 * debug/mbsnrtowcs_chk.c: Likewise.
8734 * debug/mbsrtowcs_chk.c: Likewise.
8735 * debug/mbstowcs_chk.c: Likewise.
8736 * debug/memcpy_chk.c: Likewise.
8737 * debug/memmove_chk.c: Likewise.
8738 * debug/mempcpy_chk.c: Likewise.
8739 * debug/memset_chk.c: Likewise.
8740 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8741 * debug/strcat_chk.c (__strcat_chk): Likewise.
8742 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8743 * debug/strncat_chk.c (__strncat_chk): Likewise.
8744 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8745 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8746 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8747 * debug/wcpncpy_chk.c: Likewise.
8748 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8749 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8750 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8751 * debug/wcsncpy_chk.c: Likewise.
8752 * debug/wcsnrtombs_chk.c: Likewise.
8753 * debug/wcsrtombs_chk.c: Likewise.
8754 * debug/wcstombs_chk.c: Likewise.
8755 * debug/wmemcpy_chk.c: Likewise.
8756 * debug/wmemmove_chk.c: Likewise.
8757 * debug/wmempcpy_chk.c: Likewise.
8758 * debug/wmemset_chk.c: Likewise.
8759 * dirent/scandirat.c (SCANDIRAT): Likewise.
8760 * dlfcn/dladdr1.c (dladdr1): Likewise.
8761 * dlfcn/dladdr.c (dladdr): Likewise.
8762 * dlfcn/dlclose.c (dlclose_doit): Likewise.
8763 * dlfcn/dlerror.c (__dlerror): Likewise.
8764 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8765 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8766 * dlfcn/dlopen.c (dlopen_doit): Likewise.
8767 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8768 * dlfcn/dlsym.c (dlsym_doit): Likewise.
8769 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8770 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8771 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8773 * elf/dl-conflict.c: Likewise.
8774 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8775 * elf/dl-dst.h: Likewise.
8776 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8777 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8778 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8779 * elf/dl-init.c (call_init, _dl_init): Likewise.
8780 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8781 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8782 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8784 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8786 * elf/dl-minimal.c (__libc_memalign): Likewise.
8787 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8788 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8789 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8790 * elf/dl-sym.c (do_sym): Likewise.
8791 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8792 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8793 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8794 * elf/dl-writev.h (_dl_writev): Likewise.
8795 * elf/ldconfig.c (search_dir): Likewise.
8796 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8797 (dl_main): Likewise.
8798 * elf/setup-vdso.h (setup_vdso): Likewise.
8799 * grp/compat-initgroups.c (compat_call): Likewise.
8800 * grp/fgetgrent.c (fgetgrent): Likewise.
8801 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8802 * grp/putgrent.c (putgrent): Likewise.
8803 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8805 * hurd/hurdinit.c: Likewise.
8806 * iconvdata/8bit-gap.c (struct): Likewise.
8807 * iconvdata/ansi_x3.110.c : Likewise.
8808 * iconvdata/big5.c : Likewise.
8809 * iconvdata/big5hkscs.c : Likewise.
8810 * iconvdata/cp1255.c: Likewise.
8811 * iconvdata/cp1258.c : Likewise.
8812 * iconvdata/cp932.c : Likewise.
8813 * iconvdata/euc-cn.c: Likewise.
8814 * iconvdata/euc-jisx0213.c : Likewise.
8815 * iconvdata/euc-jp.c: Likewise.
8816 * iconvdata/euc-jp-ms.c : Likewise.
8817 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8818 * iconvdata/gb18030.c : Likewise.
8819 * iconvdata/gbbig5.c (const): Likewise.
8820 * iconvdata/gbgbk.c: Likewise.
8821 * iconvdata/gbk.c : Likewise.
8822 * iconvdata/ibm1364.c : Likewise.
8823 * iconvdata/ibm930.c : Likewise.
8824 * iconvdata/ibm932.c: Likewise.
8825 * iconvdata/ibm933.c : Likewise.
8826 * iconvdata/ibm935.c : Likewise.
8827 * iconvdata/ibm937.c : Likewise.
8828 * iconvdata/ibm939.c : Likewise.
8829 * iconvdata/ibm943.c: Likewise.
8830 * iconvdata/iso_11548-1.c: Likewise.
8831 * iconvdata/iso-2022-cn.c : Likewise.
8832 * iconvdata/iso-2022-cn-ext.c : Likewise.
8833 * iconvdata/iso-2022-jp-3.c: Likewise.
8834 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8835 * iconvdata/iso-2022-kr.c : Likewise.
8836 * iconvdata/iso646.c (gconv_end): Likewise.
8837 * iconvdata/iso_6937-2.c : Likewise.
8838 * iconvdata/iso_6937.c : Likewise.
8839 * iconvdata/iso8859-1.c: Likewise.
8840 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8841 * iconvdata/shift_jisx0213.c : Likewise.
8842 * iconvdata/sjis.c : Likewise.
8843 * iconvdata/t.61.c : Likewise.
8844 * iconvdata/tcvn5712-1.c : Likewise.
8845 * iconvdata/tscii.c: Likewise.
8846 * iconvdata/uhc.c : Likewise.
8847 * iconvdata/unicode.c (gconv_end): Likewise.
8848 * iconvdata/utf-16.c (gconv_end): Likewise.
8849 * iconvdata/utf-32.c (gconv_end): Likewise.
8850 * iconvdata/utf-7.c (base64): Likewise.
8851 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8852 * iconv/gconv_close.c (__gconv_close): Likewise.
8853 * iconv/gconv_open.c (__gconv_open): Likewise.
8854 * iconv/gconv_simple.c (internal_ucs4_loop_single)
8855 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8856 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8857 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8858 (ucs4le_internal_loop_single): Likewise.
8859 * iconv/iconv.c (iconv): Likewise.
8860 * iconv/iconv_close.c: Likewise.
8861 * iconv/loop.c (SINGLE): Likewise.
8862 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8863 * include/atomic.h: Likewise.
8864 * inet/inet6_option.c (option_alloc): Likewise.
8865 * intl/bindtextdom.c (set_binding_values): Likewise.
8866 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8867 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8868 * intl/localealias.c (read_alias_file): Likewise.
8869 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8870 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8871 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8872 * libio/fmemopen.c (fmemopen): Likewise.
8873 * libio/iofgets.c (_IO_fgets): Likewise.
8874 * libio/iofgets_u.c (fgets_unlocked): Likewise.
8875 * libio/iofgetws.c (fgetws): Likewise.
8876 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8877 * libio/iogetdelim.c (_IO_getdelim): Likewise.
8878 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8879 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8880 * locale/findlocale.c (_nl_find_locale): Likewise.
8881 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8882 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8884 * locale/setlocale.c (setlocale): Likewise.
8885 * login/programs/pt_chown.c (main): Likewise.
8886 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8887 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8888 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8889 (mmap, mmap64, mremap, munmap): Likewise.
8890 * math/e_exp2l.c: Likewise.
8891 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8892 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8893 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8894 * math/s_catan.c (__catan): Likewise.
8895 * math/s_catanf.c (__catanf): Likewise.
8896 * math/s_catanh.c (__catanh): Likewise.
8897 * math/s_catanhf.c (__catanhf): Likewise.
8898 * math/s_catanhl.c (__catanhl): Likewise.
8899 * math/s_catanl.c (__catanl): Likewise.
8900 * math/s_ccosh.c (__ccosh): Likewise.
8901 * math/s_ccoshf.c (__ccoshf): Likewise.
8902 * math/s_ccoshl.c (__ccoshl): Likewise.
8903 * math/s_cexp.c (__cexp): Likewise.
8904 * math/s_cexpf.c (__cexpf): Likewise.
8905 * math/s_cexpl.c (__cexpl): Likewise.
8906 * math/s_clog10.c (__clog10): Likewise.
8907 * math/s_clog10f.c (__clog10f): Likewise.
8908 * math/s_clog10l.c (__clog10l): Likewise.
8909 * math/s_clog.c (__clog): Likewise.
8910 * math/s_clogf.c (__clogf): Likewise.
8911 * math/s_clogl.c (__clogl): Likewise.
8912 * math/s_csin.c (__csin): Likewise.
8913 * math/s_csinf.c (__csinf): Likewise.
8914 * math/s_csinh.c (__csinh): Likewise.
8915 * math/s_csinhf.c (__csinhf): Likewise.
8916 * math/s_csinhl.c (__csinhl): Likewise.
8917 * math/s_csinl.c (__csinl): Likewise.
8918 * math/s_csqrt.c (__csqrt): Likewise.
8919 * math/s_csqrtf.c (__csqrtf): Likewise.
8920 * math/s_csqrtl.c (__csqrtl): Likewise.
8921 * math/s_ctan.c (__ctan): Likewise.
8922 * math/s_ctanf.c (__ctanf): Likewise.
8923 * math/s_ctanh.c (__ctanh): Likewise.
8924 * math/s_ctanhf.c (__ctanhf): Likewise.
8925 * math/s_ctanhl.c (__ctanhl): Likewise.
8926 * math/s_ctanl.c (__ctanl): Likewise.
8927 * math/w_pow.c: Likewise.
8928 * math/w_powf.c: Likewise.
8929 * math/w_powl.c: Likewise.
8930 * math/w_scalb.c (sysv_scalb): Likewise.
8931 * math/w_scalbf.c (sysv_scalbf): Likewise.
8932 * math/w_scalbl.c (sysv_scalbl): Likewise.
8933 * misc/error.c (error_tail): Likewise.
8934 * misc/pselect.c (__pselect): Likewise.
8935 * nis/nis_callback.c (__nis_create_callback): Likewise.
8936 * nis/nis_call.c (__nisfind_server): Likewise.
8937 * nis/nis_creategroup.c (nis_creategroup): Likewise.
8938 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8939 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8940 * nis/nis_getservlist.c (nis_getservlist): Likewise.
8941 * nis/nis_lookup.c (nis_lookup): Likewise.
8942 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
8943 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8944 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
8945 * nis/nis_xdr.c (xdr_endpoint): Likewise.
8946 * nis/nss_compat/compat-grp.c (getgrent_next_file)
8947 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8948 * nis/nss_compat/compat-initgroups.c (add_group)
8949 (internal_getgrent_r): Likewise.
8950 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8951 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8952 * nis/nss_compat/compat-spwd.c (getspent_next_file)
8953 (internal_getspnam_r): Likewise.
8954 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8955 (_nss_nis_getaliasbyname_r): Likewise.
8956 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8957 (_nss_nis_getntohost_r): Likewise.
8958 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8959 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8960 (_nss_nis_getgrgid_r): Likewise.
8961 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8962 (internal_nis_gethostent_r, internal_gethostbyname2_r)
8963 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8964 (_nss_nis_gethostbyname4_r): Likewise.
8965 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8966 (initgroups_netid): Likewise.
8967 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8968 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8969 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8970 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8971 (_nss_nis_getprotobynumber_r): Likewise.
8972 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8973 (_nss_nis_getsecretkey): Likewise.
8974 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8975 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8976 (_nss_nis_getpwuid_r): Likewise.
8977 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8978 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8979 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8980 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8981 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8982 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
8983 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8985 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8986 (_nss_nisplus_getntohost_r): Likewise.
8987 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8988 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8989 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8990 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
8992 * nis/nss_nisplus/nisplus-initgroups.c
8993 (_nss_nisplus_initgroups_dyn): Likewise.
8994 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8995 (_nss_nisplus_getnetbyaddr_r): Likewise.
8996 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8997 (_nss_nisplus_getprotobynumber_r): Likewise.
8998 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8999 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9000 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9002 * nis/nss_nisplus/nisplus-service.c
9003 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9004 (_nss_nisplus_getservbyport_r): Likewise.
9005 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9006 (_nss_nisplus_getspnam_r): Likewise.
9007 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9009 * nscd/aicache.c (addhstaiX): Likewise.
9010 * nscd/cache.c (cache_search, prune_cache): Likewise.
9011 * nscd/connections.c (register_traced_file, send_ro_fd)
9012 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9013 (main_loop_epoll): Likewise.
9014 * nscd/grpcache.c (addgrbyX): Likewise.
9015 * nscd/hstcache.c (addhstbyX): Likewise.
9016 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9017 * nscd/mem.c (gc, mempool_alloc): Likewise.
9018 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9019 (addinnetgrX): Likewise.
9020 * nscd/nscd-client.h (__nscd_acquire_maplock)
9021 (__nscd_drop_map_ref): Likewise.
9022 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9023 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9024 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9026 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9027 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9028 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9029 (__nscd_get_map_ref): Likewise.
9030 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9031 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9033 * nscd/pwdcache.c (addpwbyX): Likewise.
9034 * nscd/selinux.c (preserve_capabilities): Likewise.
9035 * nscd/servicescache.c (addservbyX): Likewise.
9036 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9037 * posix/fnmatch.c (fnmatch): Likewise.
9038 * posix/getopt.c (_getopt_internal_r): Likewise.
9039 * posix/glob.c (glob, glob_in_dir): Likewise.
9040 * posix/wordexp.c (exec_comm_child): Likewise.
9041 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9042 (getanswer_r, gaih_getanswer_slice): Likewise.
9043 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9044 * resolv/res_init.c: Likewise.
9045 * resolv/res_mkquery.c (res_nmkquery): Likewise.
9046 * resolv/res_query.c (__libc_res_nquery): Likewise.
9047 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9049 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9050 * stdio-common/perror.c (perror): Likewise.
9051 * stdio-common/printf_fp.c (___printf_fp): Likewise.
9052 * stdio-common/tmpnam.c (tmpnam): Likewise.
9053 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9054 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9055 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9057 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9058 * stdlib/putenv.c (putenv): Likewise.
9059 * stdlib/setenv.c (__add_to_environ): Likewise.
9060 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9061 * stdlib/strtol_l.c (INTERNAL): Likewise.
9062 * string/memmem.c (memmem): Likewise.
9063 * string/strerror.c (strerror): Likewise.
9064 * string/strnlen.c (__strnlen): Likewise.
9065 * string/test-memmem.c (simple_memmem): Likewise.
9066 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9067 * sunrpc/pm_getport.c (__get_socket): Likewise.
9068 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9069 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9070 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9071 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9073 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9074 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9075 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9076 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9077 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9078 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9080 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9082 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9083 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9084 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9085 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9086 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9087 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9088 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9089 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9090 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9091 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9092 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9093 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9095 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9097 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9099 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9100 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9101 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9102 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9103 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9104 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9105 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9106 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9107 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9108 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9109 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9110 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9111 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9112 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9113 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9114 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9116 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9118 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9120 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9122 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9123 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9124 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9126 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9127 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9128 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9129 * sysdeps/posix/sleep.c: Likewise.
9130 * sysdeps/posix/tempname.c: Likewise.
9131 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9132 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9134 * sysdeps/powerpc/powerpc32/dl-machine.h
9135 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9136 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9137 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9138 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9139 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9141 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9142 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9143 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9144 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9145 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9146 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9147 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9148 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9149 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9150 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9151 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9152 (elf_machine_lazy_rel): Likewise.
9153 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9154 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9155 (elf_machine_lazy_rel): Likewise.
9156 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9157 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9158 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9159 * sysdeps/unix/grantpt.c (grantpt): Likewise.
9160 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9161 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9162 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9163 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9165 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9166 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9167 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9168 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9169 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9170 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9171 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9172 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9173 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9174 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9175 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9177 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9178 (__posix_fallocate64_l64): Likewise.
9179 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9180 (posix_fallocate): Likewise.
9181 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9183 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9184 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9185 (getifaddrs_internal): Likewise.
9186 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9187 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9188 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9189 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9190 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9191 (__posix_fallocate64_l64): Likewise.
9192 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9194 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9195 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9196 (__get_clockfreq): Likewise.
9197 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9198 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9199 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9200 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9201 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9202 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9203 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9204 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9206 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9207 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9208 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9209 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9210 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9211 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9212 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9214 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9215 (posix_fallocate): Likewise.
9216 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9217 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9218 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9219 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9220 (elf_machine_rela, elf_machine_rela_relative)
9221 (elf_machine_lazy_rel): Likewise.
9222 * time/asctime.c (asctime_internal): Likewise.
9223 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9224 * time/tzset.c (__tzset_parse_tz): Likewise.
9225 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9226 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9227 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9228 * wcsmbs/wcsmbsload.h: Likewise.
9231 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9233 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9234 (arena_get2): Remove THREAD_STATS conditionals.
9235 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9236 (__malloc_stats, int): Likewise.
9238 2014-02-08 Mike Frysinger <vapier@gentoo.org>
9240 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9241 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
9243 * manual/setjmp.texi: Fix typos/grammar errors.
9245 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9246 Only return early when n is <= 0. Delete unused return statement.
9248 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9249 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9250 * debug/tst-longjmp_chk3.c: New file.
9252 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9253 (test_main): Replace code with set_fortify_handler call.
9254 * debug/test-strcpy_chk.c: Likewise.
9255 * debug/tst-chk1.c: Likewise.
9256 * debug/tst-longjmp_chk.c: Likewise.
9257 * test-skeleton.c: Include fcntl.h & paths.h
9258 (set_fortify_handler): Define.
9260 * debug/tst-longjmp_chk.c: Add header comment and include
9262 (do_test): Mark static.
9263 (TEST_FUNCTION): Define.
9265 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9266 (IP_PMTUDISC_INTERFACE): Likewise.
9267 (IP_MULTICAST_IF): Likewise.
9268 (IP_MULTICAST_TTL): Likewise.
9269 (IP_MULTICAST_LOOP): Likewise.
9270 (IP_ADD_MEMBERSHIP): Likewise.
9271 (IP_DROP_MEMBERSHIP): Likewise.
9272 (IP_UNBLOCK_SOURCE): Likewise.
9273 (IP_BLOCK_SOURCE): Likewise.
9274 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9275 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9276 (IP_MSFILTER): Likewise.
9277 (MCAST_JOIN_GROUP): Likewise.
9278 (MCAST_BLOCK_SOURCE): Likewise.
9279 (MCAST_UNBLOCK_SOURCE): Likewise.
9280 (MCAST_LEAVE_GROUP): Likewise.
9281 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9282 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9283 (MCAST_MSFILTER): Likewise.
9284 (IP_MULTICAST_ALL): Likewise.
9285 (IP_UNICAST_IF): Likewise.
9287 * timezone/Makefile: Delete $(have-ksh) check.
9288 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9289 * timezone/tzselect.ksh: Add +x mode bits.
9291 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9292 (ANON_INODE_FS_MAGIC): Likewise.
9293 (BDEVFS_MAGIC): Likewise.
9294 (BINFMTFS_MAGIC): Likewise.
9295 (BTRFS_TEST_MAGIC): Likewise.
9296 (CRAMFS_MAGIC_WEND): Likewise.
9297 (DEBUGFS_MAGIC): Likewise.
9298 (ECRYPTFS_SUPER_MAGIC): Likewise.
9299 (EXT3_SUPER_MAGIC): Likewise.
9300 (EXT4_SUPER_MAGIC): Likewise.
9301 (FUTEXFS_SUPER_MAGIC): Likewise.
9302 (HOSTFS_SUPER_MAGIC): Likewise.
9303 (HUGETLBFS_MAGIC): Likewise.
9304 (MINIX3_SUPER_MAGIC): Likewise.
9305 (MTD_INODE_FS_MAGIC): Likewise.
9306 (NILFS_SUPER_MAGIC): Likewise.
9307 (OPENPROM_SUPER_MAGIC): Likewise.
9308 (PIPEFS_MAGIC): Likewise.
9309 (PSTOREFS_MAGIC): Likewise.
9310 (QNX6_SUPER_MAGIC): Likewise.
9311 (RAMFS_MAGIC): Likewise.
9312 (REISERFS_SUPER_MAGIC_STRING): Likewise.
9313 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9314 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9315 (SECURITYFS_MAGIC): Likewise.
9316 (SELINUX_MAGIC): Likewise.
9317 (SMACK_MAGIC): Likewise.
9318 (SOCKFS_MAGIC): Likewise.
9319 (SQUASHFS_MAGIC): Likewise.
9320 (STACK_END_MAGIC): Likewise.
9321 (TMPFS_MAGIC): Likewise.
9322 (USBDEVICE_SUPER_MAGIC): Likewise.
9323 (V9FS_MAGIC): Likewise.
9324 (XENFS_SUPER_MAGIC): Likewise.
9325 (CRAMFS_MAGIC): Fix typo in comment.
9326 (EXT2_SUPER_MAGIC): Update comment.
9327 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9329 2014-02-08 Joseph Myers <joseph@codesourcery.com>
9331 * sysdeps/arm: Move directory from ports/sysdeps/arm.
9332 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9333 * sysdeps/unix/sysv/linux/arm: Move directory from
9334 ports/sysdeps/unix/sysv/linux/arm.
9335 * README: Update listing for arm-*-linux-gnueabi.
9337 * README: Remove mention of am33.
9339 2014-02-07 Roland McGrath <roland@hack.frob.com>
9341 * bits/sigset.h (__sigemptyset): Use a statement expression rather
9342 than the comma operator, to avoid "rhs of comma has no effect"
9344 (__sigfillset, __sigandset, __sigorset): Likewise.
9345 * include/signal.h (__sigemptyset): Likewise.
9346 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9348 2014-02-07 Allan McRae <allan@archlinux.org>
9350 * version.h (RELEASE): Set to "development".
9351 (VERSION): Set to "2.19.90"
9352 * NEWS: Add 2.20 section.
9354 2014-02-06 Carlos O'Donell <carlos@redhat.com>
9357 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9359 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9361 * manual/contrib.texi: Update entry for Carlos O'Donell,
9362 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9364 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
9366 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9368 * sysdeps/unix/sysv/linux/kernel-features.h
9369 [__LINUX_KERNEL_VERSION >= 0x020621]
9370 (__ASSUME_PROC_PID_TASK_COMM): Define.
9372 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9375 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9376 conversion when destination buffer does not have enough space.
9377 * libio/tst-ftell-partial-wide.c: New test case.
9378 * libio/Makefile (tests): Add tst-ftell-partial-wide.
9380 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9381 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
9382 Leonard and Allan McRae.
9384 2014-02-04 David S. Miller <davem@davemloft.net>
9386 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9389 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9418 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9420 * nptl/shlib-versions: Change powerpc*le start to 2.17.
9421 * shlib-versions: Likewise.
9423 2014-02-04 Roland McGrath <roland@hack.frob.com>
9424 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9426 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9427 (abilist-pattern): New variable, set to %-le.abilist.
9429 * Makerules (abilist-pattern): New variable.
9430 (vpath): Use $(abilist-pattern) in place of %.abilist.
9431 (check-abi-% pattern rule): Likewise.
9432 (check-abi, update-abi): Likewise.
9434 2014-02-04 Eric Wong <normalperson@yhbt.net>
9436 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9438 2014-02-03 Carlos O'Donell <carlos@redhat.com>
9440 * manual/startup.texi: Add next, previous, and top entries for
9441 the `Program Arguments' and `Environment Variables' nodes.
9443 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
9445 * manual/macros.texi: Add comments before MTASC-safety macros.
9447 * manual/users.texi: Document MTASC-safety properties.
9449 * manual/threads.texi (pthread_key_create, pthread_key_delete)
9450 (pthread_getspecific, pthread_setspecific): Format with
9451 @deftypefun, and add @safety note.
9452 * manual/signal.texi: Move comments that analyze the above
9453 functions to their home place.
9455 2014-02-03 Allan McRae <allan@archlinux.org>
9457 * po/sl.po: Update Slovenian translation from translation project.
9459 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
9461 * manual/time.texi (timegm): Add missing blank after @c.
9462 Reported by Joseph Myers <joseph@codesourcery.com>.
9464 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
9466 * manual/check-safety.sh: New.
9467 * manual/Makefile ($(objpfx)stamp-summary): Run it.
9469 * manual/terminal.texi: Document MTASC-safety properties.
9471 * manual/filesys.texi: Document MTASC-safety properties.
9473 * manual/errno.texi: Document MTASC-safety properties.
9475 * manual/intro.texi: Document safety identifiers and
9478 * manual/string.texi (wcstok): Fix prototype.
9479 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9481 * manual/time.texi: Document MTASC-safety properties.
9483 * manual/string.texi: Document MTASC-safety properties.
9485 * manual/threads.texi: Document MTASC-safety properties.
9487 * manual/stdio.texi: Document MTASC-safety properties.
9489 * manual/syslog.texi: Document MTASC-safety properties.
9491 * manual/sysinfo.texi: Document MTASC-safety properties.
9493 * manual/startup.texi: Document MTASC-safety properties.
9495 * manual/socket.texi: Document MTASC-safety properties.
9497 * manual/signal.texi: Document MTASC-safety properties.
9499 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
9501 * manual/setjmp.texi: Document MTASC-safety properties.
9503 * manual/search.texi: Document MTASC-safety properties.
9505 * manual/resource.texi: Document MTASC-safety properties.
9507 * manual/process.texi: Document MTASC-safety properties.
9509 * manual/platform.texi: Document MTASC-safety properties.
9511 * manual/pipe.texi: Document MTASC-safety properties.
9513 * manual/pattern.texi: Document MTASC-safety properties.
9515 * manual/message.texi: Document MTASC-safety properties.
9518 * manual/memory.texi: Document MTASC-safety properties.
9520 * manual/math.texi: Document MTASC-safety properties.
9522 * manual/locale.texi: Document MTASC-safety properties.
9524 * manual/llio.texi: Document MTASC-safety properties.
9526 * manual/libdl.texi: New.
9528 * manual/lang.texi: Document MTASC-safety properties.
9530 * manual/job.texi: Document MTASC-safety properties.
9532 * manual/getopt.texi: Document MTASC-safety properties.
9534 * manual/ctype.texi: Document MTASC-safety properties.
9536 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
9539 * csu/libc-tls.c (static_map): Remove variable.
9540 (__libc_setup_tls): Use main executable's link map for TLS data.
9541 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9542 casing for LM_ID_BASE and GL(dl_nns).
9543 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9544 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
9545 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9546 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9547 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9549 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9552 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
9554 * manual/debug.texi: Document MTASC-safety properties.
9556 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
9559 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9560 of __x86_64__ when disabling x87 inline functions.
9562 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
9564 * manual/charset.texi: Document MTASC-safety properties.
9566 * manual/crypt.texi: Document MTASC-safety properties.
9568 * manual/conf.texi: Document MTASC-safety properties.
9570 * manual/arith.texi: Document MTASC-safety properties.
9572 * manual/argp.texi: Document MTASC-safety properties.
9574 * manual/macros.texi: Introduce macros to document multi
9575 thread, asynchronous signal and asynchronous cancellation
9577 * manual/intro.texi: Introduce the properties themselves.
9579 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9581 * sysdeps/sh/sh4/Makefile: New file.
9583 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
9585 * math/gen-libm-test.pl ($srcdir): New variable.
9586 ($auto_input): Use it.
9588 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9591 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9592 access beyond array bounds when parsing netgroups file.
9594 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9595 the old buffer before realloc.
9597 2014-01-27 Allan McRae <allan@archlinux.org>
9599 * po/fr.po: Update French translation from translation project.
9601 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9603 * sysdeps/sh/libm-test-ulps: Regenerate.
9605 2014-01-24 David S. Miller <davem@davemloft.net>
9607 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9609 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9611 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9612 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9614 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9617 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9618 string pointers after reallocation.
9620 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9622 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9623 __SH4A__ instead of __SH_FPU_ANY__.
9625 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9627 * sysdeps/sh/fpu_control.h: New file.
9628 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9629 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9630 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9631 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9632 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9633 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9634 * sysdeps/sh/sys/ucontext.h: Remove.
9635 * sysdeps/sh/sys: Remove directory.
9637 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9639 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9640 s390/sys/ucontext.h.
9641 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9642 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9644 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
9647 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9649 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9652 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9653 Adjust the vDSO correctly for internal calls.
9654 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9656 2014-01-20 Allan McRae <allan@archlinux.org>
9658 * po/ca.po: Update Catalan translation from translation project.
9660 2014-01-16 Mike Frysinger <vapier@gentoo.org>
9662 * sysdeps/s390/sotruss-lib.c: New file.
9664 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9667 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
9668 (__GI___gettimeofday): Alias for a different internal symbol to avoid
9669 local calls issues by not having a PLT stub required for IFUNC calls.
9670 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9672 2014-01-16 Joseph Myers <joseph@codesourcery.com>
9674 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9675 * math/test-fpucw-static.c: Likewise.
9677 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9680 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9682 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9684 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9685 implementation for powerpc.
9687 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
9690 * sysdeps/posix/system.c (__libc_system): Do not enable
9691 asynchronous cancellation.
9693 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9696 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9697 handling only for numbers special also in the IEEE case.
9699 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9701 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9703 2014-01-11 Allan McRae <allan@archlinux.org>
9705 * po/bg.po: Update Bulgarian translation from translation project.
9707 * po/de.po: Update German translation from translation project.
9709 2014-01-10 Roland McGrath <roland@hack.frob.com>
9711 * sysdeps/generic/gcc-compat.h: New file.
9713 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9715 * benchtests/asin-inputs: Correct slow inputs.
9716 * benchtests/acos-inputs: Likewise.
9718 2014-01-10 Allan McRae <allan@archlinux.org>
9720 * po:sv.po: Update Swedish translation from translation project.
9722 * po/vi.po: Update Vietnamese translation from translation project.
9724 * po/eo.po: Update Esperanto translation from translation project.
9726 * po/cs.po: Update Czech translation from translation project.
9728 * po/nl.po: Update Dutch translation from translation project.
9730 * po/pl.po: Update Polish translation from translation project.
9732 * po/ru.po: Update Russian translation from translation project.
9734 * po/uk.po: Update Ukrainian translation from translation project.
9736 2014-01-08 Brooks Moses <bmoses@google.com>
9738 * elf/dl-load.c: Fix comment typo.
9740 2014-01-08 Carlos O'Donell <carlos@redhat.com>
9742 * po/header.pot: Rename to...
9743 * po/pot.header: ... this.
9744 * po/Makefile: Use pot.header.
9746 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
9747 Maxim Kuvyrkov <maxim@kugelworks.com>
9750 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9751 SRC and DEST against LEN.
9753 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9756 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9758 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9760 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9764 2014-01-08 Joseph Myers <joseph@codesourcery.com>
9767 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9768 for large positive arguments.
9770 2014-01-07 Joseph Myers <joseph@codesourcery.com>
9772 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9774 * math/auto-libm-test-in: Mark various tests with
9775 xfail-rounding:ldbl-128ibm.
9776 * math/auto-libm-test-out: Regenerated.
9779 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9780 Increase overflow threshold.
9782 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
9785 * stdio-common/vfprintf.c: Check for integer overflow.
9787 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9789 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9790 the first argument and return value of __tls_get_addr_internal.
9792 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9794 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9795 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9797 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9799 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9800 * sysdeps/s390/rtld-global-offsets.sym: New file.
9801 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9803 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9804 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9805 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9807 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9808 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9814 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9815 halfs of GPRs for high_gprs contexts.
9816 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9817 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
9819 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9821 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9823 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9824 for high GPRs (uc_high_gprs) and for future extensions
9826 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9827 for future extensions (__reserved).
9828 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9830 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9831 SC_HIGHGPRS offset definition.
9832 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9833 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9835 * Versions.def: Add GLIBC_2.19 for libpthread.
9836 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9837 siglongjmp for libpthread with GLIBC_2.19 symver.
9838 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9839 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9840 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9841 * sysdeps/s390/__longjmp.c: New file.
9842 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9843 * sysdeps/s390/longjmp.c: New file.
9844 * sysdeps/s390/setjmp.S: New file.
9845 * sysdeps/s390/sigjmp.S: New file.
9846 * sysdeps/s390/v1-longjmp.c: New file.
9847 * sysdeps/s390/v1-setjmp.h: New file.
9848 * sysdeps/s390/v1-sigjmp.c: New file.
9849 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9850 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9852 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9853 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9854 versioned symbols for ____longjmp_chk.
9855 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9861 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9863 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9865 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9866 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9867 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9868 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9869 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9870 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9871 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9872 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9873 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9874 * sysdeps/s390/rtld-__longjmp.c: New file.
9875 * sysdeps/s390/rtld-setjmp.S: New file.
9877 2014-01-06 Joseph Myers <joseph@codesourcery.com>
9880 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9881 Return -__logl (x) for small positive arguments without evaluating
9884 2014-01-06 Mike Frysinger <vapier@gentoo.org>
9886 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9888 (__ptrace_peeksiginfo_args): ... this.
9889 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9890 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9891 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9893 2014-01-06 Allan McRae <allan@archlinux.org>
9895 * inet/netinet/in.h: Fix typo in comment.
9897 2014-01-05 Andreas Jaeger <aj@suse.de>
9899 * sysdeps/i386/fpu/libm-test-ulps: Update.
9901 2014-01-05 Allan McRae <allan@archlinux.org>
9903 * po/libc.pot: Regenerated.
9905 * malloc/memusagestat.c: Fix gettext call formatting.
9907 2014-01-04 Sami Kerola <kerolasa@iki.fi>
9909 * nscd/nscd.c: Improve usage() output.
9911 2014-01-04 Mike Frysinger <vapier@gentoo.org>
9913 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9914 * sysdeps/unix/sysv/linux/configure: Regenerated.
9915 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9916 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9918 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9921 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9922 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9924 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9926 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9927 extra tokens at end of #undef directive.
9928 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9929 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9930 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9932 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9934 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9936 * math/auto-libm-test-in: Mark various tests with
9937 xfail-rounding:ldbl-128ibm.
9938 * math/auto-libm-test-out: Regenerated.
9940 2014-01-02 Joseph Myers <joseph@codesourcery.com>
9943 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9944 numbers with subnormal high part when calculating exponent.
9947 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9951 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9953 (__ieee754_acoshl): Use __log1pl not __log1p.
9955 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
9957 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9958 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9959 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9960 (grow_heap, heap_trim, _int_new_arena, get_free_list)
9961 (reused_arena, arena_get2): Convert to GNU style.
9962 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9963 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9964 (memalign_check, __malloc_set_state): Likewise.
9965 * malloc/mallocbug.c (main): Likewise.
9966 * malloc/malloc.c (__malloc_assert, malloc_init_state)
9967 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9968 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9969 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9970 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9971 (__posix_memalign, malloc_info): Likewise.
9972 * malloc/malloc.h: Likewise.
9973 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9974 (mallochook, memalignhook, reallochook, mabort): Likewise.
9975 * malloc/mcheck.h: Likewise.
9976 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9977 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
9978 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9979 * malloc/morecore.c (__default_morecore): Likewise.
9980 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
9981 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9982 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9983 (print_and_abort): Likewise.
9984 * malloc/obstack.h: Likewise.
9985 * malloc/set-freeres.c (__libc_freeres): Likewise.
9986 * malloc/tst-mallocstate.c (main): Likewise.
9987 * malloc/tst-mtrace.c (main): Likewise.
9988 * malloc/tst-realloc.c (do_test): Likewise.
9990 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9993 * nscd/netgroupcache.c (do_notfound): New function.
9994 (addgetnetgrentX): Use it.
9997 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9998 NSS_STATUS_NOTFOUND.
10000 2014-01-01 Joseph Myers <joseph@codesourcery.com>
10002 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10005 2014-01-01 Allan McRae <allan@archlinux.org>
10007 * scripts/update-copyrights: Update configure input file suffix.
10009 * NEWS: Update copyright year.
10010 * catgets/gencat.c: Likewise.
10011 * csu/version.c: Likewise.
10012 * debug/catchsegv.sh: Likewise.
10013 * debug/pcprofiledump.c: Likewise.
10014 * debug/xtrace.sh: Likewise.
10015 * elf/ldconfig.c: Likewise.
10016 * elf/ldd.bash.in: Likewise.
10017 * elf/pldd.c: Likewise.
10018 * elf/sotruss.ksh: Likewise.
10019 * elf/sprof.c: Likewise.
10020 * iconv/iconv_prog.c: Likewise.
10021 * iconv/iconvconfig.c: Likewise.
10022 * locale/programs/locale.c: Likewise.
10023 * locale/programs/localedef.c: Likewise.
10024 * login/programs/pt_chown.c: Likewise.
10025 * malloc/memusage.sh: Likewise.
10026 * malloc/memusagestat.c: Likewise.
10027 * malloc/mtrace.pl: Likewise.
10028 * manual/libc.texinfo: Likewise.
10029 * nscd/nscd.c: Likewise.
10030 * nss/getent.c: Likewise.
10031 * nss/makedb.c: Likewise.
10032 * posix/getconf.c: Likewise.
10033 * scripts/test-installation.pl: Likewise.
10035 * All files with FSF copyright notices: Update copyright dates
10036 using scripts/update-copyrights.
10037 * intl/plural.c: Regenerated.
10038 * locale/programs/charmap-kw.h: Likewise.
10039 * locale/programs/locfile-kw.h: Likewise.
10041 2013-12-31 Mike Frysinger <vapier@gentoo.org>
10043 * sysdeps/unix/sysv/linux/configure: Regenerated.
10044 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10045 the linux/fanotify.h header.
10046 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10047 HAVE_LINUX_FANOTIFY_H is defined.
10049 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10051 * benchtests/cos-inputs: New inputs.
10052 * benchtests/sin-inputs: Likewise.
10054 * benchtests/atan-inputs: New inputs. Fix name of multiple
10055 precision fallback inputs.
10057 * benchtests/atanh-inputs: New inputs.
10058 * benchtests/tanh-inputs: Likewise.
10060 * benchtests/acosh-inputs: New inputs.
10061 * benchtests/asinh-inputs: Likewise.
10063 * benchtests/cosh-inputs: New inputs.
10064 * benchtests/sinh-inputs: Likewise.
10066 * benchtests/acos-inputs: Add more inputs.
10067 * benchtests/asin-inputs: Likewise.
10069 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
10072 * manual/arith.texi: Fix spelling.
10073 * manual/charset.texi: Likewise.
10074 * manual/errno.texi: Likewise.
10075 * manual/filesys.texi: Likewise.
10076 * manual/lang.texi: Likewise.
10077 * manual/llio.texi: Likewise.
10078 * manual/locale.texi: Likewise.
10079 * manual/message.texi: Likewise.
10080 * manual/resource.texi: Likewise.
10081 * manual/search.texi: Likewise.
10082 * manual/setjmp.texi: Likewise.
10083 * manual/stdio.texi: Likewise.
10084 * manual/string.texi: Likewise.
10085 * manual/sysinfo.texi: Likewise.
10086 * manual/time.texi: Likewise.
10088 2013-12-27 Carlos O'Donell <carlos@redhat.com>
10090 * po/sl.po: New file.
10092 2013-12-27 Mike Frysinger <vapier@gentoo.org>
10094 * .gitignore: Add core/.gdbinit/.gdb_history.
10096 2013-12-27 Allan McRae <allan@archlinux.org>
10099 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10100 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10102 2013-12-24 Brooks Moses <bmoses@google.com>
10104 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10105 all compilers that claim C++98 compliance, not just GCC.
10106 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10109 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10111 * NEWS: Restore accidentally deleted bug-fix entries.
10113 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10114 Ondřej Bílka <neleai@seznam.cz>
10117 * malloc/malloc.c (_int_free): Perform sanity check only if we
10120 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
10123 * manual/stdio.texi (String Input Conversions): Clarify that character
10124 classes are not supported.
10126 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10130 2013-12-22 Joseph Myers <joseph@codesourcery.com>
10133 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10134 Calculate results for small negative arguments directly rather
10135 than using reflection formula with special underflow handling.
10137 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10138 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10139 sysdeps/unix/bsd/bsd4.4/syscalls.list.
10140 (fchflags): Likewise.
10141 (revoke): Likewise.
10142 (setlogin): Likewise.
10143 (sigaltstack): Likewise.
10145 (sigblock): Remove.
10146 (sigsetmask): Likewise.
10148 (waitpid): Likewise.
10149 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10150 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10152 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10153 * sysdeps/unix/bsd/Makefile: ... here.
10154 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10155 * sysdeps/unix/bsd/Versions: ... here.
10156 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10157 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10158 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10159 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10160 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10161 * sysdeps/unix/bsd/sigblock.c: ... here.
10162 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10163 * sysdeps/unix/bsd/sigsetmask.c: ... here.
10164 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10165 * sysdeps/unix/bsd/sigvec.c: ... here.
10166 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10167 * sysdeps/unix/bsd/tcdrain.c: ... here.
10168 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10169 * sysdeps/unix/bsd/tcgetattr.c: ... here.
10170 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10171 * sysdeps/unix/bsd/tcsetattr.c: ... here.
10172 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10173 * sysdeps/unix/bsd/wait.c: ... here.
10174 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10175 * sysdeps/unix/bsd/wait3.c: ... here.
10176 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10177 * sysdeps/unix/bsd/waitpid.c: ... here.
10179 2013-12-21 Joseph Myers <joseph@codesourcery.com>
10182 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10183 round-to-nearest for [!USE_AS_EXPM1L].
10184 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10185 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
10186 more tests of exp and exp10. Expect some exp10 tests to miss
10187 exceptions or fail in directed rounding modes.
10188 * math/auto-libm-test-out: Regenerated.
10189 * math/libm-test.inc (exp10_tonearest_test_data): New array.
10190 (exp10_test_tonearest): New function.
10191 (exp10_towardzero_test_data): New array.
10192 (exp10_test_towardzero): New function.
10193 (exp10_downward_test_data): New array.
10194 (exp10_test_downward): New function.
10195 (exp10_upward_test_data): New array.
10196 (exp10_test_upward): New function.
10197 (main): Call the new functions.
10198 * sysdeps/i386/fpu/libm-test-ulps: Update.
10199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10201 2013-12-20 Joseph Myers <joseph@codesourcery.com>
10203 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10204 asinh, atan, atan2, atanh, cbrt, cos and cosh.
10205 * math/auto-libm-test-out: Regenerated.
10206 * math/libm-test.inc (acosh_test_data): Add more tests.
10207 (atanh_test_data): Likewise.
10208 (ceil_test_data): Likewise.
10209 (copysign_test_data): Likewise.
10210 * sysdeps/i386/fpu/libm-test-ulps: Update.
10211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10213 * timezone/checktab.awk: Update from tzcode 2013i.
10214 * timezone/private.h: Likewise.
10215 * timezone/scheck.c: Likewise.
10216 * timezone/tzfile.h: Likewise.
10217 * timezone/tzselect.ksh: Likewise.
10218 * timezone/zdump.c: Likewise.
10219 * timezone/zic.c: Likewise.
10221 * math/auto-libm-test-in: Add tests of cpow.
10222 * math/auto-libm-test-out: Regenerated.
10223 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10224 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10226 (func_calc_desc): Add mpc_cc_c union field.
10227 (test_functions): Add cpow.
10228 (special_fill_2pi): New function.
10229 (special_real_inputs): Add 2pi.
10230 (calc_generic_results): Handle mpc_cc_c.
10231 * sysdeps/i386/fpu/libm-test-ulps: Update.
10232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10234 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10235 csqrt, ctan and ctanh.
10236 * math/auto-libm-test-out: Regenerated.
10237 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10238 (TEST_COND_x86): Likewise.
10239 (ccos_test_data): Use AUTO_TESTS_c_c.
10240 (ccosh_test_data): Likewise.
10241 (cexp_test_data): Likewise.
10242 (clog_test_data): Likewise.
10243 (csqrt_test_data): Likewise.
10244 (ctan_test_data): Likewise.
10245 (ctan_tonearest_test_data): Likewise.
10246 (ctan_towardzero_test_data): Likewise.
10247 (ctan_downward_test_data): Likewise.
10248 (ctan_upward_test_data): Likewise.
10249 (ctanh_test_data): Likewise.
10250 (ctanh_tonearest_test_data): Likewise.
10251 (ctanh_towardzero_test_data): Likewise.
10252 (ctanh_downward_test_data): Likewise.
10253 (ctanh_upward_test_data): Likewise.
10254 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10256 (func_calc_desc): Add mpc_c_c union field.
10257 (FUNC_mpc_c_c): New macro.
10258 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10259 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10261 (special_fill_min_subnorm_p120): New function.
10262 (special_real_inputs): Add min_subnorm_p120.
10263 (calc_generic_results): Handle mpc_c_c.
10264 * sysdeps/i386/fpu/libm-test-ulps: Update.
10265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10267 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10269 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10270 (do_sin_slow): New functions.
10271 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10272 (cslow2, csloww1, csloww2): Use the new functions.
10274 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10275 Use M to change sign of result instead of X. Assume X is
10277 (csloww1): Likewise.
10281 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10282 arguments A and DA.
10286 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10288 (sloww1): Don't adjust sign of DX.
10289 (csloww1): Likewise.
10290 (sloww2): Use X directly and don't adjust sign of DX.
10291 (csloww2): Likewise.
10293 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10295 * math/auto-libm-test-in: Add tests of cabs and carg.
10296 * math/auto-libm-test-out: Regenerated.
10297 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10298 (carg_test_data): Likewise.
10299 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10301 (func_calc_desc): Add mpc_c_f union field.
10302 (test_functions): Add cabs and carg.
10303 (calc_generic_results): Handle mpc_c_f.
10305 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10306 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10307 as a macro and a compat symbol.
10308 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10309 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10310 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10311 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10312 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10313 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10315 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10317 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10319 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10321 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10323 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10325 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10326 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10329 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10331 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10333 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10335 * manual/texinfo.tex: Update to version 2013-11-26.10 with
10336 trailing whitespace removed.
10337 * scripts/config.guess: Update to version 2013-11-29.
10338 * scripts/config.sub: Update to version 2013-10-01.
10340 * math/auto-libm-test-in: Add tests of sincos.
10341 * math/auto-libm-test-out: Regenerated.
10342 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10343 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10345 (func_calc_desc): Add mpfr_f_11 union field.
10346 (test_functions): Add sincos.
10347 (calc_generic_results): Handle mpfr_f_11.
10348 * sysdeps/i386/fpu/libm-test-ulps: Update.
10349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10351 2013-12-19 Andreas Schwab <schwab@suse.de>
10353 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10355 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10356 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10357 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10359 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10361 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10362 * sysdeps/i386/fpu/libm-test-ulps: Update.
10363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10366 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10367 round-to-nearest mode when using frndint.
10368 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10369 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10370 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10372 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
10374 * math/auto-libm-test-out: Regenerated.
10375 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10376 (TEST_COND_x86): Likewise.
10377 (expm1_tonearest_test_data): New array.
10378 (expm1_test_tonearest): New function.
10379 (expm1_towardzero_test_data): New array.
10380 (expm1_test_towardzero): New function.
10381 (expm1_downward_test_data): New array.
10382 (expm1_test_downward): New function.
10383 (expm1_upward_test_data): New array.
10384 (expm1_test_upward): New function.
10385 (main): Run the new test functions.
10386 * sysdeps/i386/fpu/libm-test-ulps: Update.
10387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10389 * include/features.h: Update comment documenting feature test
10390 macros. Mention _DEFAULT_SOURCE in comment.
10391 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10392 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10393 _BSD_SOURCE and _SVID_SOURCE.
10394 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10395 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10396 !_SVID_SOURCE]: Likewise.
10397 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10398 (__USE_POSIX_IMPLICITLY): Define.
10399 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10400 (_POSIX_SOURCE): Undefine and redefine.
10401 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10402 (_POSIX_C_SOURCE): Likewise.
10403 * manual/creature.texi (_DEFAULT_SOURCE): Document.
10404 (Feature Test Macros): Update documentation of default features.
10406 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10408 * benchtests/Makefile: Add bench-strtok.
10409 * benchtests/bench-strtok.c: New file: strtok benchtest.
10411 2013-12-19 Allan McRae <allan@archlinux.org>
10413 * manual/install.texi: Suppress menu for plain text output.
10414 * INSTALL: Regenerated.
10416 2013-12-18 Brooks Moses <bmoses@google.com>
10419 * misc/getauxval.c: Include errno.h.
10420 (__getauxval): Set errno to ENOENT if the requested type is not
10422 * misc/sys/auxv.h (getauxval): Document that it may set errno;
10423 don't declare with __attribute_const__.
10424 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10425 * manual/startup.texi: Document that getauxval sets errno.
10427 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10429 * math/auto-libm-test-in: Add tests of jn and yn.
10430 * math/auto-libm-test-out: Regenerated.
10431 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10432 (yn_test_data): Likewise.
10433 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10435 (func_calc_desc): Add mpfr_if_f union field.
10436 (FUNC_mpfr_if_f): New macro.
10437 (test_functions): Add jn and yn.
10438 (calc_generic_results): Assert type of second input for
10439 mpfr_ff_f. Handle mpfr_if_f.
10440 (output_for_one_input_case): Disable all checking for arguments
10441 fitting floating-point types in case of an integer argument.
10442 * sysdeps/i386/fpu/libm-test-ulps: Update.
10443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10446 Don't expect fegetround reference in libm.so.
10448 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10450 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10451 $(config-cflags-nofma).
10453 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10455 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10456 * math/auto-libm-test-out: Regenerated.
10459 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10460 to determine exponent and adjust argument to have exponent of -1.
10461 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10463 * math/auto-libm-test-out: Regenerated.
10464 * sysdeps/i386/fpu/libm-test-ulps: Update.
10465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10467 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
10469 * manual/probes.texi: Remove cases when per-thread arenas are
10472 2013-12-18 Andreas Schwab <schwab@suse.de>
10474 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10475 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10476 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10477 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10478 * sysdeps/i386/i686/multiarch/Makefile: Update.
10479 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10481 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10483 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10484 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10486 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
10489 Support TZ transition times < 00:00:00.
10490 This is needed for version-3 tz-format files; it supports time
10491 stamps past 2037 for America/Godthab (the only entry in the tz
10492 database for which this change is relevant).
10493 * manual/time.texi (TZ Variable): Document transition times
10494 from -167:59:59 through -00:00:01.
10495 * time/tzset.c (tz_rule): Time of day is now signed.
10496 (__tzset_parse_tz): Parse negative time of day.
10498 Document TZ transition times >= 25:00:00.
10499 * manual/time.texi (TZ Variable): Document transition times from
10500 25:00:00 through 167:59:59. These are already supported, and this
10501 support will help with version-3 tz-format files.
10503 * manual/time.texi (TZ Variable): Modernize North America example
10504 to reflect current (i.e., 2007-and-later) daylight saving rules.
10506 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10508 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10510 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10511 * sysdeps/unix/bsd/bits/stat.h: Likewise.
10512 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10513 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10514 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10515 * sysdeps/unix/bsd/bsdstat.h: Likewise.
10516 * sysdeps/unix/bsd/clock.c: Likewise.
10517 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10518 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10519 * sysdeps/unix/bsd/init-posix.c: Likewise.
10520 * sysdeps/unix/bsd/poll.c: Likewise.
10521 * sysdeps/unix/bsd/ptsname.c: Likewise.
10522 * sysdeps/unix/bsd/seekdir.c: Likewise.
10523 * sysdeps/unix/bsd/setegid.c: Likewise.
10524 * sysdeps/unix/bsd/seteuid.c: Likewise.
10525 * sysdeps/unix/bsd/setgid.c: Likewise.
10526 * sysdeps/unix/bsd/setrgid.c: Likewise.
10527 * sysdeps/unix/bsd/setruid.c: Likewise.
10528 * sysdeps/unix/bsd/setsid.c: Likewise.
10529 * sysdeps/unix/bsd/setuid.c: Likewise.
10530 * sysdeps/unix/bsd/sigaction.c: Likewise.
10531 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10532 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10533 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10534 * sysdeps/unix/bsd/telldir.c: Likewise.
10535 * sysdeps/unix/bsd/times.c: Likewise.
10536 * sysdeps/unix/bsd/usleep.c: Likewise.
10538 * misc/Makefile (install-lib): Remove libbsd-compat.a.
10539 ($(objpfx)libbsd-compat.a): Remove rule.
10541 * include/features.h (__FAVOR_BSD): Do not define.
10542 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10543 features conflicting with POSIX.
10544 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10545 (_BSD_SOURCE): Remove description of not being a subset of other
10546 feature test macros.
10547 * manual/job.texi (getpgrp): Do not document BSD version.
10548 (getpgid): Do not document by reference to BSD getpgrp.
10549 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10550 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10551 * signal/signal.h [__FAVOR_BSD]: Likewise.
10552 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10553 instead of making contents conditional on [__FAVOR_BSD].
10554 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10556 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10560 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10563 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10564 values below 2**-450, not 2**-500.
10565 * math/auto-libm-test-in: Don't allow spurious underflow from
10567 * math/auto-libm-test-out: Regenerated.
10571 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10572 values of ha and hb and sort them after adjusting subnormal
10574 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10576 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10577 values of ea and eb and sort them after adjusting subnormal
10579 * math/auto-libm-test-in: Do not expect some hypot tests of
10580 subnormals to fail. Add more hypot tests.
10581 * math/auto-libm-test-out: Regenerated.
10583 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10586 * sysdeps/sh/s_fma.c: New file.
10587 * sysdeps/sh/s_fmaf.c: New file.
10588 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
10590 * sysdeps/sh/Implies: Add sh/soft-fp.
10592 2013-12-16 Roland McGrath <roland@hack.frob.com>
10594 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
10595 level of indirection to members `objname', `errstring', `malloced'.
10596 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10597 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
10598 it as the __longjmp argument (just pass 1 instead).
10599 (_dl_catch_error): Initialize C with argument pointers and address of
10600 volatile local ERRCODE rather than copying values out of C at return.
10602 2013-12-16 Joseph Myers <joseph@codesourcery.com>
10604 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10605 * math/auto-libm-test-out: Regenerated.
10606 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10607 (hypot_test_data): Likewise.
10608 (pow_test_data): Likewise.
10609 (pow_tonearest_test_data): Likewise.
10610 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10612 (func_calc_desc): Add mpfr_ff_f union field.
10613 (FUNC_mpfr_ff_f): New macro.
10614 (test_functions): Add atan2, hypot and pow.
10615 (special_fill_min): New function.
10616 (special_fill_minus_min): Likewise.
10617 (special_fill_min_subnorm): Likewise.
10618 (special_fill_minus_min_subnorm): Likewise.
10619 (special_real_inputs): Add min, -min, min_subnorm and
10621 (calc_generic_results): Handle mpfr_ff_f.
10622 * sysdeps/i386/fpu/libm-test-ulps: Update.
10623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10625 2013-12-16 Will Newton <will.newton@linaro.org>
10627 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10628 (Aligned Memory Blocks): Add documentation for aligned_alloc
10629 and suggest it as an alternative to posix_memalign.
10630 (Hooks for Malloc): Document __memalign_hook is also called
10631 for aligned_alloc. (Summary of Malloc): Add summary for
10632 aligned alloc. Document __memalign_hook is also called
10635 2013-12-16 Will Newton <will.newton@linaro.org>
10637 * manual/memory.texi (Malloc Examples): Clarify default
10638 alignment documentation. Suggest posix_memalign rather
10639 than memalign or valloc.
10640 (Aligned Memory Blocks): Remove suggestion to use memalign
10641 or valloc. Remove obsolete comment about BSD.
10642 Document memalign errno values and mark the function obsolete.
10643 Document posix_memalign returned error codes. Mark valloc
10644 as obsolete. (Hooks for Malloc): __memalign_hook is also
10645 called for posix_memalign and valloc.
10646 (Summary of Malloc): Add posix_memalign to function summary.
10647 __memalign_hook is also called for posix_memalign and valloc.
10649 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10651 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10655 (sloww): Use mynumber union. Expand ternary operator into
10656 if-else statements.
10657 (cslow): use mynumber union.
10659 2013-12-16 Allan McRae <allan@archlinux.org>
10661 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10662 * configure: Regenerated.
10664 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10667 * configure.ac: Added --enable-maintainer-mode. Check for
10668 autoconf when enabled.
10669 * configure: Regenerated.
10671 * nscd/nscd.service: New file.
10672 * nscd/nscd.tmpfiles: New file.
10674 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
10677 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10678 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10679 * sysdeps/x86_64/multiarch/strstr.c: ... here.
10680 (strstr): Add __strstr_sse2_unaligned ifunc.
10681 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10682 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10683 (strcasestr): Remove __strcasestr_sse42 ifunc.
10684 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10685 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10686 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10688 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10690 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10691 * sysdeps/sh/bits/fenv.h: ... here.
10692 * sysdeps/sh/sh4/fpu/bits: Remove directory.
10694 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10696 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10698 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10699 hypotf multiarch implementations.
10700 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10701 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10702 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10703 multiarch hypot for PPC64.
10704 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10705 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10706 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10707 multiarch hypotf for PPC64.
10709 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10710 modff multiarch implementations.
10711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10714 multiarch modf for PPC64.
10715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10718 multiarch modff for PPC64.
10720 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10721 and logl multiarch implementations.
10722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10725 multiarch logb for PPC64.
10726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10729 multiarch logb for PPC64.
10730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10733 multiarch logb for PPC64.
10735 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10736 isinff multiarch implementation.
10737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10741 multiarch isinf for PPC64.
10742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10745 multiarch isinff for PPC64.
10747 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10748 finitef multiarch implementation.
10749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10753 multiarch finite for PPC64.
10754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10757 multiarch finitef for PPC64.
10759 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10760 lrint multiarch implementation.
10761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10765 multiarch llrint for PPC64.
10766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10767 multiarch lrint for PPC64.
10769 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10770 copysignf multiarch implementation.
10771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10776 multiarch copysign for PPC64.
10777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10778 multiarch copysignf for PPC64.
10780 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10781 multiarch implementation.
10782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10790 multiarch llround for PPC64.
10791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10792 multiarch trunc for PPC64.
10793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10794 multiarch truncf for PPC64.
10796 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10797 multiarch implementation.
10798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10806 multiarch llround for PPC64.
10807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10808 multiarch round for PPC64.
10809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10810 multiarch roundf for PPC64.
10812 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10813 multiarch implementation.
10814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10822 multiarch llround for PPC64.
10823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10824 multiarch floor for PPC64.
10825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10826 multiarch floorf for PPC64.
10828 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10829 multiarch implementation.
10830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10838 multiarch llround for PPC64.
10839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10840 multiarch ceil for PPC64.
10841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10842 multiarch ceilf for PPC64.
10844 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10845 multiarch implementation.
10846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10853 multiarch llround for PPC64.
10854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10855 multiarch lround for PPC64.
10857 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10858 multiarch implementation.
10859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10866 multiarch isnan for PPC64.
10867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10868 multiarch isnanf for PPC64.
10870 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10871 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10872 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10873 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10874 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10877 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10878 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10879 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10880 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10882 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10883 multiarch implementations.
10884 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10885 (__libc_ifunc_impl_list): Likewise.
10886 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10887 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10888 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10889 multiarch stpcpy for PPC64.
10891 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10892 multiarch implementations.
10893 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10894 (__libc_ifunc_impl_list): Likewise.
10895 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10896 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10897 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10898 multiarch strcpy for PPC64.
10900 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10901 redefine function name.
10902 (_wordcopy_fwd_dest_aligned): Likewise.
10903 (_wordcopy_bwd_aligned): Likewise.
10904 (_wordcopy_bwd_dest_aligned): Likewise.
10905 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10906 multiarch implementations.
10907 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10908 (__libc_ifunc_impl_list): Likewise.
10909 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10910 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10911 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10912 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10913 multiarch wcscpy for PPC64.
10915 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10916 multiarch implementations.
10917 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10918 (__libc_ifunc_impl_list): Likewise.
10919 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10920 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10921 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10922 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10923 multiarch wcscpy for PPC64.
10925 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10926 multiarch implementations.
10927 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10928 (__libc_ifunc_impl_list): Likewise.
10929 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10930 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10931 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10932 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10933 multiarch wcsrchr for PPC64.
10935 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10936 multiarch implementations.
10937 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10938 (__libc_ifunc_impl_list): Likewise.
10939 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10940 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10941 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10942 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10943 multiarch wcschr for PPC64.
10945 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10946 multiarch implementations.
10947 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10948 (__libc_ifunc_impl_list): Likewise.
10949 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10950 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10951 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10952 multiarch strchrnul for PPC64.
10954 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10956 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10957 (__libc_ifunc_impl_list): Likewise.
10958 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10959 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10960 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10961 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10964 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10966 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10967 (__libc_ifunc_impl_list): Likewise.
10968 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10969 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10970 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10971 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10974 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10975 multiarch implementations.
10976 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10977 (__libc_ifunc_impl_list): Likewise.
10978 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10979 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10980 strncasecmp for PPC64.
10981 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10982 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10983 multiarch strncasecmp_l for PPC64.
10985 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10986 multiarch implementations.
10987 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10988 (__libc_ifunc_impl_list): Likewise.
10989 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10990 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10991 multiarch strcasecmp for PPC64.
10992 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10994 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10995 multiarch strcasecmp_l for PPC64.
10997 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10999 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11000 (__libc_ifunc_impl_list): Likewise.
11001 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11002 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11003 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11006 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11008 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11009 (__libc_ifunc_impl_list): Likewise.
11010 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11011 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11012 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11015 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11017 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11018 (__libc_ifunc_impl_list): Likewise.
11019 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11020 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11021 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11022 rawmemrchr for PPC64.
11024 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11026 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11027 (__libc_ifunc_impl_list): Likewise.
11028 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11029 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11030 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11033 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11035 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11036 (__libc_ifunc_impl_list): Likewise.
11037 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11038 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11039 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11042 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11044 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11045 (__libc_ifunc_impl_list): Likewise.
11046 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11047 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11048 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11051 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11052 avoid cretion of __bzero symbol.
11053 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11055 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11057 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11059 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11060 multiarch implementations.
11061 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11062 (__libc_ifunc_impl_list): Likewise.
11063 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11064 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11065 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11066 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11068 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11069 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11070 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11071 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11072 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11074 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11076 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11077 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11079 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11080 (__libc_ifunc_impl_list): Likewise.
11081 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11082 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11083 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11084 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11087 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11088 multiarch for POWER/PPC64.
11089 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11090 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11091 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11092 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11093 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11094 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11095 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11096 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11097 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11100 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11101 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11102 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11103 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11104 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11105 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11106 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11107 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11108 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11109 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11110 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11111 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11112 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11113 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11114 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11123 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11125 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11127 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11129 * benchtests/Makefile (bench): Add exp2 and log2.
11130 (LDLIBS-bench-exp2): Add -lm.
11131 (LDLIBS-bench-log2): Likewise.
11132 * benchtests/exp2-inputs: New inputs file.
11133 * benchtests/log2-inputs: New inputs file.
11134 * benchtests/log-inputs: Add new inputs.
11135 * benchtests/tan-inputs: Likewise.
11137 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11139 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11141 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11142 (csloww2): ... from here.
11144 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11145 instead of structures.
11146 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11147 (POLYNOMIAL): Likewise.
11148 (TAYLOR_SLOW): Likewise.
11154 (sloww1); Likewise.
11155 (sloww2): Likewise.
11156 (bsloww1): Likewise.
11157 (bsloww2): Likewise.
11158 (cslow2): Likewise.
11159 (csloww): Likewise.
11160 (csloww1): Likewise.
11161 (csloww2): Likewise.
11163 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
11165 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11166 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11167 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11168 * malloc/hooks.c (realloc_check): Likewise.
11170 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11171 * malloc/arena.c: Remove PER_THREAD conditional.
11172 [!PER_THREAD]: Remove code.
11173 (ptmalloc_unlock_all2): Likewise.
11174 (ptmalloc_init): Likewise.
11175 (_int_new_arena): Likewise.
11176 (arena_get2): Likewise.
11177 * malloc/hooks.c (__malloc_get_state): Likewise.
11178 (__malloc_set_state): Likewise.
11179 * malloc/malloc.c: Likewise.
11180 (struct malloc_state): Likewise.
11181 (struct malloc_par): Likewise.
11182 (__libc_realloc): Likewise.
11183 (__libc_mallopt): Likewise.
11185 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11187 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11189 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
11191 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11192 macro to a function. Check for zero perturb_byte.
11193 (_int_malloc, _int_free): Remove zero perturb_byte checks.
11195 * malloc/malloc.c: (force_reg): Remove.
11196 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11197 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11198 force_reg by atomic_forced_read.
11199 * malloc/arena.c (ptmalloc_init): Likewise.
11200 * malloc/hooks.c (top_check): Likewise.
11202 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11206 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
11208 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11210 2013-12-08 Joseph Myers <joseph@codesourcery.com>
11212 * math/auto-libm-test-in: Add tests of lgamma.
11213 * math/auto-libm-test-out: Regenerated.
11214 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11215 (M_LOG_2_SQRT_PIl): Likewise.
11216 (lgamma_test_data): Use AUTO_TESTS_f_f1.
11217 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11219 (func_calc_desc): Add mpfr_f_f1 union field.
11220 (ARGS1): New macro.
11228 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11229 (test_functions): Add lgamma.
11230 (calc_generic_results): Handle mpfr_f_f1.
11231 * sysdeps/i386/fpu/libm-test-ulps: Update.
11232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11234 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11236 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11237 __mpn_add_n for PowerPC64/POWER7.
11238 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11239 __mpn_sub_n for PowerPC64/POWER7.
11241 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11242 __mpn_addmul_1 for PowerPC64.
11243 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11244 __mpn_submul_1 for PowerPC64.
11245 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11247 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11250 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
11253 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11255 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11257 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11259 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11260 add multiarch folders.
11261 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11262 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11263 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11264 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11265 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11266 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11267 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11268 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11269 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11270 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11271 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11280 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11286 multiarch __ieee754_hypot for PowerPC32.
11287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11292 multiarch __ieee754_hypotf for PowerPC32.
11294 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11295 long_double_symbol only if __logbl is defined.
11296 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11297 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11298 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11299 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11300 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11301 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11302 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11303 path for implementation.
11304 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11305 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11307 logb, and logbl multiarch implementations for PowerPC32.
11308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11313 multiarch logb for PowerPC32.
11314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11319 multiarch logbf for PowerPC32.
11320 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11324 multiarch logbl implementation for PowerPC32.
11326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11327 and modff multiarch implementations.
11328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11333 multiarch modf for PowerPC32.
11334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11339 multiarch modff for PowerPC32.
11341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11342 and lrintf multiarch implementations.
11343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11348 multiarch lrint for PowerPC32.
11349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11350 file: multiarch lrintf for PowerPC32.
11352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11353 and lroundf multiarch implementations.
11354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11361 multiarch lround for PowerPC32.
11362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11363 file: multiarch lroundf for PowerPC32.
11365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11366 copysign and copysignf multiarch implementations.
11367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11372 file: multiarch copysign for PowerPC32.
11373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11374 file: multiarch copysignf for PowerPC32.
11376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11377 and truncf multiarch implementations.
11378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11383 multiarch trunc for PowerPC32.
11384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11389 multiarch truncf for PowerPC32.
11391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11392 and roundf multiarch implementations.
11393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11398 multiarch round for PowerPC32.
11399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11404 multiarch roundf for PowerPC32.
11406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11407 and floorf multiarch implementations.
11408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11413 multiarch floor for PowerPC32.
11414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11419 multiarch floorf for PowerPC32.
11421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11422 and ceilf multiarch implementations.
11423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11428 multiarch ceil for PowerPC32.
11429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11434 multiarch ceilf for PowerPC32.
11436 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11438 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11439 FINITEF is defined.
11440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11441 and finitef multiarch implementations.
11442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11447 multiarch finite for PowerPC32.
11448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11451 file: multiarch finitef for PowerPC32.
11453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11454 and isinff multiarch implementations.
11455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11460 multiarch isinf for PowerPC32.
11461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11464 multiarch isinff for PowerPC32.
11466 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11467 alias when __isnan is defined.
11468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11469 and isnanf multiarch implementations.
11470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11479 multiarch isnan for PowerPC32.
11480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11485 multiarch isnanf for PowerPC32.
11487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11488 and sqrtf multiarch implementations.
11489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11494 multiarch sqrt for PowerPC32.
11495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11500 multiarch sqrtf for PowerPC32.
11502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11503 and llroundf multiarch implementations.
11504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11511 file: multiarch llround for PowerPC32.
11512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11513 file: multiarch llroundf for PowerPC32.
11515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11516 multiarch PowerPC32 fpu implementations.
11517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11522 multiarch llrint for PowerPC32.
11523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11532 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11534 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11536 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11538 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11539 multiarch wordcopy for PPC32.
11540 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11542 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11543 (__libc_ifunc_impl_list): Likewise.
11544 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11545 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11546 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11547 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11548 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11549 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11551 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11552 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11554 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11556 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11558 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11559 multiarch wcscpy 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/power6/wcsrchr.c: Move ...
11565 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11566 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11567 sysdeps/powerpc/power6/wcscpy.c.
11569 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11570 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11572 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11574 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11576 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11577 multiarch wcsrchr for PPC32.
11578 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11580 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11581 (__libc_ifunc_impl_list): Likewise.
11582 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11583 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11584 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11585 sysdeps/powerpc/power6/wcsrchr.c.
11587 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11589 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11591 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11592 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11593 multiarch wcschr for PPc32.
11594 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11596 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11597 (__libc_ifunc_impl_list): Likewise.
11598 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11599 * sysdeps/powerpc/power6/wcschr.c: ... to here.
11600 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11601 sysdeps/powerpc/power6/wcschr.c.
11603 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11604 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11606 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11607 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11608 file: multiarch strchr for PPC32.
11609 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11611 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11612 (__libc_ifunc_impl_list): Likewise.
11614 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11616 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11618 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11620 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11621 multiarch strchrnul for PPC32.
11622 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11624 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11625 (__libc_ifunc_impl_list): Likewise.
11627 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11629 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11630 multiarch strncasecmp for PPC32.
11631 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11633 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11634 multiarch strncasecmp_l for PPC32.
11635 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11636 strncasecmp multiarch objects.
11637 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11638 (__libc_ifunc_impl_list): Likewise.
11640 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11642 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11643 multiarch strncasecmp for PPC32.
11644 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11646 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11647 multiarch strcasecmp_l for PPC32.
11648 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11650 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11651 (__libc_ifunc_impl_list): Likewise.
11653 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11655 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11657 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11658 multiarch strncmp for PPC32.
11659 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11661 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11662 (__libc_ifunc_impl_list): Likewise.
11664 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11665 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11667 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11668 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11669 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11671 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11672 (__libc_ifunc_impl_list): Likewise.
11674 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11676 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11678 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11679 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11681 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11682 (__libc_ifunc_impl_list): Likewise.
11684 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11686 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11688 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11689 multiarch rawmemchr for PPC32.
11690 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11692 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11693 (__libc_ifunc_impl_list): Likewise.
11695 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11697 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11699 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11700 file: memrchr multiarch for PPC32.
11701 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11703 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11704 (__libc_ifunc_impl_list): Likewise.
11706 * string/memchr.c (__memchr): Using macro to redefine symbol name.
11707 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11709 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11710 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11711 multiarch memchr for PPC32.
11712 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11714 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11715 (__libc_ifunc_impl_list): Likewise.
11717 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11718 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11720 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11722 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11723 file: multiarch mempcpy for PPC32.
11724 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11726 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11727 (__libc_ifunc_impl_list): Likewise.
11729 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11730 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11731 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11732 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11733 multiarch bzero for PPC32.
11734 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11736 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11738 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11739 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11740 file: multiarch memset for PPC32.
11741 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11742 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11743 memset multiarch objects.
11744 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11745 (__libc_ifunc_impl_list): Likewise.
11747 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11749 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11750 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11752 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11753 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11755 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11756 (__libc_ifunc_impl_list): Likewise.
11758 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11759 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11760 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11762 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11764 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11766 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11767 multiarch memcpy for PPC32.
11768 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11770 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11771 (__libc_ifunc_impl_list): Likewise.
11773 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11774 support multiarch for POWER/PPC32.
11775 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11777 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11779 Implies file to make multiarch folder appers before the fpu and
11780 default folder for power4 configuration.
11782 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11784 * scripts/bench.pl: Append volatile keyword to type.
11786 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11788 * sysdeps/sh/sotruss-lib.c: New file.
11789 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11791 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11795 2013-12-05 Joseph Myers <joseph@codesourcery.com>
11798 * math/w_tgamma.c: Include <errno.h>.
11799 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
11800 * math/w_tgammaf.c: Include <errno.h>.
11801 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
11802 * math/w_tgammal.c: Include <errno.h>.
11803 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
11804 * math/auto-libm-test-in: Do not allow missing errno on tgamma
11805 underflow. Add more tgamma tests.
11806 * math/auto-libm-test-out: Regenerated.
11807 * sysdeps/i386/fpu/libm-test-ulps: Update.
11808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11810 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11811 sin, sinh, tan, tanh, tgamma, y0 and y1.
11812 * math/auto-libm-test-out: Regenerated.
11813 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11814 (TEST_COND_x86): Likewise.
11815 (M_E2l): Remove macro.
11817 (M_2_SQRT_PIl): Likewise.
11818 (M_SQRT_PIl): Likewise.
11819 (M_1_DIV_El): Likewise.
11820 (log_test_data): Use AUTO_TESTS_f_f.
11821 (log10_test_data): Likewise.
11822 (log1p_test_data): Likewise.
11823 (log2_test_data): Likewise.
11824 (sin_test_data): Likewise.
11825 (sin_tonearest_test_data): Likewise.
11826 (sin_towardzero_test_data): Likewise.
11827 (sin_downward_test_data): Likewise.
11828 (sin_upward_test_data): Likewise.
11829 (sinh_test_data): Likewise.
11830 (sinh_tonearest_test_data): Likewise.
11831 (sinh_towardzero_test_data): Likewise.
11832 (sinh_downward_test_data): Likewise.
11833 (sinh_upward_test_data): Likewise.
11834 (tan_test_data): Likewise.
11835 (tan_tonearest_test_data): Likewise.
11836 (tan_towardzero_test_data): Likewise.
11837 (tan_downward_test_data): Likewise.
11838 (tan_upward_test_data): Likewise.
11839 (tanh_test_data): Likewise.
11840 (tgamma_test_data): Likewise.
11841 (y0_test_data): Likewise.
11842 (y1_test_data): Likewise.
11843 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11844 (special_real_inputs): Add pi/4.
11845 * sysdeps/i386/fpu/libm-test-ulps: Update.
11846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11848 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11850 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11851 "longjmp_target" static probes.
11852 (__longjmp): Rename to __longjmp_symbol.
11853 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11854 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11855 on which longjmp to generate.
11856 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11857 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11859 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11860 (__sigjmp_save): Rename to __sigjmp_save_symbol.
11861 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11862 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11863 and __sigjmp_save_symbol based on which sigsetjmp to generated.
11864 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11866 __longjmp_symbol based on which __longjmp to generate.
11867 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11869 (setjmp): Rename to setjmp_symbol.
11870 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11871 (_setjmp): Rename to _setjmp_symbol.
11872 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11873 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11874 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11875 which setjmp to generate.
11876 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11877 "longjmp_target" static probes.
11879 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11881 * benchtests/README: Add note about output arguments.
11882 * benchtests/bench-sincos.c: Remove file.
11883 * benchtests/sincos-inputs: New file.
11884 * scripts/bench.pl: Identify output arguments and define
11885 static variables for them.
11887 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11890 * Makefile (INSTALL): Add install-plain.texi as the primary
11892 * manual/install-plain.texi: New file.
11893 * manual/install.texi: Include node directive only for
11894 non-plaintext output.
11896 2013-12-04 Joseph Myers <joseph@codesourcery.com>
11898 * stdlib/longlong.h: Update from GCC.
11902 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11903 * math/w_j0f.c (y0f): Likewise.
11904 * math/w_j0l.c (__y0l): Likewise.
11905 * math/w_j1.c (y1): Likewise.
11906 * math/w_j1f.c (y1f): Likewise.
11907 * math/w_j1l.c (__y1l): Likewise
11908 * math/w_jn.c (yn): Likewise.
11909 * math/w_jnf.c (ynf): Likewise.
11910 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11911 Bessel function pole errors in _POSIX_ mode. Use NAN as return
11912 value for Bessel function domain errors outside _SVID_ mode.
11913 Adjust sign of return value for yn (negative integer, 0).
11914 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11915 by zero in return for negative x and set sign appropriately for
11917 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11918 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11919 * math/libm-test.inc (y0_test_data): Add more tests and adjust
11920 expectations in error cases.
11921 (y1_test_data): Likewise.
11922 (yn_test_data): Likewise.
11923 * sysdeps/i386/fpu/libm-test-ulps: Update.
11924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11926 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11928 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11929 "64" to "64-v1". Add "64-v2".
11930 (abi-64-options): Rename to ...
11931 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
11932 (abi-64-condition): Rename to ...
11933 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
11934 (abi-64-ld-soname): Rename to ...
11935 (abi-64-v1-ld-soname): ... this.
11936 (abi-64-v2-options): Define.
11937 (abi-64-v2-condition): Likewise.
11938 (abi-64-v2-ld-soname): Likewise.
11939 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11940 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11945 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11946 Alan Modra <amodra@gmail.com>
11948 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11949 New versions for use with the ELFv2 ABI.
11950 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11951 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11953 (struct La_ppc64v2_retval): Likewise.
11954 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11955 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11956 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11957 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11958 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11959 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11960 Do not save or restore CR.
11961 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11962 (_dl_profile_resolve): Do no save or restore CR. Support extended
11963 return values for ELFv2 ABI. Fix location of FPR return registers.
11964 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11965 updated values for _CALL_ELF == 2.
11966 (La_regs, La_retval, int_retval): Likewise.
11968 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11970 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11971 (FRAME_MIN_SIZE_PARM): Likewise.
11972 (FRAME_BACKCHAIN): Likewise.
11973 (FRAME_CR_SAVE): Likewise.
11974 (FRAME_LR_SAVE): Likewise.
11975 (FRAME_TOC_SAVE): Likewise.
11976 (FRAME_PARM_SAVE): Likewise.
11977 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11978 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11979 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11980 (call_mcount_parm_offset): New macro.
11981 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11982 (PROF): Use symbolic stack frame offsets.
11983 (TAIL_CALL_SYSCALL_ERROR): Likewise.
11984 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11985 Redefine in terms of FRAME_MIN_SIZE.
11986 (_dl_runtime_resolve): Use symbolic stack frame offsets.
11987 (_dl_profile_resolve): Likewise. Update comment.
11988 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11989 symbols stack frame offsets.
11990 (__sigsetjmp): Likewise.
11991 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11992 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11993 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11994 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11997 (FRAME_BACKCHAIN): Remove.
11998 (FRAME_CR_SAVE): Likewise.
11999 (FRAME_LR_SAVE): Likewise.
12000 (FRAME_COMPILER_DW): Likewise.
12001 (FRAME_LINKER_DW): Likewise.
12002 (FRAME_TOC_SAVE): Likewise.
12003 (FRAME_PARM_SAVE): Likewise.
12004 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12005 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12006 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12008 (CHECK_SP): Use symbolic stack frame offsets.
12009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12010 zone" instead of caller's parameter save area for temp storage.
12011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12012 Likewise. Also, use symbolic stack frame offsets.
12013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12014 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12015 our own stack frame instead of the caller's.
12016 (__socket): Use symbolic stack frame offsets.
12018 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12019 Alan Modra <amodra@gmail.com>
12021 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12023 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12024 (PPC64_LOCAL_ENTRY_OFFSET): Define.
12025 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12027 (elf_machine_fixup_plt): Call it.
12028 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
12030 (elf_machine_rela): Update call to elf_machine_plt_conflict.
12031 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12032 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12033 r2 before calling target.
12035 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12036 Alan Modra <amodra@gmail.com>
12038 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12039 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12040 versions of macros to support ELFv2 ABI.
12041 (LOCALENTRY): New macro.
12042 (ENTRY, EALIGN): Use it.
12043 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12044 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12045 fall through into ENTRY entry point.
12046 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12047 Only define if _CALL_ELF != 2.
12049 (elf_machine_matches_host): Verify ABI version matches.
12050 (RTLD_START): Use LOCALENTRY.
12051 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12052 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12053 (PLT_ENTRY_WORDS): New macro.
12054 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12055 (elf_machine_runtime_setup): Support ELFv2 ABI.
12056 (elf_machine_fixup_plt): Likewise.
12057 (elf_machine_plt_conflict): Likewise.
12058 (resolve_ifunc): Likewise.
12059 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12060 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12063 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12065 (makecontext): Support ELFv2 ABI.
12066 * elf/elf.h (EF_PPC64_ABI): Define.
12068 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12070 * sysdeps/powerpc/powerpc64/sysdep.h
12071 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12072 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12073 (ENTRY) [ASSEMBLER]: ... but instead here ...
12074 (EALIGN) [ASSEMBLER]: ... and here.
12075 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12076 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12077 (ENTRY_2) [!ASSEMBLER]: Use it.
12078 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12079 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
12080 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12081 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12082 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12084 Use PPC64_LOAD_FUNCPTR.
12086 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12088 2013-12-04 Alan Modra <amodra@gmail.com>
12090 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12091 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12092 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12093 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12095 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12096 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12097 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12098 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12099 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12100 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12102 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12105 (__makecontext): Fix incorrect CFI when backtracing out of
12106 context created via makecontext.
12107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12108 (__setcontext): Fix incorrect CFI during switch to new context.
12109 (__novec_setcontext): Likewise.
12111 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12114 * time/strptime_l.c (__strptime_internal): Allow modifiers
12116 * time/tst-strptime.c (day_tests): Add testcase.
12118 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12120 * scripts/bench.pl: Skip over blank lines.
12122 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
12125 * manual/time.texi (Calendar Time): Clarify what timezone functions
12128 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12132 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12134 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12136 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12137 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12138 * debug/memset_chk.c (__memset_chk): Likewise.
12139 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12140 * debug/strncpy_chk.c: Likewise.
12142 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12146 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12147 (__ieee754_exp): For possibly underflowing results, check size of
12148 result and force underflow exception if required.
12149 * math/auto-libm-test-in: Add more tests of exp.
12150 * math/auto-libm-test-out: Regenerated.
12151 * sysdeps/i386/fpu/libm-test-ulps: Update.
12152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12155 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12156 * math/w_exp2f.c (__exp2f): Likewise.
12157 * math/w_exp2l.c (__exp2l): Likewise.
12158 * math/auto-libm-test-in: Do not allow missing errno on exp2
12160 * math/auto-libm-test-out: Regenerated.
12162 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
12165 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12166 handle filename validation.
12167 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12170 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12173 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12174 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12175 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12177 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12178 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12179 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12180 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12181 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12182 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12183 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12184 * math/auto-libm-test-in: Don't allow missing errno from erfc.
12185 Add more erfc tests.
12186 * math/auto-libm-test-out: Regenerated.
12187 * sysdeps/i386/fpu/libm-test-ulps: Update.
12188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12190 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12191 exp2, expm1, j0 and j1.
12192 * math/auto-libm-test-out: Regenerated.
12193 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12194 (erfc_test_data): Likewise.
12195 (exp_test_data): Likewise.
12196 (exp_tonearest_test_data): Likewise.
12197 (exp_towardzero_test_data): Likewise.
12198 (exp_downward_test_data): Likewise.
12199 (exp_upward_test_data): Likewise.
12200 (exp10_test_data): Likewise.
12201 (exp2_test_data): Likewise.
12202 (expm1_test_data): Likewise.
12203 (j0_test_data): Likewise.
12204 (j1_test_data): Likewise.
12205 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12206 (input_flag_type): Add flag_xfail_rounding.
12207 (input_flags): Add xfail-rounding.
12208 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12209 (output_for_one_input_case): Handle flag_xfail_rounding.
12210 * sysdeps/i386/fpu/libm-test-ulps: Update.
12211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12213 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
12216 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12219 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12222 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12223 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12224 (STAP_PROBE0): New macro.
12225 (STAP_PROBE1): Likewise.
12226 (STAP_PROBE2): Likewise.
12227 (STAP_PROBE3): Likewise.
12228 (STAP_PROBE4): Likewise.
12230 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
12232 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12234 2013-12-02 Steve Ellcey <sellcey@mips.com>
12236 * benchtests/Makefile (bench): Add sqrt.
12237 (LDLIBS-bench-sqrt): New.
12238 * benchtests/sqrt-input: New.
12240 2013-12-02 Pavel Simerda <psimerda@redhat.com>
12242 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12243 (GAIH_EAI): Likewise.
12244 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12245 (gaih_inet): Likewise.
12246 (getaddrinfo): Don't use GAIH_EAI.
12248 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12249 (struct gaih): Remove definition.
12251 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12253 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12254 Use HERRNOP directly.
12256 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12260 2013-11-30 Joseph Myers <joseph@codesourcery.com>
12262 * math/gen-auto-libm-tests.c (test_functions): Add more
12263 single-argument functions.
12264 (special_fill_pi_2): New function.
12265 (special_fill_minus_pi_2): Likewise.
12266 (special_fill_pi_6): Likewise.
12267 (special_fill_minus_pi_6): Likewise.
12268 (special_fill_pi_3): Likewise.
12269 (special_fill_2pi_3): Likewise.
12270 (special_fill_e): Likewise.
12271 (special_fill_1_e): Likewise.
12272 (special_fill_e_minus_1): Likewise.
12273 (special_real_inputs): Add more special inputs.
12274 (output_for_one_input_case): Do not require ERANGE on underflow to
12275 zero if round-to-nearest result does not underflow to zero, unless
12276 exact results required.
12277 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12278 atan, atanh, cbrt, cos and cosh.
12279 * math/auto-libm-test-out: Regenerated.
12280 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12281 (acos_tonearest_test_data): Likewise.
12282 (acos_towardzero_test_data): Likewise.
12283 (acos_downward_test_data): Likewise.
12284 (acos_upward_test_data): Likewise.
12285 (acosh_test_data): Likewise.
12286 (asin_test_data): Likewise.
12287 (asin_tonearest_test_data): Likewise.
12288 (asin_towardzero_test_data): Likewise.
12289 (asin_upward_test_data): Likewise.
12290 (asinh_test_data): Likewise.
12291 (atan_test_data): Likewise.
12292 (atanh_test_data): Likewise.
12293 (cbrt_test_data): Likewise.
12294 (cos_test_data): Likewise.
12295 (cos_tonearest_test_data): Likewise.
12296 (cos_towardzero_test_data): Likewise.
12297 (cos_downward_test_data): Likewise.
12298 (cos_upward_test_data): Likewise.
12299 (cosh_test_data): Likewise.
12300 (cosh_tonearest_test_data): Likewise.
12301 (cosh_towardzero_test_data): Likewise.
12302 (cosh_downward_test_data): Likewise.
12303 (cosh_upward_test_data): Likewise.
12304 * sysdeps/i386/fpu/libm-test-ulps: Update.
12305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12307 2013-11-29 Joseph Myers <joseph@codesourcery.com>
12310 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12311 * math/w_exp10f.c (__exp10f): Likewise.
12312 * math/w_exp10l.c (__exp10l): Likewise.
12313 * math/libm-test.inc (exp10_test_data): Add more tests and expect
12314 errno settings in existing tests.
12317 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12318 precision control set to double precision.
12319 * sysdeps/i386/fpu/w_sqrt.c: New file.
12320 * math/auto-libm-test-in: Add more tests.
12321 * math/auto-libm-test-out: Update.
12323 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12324 (sqrt_test_tonearest): New function.
12325 (sqrt_towardzero_test_data): New variable.
12326 (sqrt_test_towardzero): New function.
12327 (sqrt_downward_test_data): New variable.
12328 (sqrt_test_downward): New function.
12329 (sqrt_upward_test_data): New variable.
12330 (sqrt_test_upward): New function.
12331 (main): Call the new functions.
12333 * math/gen-auto-libm-tests.c: New file.
12334 * math/auto-libm-test-in: Likewise.
12335 * math/auto-libm-test-out: New generated file.
12336 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12338 (%beautify): Add generated representations of zero.
12339 (top level): Set $auto_input and call parse_auto_input.
12340 (beautify): Remove trailing "f" from hex float constants.
12341 (parse_args): Handle XFAIL_TEST.
12342 (convert_condition): New function.
12343 (or_value): Likewise.
12344 (or_cond_value): Likewise.
12345 (generate_testfile): Handle AUTO_TESTS_* lines.
12346 (parse_auto_input): New function.
12347 * math/libm-test.inc (XFAIL_TEST): New macro.
12348 (ERRNO_UNCHANGED): Update value.
12349 (ERRNO_EDOM): Likewise.
12350 (ERRNO_ERANGE): Likewise.
12351 (IGNORE_RESULT): Likewise.
12352 (TEST_COND_flt_32): New macro.
12353 (TEST_COND_dbl_64): Likewise.
12354 (TEST_COND_ldbl_96_intel): Likewise.
12355 (TEST_COND_ldbl_96_m68k): Likewise.
12356 (TEST_COND_ldbl_128): Likewise.
12357 (TEST_COND_ldbl_128ibm): Likewise.
12358 (TEST_COND_long32): Likewise.
12359 (TEST_COND_long64): Likewise.
12360 (TEST_COND_before_rounding): Likewise.
12361 (TEST_COND_after_rounding): Likewise.
12362 (enable_test): Handle XFAIL_TEST flag.
12363 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12364 with finite results.
12365 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12366 auto-libm-test-out.
12368 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12369 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12372 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12373 __tls_get_addr_internal instead of __tls_get_offset in order to
12374 avoid GOT pointer dependency. Make rtld export
12375 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12376 __tls_get_addr since we are a __tls_get_offset platform.
12377 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12378 GOT pointer being set up before.
12379 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12381 2013-11-28 Joseph Myers <joseph@codesourcery.com>
12383 * manual/math.texi (Errors in Math Functions): Document accuracy
12387 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12388 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12389 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12390 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12391 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12392 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12393 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12394 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12395 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12396 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12397 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12398 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12399 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12400 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12401 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12402 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12404 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12405 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12406 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12407 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12408 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12410 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12412 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12414 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12415 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12416 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12417 atomic-feupdateenv and flt-rounds.
12418 * sysdeps/powerpc/nofpu/Versions (libc): Add
12419 __atomic_feholdexcept, __atomic_feclearexcept,
12420 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12421 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12422 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12423 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12424 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12429 * manual/arith.texi (FP Exceptions): Document that exceptions may
12430 not be raised when matherr is used.
12431 (Math Error Reporting): Document overflow in directed rounding
12432 modes. Document that errno may not be set when finite values are
12433 returned on overflow. Document intent to set errno on underflow
12434 only for underflow to zero.
12437 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12438 round-to-nearest then adjust result for other rounding modes.
12439 * include/fenv.h (fegetround): Use libm_hidden_proto.
12440 * math/fegetround.c (fegetround): Use libm_hidden_def.
12441 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12442 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12443 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12444 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12446 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12447 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12448 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12449 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12451 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12454 * nss/Versions (libnss_files): Add
12455 _nss_files_gethostbyname3_r.
12456 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12458 (HOST_DB_LOOKUP): Remove macro.
12459 (_nss_files_gethostbyname_r): Implement function without the
12460 HOST_DB_LOOKUP macro.
12461 (_nss_files_gethostbyname2_r): Likewise.
12463 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
12465 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12467 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
12469 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12470 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12473 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12475 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12476 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12477 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12478 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12479 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12480 __fe_nomask_env_priv and attribute_hidden.
12481 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12482 (libc_feupdateenv_test_ppc): Likewise.
12483 (libc_feresetround_ppc): Likewise.
12484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12485 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12486 compat_symbol macro.
12487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12488 (__fe_nomask_env): Likewise.
12489 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12491 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12493 * string/Makefile: Remove ifunc tests.
12494 * string/test-string.h: Define TEST_IFUNC.
12495 * string/test-bcopy-ifunc.c: Remove.
12496 * string/test-bzero-ifunc.c: Likewise.
12497 * string/test-memccpy-ifunc.c: Likewise.
12498 * string/test-memchr-ifunc.c: Likewise.
12499 * string/test-memcmp-ifunc.c: Likewise.
12500 * string/test-memcpy-ifunc.c: Likewise.
12501 * string/test-memmem-ifunc.c: Likewise.
12502 * string/test-memmove-ifunc.c: Likewise.
12503 * string/test-mempcpy-ifunc.c: Likewise.
12504 * string/test-memrchr-ifunc.c: Likewise.
12505 * string/test-memset-ifunc.c: Likewise.
12506 * string/test-rawmemchr-ifunc.c: Likewise.
12507 * string/test-stpcpy-ifunc.c: Likewise.
12508 * string/test-stpncpy-ifunc.c: Likewise.
12509 * string/test-strcasecmp-ifunc.c: Likewise.
12510 * string/test-strcasestr-ifunc.c: Likewise.
12511 * string/test-strcat-ifunc.c: Likewise.
12512 * string/test-strchr-ifunc.c: Likewise.
12513 * string/test-strchrnul-ifunc.c: Likewise.
12514 * string/test-strcmp-ifunc.c: Likewise.
12515 * string/test-strcpy-ifunc.c: Likewise.
12516 * string/test-strcspn-ifunc.c: Likewise.
12517 * string/test-strlen-ifunc.c: Likewise.
12518 * string/test-strncasecmp-ifunc.c: Likewise.
12519 * string/test-strncat-ifunc.c: Likewise.
12520 * string/test-strncmp-ifunc.c: Likewise.
12521 * string/test-strncpy-ifunc.c: Likewise.
12522 * string/test-strnlen-ifunc.c: Likewise.
12523 * string/test-strpbrk-ifunc.c: Likewise.
12524 * string/test-strrchr-ifunc.c: Likewise.
12525 * string/test-strspn-ifunc.c: Likewise.
12526 * string/test-strstr-ifunc.c: Likewise.
12528 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12530 * benchtests/Makefile: Remove ifunc tests.
12531 * benchtests/bench-string.h: Define TEST_IFUNC.
12532 * benchtests/bench-bcopy-ifunc.c: Remove.
12533 * benchtests/bench-bzero-ifunc.c: Likewise.
12534 * benchtests/bench-memccpy-ifunc.c: Likewise.
12535 * benchtests/bench-memchr-ifunc.c: Likewise.
12536 * benchtests/bench-memcmp-ifunc.c: Likewise.
12537 * benchtests/bench-memcpy-ifunc.c: Likewise.
12538 * benchtests/bench-memmem-ifunc.c: Likewise.
12539 * benchtests/bench-memmove-ifunc.c: Likewise.
12540 * benchtests/bench-mempcpy-ifunc.c: Likewise.
12541 * benchtests/bench-memrchr-ifunc.c: Likewise.
12542 * benchtests/bench-memset-ifunc.c: Likewise.
12543 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12544 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12545 * benchtests/bench-stpcpy-ifunc.c: Likewise.
12546 * benchtests/bench-stpncpy-ifunc.c: Likewise.
12547 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12548 * benchtests/bench-strcasestr-ifunc.c: Likewise.
12549 * benchtests/bench-strcat-ifunc.c: Likewise.
12550 * benchtests/bench-strchr-ifunc.c: Likewise.
12551 * benchtests/bench-strchrnul-ifunc.c: Likewise.
12552 * benchtests/bench-strcmp-ifunc.c: Likewise.
12553 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12554 * benchtests/bench-strcpy-ifunc.c: Likewise.
12555 * benchtests/bench-strcspn-ifunc.c: Likewise.
12556 * benchtests/bench-strlen-ifunc.c: Likewise.
12557 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12558 * benchtests/bench-strncat-ifunc.c: Likewise.
12559 * benchtests/bench-strncmp-ifunc.c: Likewise.
12560 * benchtests/bench-strncpy-ifunc.c: Likewise.
12561 * benchtests/bench-strnlen-ifunc.c: Likewise.
12562 * benchtests/bench-strpbrk-ifunc.c: Likewise.
12563 * benchtests/bench-strrchr-ifunc.c: Likewise.
12564 * benchtests/bench-strsep-ifunc.c: Likewise.
12565 * benchtests/bench-strspn-ifunc.c: Likewise.
12566 * benchtests/bench-strstr-ifunc.c: Likewise.
12568 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12570 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12572 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12574 * resolv/netdb.h: Use __glibc_reserved instead __unused.
12575 * rt/aio.h: Likewise.
12576 * sysdeps/gnu/bits/utmp.h: Likewise.
12577 * sysdeps/gnu/bits/utmpx.h: Likewise.
12578 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12579 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12580 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12581 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12582 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12583 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12584 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12585 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12586 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12587 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12588 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12589 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12590 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12592 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12593 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12594 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12595 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12596 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12597 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12598 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12599 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12600 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12601 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12602 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12603 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12604 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12605 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12606 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12607 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12608 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12609 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12610 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12611 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12612 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12613 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12614 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12615 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12616 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12617 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12618 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12619 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12621 2013-11-25 Carlos O'Donell <carlos@redhat.com>
12624 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12625 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12627 2013-11-25 Joseph Myers <joseph@codesourcery.com>
12629 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12630 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12633 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12635 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12636 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12637 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12638 (__fesetround): Remove define.
12639 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12640 rounding and exceptions handling.
12641 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12642 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12643 (__fe_nomask_env): Likewise.
12644 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12645 __fegetround instead of fegetround.
12646 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12647 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12649 2013-11-21 Roland McGrath <roland@hack.frob.com>
12651 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12654 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12656 2013-11-21 Meador Inge <meadori@codesourcery.com>
12659 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12660 (encrypt_r): Likewise.
12661 * malloc/obstack.h (obstack_free): Likewise.
12662 * posix/unistd.h (encrypt): Likewise.
12664 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
12666 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12667 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12668 DL_CALL_DT_FINI() that call the functions directly.
12669 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12670 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12671 * elf/dl-fini.c: Likewise.
12673 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
12675 * malloc/hooks.c (memalign_check): Add alignment rounding.
12676 * malloc/malloc.c (_mid_memalign): New function.
12677 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12678 Implement by calling _mid_memalign.
12679 * manual/probes.texi (Memory Allocation Probes): Remove
12680 memory_valloc_retry and memory_pvalloc_retry.
12682 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12684 * locale/programs/locarchive.c (open_archive): Add const
12685 qualifier to ARCHIVEFNAME and copy default fname to
12689 * libio/tst-widetext.input: Rename Oriya to Odia.
12690 * locale/iso-639.def: Likewise.
12692 * manual/probes.texi (Mathematical Function Probes): Add
12693 documentation for sin, cos, asin and acos probes.
12694 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12695 (__sin32): Add slowasin probe.
12696 (__cos32): Add slowacos probe.
12697 (__mpsin): Add slowsin probe.
12698 (__mpcos): Add slowcos probe.
12700 2013-11-19 Joseph Myers <joseph@codesourcery.com>
12703 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12704 thread-local __sim_exceptions_thread and global
12705 __sim_exceptions_global.
12706 (__sim_disabled_exceptions): Change to thread-local
12707 __sim_disabled_exceptions_thread and global
12708 __sim_disabled_exceptions_global.
12709 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12710 and global __sim_round_mode_global.
12711 (__simulate_exceptions): Use thread-local floating-point state and
12712 set global state from it as needed.
12713 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12714 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12715 __sim_round_mode_thread.
12716 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12717 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12718 and global __sim_exceptions_global.
12719 (__sim_disabled_exceptions): Change to thread-local
12720 __sim_disabled_exceptions_thread and global
12721 __sim_disabled_exceptions_global.
12722 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12723 and global __sim_round_mode_global.
12724 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12725 (SIM_SET_GLOBAL): Likewise.
12726 * sysdeps/powerpc/soft-fp/sfp-machine.h
12727 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12728 __sim_round_mode_thread.
12729 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12730 __sim_disabled_exceptions_thread.
12731 (__sim_exceptions): Change to __sim_exceptions_thread.
12732 (__sim_disabled_exceptions): Change to
12733 __sim_disabled_exceptions_thread.
12734 (__sim_round_mode): Change to __sim_round_mode_thread.
12735 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12736 thread-local floating-point state and set global state from it as
12738 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12739 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12740 (__sim_disabled_exceptions): Remove extern declaration.
12741 (feenableexcept): Use thread-local floating-point state and set
12742 global state from it as needed.
12743 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12744 extern declaration.
12745 (__sim_disabled_exceptions): Likewise.
12746 (__sim_round_mode): Likewise.
12747 (__fegetenv): Use thread-local floating-point state.
12748 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12749 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12750 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12751 floating-point state and set global state from it as needed.
12752 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12753 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12754 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12756 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12757 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12759 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12760 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12761 Use __sim_round_mode_thread.
12762 * math/test-fenv-tls.c: New file.
12763 * math/Makefile (tests): Add test-fenv-tls.
12764 ($(objpfx)test-fenv-tls): Depend on
12765 $(common-objpfx)nptl/libpthread.so.
12767 2013-11-19 Andreas Schwab <schwab@suse.de>
12769 * locale/programs/locale.c (show_info): Decode wordarray elements.
12770 * locale/categories.def (LC_MONETARY): Add element for
12771 _NL_MONETARY_CRNCYSTR.
12772 * locale/C-monetary.c (conversion_rate): New variable.
12773 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12776 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
12778 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12779 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12781 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12783 * elf/Makefile (tst-auxv): New test.
12784 * elf/tst-auxv.c: New
12785 * elf/rtld.c (dl_main): Adjust AT_EXECFN
12787 2013-11-18 Joseph Myers <joseph@codesourcery.com>
12789 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12790 (hidden_proto): Caller changed.
12791 (hidden_tls_proto): New macro.
12792 (libc_hidden_tls_proto): Likewise.
12793 (rtld_hidden_tls_proto): Likewise.
12794 (libm_hidden_tls_proto): Likewise.
12795 (libresolv_hidden_tls_proto): Likewise.
12796 (librt_hidden_tls_proto): Likewise.
12797 (libdl_hidden_tls_proto): Likewise.
12798 (libnss_files_hidden_tls_proto): Likewise.
12799 (libnsl_hidden_tls_proto): Likewise.
12800 (libnss_nisplus_hidden_tls_proto): Likewise.
12801 (libutil_hidden_tls_proto): Likewise.
12803 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
12806 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12807 (decompose_rpath): Defer expansion to fillin_rpath.
12808 (_dl_init_paths): Pass linkmap to fillin_rpath.
12810 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12812 * benchtests/Makefile: Add strsep.
12813 * benchtests/bench-strsep.c: New file: strsep benchtest.
12814 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12816 2013-11-18 Andreas Schwab <schwab@suse.de>
12818 * locale/programs/locale.c (show_info) [case byte]: Check for
12819 '\377' instead of '\177'.
12820 * locale/C-monetary.c (not_available): Always use "\377".
12821 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12822 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
12823 detect unavailable sign_posn locale elements.
12824 * locale/localeconv.c (__localeconv): For grouping and
12825 mon_grouping handle "\177" and "\377" like no grouping.
12826 (INT_ELEM): New macro. Use it to set all numeric members.
12827 * locale/programs/ld-monetary.c (monetary_read)
12828 <tok_mon_grouping>: Normalize single -1 to the empty string.
12829 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12832 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12835 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12836 when we match (nil).
12837 * stdio-common/tst-sscanf.c (struct test): Add testcase.
12839 2013-11-16 Joseph Myers <joseph@codesourcery.com>
12841 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12842 (NO_TEST_INLINE): Update value.
12843 (ERRNO_UNCHANGED): Likewise.
12844 (ERRNO_EDOM): Likewise.
12845 (ERRNO_ERANGE): Likewise.
12846 (IGNORE_RESULT): Likewise.
12847 (check_float_internal): Check signs of NaN results if
12848 TEST_NAN_SIGN used.
12849 (check_complex): Pass TEST_NAN_SIGN flag through to second
12850 check_float_internal call.
12851 (copysign_test_data): Add tests with quiet NaNs as second
12852 argument. Use TEST_NAN_SIGN.
12853 (fabs_test_data): Add test of negative quiet NaN argument. Use
12855 (signbit_test_data): Add tests of quiet NaN argument.
12856 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12858 * math/gen-libm-test.pl (show_exceptions): Take extra argument
12860 (parse_args): Handle function results specified as IGNORE.
12861 * math/libm-test.inc (IGNORE_RESULT): New macro.
12862 (check_float_internal): Do not check numerical result if flag
12864 (check_complex): Pass through IGNORE_RESULT to second
12865 check_float_internal call.
12866 (check_int): Do not check numerical result if flag IGNORE_RESULT
12868 (check_long): Likewise.
12869 (check_bool): Likewise.
12870 (check_longlong): Likewise.
12871 (lrint_test_data): Add tests of infinite and NaN arguments.
12872 (lrint_tonearest_test_data): Likewise.
12873 (lrint_towardzero_test_data): Likewise.
12874 (lrint_downward_test_data): Likewise.
12875 (lrint_upward_test_data): Likewise.
12876 (llrint_test_data): Likewise.
12877 (llrint_tonearest_test_data): Likewise.
12878 (llrint_towardzero_test_data): Likewise.
12879 (llrint_downward_test_data): Likewise.
12880 (llrint_upward_test_data): Likewise.
12881 (lround_test_data): Likewise.
12882 (llround_test_data): Likewise.
12884 * math/libm-test.inc (NO_TEST_INLINE): New macro.
12885 (ERRNO_UNCHANGED): Update value.
12886 (ERRNO_EDOM): Likewise.
12887 (ERRNO_ERANGE): Likewise.
12888 (NO_TEST_INLINE_FLOAT): New macro.
12889 (NO_TEST_INLINE_DOUBLE): Likewise.
12890 (enable_test): New function.
12891 (RUN_TEST_f_f): Check enable_test before running test.
12892 (RUN_TEST_2_f): Likewise.
12893 (RUN_TEST_fff_f): Likewise.
12894 (RUN_TEST_c_f): Likewise.
12895 (RUN_TEST_f_f1): Likewise.
12896 (RUN_TEST_fF_f1): Likewise.
12897 (RUN_TEST_fI_f1): Likewise.
12898 (RUN_TEST_ffI_f1): Likewise.
12899 (RUN_TEST_c_c): Likewise.
12900 (RUN_TEST_cc_c): Likewise.
12901 (RUN_TEST_f_i): Likewise.
12902 (RUN_TEST_f_i_tg): Likewise.
12903 (RUN_TEST_ff_i_tg): Likewise.
12904 (RUN_TEST_f_b): Likewise.
12905 (RUN_TEST_f_b_tg): Likewise.
12906 (RUN_TEST_f_l): Likewise.
12907 (RUN_TEST_f_L): Likewise.
12908 (RUN_TEST_fFF_11): Likewise.
12909 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12911 (cosh_test_data): Likewise.
12912 (exp_test_data): Likewise.
12913 (expm1_test_data): Likewise.
12914 (hypot_test_data): Likewise.
12915 (pow_test_data): Likewise.
12916 (sinh_test_data): Likewise.
12917 (tanh_test_data): Likewise.
12918 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12921 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12922 tests with quiet NaN input and output.
12923 (acosh_test_data): Likewise.
12924 (asin_test_data): Likewise.
12925 (asinh_test_data): Likewise.
12926 (atan_test_data): Likewise.
12927 (atanh_test_data): Likewise.
12928 (atan2_test_data): Likewise.
12929 (cbrt_test_data): Likewise.
12930 (cos_test_data): Likewise.
12931 (cosh_test_data): Likewise.
12932 (erf_test_data): Likewise.
12933 (erfc_test_data): Likewise.
12934 (exp_test_data): Likewise.
12935 (exp10_test_data): Likewise.
12936 (exp2_test_data): Likewise.
12937 (expm1_test_data): Likewise.
12938 (hypot_test_data): Likewise.
12939 (j0_test_data): Likewise.
12940 (j1_test_data): Likewise.
12941 (jn_test_data): Likewise.
12942 (lgamma_test_data): Likewise.
12943 (log_test_data): Likewise.
12944 (log10_test_data): Likewise.
12945 (log1p_test_data): Likewise.
12946 (log2_test_data): Likewise.
12947 (pow_test_data): Likewise.
12948 (scalb_test_data): Likewise.
12949 (sin_test_data): Likewise.
12950 (sincos_test_data): Likewise.
12951 (sinh_test_data): Likewise.
12952 (tan_test_data): Likewise.
12953 (tanh_test_data): Likewise.
12954 (tgamma_test_data): Likewise.
12955 (y0_test_data): Likewise.
12956 (y1_test_data): Likewise.
12957 (yn_test_data): Likewise.
12960 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12961 argument being NaN and avoid computations with second argument in
12963 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12964 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12965 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12967 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
12969 * locale/iso-639.def: Add Chitwani Tharu (the).
12971 2013-11-14 Andreas Schwab <schwab@suse.de>
12973 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12974 word instead of empty string.
12976 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12979 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12981 (__fe_nomask_env): Likewise.
12983 2013-11-13 Steve Ellcey <sellcey@mips.com>
12985 * benchtests/bench-timing.h: Include time.h.
12987 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
12990 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12992 * sysdeps/unix/sysv/linux/configure: Regenerated.
12994 2013-11-13 Joseph Myers <joseph@codesourcery.com>
12997 * stdlib/strtod_l.c (round_and_return): Do not consider
12998 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12999 exponent one less than half the least subnormal exponent.
13000 * stdlib/test-strtod-round-data: Add more tests.
13001 * stdlib/tst-strtod-round.c (tests): Regenerated.
13003 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13006 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13007 (__fe_mask_env): Likewise.
13008 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13009 libm_hidden_proto and add function prototype.
13010 (__fe_mask_env): Add function prototype.
13011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13012 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13014 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13016 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13018 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13020 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13021 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13023 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13025 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13026 of htab_find_slot().
13028 2013-11-11 David S. Miller <davem@davemloft.net>
13031 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13032 symbol in the non-vis3 case in static builds.
13033 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13034 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13035 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13036 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13038 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13041 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13044 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13046 * benchtests/Makefile: Add bench-strtod.
13047 * benchtests/bench-strtod.c: New file: strtod benchtest
13049 2013-11-11 Andreas Schwab <schwab@suse.de>
13052 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13053 terminating NUL in key length.
13055 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13057 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13058 Add artificial ODP entry for vDSO symbol for PPC64.
13059 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13060 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13062 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13065 * nss/getent.c (services_keys): Recognize services starting with digit.
13067 2013-11-06 David S. Miller <davem@davemloft.net>
13070 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13071 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13073 2013-11-06 Will Newton <will.newton@linaro.org>
13075 * manual/memory.texi (Malloc Examples): Remove register
13076 keyword from examples.
13078 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
13080 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13082 2013-11-04 Joseph Myers <joseph@codesourcery.com>
13085 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13086 depending on [__GCC_IEC_559 > 0].
13087 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13088 depending on [__GCC_IEC_559_COMPLEX > 0].
13090 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
13092 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13095 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
13097 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13099 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
13102 * malloc/malloc (malloc_info): Do not handle first bin as
13105 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
13107 * locale/iso-639.def: Add Central Nahuatl (nhn).
13109 2013-11-01 Bruno Haible <bruno@clisp.org>
13112 * manual/math.texi (BSD Random): Specify range upper bound as
13115 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
13117 * locale/iso-639.def: Add Meadow Mari (mhr).
13119 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
13121 [BZ #14752], [BZ #15763]
13122 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13124 * rt/tst_shm.c: Add test for escaping directory.
13126 2013-10-31 Andreas Schwab <schwab@suse.de>
13129 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13130 followed by 'x' as part of digit sequence.
13131 * stdio-common/tst-sscanf.c (double_tests2): New tests.
13133 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13136 * configure.ac: allow GNU Make 4.0 and greater.
13137 * configure: Regenerated.
13139 2013-10-30 Will Newton <will.newton@linaro.org>
13142 * malloc/hooks.c (memalign_check): Limit alignment to the
13143 maximum representable power of two.
13144 * malloc/malloc.c (__libc_memalign): Likewise.
13145 * malloc/tst-memalign.c (do_test): Add test for very
13146 large alignment values.
13147 * malloc/tst-posix_memalign.c (do_test): Likewise.
13149 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13152 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13153 (munmap_chunk): Likewise.
13154 (mremap_chunk): Likewise.
13156 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13159 * stdlib/div.c (div): Remove obsolete code.
13160 * stdlib/ldiv.c (ldiv): Likewise.
13161 * stdlib/lldiv.c (lldiv): Likewise.
13163 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13166 * nss/nss_files/files-XXX.c (get_contents_ret): New
13168 (get_contents): New function.
13169 (internal_getent): Use it. Expand size of LINEBUFLEN.
13171 2013-10-30 Mike Frysinger <vapier@gentoo.org>
13173 * configure.in: Moved to ...
13174 * configure.ac: ... here. Change reference to configure.in
13176 * sysdeps/arm/preconfigure.ac: ... here.
13177 configure.in to configure.ac.
13178 * sysdeps/gnu/configure.in: Moved to ...
13179 * sysdeps/gnu/configure.ac: ... here.
13180 * sysdeps/i386/configure.in: Moved to ...
13181 * sysdeps/i386/configure.ac: ... here.
13182 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13183 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13184 * sysdeps/mach/configure.in: Moved to ...
13185 * sysdeps/mach/configure.ac: ... here.
13186 * sysdeps/mach/hurd/configure.in: Moved to ...
13187 * sysdeps/mach/hurd/configure.ac: ... here.
13188 * sysdeps/powerpc/configure.in: Moved to ...
13189 * sysdeps/powerpc/configure.ac: ... here.
13190 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13191 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13192 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13193 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13194 * sysdeps/s390/s390-32/configure.in: Moved to ...
13195 * sysdeps/s390/s390-32/configure.ac: ... here.
13196 * sysdeps/s390/s390-64/configure.in: Moved to ...
13197 * sysdeps/s390/s390-64/configure.ac: ... here.
13198 * sysdeps/sh/configure.in: Moved to ...
13199 * sysdeps/sh/configure.ac: ... here.
13200 * sysdeps/sparc/configure.in: Moved to ...
13201 * sysdeps/sparc/configure.ac: ... here.
13202 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13203 * sysdeps/unix/sysv/linux/configure.ac: ... here.
13204 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13205 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13206 * sysdeps/x86_64/configure.in: Moved to ...
13207 * sysdeps/x86_64/configure.ac: ... here.
13208 * sysdeps/x86_64/preconfigure.in: Moved to ...
13209 * sysdeps/x86_64/preconfigure.ac: ... here.
13210 * aclocal.m4: Change reference to configure.in to configure.ac.
13211 * config.h.in: Likewise.
13212 * manual/install.texi: Likewise.
13213 * manual/maint.texi: Likewise.
13214 * Makefile: Likewise.
13215 * malloc/Makefile: Likewise.
13216 * nscd/Makefile: Likewise.
13217 * Makeconfig: Change reference to configure.in and
13218 preconfigure.in to configure.ac and preconfigure.ac
13220 * INSTALL: Regenerated.
13221 * configure: Likewise.
13222 * sysdeps/gnu/configure: Likewise.
13223 * sysdeps/i386/configure: Likewise.
13224 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13225 * sysdeps/mach/configure: Likewise.
13226 * sysdeps/mach/hurd/configure: Likewise.
13227 * sysdeps/powerpc/configure: Likewise.
13228 * sysdeps/powerpc/powerpc32/configure: Likewise.
13229 * sysdeps/powerpc/powerpc64/configure: Likewise.
13230 * sysdeps/s390/s390-32/configure: Likewise.
13231 * sysdeps/s390/s390-64/configure: Likewise.
13232 * sysdeps/sh/configure: Likewise.
13233 * sysdeps/sparc/configure: Likewise.
13234 * sysdeps/unix/sysv/linux/configure: Likewise.
13235 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13236 * sysdeps/x86_64/configure: Likewise.
13237 * sysdeps/x86_64/preconfigure: Likewise.
13239 2013-10-29 Andreas Schwab <schwab@suse.de>
13241 * stdio-common/Makefile (tst-swscanf-ENV): Define.
13243 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13245 * benchtests/pow-inputs: Add new inputs.
13247 * benchtests/exp-inputs: Add new inputs.
13249 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13250 conditional check for return value.
13251 (__cos32): Likewise.
13253 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13255 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13256 to provide a boost for large inputs with word alignment.
13257 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13258 implementation based on optimized PPC64 strcpy.
13259 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13260 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13261 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13262 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13264 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13267 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13269 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13272 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13273 * time/tst-strptime.c (day_tests): Add testcase.
13275 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13278 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13280 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13283 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13284 MAP_FAILED on error.
13286 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13289 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13290 heap for large requests.
13292 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13295 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13296 result if the result has no associated interface.
13297 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13298 interface for all 127.X.Y.Z addresses.
13300 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
13302 * locale/iso-639.def: Add Ligurian (lij)
13304 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
13307 * sunrpc/rpc_main.c: Document rpcgen -5.
13309 2013-10-19 Michael Stahl <mstahl@redhat.com>
13311 * elf/rtld.c (do_preload): Print the reason why preloading failed.
13313 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13316 * posix/glob.c: Match only directories when trailing slash is present.
13317 * posix/tst-gnuglob.c (my_opendir): Do not open files.
13318 (main): Add testcase.
13320 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13323 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13325 2013-10-18 Carlos O'Donell <carlos@redhat.com>
13327 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13328 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13329 AUTH_DES and cindex for FIPS 140-2.
13330 (DES Encryption): Add cindex FIPS 46-3.
13332 * locale/locarchive.h (struct locarhandle): Add fname.
13333 * locale/programs/localedef.c (main): Pass ARGV[remaining]
13334 if an optional argument was specified to --list-archive,
13336 * locale/programs/locarchive.c (show_archive_content): Take new
13337 argument fname and pass it via ah.fname to open_archive.
13338 * locale/programs/localedef.h: Update decl.
13339 (open_archive): If AH->fname is non-null, open that file
13340 rather than the default file name, and don't ignore ENOENT.
13341 (create_archive): Set AH.fname to NULL.
13342 (delete_locales_from_archive): Likewise.
13343 (add_locales_to_archive): Likewise.
13344 * locale/programs/locfile.c (write_all_categories): Likewise.
13346 2013-10-18 Joseph Myers <joseph@codesourcery.com>
13347 Aldy Hernandez <aldyh@redhat.com>
13349 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13350 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13351 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13352 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13353 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13354 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13355 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13356 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13357 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13358 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13359 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13360 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13361 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13362 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13363 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13365 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13367 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13369 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13371 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13372 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13374 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13375 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13376 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13377 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13379 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13380 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13381 * sysdeps/powerpc/preconfigure: Likewise.
13382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13384 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13385 Replace contents of file by #include of <fenv_libc.h>.
13386 * sysdeps/powerpc/soft-fp/sfp-machine.h
13387 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13389 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13390 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13391 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13392 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13393 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13394 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13395 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13396 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13397 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13398 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13399 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13400 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13402 Allow copysignl PLT reference to be missing.
13404 2013-10-18 Richard Sandiford <richard@codesourcery.com>
13405 Joseph Myers <joseph@codesourcery.com
13408 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13410 (add_to_tablewc): Assert sequence of wide characters is nonempty.
13412 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13414 * elf/tst-tls-dlinfo.c: Don't include tls.h.
13415 * elf/tst-tls1.c: Likewise.
13416 * elf/tst-tls10.h: Likewise.
13417 * elf/tst-tls14.c: Likewise.
13418 * elf/tst-tls2.c: Likewise.
13419 * elf/tst-tls3.c: Likewise.
13420 * elf/tst-tls4.c: Likewise.
13421 * elf/tst-tls5.c: Likewise.
13422 * elf/tst-tls6.c: Likewise.
13423 * elf/tst-tls7.c: Likewise.
13424 * elf/tst-tls8.c: Likewise.
13425 * elf/tst-tls9.c: Likewise.
13426 * elf/tst-tlsmod1.c: Likewise.
13427 * elf/tst-tlsmod13.c: Likewise.
13428 * elf/tst-tlsmod13a.c: Likewise.
13429 * elf/tst-tlsmod14a.c: Likewise.
13430 * elf/tst-tlsmod16a.c: Likewise.
13431 * elf/tst-tlsmod16b.c: Likewise.
13432 * elf/tst-tlsmod2.c: Likewise.
13433 * elf/tst-tlsmod3.c: Likewise.
13434 * elf/tst-tlsmod4.c: Likewise.
13435 * elf/tst-tlsmod5.c: Likewise.
13436 * elf/tst-tlsmod6.c: Likewise.
13438 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
13441 * malloc/malloc.c: remove checks for statistics.
13443 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13446 * inet/inet_net.c (inet_network): Detect additional invalid strings.
13447 * inet/tst-network.c: Add testcase.
13449 2013-10-17 Andreas Schwab <schwab@suse.de>
13452 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13453 to determine canonical name.
13455 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13457 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13458 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13459 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13460 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13461 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13462 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13463 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13464 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13465 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13466 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13467 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13468 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13469 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13470 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13471 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13472 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13473 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13474 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13475 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13476 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13477 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13478 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13479 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13480 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13481 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13482 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13483 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13484 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13485 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13486 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13487 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13488 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13489 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13490 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13491 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13492 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13493 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13494 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13495 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13496 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13497 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13498 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13499 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13500 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13501 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13502 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13503 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13504 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13505 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13506 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13507 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13508 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13509 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13510 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13511 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13512 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13513 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13514 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13516 2013-10-17 Joseph Myers <joseph@codesourcery.com>
13519 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13520 make result into a quiet NaN.
13522 2013-10-16 Joseph Myers <joseph@codesourcery.com>
13524 * soft-fp/adddf3.c: Fix horizontal whitespace.
13525 * soft-fp/addsf3.c: Likewise.
13526 * soft-fp/addtf3.c: Likewise.
13527 * soft-fp/divdf3.c: Likewise.
13528 * soft-fp/divsf3.c: Likewise.
13529 * soft-fp/divtf3.c: Likewise.
13530 * soft-fp/double.h: Likewise.
13531 * soft-fp/eqdf2.c: Likewise.
13532 * soft-fp/eqsf2.c: Likewise.
13533 * soft-fp/eqtf2.c: Likewise.
13534 * soft-fp/extenddftf2.c: Likewise.
13535 * soft-fp/extended.h: Likewise.
13536 * soft-fp/extendsfdf2.c: Likewise.
13537 * soft-fp/extendsftf2.c: Likewise.
13538 * soft-fp/extendxftf2.c: Likewise.
13539 * soft-fp/fixdfdi.c: Likewise.
13540 * soft-fp/fixdfsi.c: Likewise.
13541 * soft-fp/fixdfti.c: Likewise.
13542 * soft-fp/fixsfdi.c: Likewise.
13543 * soft-fp/fixsfsi.c: Likewise.
13544 * soft-fp/fixsfti.c: Likewise.
13545 * soft-fp/fixtfdi.c: Likewise.
13546 * soft-fp/fixtfsi.c: Likewise.
13547 * soft-fp/fixtfti.c: Likewise.
13548 * soft-fp/fixunsdfdi.c: Likewise.
13549 * soft-fp/fixunsdfsi.c: Likewise.
13550 * soft-fp/fixunsdfti.c: Likewise.
13551 * soft-fp/fixunssfdi.c: Likewise.
13552 * soft-fp/fixunssfsi.c: Likewise.
13553 * soft-fp/fixunssfti.c: Likewise.
13554 * soft-fp/fixunstfdi.c: Likewise.
13555 * soft-fp/fixunstfsi.c: Likewise.
13556 * soft-fp/fixunstfti.c: Likewise.
13557 * soft-fp/floatdidf.c: Likewise.
13558 * soft-fp/floatdisf.c: Likewise.
13559 * soft-fp/floatditf.c: Likewise.
13560 * soft-fp/floatsidf.c: Likewise.
13561 * soft-fp/floatsisf.c: Likewise.
13562 * soft-fp/floatsitf.c: Likewise.
13563 * soft-fp/floattidf.c: Likewise.
13564 * soft-fp/floattisf.c: Likewise.
13565 * soft-fp/floattitf.c: Likewise.
13566 * soft-fp/floatundidf.c: Likewise.
13567 * soft-fp/floatundisf.c: Likewise.
13568 * soft-fp/floatunditf.c: Likewise.
13569 * soft-fp/floatunsidf.c: Likewise.
13570 * soft-fp/floatunsisf.c: Likewise.
13571 * soft-fp/floatunsitf.c: Likewise.
13572 * soft-fp/floatuntidf.c: Likewise.
13573 * soft-fp/floatuntisf.c: Likewise.
13574 * soft-fp/floatuntitf.c: Likewise.
13575 * soft-fp/fmadf4.c: Likewise.
13576 * soft-fp/fmasf4.c: Likewise.
13577 * soft-fp/fmatf4.c: Likewise.
13578 * soft-fp/gedf2.c: Likewise.
13579 * soft-fp/gesf2.c: Likewise.
13580 * soft-fp/getf2.c: Likewise.
13581 * soft-fp/ledf2.c: Likewise.
13582 * soft-fp/lesf2.c: Likewise.
13583 * soft-fp/letf2.c: Likewise.
13584 * soft-fp/muldf3.c: Likewise.
13585 * soft-fp/mulsf3.c: Likewise.
13586 * soft-fp/multf3.c: Likewise.
13587 * soft-fp/negdf2.c: Likewise.
13588 * soft-fp/negsf2.c: Likewise.
13589 * soft-fp/negtf2.c: Likewise.
13590 * soft-fp/op-1.h: Likewise.
13591 * soft-fp/op-2.h: Likewise.
13592 * soft-fp/op-4.h: Likewise.
13593 * soft-fp/op-8.h: Likewise.
13594 * soft-fp/op-common.h: Likewise.
13595 * soft-fp/quad.h: Likewise.
13596 * soft-fp/single.h: Likewise.
13597 * soft-fp/soft-fp.h: Likewise.
13598 * soft-fp/sqrtdf2.c: Likewise.
13599 * soft-fp/sqrtsf2.c: Likewise.
13600 * soft-fp/sqrttf2.c: Likewise.
13601 * soft-fp/subdf3.c: Likewise.
13602 * soft-fp/subsf3.c: Likewise.
13603 * soft-fp/subtf3.c: Likewise.
13604 * soft-fp/truncdfsf2.c: Likewise.
13605 * soft-fp/trunctfdf2.c: Likewise.
13606 * soft-fp/trunctfsf2.c: Likewise.
13607 * soft-fp/trunctfxf2.c: Likewise.
13608 * soft-fp/unorddf2.c: Likewise.
13609 * soft-fp/unordsf2.c: Likewise.
13610 * soft-fp/unordtf2.c: Likewise.
13612 2013-10-15 Joseph Myers <joseph@codesourcery.com>
13614 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13615 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13617 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
13619 * elf/dl-libc.c: Clear initfini list after freeing.
13621 2013-10-14 Joseph Myers <joseph@codesourcery.com>
13623 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13624 * soft-fp/addsf3.c: Likewise.
13625 * soft-fp/addtf3.c: Likewise.
13626 * soft-fp/divdf3.c: Likewise.
13627 * soft-fp/divsf3.c: Likewise.
13628 * soft-fp/divtf3.c: Likewise.
13629 * soft-fp/double.h: Likewise.
13630 * soft-fp/eqdf2.c: Likewise.
13631 * soft-fp/eqsf2.c: Likewise.
13632 * soft-fp/eqtf2.c: Likewise.
13633 * soft-fp/extenddftf2.c: Likewise.
13634 * soft-fp/extended.h: Likewise.
13635 * soft-fp/extendsfdf2.c: Likewise.
13636 * soft-fp/extendsftf2.c: Likewise.
13637 * soft-fp/extendxftf2.c: Likewise.
13638 * soft-fp/fixdfdi.c: Likewise.
13639 * soft-fp/fixdfsi.c: Likewise.
13640 * soft-fp/fixdfti.c: Likewise.
13641 * soft-fp/fixsfdi.c: Likewise.
13642 * soft-fp/fixsfsi.c: Likewise.
13643 * soft-fp/fixsfti.c: Likewise.
13644 * soft-fp/fixtfdi.c: Likewise.
13645 * soft-fp/fixtfsi.c: Likewise.
13646 * soft-fp/fixtfti.c: Likewise.
13647 * soft-fp/fixunsdfdi.c: Likewise.
13648 * soft-fp/fixunsdfsi.c: Likewise.
13649 * soft-fp/fixunsdfti.c: Likewise.
13650 * soft-fp/fixunssfdi.c: Likewise.
13651 * soft-fp/fixunssfsi.c: Likewise.
13652 * soft-fp/fixunssfti.c: Likewise.
13653 * soft-fp/fixunstfdi.c: Likewise.
13654 * soft-fp/fixunstfsi.c: Likewise.
13655 * soft-fp/fixunstfti.c: Likewise.
13656 * soft-fp/floatdidf.c: Likewise.
13657 * soft-fp/floatdisf.c: Likewise.
13658 * soft-fp/floatditf.c: Likewise.
13659 * soft-fp/floatsidf.c: Likewise.
13660 * soft-fp/floatsisf.c: Likewise.
13661 * soft-fp/floatsitf.c: Likewise.
13662 * soft-fp/floattidf.c: Likewise.
13663 * soft-fp/floattisf.c: Likewise.
13664 * soft-fp/floattitf.c: Likewise.
13665 * soft-fp/floatundidf.c: Likewise.
13666 * soft-fp/floatundisf.c: Likewise.
13667 * soft-fp/floatunsidf.c: Likewise.
13668 * soft-fp/floatunsisf.c: Likewise.
13669 * soft-fp/floatuntidf.c: Likewise.
13670 * soft-fp/floatuntisf.c: Likewise.
13671 * soft-fp/floatuntitf.c: Likewise.
13672 * soft-fp/fmadf4.c: Likewise.
13673 * soft-fp/fmasf4.c: Likewise.
13674 * soft-fp/fmatf4.c: Likewise.
13675 * soft-fp/gedf2.c: Likewise.
13676 * soft-fp/gesf2.c: Likewise.
13677 * soft-fp/getf2.c: Likewise.
13678 * soft-fp/ledf2.c: Likewise.
13679 * soft-fp/lesf2.c: Likewise.
13680 * soft-fp/letf2.c: Likewise.
13681 * soft-fp/muldf3.c: Likewise.
13682 * soft-fp/mulsf3.c: Likewise.
13683 * soft-fp/multf3.c: Likewise.
13684 * soft-fp/negdf2.c: Likewise.
13685 * soft-fp/negsf2.c: Likewise.
13686 * soft-fp/negtf2.c: Likewise.
13687 * soft-fp/op-1.h: Likewise.
13688 * soft-fp/op-2.h: Likewise.
13689 * soft-fp/op-4.h: Likewise.
13690 * soft-fp/op-8.h: Likewise.
13691 * soft-fp/op-common.h: Likewise.
13692 * soft-fp/quad.h: Likewise.
13693 * soft-fp/single.h: Likewise.
13694 * soft-fp/soft-fp.h: Likewise.
13695 * soft-fp/sqrtdf2.c: Likewise.
13696 * soft-fp/sqrtsf2.c: Likewise.
13697 * soft-fp/sqrttf2.c: Likewise.
13698 * soft-fp/subdf3.c: Likewise.
13699 * soft-fp/subsf3.c: Likewise.
13700 * soft-fp/subtf3.c: Likewise.
13701 * soft-fp/truncdfsf2.c: Likewise.
13702 * soft-fp/trunctfdf2.c: Likewise.
13703 * soft-fp/trunctfsf2.c: Likewise.
13704 * soft-fp/trunctfxf2.c: Likewise.
13705 * soft-fp/unorddf2.c: Likewise.
13706 * soft-fp/unordsf2.c: Likewise.
13707 * soft-fp/unordtf2.c: Likewise.
13709 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
13712 * misc/error.c (error_tail): Fix possible buffer overflow.
13714 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
13717 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13720 2013-10-14 P. J. McDermott <pj@pehjota.net>
13723 * elf/ldd.bash.in (try_trace): New function. Delete previous code
13724 testing pipefail option.
13726 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13728 * soft-fp/double.h: Indent preprocessor directives inside #if.
13729 * soft-fp/extended.h: Likewise.
13730 * soft-fp/op-2.h: Likewise.
13731 * soft-fp/op-4.h: Likewise.
13732 * soft-fp/op-common.h: Likewise.
13733 * soft-fp/quad.h: Likewise.
13734 * soft-fp/single.h: Likewise.
13735 * soft-fp/soft-fp.h: Likewise.
13737 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
13739 * iconv/iconv_prog.c: Fix typos.
13740 * stdio-common/psiginfo-data.h: Likewise.
13742 2013-10-12 Reuben Thomas <rrt@sc3d.org>
13745 * locale/setlocale.c: Fix typo.
13747 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13750 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13751 signaling NaN arguments.
13752 * soft-fp/unordsf2.c (__unordsf2): Likewise.
13753 * soft-fp/unordtf2.c (__unordtf2): Likewise.
13756 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13757 unordered operands.
13758 * soft-fp/gesf2.c (__gesf2): Likewise.
13759 * soft-fp/getf2.c (__getf2): Likewise.
13760 * soft-fp/ledf2.c (__ledf2): Likewise.
13761 * soft-fp/lesf2.c (__lesf2): Likewise.
13762 * soft-fp/letf2.c (__letf2): Likewise.
13764 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13765 * soft-fp/eqsf2.c (__eqsf2): Likewise.
13766 * soft-fp/eqtf2.c (__eqtf2): Likewise.
13767 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13768 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13769 * soft-fp/fixdfti.c (__fixdfti): Likewise.
13770 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13771 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13772 * soft-fp/fixsfti.c (__fixsfti): Likewise.
13773 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13774 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13775 * soft-fp/fixtfti.c (__fixtfti): Likewise.
13776 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13777 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13778 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13779 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13780 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13781 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13782 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13783 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13784 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13785 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13786 * soft-fp/floatdisf.c (__floatdisf): Likewise.
13787 * soft-fp/floatsisf.c (__floatsisf): Likewise.
13788 * soft-fp/floattidf.c (__floattidf): Likewise.
13789 * soft-fp/floattisf.c (__floattisf): Likewise.
13790 * soft-fp/floattitf.c (__floattitf): Likewise.
13791 * soft-fp/floatundidf.c (__floatundidf): Likewise.
13792 * soft-fp/floatundisf.c (__floatundisf): Likewise.
13793 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13794 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13795 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13796 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13797 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13798 * soft-fp/gesf2.c (__gesf2): Likewise.
13799 * soft-fp/getf2.c (__getf2): Likewise.
13800 * soft-fp/ledf2.c (__ledf2): Likewise.
13801 * soft-fp/lesf2.c (__lesf2): Likewise.
13802 * soft-fp/letf2.c (__letf2): Likewise.
13804 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13805 Undefine and redefine.
13806 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13807 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13808 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13809 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13810 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13811 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13812 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13813 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13814 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13815 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13816 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13817 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13818 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13819 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13820 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13823 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13824 without decrementing exponent if mantissa >= that for the
13825 denominator, not >.
13826 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13827 denominator, not >. Decrement exponent in < case instead of
13828 incrementing in >= case.
13829 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13830 without decrementing exponent if mantissa >= that for the
13831 denominator, not >.
13833 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13834 computing saturated result for unsigned overflow.
13836 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13837 Jeff Law <law@redhat.com>
13839 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13840 (atan2Mp): Add systemtap probe marker.
13841 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13842 (__ieee754_log): Add systemtap probe marker.
13843 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13844 (atanMp): Add systemtap probe marker.
13845 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13846 (tanMp): Add systemtap probe marker.
13847 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13848 (__slowexp): Add systemtap probe marker.
13849 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13850 (__slowpow): Add systemtap probe marker.
13851 * manual/probes.texi: Document probes.
13853 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
13856 * libio/fileops.c (_IO_new_file_write): Return count of bytes
13858 (_IO_new_file_xsputn): Don't return EOF if nothing has been
13860 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13861 written to buffer but not flushed.
13862 * libio/iofwrite_u.c: Likewise.
13863 * libio/iopadn.c: Return bytes returned even if EOF was
13865 * libio/iowpadn.c: Likewise.
13866 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13867 if _IO_padn does not write the whole buffer.
13868 [!COMPILE_WPRINTF] (PAD): Likewise.
13870 2013-10-10 David S. Miller <davem@davemloft.net>
13872 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13875 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13877 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
13878 instead of FSF address.
13879 * soft-fp/fixdfti.c: Likewise.
13880 * soft-fp/fixsfti.c: Likewise.
13881 * soft-fp/fixtfti.c: Likewise.
13882 * soft-fp/fixunsdfti.c: Likewise.
13883 * soft-fp/fixunssfti.c: Likewise.
13884 * soft-fp/fixunstfti.c: Likewise.
13885 * soft-fp/floattidf.c: Likewise.
13886 * soft-fp/floattisf.c: Likewise.
13887 * soft-fp/floattitf.c: Likewise.
13888 * soft-fp/floatuntidf.c: Likewise.
13889 * soft-fp/floatuntisf.c: Likewise.
13890 * soft-fp/floatuntitf.c: Likewise.
13891 * soft-fp/trunctfxf2.c: Likewise.
13893 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
13894 * soft-fp/fixdfti.c: Likewise.
13895 * soft-fp/fixsfti.c: Likewise.
13896 * soft-fp/fixtfti.c: Likewise.
13897 * soft-fp/fixunsdfti.c: Likewise.
13898 * soft-fp/fixunssfti.c: Likewise.
13899 * soft-fp/fixunstfti.c: Likewise.
13900 * soft-fp/floattidf.c: Likewise.
13901 * soft-fp/floattisf.c: Likewise.
13902 * soft-fp/floattitf.c: Likewise.
13903 * soft-fp/floatuntidf.c: Likewise.
13904 * soft-fp/floatuntisf.c: Likewise.
13905 * soft-fp/floatuntitf.c: Likewise.
13906 * soft-fp/trunctfxf2.c: Likewise.
13908 2013-10-10 David S. Miller <davem@davemloft.net>
13910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13912 2013-10-10 Joseph Myers <joseph@codsourcery.com>
13914 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13915 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13916 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13917 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13918 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13919 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13920 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13922 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13923 for NaNs before doing comparisons on argument.
13924 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13927 2013-10-10 Will Newton <will.newton@linaro.org>
13929 * malloc/hooks.c (memalign_check): Ensure the value of bytes
13930 passed to _int_memalign does not overflow.
13932 2013-10-10 Torvald Riegel <triegel@redhat.com>
13934 * scripts/bench.pl: Add include-sources directive.
13935 * benchtests/README: Update documentation.
13937 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13939 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13940 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13941 instead of FP_INIT_ROUNDMODE.
13942 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13943 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13946 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
13947 copy class of input value.
13948 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
13949 not handle exceptions.
13950 * soft-fp/negsf2.c (__negsf2): Likewise.
13951 * soft-fp/negtf2.c (__negtf2): Likewise.
13952 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13954 2013-10-09 Joseph Myers <joseph@codesourcery.com>
13956 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13957 semicolon. From Linux kernel.
13959 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
13961 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13963 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
13966 * manual/socket.texi: Added statement about buffer
13967 for gethostbyname2_r.
13969 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
13971 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13972 Use .p2align directive instead, throughout.
13973 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13974 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13975 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13976 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13977 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13978 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13979 * sysdeps/x86_64/strchr.S: Likewise.
13980 * sysdeps/x86_64/strrchr.S: Likewise.
13982 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13984 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13986 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13988 * sysdeps/generic/math_private.h (__mpsin1): Remove
13990 (__mpcos1): Likewise.
13991 (__mpsin): New argument __range_reduce.
13992 (__mpcos): Likewise.
13993 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13994 (slow): Use __mpsin and __mpcos.
13998 (sloww1): Likewise.
13999 (sloww2): Likewise.
14000 (bsloww): Likewise.
14001 (bsloww1): Likewise.
14002 (bsloww2): Likewise.
14003 (cslow2): Likewise.
14004 (csloww): Likewise.
14005 (csloww1): Likewise.
14006 (csloww2): Likewise.
14007 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14008 range_reduce. Merge in __mpsin1.
14009 (__mpcos): Likewise.
14010 (__mpsin1): Remove.
14011 (__mpcos1): Likewise.
14013 2013-10-07 Joseph Myers <joseph@codesourcery.com>
14015 * locale/loadlocale.c (_nl_intern_locale_data): Use
14017 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14018 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14019 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14020 obstack data is appropriately aligned.
14021 (obstack_int32_grow_fast): Likewise.
14022 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14023 * locale/programs/locfile.c (add_locale_uint32): Likewise.
14024 (add_locale_uint32_array): Likewise.
14026 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14028 * benchtests/Makefile: Remove ARGLIST and RET variables.
14029 ($(objpfx)bench-%.c): Pass only function name to the script.
14030 * benchtests/README: Update documentation.
14031 * benchtests/acos-inputs: Add new directives.
14032 * benchtests/acosh-inputs: Likewise.
14033 * benchtests/asin-inputs: Likewise.
14034 * benchtests/asinh-inputs: Likewise.
14035 * benchtests/atan-inputs: Likewise.
14036 * benchtests/atanh-inputs: Likewise.
14037 * benchtests/cos-inputs: Likewise.
14038 * benchtests/cosh-inputs: Likewise.
14039 * benchtests/exp-inputs: Likewise.
14040 * benchtests/log-inputs: Likewise.
14041 * benchtests/pow-inputs: Likewise.
14042 * benchtests/rint-inputs: Likewise.
14043 * benchtests/sin-inputs: Likewise.
14044 * benchtests/sinh-inputs: Likewise.
14045 * benchtests/tan-inputs: Likewise.
14046 * benchtests/tanh-inputs: Likewise.
14047 * scripts/bench.pl: Add support for new directives.
14049 2013-10-07 Alan Modra <amodra@gmail.com>
14051 * README: Fix careless merge.
14053 2013-10-05 Alan Modra <amodra@gmail.com>
14055 * NEWS: Mention powerpc64le support and bugs fixed.
14056 * README: Both big-endian and little-endian powerpc64 supported.
14058 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14060 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14061 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14062 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14063 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14065 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
14067 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14070 2013-10-04 Joseph Myers <joseph@codesourcery.com>
14072 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14073 Move -mhard-float appending from
14074 ports/sysdeps/powerpc/powerpc32/Makefile.
14075 [$(with-fp) = yes] (ASFLAGS): Likewise.
14076 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14077 * sysdeps/powerpc/nofpu: Move directory from
14078 ports/sysdeps/powerpc/nofpu.
14079 * sysdeps/powerpc/soft-fp: Move directory from
14080 ports/sysdeps/powerpc/soft-fp.
14081 * sysdeps/powerpc/powerpc32/405: Move directory from
14082 ports/sysdeps/powerpc/powerpc32/405.
14083 * sysdeps/powerpc/powerpc32/440: Move directory from
14084 ports/sysdeps/powerpc/powerpc32/440.
14085 * sysdeps/powerpc/powerpc32/464: Move directory from
14086 ports/sysdeps/powerpc/powerpc32/464.
14087 * sysdeps/powerpc/powerpc32/476: Move directory from
14088 ports/sysdeps/powerpc/powerpc32/476.
14089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14090 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14092 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14094 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14096 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14098 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14099 * README: Update for powerpc-*-linux-gnu software floating point
14102 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14103 case to powerpc/powerpc32*.
14104 * sysdeps/unix/sysv/linux/configure: Regenerated.
14106 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14107 (_FPU_MASK_OM): Define as 0x04.
14108 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14109 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14111 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14113 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14116 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14119 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14122 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14123 and setcontext_e500.
14125 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
14127 * locale/iso-3166.def: Update iso-1366.def and related occurrences
14129 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14131 * manual/threads.texi (Default Thread Attributes): Fix typo.
14133 2013-10-04 Will Newton <will.newton@linaro.org>
14135 * malloc/Makefile: Add tst-memalign.
14136 * malloc/tst-memalign.c: New file.
14138 * malloc/tst-posix_memalign.c: Add comments.
14139 (do_test): Add comments and call free on all potentially
14140 allocated pointers. Add space after cast.
14142 * malloc/tst-pvalloc.c: Add comments.
14143 (do_test): Add comments and call free on all potentially
14144 allocated pointers. Remove duplicate check for NULL pointer.
14145 Add space after cast.
14147 * malloc/tst-valloc.c: Add comments.
14148 (do_test): Add comments and call free on all potentially
14149 allocated pointers. Remove duplicate check for NULL pointer.
14150 Add space after cast.
14152 2013-10-04 Alan Modra <amodra@gmail.com>
14154 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14155 Use stdint types in rather than __attribute__((mode())).
14156 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14158 2013-10-04 Alan Modra <amodra@gmail.com>
14160 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14161 Correct handling of unaligned relocs for little-endian.
14162 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14164 2013-10-04 Alan Modra <amodra@gmail.com>
14166 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14167 * configure: Regenerate.
14168 * nptl/shlib-versions: Powerpc*le starts at 2.18.
14169 * shlib-versions: Likewise.
14171 2013-10-04 Alan Modra <amodra@gmail.com>
14173 * string/tester.c (test_memrchr): Increment reported test cycle.
14175 2013-10-04 Alan Modra <amodra@gmail.com>
14177 * string/test-memcpy.c (do_one_test): When reporting errors, print
14178 string address and don't overrun end of string.
14180 2013-10-04 Alan Modra <amodra@gmail.com>
14182 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14183 insrdi. Make better use of reg selection to speed exit slightly.
14184 Schedule entry path a little better. Remove useless "are we done"
14185 checks on entry to main loop. Handle wrapping around zero address.
14186 Correct main loop count. Handle single left-over word from main
14187 loop inline rather than by using loop_small. Remove extra word
14188 case in loop_small caused by wrong loop count. Add little-endian
14190 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14191 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
14193 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14194 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14195 support. Avoid rlwimi.
14196 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14198 2013-10-04 Alan Modra <amodra@gmail.com>
14200 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14201 insrdi. Formatting.
14202 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14203 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14204 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14205 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14206 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14207 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14209 2013-10-04 Alan Modra <amodra@gmail.com>
14211 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14212 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14213 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14214 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14215 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14216 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14217 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14218 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14219 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
14220 use of regs. Use power7 mtocrf. Tidy function tails.
14222 2013-10-04 Alan Modra <amodra@gmail.com>
14224 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14225 Formatting. Consistently use rXXX register defines or rN defines.
14226 Use early exit labels that avoid restoring unused non-volatile regs.
14227 Make cr field use more consistent with rWORDn compares. Rename
14228 regs used as shift registers for unaligned loop, using rN defines
14229 for short lifetime/multiple use regs.
14230 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14231 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
14232 addi 1,1,64 to pop stack frame. Simplify return value code.
14233 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14235 2013-10-04 Alan Modra <amodra@gmail.com>
14237 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14238 support. Correct typos, formatting. Optimize tail. Use insrdi
14239 rather than rlwimi.
14240 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14241 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14242 little-endian support. Correct typos.
14243 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
14244 rather than rlwimi.
14245 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
14246 in loop and entry code to keep "and." results.
14247 (strchr): Add little-endian support. Comment. Move cntlzd
14249 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14251 2013-10-04 Alan Modra <amodra@gmail.com>
14253 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14254 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14255 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14256 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14258 2013-10-04 Alan Modra <amodra@gmail.com>
14260 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14261 (rTMP): Define as r11.
14262 (strcmp): Add little-endian support. Optimise tail.
14263 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14264 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14265 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14266 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14267 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14268 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14269 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14271 2013-10-04 Alan Modra <amodra@gmail.com>
14273 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14274 little-endian support. Remove unnecessary "are we done" tests.
14275 Handle "s" wrapping around zero and extremely large "size".
14276 Correct main loop count. Handle single left-over word from main
14277 loop inline rather than by using small_loop. Correct comments.
14278 Delete "zero" tail, use "end_max" instead.
14279 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14281 2013-10-04 Alan Modra <amodra@gmail.com>
14283 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14284 support. Don't branch over align.
14285 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14286 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14287 support. Rearrange tmp reg use to suit. Comment.
14288 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14290 2013-10-04 Alan Modra <amodra@gmail.com>
14292 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14294 2013-10-04 Alan Modra <amodra@gmail.com>
14296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14297 conditional form of branch and link when obtaining pc.
14298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14300 2013-10-04 Alan Modra <amodra@gmail.com>
14302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14307 2013-10-04 Alan Modra <amodra@gmail.com>
14309 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14310 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14311 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14312 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14313 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14314 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14315 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14316 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14317 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14318 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14320 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14321 Alistair Popple <alistair@ozlabs.au.ibm.com>
14322 Alan Modra <amodra@gmail.com>
14325 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14326 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14327 _dl_hwcap access for little-endian.
14328 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
14329 destroy vmx regs when saving unaligned.
14330 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14331 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
14332 destroy vmx regs when saving unaligned.
14334 2013-10-04 Alan Modra <amodra@gmail.com>
14336 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14337 Don't use a union to pack hi/low value.
14339 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14341 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14343 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14344 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14345 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14346 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14347 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14349 2013-10-04 Alan Modra <amodra@gmail.com>
14351 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14352 constants to usual value for .cst8 section, and remove redundant
14354 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14355 constant for 0x1p52. Load little-endian words of double from
14356 correct stack offsets.
14358 2013-10-04 Alan Modra <amodra@gmail.com>
14360 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14361 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14362 words of double from correct stack offsets.
14363 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14364 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14365 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14366 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14367 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14368 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14369 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14370 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14371 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14372 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14373 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14374 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14375 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14376 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14377 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14378 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14379 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14381 2013-10-04 Alan Modra <amodra@gmail.com>
14383 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14384 64-bit int/double union.
14385 (_FPU_SETCW): Likewise.
14386 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14387 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14389 2013-10-04 Alan Modra <amodra@gmail.com>
14391 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14392 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14394 2013-10-04 Alan Modra <amodra@gmail.com>
14396 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14397 use vector int constants.
14398 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14400 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14402 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14403 array with long long.
14404 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14405 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14406 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14407 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14408 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14409 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14410 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14411 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14412 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14413 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14414 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14415 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14416 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14418 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14420 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14421 (__signbit): Likewise. Correct for little-endian.
14422 (__signbitl): Call __signbit.
14423 (lrint): Correct for little-endian.
14424 (lrintf): Call lrint.
14426 2013-10-04 Alan Modra <amodra@gmail.com>
14428 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14429 union 32-bit int array member with 64-bit int array.
14430 (t515, tm256): Double rather than long double.
14431 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14433 2013-10-04 Alan Modra <amodra@gmail.com>
14435 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14437 (IEEE854_LONG_DOUBLE_BIAS): Delete.
14438 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14439 version of math_ldbl.h.
14441 2013-10-04 Alan Modra <amodra@gmail.com>
14443 [BZ #15734], [BZ #15735]
14444 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14445 all uses of ieee875 long double macros and unions. Simplify test
14446 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
14447 ldbl_extract_mantissa value for ix,iy exponents. Properly
14448 normalize after ldbl_extract_mantissa, and don't add hidden bit
14449 already handled. Don't treat low word of ieee854 mantissa like
14450 low word of IBM long double and mask off bit when testing for
14452 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14453 all uses of ieee875 long double macros and unions. Simplify tests
14454 for 0.0L and inf. Correct double adjustment of k. Delete dead code
14455 adjusting ha,hb. Simplify code setting kld. Delete two600 and
14456 two1022, instead use their values. Recognise that tests for large
14457 "a" and small "b" are mutually exclusive. Rename vars. Comment.
14458 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14459 Rewrite all uses of ieee875 long double macros and unions. Simplify
14460 test for 0.0L and nan. Correct negation.
14461 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14462 ieee875 long double macros and unions. Correct output for large
14463 magnitude x. Correct absolute value calculation.
14464 (__erfcl): Likewise.
14465 * math/libm-test.inc: Add tests for errors discovered in IBM long
14466 double versions of fmodl, remainderl, erfl and erfcl.
14468 2013-10-04 Alan Modra <amodra@gmail.com>
14470 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14471 all uses of ieee854 long double macros and unions. Simplify tests
14472 for long doubles that are fully specified by the high double.
14473 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14475 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14476 Remove dead code too.
14477 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14478 (__ieee754_ynl): Likewise.
14479 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14480 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14481 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14482 Remove dead code too.
14483 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14484 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14485 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14486 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14488 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14490 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14491 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14492 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14493 Comment on variable precision.
14494 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14495 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14497 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14498 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14499 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14500 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14501 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14503 2013-10-04 Alan Modra <amodra@gmail.com>
14505 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14506 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14507 all uses of ieee854 long double macros and unions.
14508 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14509 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14510 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14511 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14512 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14513 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14515 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14516 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14517 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14518 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14519 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14520 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14521 Simplify sign and nan test too.
14522 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14523 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14524 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14525 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14527 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14528 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14530 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14531 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14532 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14533 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14534 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14535 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14537 2013-10-04 Alan Modra <amodra@gmail.com>
14539 * stdio-common/printf_size.c (__printf_size): Don't use
14540 union ieee854_long_double in fpnum union.
14541 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
14542 signbit macro to retrieve sign from long double.
14543 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14544 retrieve sign from long double.
14545 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14546 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14547 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14548 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14549 * math/test-misc.c (main): Don't use union ieee854_long_double.
14551 2013-10-04 Alan Modra <amodra@gmail.com>
14554 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14555 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14556 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14557 calculation. Remove unnecessary test for denormal exponent.
14558 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14559 Correct handling of denormals. Avoid undefined shift behaviour.
14560 Correct normalisation of low mantissa when low double is denormal.
14561 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14562 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
14563 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14564 Correct normalisation of low mantissa. Test for overflow of high
14565 mantissa and normalise.
14566 (ldbl_nearbyint): Use more readable constant for two52.
14567 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14568 (__mpn_construct_long_double): Fix test for overflow of high
14569 mantissa and correct normalisation. Avoid undefined shift.
14571 2013-10-04 Alan Modra <amodra@gmail.com>
14573 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14574 (union ibm_extended_long_double): Define as an array of ieee754_double.
14575 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14576 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14577 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14578 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14579 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14580 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14581 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14582 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14583 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14584 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14585 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14587 2013-10-03 Joseph Myers <joseph@codesourcery.com>
14589 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14590 page size instead of calling getpagesize.
14592 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14593 (LOCFILE_ALIGN_MASK): Likewise.
14594 (LOCFILE_ALIGN_UP): Likewise.
14595 (LOCFILE_ALIGNED_P): Likewise.
14596 * locale/programs/ld-collate.c (collate_output): Use the new
14597 macros instead of __alignof__ (int32_t).
14598 * locale/weight.h (findidx): Likewise.
14600 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
14603 * manual/string.texi: Fix strncat and wcsncat.
14605 2013-10-03 Brooks Moses <bmoses@google.com>
14608 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14609 * Makerules: ...here, and adjust associated comments.
14611 2013-10-02 Will Newton <will.newton@linaro.org>
14613 * malloc/Makefile: Add tst-pvalloc.
14614 * malloc/tst-pvalloc.c: New file.
14616 2013-10-02 Will Newton <will.newton@linaro.org>
14618 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14619 improve test coverage.
14621 2013-10-02 Will Newton <will.newton@linaro.org>
14623 * malloc/Makefile: Add tst-posix_memalign.
14624 * malloc/tst-posix_memalign.c: New file.
14626 2013-10-01 Eric Blake <eblake@redhat.com>
14628 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14629 Use __THROWNL rather than __THROW on static functions.
14631 2013-09-30 Petr Machata <pmachata@redhat.com>
14633 * elf/elf.h (R_AARCH64_ABS16): New macro.
14634 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14635 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14636 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14637 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14638 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14639 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14640 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14641 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14642 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14643 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14644 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14645 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14646 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14647 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14648 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14649 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14650 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14651 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14652 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14653 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14654 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14655 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14656 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14657 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14658 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14659 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14660 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14661 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14662 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14663 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14664 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14665 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14666 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14667 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14668 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14669 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14670 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14671 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14672 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14673 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14674 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14675 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14676 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14677 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14678 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14679 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14680 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14681 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14682 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14683 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14684 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14685 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14686 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14687 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14688 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14689 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14690 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14691 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14692 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14693 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14694 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14695 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14696 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14697 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14698 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14699 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14700 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14701 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14702 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14703 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14704 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14705 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14706 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14707 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14708 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14709 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14710 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14711 (R_AARCH64_TLSDESC_LDR): Likewise.
14712 (R_AARCH64_TLSDESC_ADD): Likewise.
14713 (R_AARCH64_TLSDESC_CALL): Likewise.
14715 2013-09-30 Andreas Schwab <schwab@suse.de>
14718 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14719 the nss database lookup.
14720 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14721 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14723 2013-09-28 Mike Frysinger <vapier@gentoo.org>
14725 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14727 2013-09-28 P. J. McDermott <pj@pehjota.net>
14729 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14730 ${Bash-specific parameter/pattern/string} parameter expansion.
14731 * sysdeps/unix/make-syscalls.sh: Likewise.
14733 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14735 * sysdeps/sh/stackguard-macros.h: New file.
14737 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
14739 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14740 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14741 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14742 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14743 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14744 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14746 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14748 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14749 Fix thread ID register.
14751 2013-09-25 Joseph Myers <joseph@codesourcery.com>
14753 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14754 [POSIX || UNIX98]: Require rather than permitting all symbols from
14756 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14757 element of struct sched_param.
14758 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14759 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14760 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14761 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14764 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
14766 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14767 argument calculation.
14769 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14771 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14773 [POSIX] (pthread_attr_t): Do not require type.
14774 [POSIX] (pthread_cond_t): Likewise.
14775 [POSIX] (pthread_condattr_t): Likewise.
14776 [POSIX] (pthread_key_t): Likewise.
14777 [POSIX] (pthread_mutex_t): Likewise.
14778 [POSIX] (pthread_mutexattr_t): Likewise.
14779 [POSIX] (pthread_once_t): Likewise.
14780 [POSIX] (pthread_t): Likewise.
14781 [POSIX-based standards] (pthread_atfork): Expect function.
14783 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14784 Richard Sandiford <richard@codesourcery.com>
14786 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14787 (swap_endianness_p): New extern variable.
14788 (set_big_endian): New inline function.
14789 (maybe_swap_uint32): Likewise.
14790 (maybe_swap_uint32_array): Likewise.
14791 (maybe_swap_uint32_obstack): Likewise.
14792 * locale/programs/locfile.c: Include <stdbool.h>.
14793 (swap_endianness_p): New variable.
14794 (add_locale_uint32): Call maybe_swap_uint32.
14795 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14796 (write_locale_data): Call maybe_swap_uint32_array.
14797 * locale/programs/ld-collate.c (obstack_int32_grow): Call
14799 (obstack_int32_grow_fast): Likewise.
14800 (output_weightwc): Call maybe_swap_uint32_obstack.
14801 (collate_output): Likewise.
14802 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14803 (OPT_LITTLE_ENDIAN): Likewise.
14804 (options): Add --little-endian and --big-endian options.
14805 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14806 * locale/programs/locarchive.c: Include "locfile.h".
14810 (create_archive): Use the new macros to access fields of
14811 structures directly mapped from or written to locale archives.
14812 (oldlocrecentcmp): Likewise.
14813 (enlarge_archive): Likewise.
14814 (insert_name): Likewise.
14815 (add_alias): Likewise.
14816 (add_locale): Likewise.
14817 (delete_locales_from_archive): Likewise.
14818 (show_archive_content): Likewise.
14819 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
14822 2013-09-24 Roland McGrath <roland@hack.frob.com>
14824 * manual/freemanuals.texi: Updated from (newly) canonical copy at
14825 http://www.gnu.org/doc/freemanuals.texi.
14826 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14828 2013-09-24 Will Newton <will.newton@linaro.org>
14830 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14833 2013-09-23 Joseph Myers <joseph@codesourcery.com>
14835 * locale/hashval.h (compute_hashval): Interpret bytes of key as
14838 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
14840 * manual/threads.texi (POSIX Threads): Fix a typo.
14842 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14845 * string/tst-strcoll-overflow.c: New test case.
14846 * string/Makefile (xtests): Add tst-strcoll-overflow.
14847 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14848 cache if string sizes may cause integer overflow.
14851 * string/strcoll_l.c (coll_seq): New members rule, idx,
14852 save_idx and back_us.
14853 (get_next_seq_nocache): New function.
14854 (do_compare_nocache): New function.
14855 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14858 2013-09-23 Carlos O'Donell <carlos@redhat.com>
14861 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14862 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14863 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14866 * elf/Makefile (tests): Add tst-ptrguard1.
14867 (tests-static): Add tst-ptrguard1-static.
14868 (tst-ptrguard1-ARGS): Define.
14869 (tst-ptrguard1-static-ARGS): Define.
14870 * elf/tst-ptrguard1.c: New file.
14871 * elf/tst-ptrguard1-static.c: New file.
14872 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14873 * sysdeps/i386/stackguard-macros.h: Likewise.
14874 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14875 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14876 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14877 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14878 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14879 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14881 2013-09-23 Hector Marco <hecmargi@upv.es>
14882 Ismael Ripoll <iripoll@disca.upv.es>
14883 Carlos O'Donell <carlos@redhat.com>
14886 * sysdeps/generic/stackguard-macros.h: Define
14887 __pointer_chk_guard_local and POINTER_CHK_GUARD.
14888 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14889 Define __pointer_chk_guard_local.
14890 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14891 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14893 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
14896 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14898 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
14900 * include/string.h (__ffs): Declare as hidden.
14901 * string/ffs.c (__ffs): Define as hidden.
14902 * sysdeps/i386/ffs.c (__ffs): Likewise.
14903 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14904 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14905 * sysdeps/s390/ffs.c (__ffs): Likewise.
14906 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14908 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
14910 * NEWS: Mention malloc probes.
14912 * malloc/arena.c (new_heap): New memory_heap_new probe.
14913 (grow_heap): New memory_heap_more probe.
14914 (shrink_heap): New memory_heap_less probe.
14915 (heap_trim): New memory_heap_free probe.
14916 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14917 (systrim): New memory_sbrk_less probe.
14918 * manual/probes.texi: Document them.
14920 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14921 * manual/probes.texi: Document it.
14923 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14924 (__libc_realloc): Add memory_realloc_retry probe.
14925 (__libc_memalign): Add memory_memalign_retry probe.
14926 (__libc_valloc): Add memory_valloc_retry probe.
14927 (__libc_pvalloc): Add memory_pvalloc_retry probe.
14928 (__libc_calloc): Add memory_calloc_retry probe.
14929 * manual/probes.texi: Document them.
14931 * malloc/arena.c (get_free_list): Add probe
14932 memory_arena_reuse_free_list.
14933 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14934 and memory_arena_reuse.
14935 (arena_get2) [!PER_THREAD]: Likewise.
14936 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14937 memory_arena_reuse_realloc.
14938 * manual/probes.texi: Document them.
14940 * malloc/malloc.c (__libc_free): Add
14941 memory_mallopt_free_dyn_thresholds probe.
14942 (__libc_mallopt): Add multiple memory_mallopt probes.
14943 * manual/probes.texi: Document them.
14945 * malloc/malloc.c: Include stap-probe.h.
14946 (__libc_mallopt): Add memory_mallopt probe.
14947 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14948 * manual/probes.texi: New.
14949 * manual/Makefile (chapters): Add probes.
14950 * manual/threads.texi: Set next node.
14952 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
14954 [BZ #15963, #13985]
14955 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14956 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14957 Add `Chinese' to `nan' entry name.
14959 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14961 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14962 (POLYNOMIAL): Likewise.
14963 (TAYLOR_SINCOS): Likewise.
14964 (TAYLOR_SLOW): Likewise.
14965 (__sin): Use TAYLOR_SINCOS.
14967 (slow): Use TAYLOR_SLOW.
14969 (bsloww): Likewise.
14970 (csloww): Likewise.
14972 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14974 * stdlib/strtod_l.c: Fix buffer overrun.
14976 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14978 * benchtests/Makefile (bench): Add sincos.
14979 * benchtests/bench-sincos.c: New file.
14981 * math/libm-test.inc (cos_test_data): New test inputs.
14982 (sin_test_data): Likewise.
14984 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14990 (sloww1): Likewise.
14991 (sloww2): Likewise.
14992 (bsloww1): Likewise.
14993 (bsloww2): Likewise.
14994 (cslow2): Likewise.
14995 (csloww1): Likewise.
14996 (csloww2): Likewise.
14998 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15003 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15007 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
15009 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15010 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15011 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15012 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15013 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15014 * elf/cache.c (print_entry): Handle the new cache flags.
15016 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15017 Aldy Hernandez <aldyh@redhat.com>
15019 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15020 Change condition to [_SOFT_FLOAT].
15021 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15022 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15023 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15024 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15025 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15026 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15027 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15028 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15029 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15030 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15031 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15032 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15033 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15034 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15035 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15036 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15039 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15041 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15042 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15043 (__longjmp): Use LOAD_GP to load saved GPRs.
15044 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15045 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15046 (__sigsetjmp): Use SAVE_GP to save GPRs.
15048 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15049 Do not append -msoft-float.
15050 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15052 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15054 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15056 2013-09-17 Joseph Myers <joseph@codesourcery.com>
15059 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15060 (_FPU_GETCW): Use initial "__" on variable and field names but not
15061 on macro parameter name.
15062 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15063 parentheses around reference to macro parameter.
15065 2013-09-13 Richard Sandiford <richard@codesourcery.com>
15067 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15069 (ctype_startup): Use uint32_t in cast and sizeof for
15072 2013-09-11 Jia Liu <proljc@gmail.com>
15074 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15076 [__FreeBSD__]: Likewise.
15078 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
15080 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15081 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15082 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15083 (strchr): Remove __strchr_sse42 ifunc selection.
15084 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15085 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15087 2013-09-11 Will Newton <will.newton@linaro.org>
15089 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15090 parameter to RES. Remove hardcoded 1000 value.
15091 * benchtests/bench-skeleton.c (main): Pass RES parameter
15092 to TIMING_INIT and multiply result by 1000.
15094 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15098 2013-09-11 Andreas Schwab <schwab@suse.de>
15100 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15102 (O_TMPFILE) [__USE_GNU]: Define.
15103 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15106 2013-09-11 Will Newton <will.newton@linaro.org>
15109 * malloc/malloc.c (__libc_memalign): Check the value of bytes
15112 2013-09-11 Will Newton <will.newton@linaro.org>
15115 * malloc/malloc.c (__libc_valloc): Check the value of bytes
15118 2013-09-11 Will Newton <will.newton@linaro.org>
15121 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15124 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
15126 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15127 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15128 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15129 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15130 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15132 2013-09-10 Allan McRae <allan@archlinux.org>
15135 * manual/arith.texi (Parsing of Floats): Clarify
15139 * manual/install.texi (Running make install): Mention
15141 * INSTALL: Regenerated.
15143 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15145 * csu/init-first.c (_init): Remove the !SHARED condition around
15146 FPU control word initialization.
15147 * elf/dl-support.c (_dl_fpu_control): New variable.
15148 (_dl_aux_init) <AT_FPUCW>: Initialize it.
15149 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15150 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15151 * math/test-fpucw-static.c: New file.
15152 * math/test-fpucw-ieee.c: New file.
15153 * math/test-fpucw-ieee-static.c: New file.
15154 * math/Makefile (tests): Add `test-fpucw-ieee' and
15156 (tests-static): New variable.
15157 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15159 [($(build-shared),yes)]
15160 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15162 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15165 2013-09-09 Allan McRae <allan@archlinux.org>
15168 * manual/string.texi (Collation Functions): Fix typo in
15170 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15173 * stdlib/isomac.c (get_null_defines): Fix memory leak.
15176 * libio/memstream.c (open_memstream): Fix memory leak.
15177 * libio/wmemstream.c (open_wmemstream): Likewise.
15180 * nscd/netgroupcache.c: Fix nesting of ifdefs.
15182 2013-09-09 Will Newton <will.newton@linaro.org>
15184 * malloc/Makefile: Add tst-realloc to tests.
15185 * malloc/tst-realloc.c: New file.
15187 2013-09-09 Allan McRae <allan@archlinux.org>
15190 * COPYING: Update from GNU website to fix FSF address.
15191 * COPYING.LIB: Likewise.
15193 2013-09-06 David S. Miller <davem@davemloft.net>
15195 * po/zh_TW.po: Update Chinese (traditional) translation from
15196 translation project.
15198 2013-09-06 Richard Sandiford <richard@codesourcery.com>
15199 Joseph Myers <joseph@codesourcery.com>
15201 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15203 (obstack_chunk_alloc): New macro.
15204 (obstack_chunk_free): Likewise.
15205 (record_offset): New function.
15206 (init_locale_data): Likewise.
15207 (align_locale_data): Likewise.
15208 (add_locale_empty): Likewise.
15209 (add_locale_raw_data): Likewise.
15210 (add_locale_raw_obstack): Likewise.
15211 (add_locale_string): Likewise.
15212 (add_locale_wstring): Likewise.
15213 (add_locale_uint32): Likewise.
15214 (add_locale_uint32_array): Likewise.
15215 (add_locale_char): Likewise.
15216 (start_locale_structure): Likewise.
15217 (end_locale_structure): Likewise.
15218 (start_locale_prelude): Likewise.
15219 (end_locale_prelude): Likewise.
15220 (write_locale_data): Take locale_file structure rather than an
15222 * locale/programs/locfile.h: Include "obstack.h".
15223 (struct locale_file): Change to store locale file contents instead
15225 (init_locale_data): New prototype.
15226 (align_locale_data): Likewise.
15227 (add_locale_empty): Likewise.
15228 (add_locale_raw_data): Likewise.
15229 (add_locale_raw_obstack): Likewise.
15230 (add_locale_string): Likewise.
15231 (add_locale_wstring): Likewise.
15232 (add_locale_uint32): Likewise.
15233 (add_locale_uint32_array): Likewise.
15234 (add_locale_char): Likewise.
15235 (start_locale_structure): Likewise.
15236 (end_locale_structure): Likewise.
15237 (start_locale_prelude): Likewise.
15238 (end_locale_prelude): Likewise.
15239 (write_locale_data): Update prototype.
15240 * locale/programs/3level.h (struct TABLE): Remove result field.
15241 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15242 Use new locale_file interface.
15243 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15244 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15245 * locale/programs/ld-address.c (address_output): Use new
15246 locale_file interface.
15247 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15249 (collate_finish): Don't call collseq_table_finalize.
15250 (collate_output): Use new locale_file interface.
15251 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15253 (NO_FINALIZE): Change to NO_ADD_LOCALE.
15254 (TABLE): Move defines earlier in file.
15255 (ELEMENT): Likewise.
15256 (DEFAULT): Likewise.
15257 (wctrans_table_add): Move macro and inline function earlier in
15259 (struct wctype_table): Move type earlier in file.
15260 (add_locale_wctype_table): New static prototype.
15261 (struct locale_ctype_t): Use logical types instead of struct iovec
15262 pointers for members.
15263 (ctype_output): Use new locale_file interface.
15264 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15265 new locale_file interface.
15266 (allocate_arrays): Update for use of new locale_file interface.
15267 * locale/programs/ld-identification.c (identification_output): Use
15268 new locale_file interface.
15269 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15270 * locale/programs/ld-messages.c (messages_output): Likewise.
15271 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15272 * locale/programs/ld-name.c (name_output): Likewise.
15273 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15274 * locale/programs/ld-paper.c (paper_output): Likewise.
15275 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15276 * locale/programs/ld-time.c (time_output): Likewise.
15278 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15280 * benchtests/Makefile: Add memrchr benchmark.
15281 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15282 benchmark as memrchr.
15283 * benchtests/bench-memrchr-ifunc.c: New file.
15284 * benchtests/bench-memrchr.c: New file.
15286 2013-09-06 Will Newton <will.newton@linaro.org>
15288 * benchtests/Makefile (string-bench): Add memcpy.
15290 2013-09-05 Carlos O'Donell <carlos@redhat.com>
15291 Cong Wang <amwang@redhat.com>
15294 * sysdeps/unix/sysv/linux/bits/in.h
15295 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15296 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15297 before __USE_KERNEL_IPV6_DEFS uses.
15298 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15300 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15301 sockaddr_in6, or ipv6_mreq.
15303 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15305 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15306 memory access for final bytes in some large inputs.
15307 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15309 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15311 * string/test-memrchr.c: New file.
15312 * string/test-memrchr-ifunc.c: New file.
15313 * string/Makefile: Add new memrchr testcase.
15315 2013-09-05 Mike Frysinger <vapier@gentoo.org>
15317 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15318 fanotify_init returns EPERM.
15320 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15322 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15324 (top level): Treat second token from macro or constant entries for
15325 allowed headers as allowed.
15326 * include/complex.h: Condition internal declarations on
15328 * include/fenv.h: Condition include of <stdbool.h> and internal
15329 declarations on [!_ISOMAC].
15331 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
15334 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15336 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15338 * configure.in (--enable-versioning): Remove configure option.
15339 (libc_cv_asm_symver_directive): Remove configure test.
15340 (libc_cv_ld_version_script_option): Likewise.
15341 (VERSIONING): Remove variable and AC_SUBST.
15342 (DO_VERSIONING): Remove AC_DEFINE.
15343 * configure: Regenerated.
15344 * config.h.in (DO_VERSIONING): Remove macro.
15345 * Makerules [$(versioning) = yes]: Change conditionals to
15346 [$(build-shared) = yes].
15347 * config.make.in (versioning): Remove variable.
15348 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15349 [$(build-shared) = yes].
15350 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15351 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15352 * elf/Makefile [$(versioning) = yes]: Change conditionals to
15353 [$(build-shared) = yes].
15354 * extra-lib.mk [$(versioning) = yes]: Likewise.
15355 * hurd/Makefile [$(versioning) = yes]: Likewise.
15356 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15358 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15360 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15361 [SHARED && !NO_HIDDEN].
15362 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15364 [SHARED && DO_VERSIONING]: Likewise..
15365 * libio/Makefile [$(versioning) = yes]: Change conditionals to
15366 [$(build-shared) = yes].
15367 * manual/install.texi (--disable-versioning): Remove
15369 * INSTALL: Regenerated.
15370 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15372 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15373 [$(build-shared) = yes].
15374 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15375 * sysdeps/i386/i686/multiarch/strstr-c.c
15376 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15377 [SHARED && !NO_HIDDEN].
15378 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15379 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15380 * sysdeps/powerpc/powerpc32/dl-machine.c
15381 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15382 * sysdeps/powerpc/powerpc32/sysdep.h
15383 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15384 to [SHARED && PIC && !NO_HIDDEN].
15385 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15386 conditional to [SHARED].
15388 2013-09-04 Will Newton <will.newton@linaro.org>
15390 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15391 * benchtests/bench-string.h: Include bench-timing.h instead
15392 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15393 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15394 call to HP_TIMING_DIFF_INIT.
15395 * benchtests/bench-memccpy.c: Use bench-timing.h macros
15396 instead of hp-timing.h macros.
15397 * benchtests/bench-memchr.c: Likewise.
15398 * benchtests/bench-memcmp.c: Likewise.
15399 * benchtests/bench-memcpy.c: Likewise.
15400 * benchtests/bench-memmem.c: Likewise.
15401 * benchtests/bench-memmove.c: Likewise.
15402 * benchtests/bench-memset.c: Likewise.
15403 * benchtests/bench-rawmemchr.c: Likewise.
15404 * benchtests/bench-strcasecmp.c: Likewise.
15405 * benchtests/bench-strcasestr.c: Likewise.
15406 * benchtests/bench-strcat.c: Likewise.
15407 * benchtests/bench-strchr.c: Likewise.
15408 * benchtests/bench-strcmp.c: Likewise.
15409 * benchtests/bench-strcpy.c: Likewise.
15410 * benchtests/bench-strcpy_chk.c: Likewise.
15411 * benchtests/bench-strlen.c: Likewise.
15412 * benchtests/bench-strncasecmp.c: Likewise.
15413 * benchtests/bench-strncat.c: Likewise.
15414 * benchtests/bench-strncmp.c: Likewise.
15415 * benchtests/bench-strncpy.c: Likewise.
15416 * benchtests/bench-strnlen.c: Likewise.
15417 * benchtests/bench-strpbrk.c: Likewise.
15418 * benchtests/bench-strrchr.c: Likewise.
15419 * benchtests/bench-strspn.c: Likewise.
15420 * benchtests/bench-strstr.c: Likewise.
15422 2013-09-04 Will Newton <will.newton@linaro.org>
15424 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15426 2013-09-03 Joseph Myers <joseph@codesourcery.com>
15429 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15430 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15431 * math/libm-test.inc (lgamma_test_data): Add more tests.
15432 * sysdeps/i386/fpu/libm-test-ulps: Update.
15433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15435 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
15437 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15438 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15440 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15441 Add strcmp-sse2-unaligned
15442 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15444 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15446 * Versions.def (libc): Add GLIBC_2.19.
15448 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15450 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15451 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15453 2013-09-02 Joseph Myers <joseph@codesourcery.com>
15456 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15457 intermediate calculations in recurrence.
15458 (__ieee754_ynf): Likewise.
15459 * math/libm-test.inc (jn_test_data): Do not allow spurious
15460 underflow exception. Add more tests.
15461 (yn_test_data): Add more tests.
15462 * sysdeps/i386/fpu/libm-test-ulps: Update.
15463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15465 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
15467 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15469 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15471 * csu/init-first.c: Fix then/than typos.
15472 * locale/programs/ld-collate.c: Likewise.
15473 * locale/programs/linereader.h: Likewise.
15474 * manual/charset.texi: Likewise.
15475 * manual/filesys.texi: Likewise.
15476 * manual/stdio.texi: Likewise.
15477 * manual/string.texi: Likewise.
15478 * stdlib/fmtmsg.c: Likewise.
15479 * sysdeps/i386/stpncpy.S: Likewise.
15480 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15481 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15482 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15483 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15485 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15487 * elf/dl-open.c: Fix typos.
15488 * iconvdata/gbbig5.c: Likewise.
15489 * iconvdata/iso-2022-jp.c: Likewise.
15490 * iconv/gconv_int.h: Likewise.
15491 * iconv/loop.c: Likewise.
15492 * nis/rpcsvc/nis.h: Likewise.
15493 * resolv/ns_name.c: Likewise.
15494 * stdio-common/vfscanf.c: Likewise.
15495 * streams/stropts.h: Likewise.
15496 * sunrpc/rpc_thread.c: Likewise.
15497 * sysdeps/i386/strpbrk.S: Likewise.
15498 * sysdeps/ieee754/k_standard.c: Likewise.
15499 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15500 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15501 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15502 * sysdeps/mach/hurd/profil.c: Likewise.
15503 * sysdeps/s390/dl-procinfo.h: Likewise.
15504 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15505 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15506 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15507 * sysdeps/x86_64/dl-trampoline.S: Likewise.
15508 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15510 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15512 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15513 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15515 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15517 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15518 aix specific files.
15519 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15520 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15521 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15522 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15523 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15524 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15525 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15526 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15528 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15529 Roland McGrath <roland@hack.frob.com>
15531 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15532 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15534 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15536 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15537 __executable_start symbol instead of _start.
15539 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15541 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15542 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15544 * sysdeps/gnu/ldsodefs.h: ... this new file.
15546 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15547 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15548 instead of ELFOSABI_LINUX.
15550 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15551 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15552 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15553 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15555 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15556 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15557 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15559 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15560 (ibm_extended_long_double): Add ieee_nan member.
15561 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15562 (do_test): New function.
15564 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15566 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15567 functions, renamed from truncdfsf_test, trunctfsf_test,
15569 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15571 (do_test): Run all these.
15573 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15575 * argp/argp-help.c: Fix typos.
15576 * argp/argp-parse.c: Likewise.
15577 * debug/backtracesyms.c: Likewise.
15578 * elf/elf.h: Likewise.
15579 * malloc/malloc.c: Likewise.
15580 * nis/nis_print.c: Likewise.
15581 * resolv/res_comp.c: Likewise.
15582 * stdlib/stdlib.h: Likewise.
15583 * sunrpc/clnt_tcp.c: Likewise.
15584 * sunrpc/clnt_udp.c: Likewise.
15585 * sunrpc/clnt_unix.c: Likewise.
15586 * sysdeps/unix/bsd/ptsname.c: Likewise.
15587 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15588 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15595 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15597 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15599 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15600 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15602 2013-08-27 Mike Frysinger <vapier@gentoo.org>
15605 * dlfcn/Makefile (tests): Add bug-dl-leaf.
15606 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15607 ($(objpfx)bug-dl-leaf): New rule.
15608 ($(objpfx)bug-dl-leaf.so): Likewise.
15609 ($(objpfx)bug-dl-leaf.out): Likewise.
15610 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15611 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15612 * dlfcn/bug-dl-leaf.c: New test.
15613 * dlfcn/bug-dl-leaf-lib.c: Likewise.
15614 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15615 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15616 (dlclose): Likewise.
15617 (dlmopen): Likewise.
15619 2013-08-27 Roland McGrath <roland@hack.frob.com>
15621 * include/netdb.h [!_ISOMAC]:
15622 Don't include <tls.h>.
15623 (h_errno, __libc_h_errno): Move declaration and macros out of
15626 * include/resolv.h [_RESOLV_H_]:
15627 Don't include <tls.h>.
15628 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15629 * resolv/res_libc.c: Don't include <tls.h>.
15630 (_res): Use __attribute__ ((nocommon)) in place of
15631 __attribute__ ((section (".bss"))).
15633 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15634 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15636 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15638 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15639 only under [SIOCGIFCONF && SIOCGIFNETMASK].
15641 * resolv/res_mkquery.c: Include <sys/time.h>.
15643 * inet/ifreq.c: Moved to ...
15644 * sysdeps/unix/ifreq.c: ... here.
15645 * inet/ifreq.c: New file, true stub version.
15647 * socket/sa_len.c: New file.
15648 * socket/Makefile (aux): Add it.
15649 * sysdeps/unix/sysv/linux/Makefile
15650 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15651 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15652 and #include <socket/sa_len.c>.
15653 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15654 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15656 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15657 * bits/socket.h: ... here.
15659 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15660 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15661 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15663 2013-08-27 Andreas Schwab <schwab@suse.de>
15666 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15667 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15668 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15669 * string/test-strcasecmp.c (test_main): Run tests in several
15671 * string/test-strncasecmp.c (test_main): Likewise.
15673 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15674 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15675 to __strcasecmp_nonascii and __strncasecmp_nonascii.
15676 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15677 (__strncasecmp_ssse3) [PIC]: Likewise.
15679 2013-08-26 Roland McGrath <roland@hack.frob.com>
15681 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15683 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15684 instead of explicitly declaring xdecrypt.
15685 * nis/nss_nis/nis-publickey.c: Likewise.
15687 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15690 * nscd/aicache.c: Include res_hconf.h.
15691 (addhstaiX): Initialize res_hconf.
15693 2013-08-26 Andreas Schwab <schwab@suse.de>
15695 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15696 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15698 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15700 * nscd/aicache.c (addhstaiX): Fix indentation.
15702 2013-08-25 Mike Frysinger <vapier@gentoo.org>
15704 * configure.ac: Quote $build_pt_chown test.
15705 * configure: Regenerated.
15707 2013-08-23 Joseph Myers <joseph@codesourcery.com>
15710 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15711 * math/s_cexpf.c (__cexpf): Likewise.
15712 * math/s_cexpl.c (__cexpl): Likewise.
15713 * math/libm-test.inc (cexp_test_data): Correct expected return
15714 value for NaN + i0. Add another test.
15716 2013-08-22 David S. Miller <davem@davemloft.net>
15718 * po/ca.po: Update Catalan translation from translation project.
15719 * po/uk.po: Add Ukrainian translations from translation project.
15721 2013-08-21 Joseph Myers <joseph@codesourcery.com>
15724 * math/s_fdim.c (__fdim): Check for infinite arguments if result
15725 is infinite, not alongside NaN test.
15726 * math/s_fdimf.c (__fdimf): Likewise.
15727 * math/s_fdiml.c (__fdiml): Likewise.
15728 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
15729 errno is unchanged.
15731 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
15733 * argp/argp-help.c: Fix typos.
15734 * crypt/speeds.c: Likewise.
15735 * csu/check_fds.c: Likewise.
15736 * elf/dl-load.c: Likewise.
15737 * elf/dl-open.c: Likewise.
15738 * elf/reldep3.c: Likewise.
15739 * elf/reldep.c: Likewise.
15740 * elf/sprof.c: Likewise.
15741 * iconv/iconv_charmap.c: Likewise.
15742 * iconv/skeleton.c: Likewise.
15743 * iconv/strtab.c: Likewise.
15744 * io/lockf64.c: Likewise.
15745 * libio/libioP.h: Likewise.
15746 * resolv/gai_notify.c: Likewise.
15747 * resolv/ns_name.c: Likewise.
15748 * resolv/ns_samedomain.c: Likewise.
15749 * resolv/res_send.c: Likewise.
15750 * stdlib/random.c: Likewise.
15751 * sunrpc/rpc/xdr.h: Likewise.
15752 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15753 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15754 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15755 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15756 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15757 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15758 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15759 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15760 * sysdeps/mach/hurd/check_fds.c: Likewise.
15761 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15762 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15763 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15764 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15765 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15766 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15767 * sysdeps/pthread/aio_notify.c: Likewise.
15768 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15769 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15770 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15771 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15772 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15774 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15776 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15777 version if bit_Slow_SSE4_2 is set.
15778 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15779 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15781 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15784 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15785 trampoline stack frame information.
15786 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15787 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15788 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15789 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15790 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15791 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15792 (_libc_vdso_platform_setup): Initialize the signal trampolines.
15793 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15795 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15796 interrupting a syscall and set with option SA_SIGINFO.
15798 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15801 * math/s_cproj.c (__cproj): Only return an infinity if one part of
15802 argument is infinite.
15803 * math/s_cprojf.c (__cprojf): Likewise.
15804 * math/s_cprojl.c (__cprojl): Likewise.
15805 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15806 * math/libm-test.inc (cproj_test_data): Add more tests.
15808 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15810 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15811 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15812 size. Use __ffs to determine corresponding shift.
15814 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15815 Roland McGrath <roland@hack.frob.com>
15817 * Makefile (INSTALL): Remove trailing blank lines from output of
15820 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15822 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15823 Align 32 bit compat elf_greg to 8 bytes.
15825 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15827 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15829 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15831 * string/strcoll_l.c (coll_seq): New structure.
15832 (get_next_seq_cached): New function.
15833 (get_next_seq): New function.
15834 (do_compare): New function.
15835 (STRCOLL): Use GNU style definition. Simplify implementation
15836 by using get_next_seq, get_next_seq_cached and do_compare.
15838 2013-08-16 Florian Weimer <fweimer@redhat.com>
15842 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15844 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15846 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15847 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15848 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
15850 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15851 GETDENTS_64BIT_ALIGNED.
15852 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15853 * manual/filesys.texi (Reading/Closing Directory): Document
15854 ENAMETOOLONG return value of readdir_r. Recommend readdir more
15856 * manual/conf.texi (Limits for Files): Add portability note to
15857 NAME_MAX, PATH_MAX.
15858 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15860 2013-08-13 Andreas Schwab <schwab@suse.de>
15863 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15865 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15866 LDBL_MAX_EXP >= 16384]: Add tests for it.
15868 2013-08-12 David S. Miller <davem@davemloft.net>
15870 * version.h (RELEASE): Set to "development".
15871 (VERSION): Set to "2.18.90".
15872 * NEWS: Add 2.19 section.
15874 2013-08-03 David S. Miller <davem@davemloft.net>
15876 * po/ko.po: Update Korean translation from translation project.
15878 2013-08-01 David S. Miller <davem@davemloft.net>
15880 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
15881 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15884 2013-07-30 David S. Miller <davem@davemloft.net>
15886 * po/fr.po: Update French translation from translation project.
15888 2013-07-28 David S. Miller <davem@davemloft.net>
15890 * po/cs.po: Update Czech translation from translation project.
15892 * po/sv.po: Update Swedish translation from translation project.
15894 2013-07-27 David S. Miller <davem@davemloft.net>
15896 * po/eo.po: Update Esperanto translation from translation project.
15898 * po/vi.po: Update Vietnamese translation from translation project.
15900 * po/de.po: Update German translation from translation project.
15902 2013-07-26 David S. Miller <davem@davemloft.net>
15904 * po/bg.po: Update Bulgarian translation from translation project.
15906 * po/nl.po: Update Dutch translation from translation project.
15907 * po/pl.po: Update Polish translation from translation project.
15908 * po/ru.po: Update Russian translation from translation project.
15910 2013-07-24 David S. Miller <davem@davemloft.net>
15912 * po/libc.pot: Update.
15914 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15916 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15917 variable page size.
15918 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15919 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15920 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15922 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15924 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15926 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15927 Andreas Schwab <schwab@suse.de>
15928 Roland McGrath <roland@hack.frob.com>
15929 Joseph Myers <joseph@codesourcery.com>
15930 Carlos O'Donell <carlos@redhat.com>
15933 * config.h.in: Define HAVE_PT_CHOWN.
15934 * config.make.in (build-pt-chown): New variable.
15935 * configure.in (--enable-pt_chown): New configure option.
15936 * configure: Regenerate.
15937 * login/Makefile: Include Makeconfig. Build pt_chown only if
15938 build-pt-chown is enabled.
15939 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15940 pt_chown to fix pty ownership.
15941 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15943 * manual/install.texi (Configuring and compiling): Mention
15944 --enable-pt_chown. Add @findex for grantpt.
15945 * INSTALL: Regenerate.
15947 2013-07-20 David S. Miller <davem@davemloft.net>
15949 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15950 difference between 32-bit and 64-bit.
15952 2013-07-15 Carlos O'Donell <carlos@redhat.com>
15955 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15956 Avoid system header dependency with -ffreestanding.
15957 ($(objpfx)bits/syscall%d): Likewise.
15959 2013-07-13 David S. Miller <davem@davemloft.net>
15961 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15962 underflows from atanl/atan2l due to bug 15319.
15963 (casinh_test_data): Likewise.
15965 2013-07-07 David S. Miller <davem@davemloft.net>
15967 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15969 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
15971 * sysdeps/i386/fpu/libm-test-ulps: Update.
15972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15974 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15976 * configure.in (--enable-lock-elision): Fix message text.
15977 * INSTALL: Regenerate.
15978 * configure: Regenerate.
15980 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15984 2013-07-03 Andreas Jaeger <aj@suse.de>
15986 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15988 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15989 (ptrace_peeksiginfo_args): Add.
15990 (__ptrace_peeksiginfo_flags): Add.
15991 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15992 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15993 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15995 2013-07-03 Allan McRae <allan@archlinux.org>
15997 * sysdeps/i386/fpu/libm-test-ulps: Update.
15999 2013-07-02 David S. Miller <davem@davemloft.net>
16001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16003 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
16005 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16007 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16009 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16012 2013-07-02 Andi Kleen <ak@linux.intel.com>
16014 * config.h.in (ENABLE_LOCK_ELISION): Add.
16015 * configure.in (--enable-lock-elision): Add option.
16016 * manual/install.texi: Document --enable lock elision.
16017 * configure: Regenerate
16018 * INSTALL: Regenerate.
16020 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
16022 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16023 SSE4.2 strcasecmp for libc.a.
16024 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16026 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16029 * soft-fp/op-common.h (_FP_FMA): New macro.
16030 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16031 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
16032 (_FP_MUL_MEAT_1_imm): ... here.
16033 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
16034 (_FP_MUL_MEAT_1_wide): ... here.
16035 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
16036 (_FP_MUL_MEAT_1_hard): ... here.
16037 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16038 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
16039 (_FP_MUL_MEAT_2_wide): ... here.
16040 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
16041 (_FP_MUL_MEAT_2_wide_3mul): ... here.
16042 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
16043 (_FP_MUL_MEAT_2_gmp): ... here.
16044 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16045 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
16046 (_FP_MUL_MEAT_4_wide): ... here.
16047 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
16048 (_FP_MUL_MEAT_4_gmp): ... here.
16049 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16050 (_FP_WFRACBITS_DW_S): Likewise.
16051 (_FP_WFRACXBITS_DW_S): Likewise.
16052 (_FP_HIGHBIT_DW_S): Likewise.
16053 (FP_FMA_S): Likewise.
16054 (_FP_FRAC_HIGH_DW_S): Likewise.
16055 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16056 (_FP_WFRACBITS_DW_D): Likewise.
16057 (_FP_WFRACXBITS_DW_D): Likewise.
16058 (_FP_HIGHBIT_DW_D): Likewise.
16059 (FP_FMA_D): Likewise.
16060 (_FP_FRAC_HIGH_DW_D): Likewise.
16061 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16062 (_FP_WFRACBITS_DW_E): Likewise.
16063 (_FP_WFRACXBITS_DW_E): Likewise.
16064 (_FP_HIGHBIT_DW_E): Likewise.
16065 (FP_FMA_E): Likewise.
16066 (_FP_FRAC_HIGH_DW_E): Likewise.
16067 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16068 (_FP_WFRACBITS_DW_Q): Likewise.
16069 (_FP_WFRACXBITS_DW_Q): Likewise.
16070 (_FP_HIGHBIT_DW_Q): Likewise.
16071 (FP_FMA_Q): Likewise.
16072 (_FP_FRAC_HIGH_DW_Q): Likewise.
16073 * soft-fp/fmasf4.c: New file.
16074 * soft-fp/fmadf4.c: Likewise.
16075 * soft-fp/fmatf4.c: Likewise.
16077 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16080 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16082 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16084 (index_Slow_SSE4_2): Likewise.
16085 (index_Prefer_PMINUB_for_stringop): Likewise.
16086 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16087 bit_Slow_SSE4_2 is set.
16088 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16089 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16091 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16093 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16094 rtld_global._dl_hwcap2.
16095 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16097 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16098 POWER8 feature descriptions defined in _dl_hwcap2.
16099 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16100 string handling for POWER8 feature bits.
16101 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16102 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16103 _dl_powerpc_cap_flags.
16104 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16105 * sysdeps/powerpc/rtld-global-offsets.sym
16106 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16107 _dl_hwcap2 in the rtld_global_ro structure.
16109 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16111 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16112 hardware capabilities in support of AT_HWCAP2.
16113 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16114 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16116 (_dl_show_auxv): Add support for calling _dl_procinfo to display
16117 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
16118 explicitly the unknown a_type display mechanism is used.
16119 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16120 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16122 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16123 to macro prototype for AT_HWCAP2 support.
16124 * sysdeps/i386/dl-procinfo.h: Likewise.
16125 * sysdeps/s390/dl-procinfo.h: Likewise.
16126 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16127 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
16128 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
16129 return -1 for unknown a_type display fallback.
16130 * sysdeps/sparc/dl-procinfo.h: Likewise.
16131 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16132 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16134 2013-06-28 Joseph Myers <joseph@codesourcery.com>
16136 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16137 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16139 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
16142 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16143 mprotect making __stack_prot writable.
16145 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
16146 Joseph Myers <joseph@codesourcery.com>
16148 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16149 as being properly aligned.
16151 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
16153 * dlfcn/modstatic5.c: New file.
16154 * dlfcn/tststatic5.c: New file.
16155 * dlfcn/Makefile (tests): Add tststatic5.
16156 (tests-static): Likewise.
16157 (modules-names): Add modstatic5.
16158 (tststatic5-ENV): New variable.
16159 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16162 * elf/dl-support.c (_dl_main_map): New variable.
16163 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16164 (_dl_nns, _dl_load_adds): Set to 1.
16165 (_dl_initial_searchlist): Refer to _dl_main_map.
16166 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16167 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16168 call to _dl_get_origin.
16169 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16171 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16172 * dlfcn/modstatic3.c: New file.
16173 * dlfcn/tststatic3.c: New file.
16174 * dlfcn/tststatic4.c: New file.
16175 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16176 (tests-static): Likewise.
16177 (modules-names): Add modstatic3.
16178 (tststatic3-ENV, tststatic4-ENV): New variables.
16179 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16180 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16182 2013-06-26 Joseph Myers <joseph@codesourcery.com>
16184 * configure.in (CC): Require GCC version 4.4 or later.
16185 * configure: Regenerated.
16186 * manual/install.texi (Tools for Compilation): Update GCC version
16188 * INSTALL: Regenerated.
16190 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16193 * string/test-memcmp.c (check2): New.
16194 (main): Call check2.
16196 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16198 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
16201 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16203 (dl_open_worker) [!SHARED]: ... here.
16205 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16207 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16209 2013-06-25 Richard Henderson <rth@redhat.com>
16211 * locale/programs/locarchive.c: Include <libc-internal.h>
16213 2013-06-25 Joseph Myers <joseph@codesourcery.com>
16215 * manual/texinfo.tex: Update to version 2013-06-21.17, with
16216 trailing whitespace removed.
16218 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16221 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16222 * locale/programs/locarchive.c: Include libc-mmap.h.
16223 (prepare_address_space): Take two new outputs (the mmap base and len).
16224 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
16226 (create_archive): Declare new mmap base and len values for
16227 prepare_address_space, and store the result in ah.
16228 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16229 (enlarge_archive): If ah->mmap_base is not NULL, use that and
16230 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16231 Declare new mmap base and len values for
16232 prepare_address_space, and store the result in new_ah.
16233 (open_archive): Declare new mmap base and len values for
16234 prepare_address_space, and store the result in ah.
16235 (close_archive): If ah->mmap_base is not NULL, use that and
16236 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16237 * sysdeps/generic/libc-mmap.h: New file.
16239 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16241 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16242 (ALIGN_UP): Likewise.
16243 (PTR_ALIGN_DOWN): Likewise.
16244 (PTR_ALIGN_UP): Likewise.
16246 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16248 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16249 entry mapped to PPC_PLATFORM_POWER8.
16250 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16252 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16253 (_dl_string_platform): Add case for exporting platform position for
16255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16256 search path to sysdeps/powerpc/powerpc32/power8 directory.
16257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16258 search path to sysdeps/powerpc/powerpc64/power8 directory.
16259 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16260 power7 directories.
16261 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16262 power7 directories.
16264 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16266 * INSTALL: Regenerate.
16268 * nscd/connections.c (nscd_init): Fix comment.
16270 2013-06-22 Joseph Myers <joseph@codesourcery.com>
16272 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16275 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16276 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16278 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16280 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16282 (DL_DST_REQ_STATIC): Remove macro.
16284 2013-06-21 Joseph Myers <joseph@codesourcery.com>
16287 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16288 with a shift of 0 bits.
16290 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16292 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16295 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16298 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16300 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16302 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16303 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16304 accepts -fno-tree-loop-distribute-patterns.
16305 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16306 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16308 * string/memset.c (memset): Likewise.
16309 * string/test-memmove.c (simple_memmove): Disable loop transformation
16311 * string/test-memset.c (simple_memset): Likewise.
16312 * benchtests/bench-memmove.c (simple_memmove): Likewise.
16313 * benchtests/bench-memset.c (simple_memset): Likewise.
16314 * configure: Regenerated.
16316 2013-06-20 Joseph Myers <joseph@codesourcery.com>
16318 * math/test-misc.c (main): Ignore fesetround failure when failures
16319 of subsequent rounding tests would be ignored.
16322 * math/fedisblxcpt.c (fedisableexcept): Return 0.
16323 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16324 * math/fegetenv.c (__fegetenv): Return 0.
16325 * math/fegetexcept.c (fegetexcept): Return 0.
16326 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16328 * math/feholdexcpt.c (feholdexcept): Return 0.
16329 * math/fesetenv.c (__fesetenv): Return 0.
16330 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16331 argument FE_TONEAREST.
16332 * math/feupdateenv.c (__feupdateenv): Return 0.
16333 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16335 2013-06-18 Roland McGrath <roland@hack.frob.com>
16337 * elf/rtld-Rules (rtld-compile-command.S): New variable.
16338 (rtld-compile-command.s, rtld-compile-command.c): New variables.
16339 ($(objpfx)rtld-%.os rules): Use them.
16341 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16343 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16346 2013-06-17 Roland McGrath <roland@hack.frob.com>
16348 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16349 length of target pattern, then descending length of dependency pattern.
16350 * configure.in (AWK): Require gawk 3.1.2 or newer.
16351 * manual/install.texi (Tools for Compilation): Say that we do.
16352 * configure: Regenerated.
16354 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16355 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16356 * scripts/sysd-rules.awk: ... this new script.
16357 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16358 than a glob-style pattern.
16360 2013-06-17 Joseph Myers <joseph@codesourcery.com>
16362 * math/test-misc.c (main): Do not treat incorrectly rounded
16363 conversions as failure unless ROUNDING_TESTS passes.
16365 2013-06-15 Joseph Myers <joseph@codesourcery.com>
16368 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16369 restore exception state around main square root computation, then
16370 check for inexactness explicitly.
16372 * math/libm-test.inc (fma_test_data): Add another test.
16374 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16376 * manual/threads.texi (Non-POSIX Extensions): New document
16377 node. Document pthread_getattr_default_np and
16378 pthread_setattr_default_np.
16380 * Versions.def (libpthread): Add GLIBC_2.18.
16381 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16390 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16394 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16396 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16401 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16403 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16404 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16406 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16407 H.J. Lu <hjl.tools@gmail.com>
16410 * sysdeps/x86_64/rtld-memset.c: Remove file.
16411 * sysdeps/x86_64/rtld-memset.S: New file.
16413 2013-06-14 Joseph Myers <joseph@codesourcery.com>
16415 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16416 (test_in_one_mode): Take arguments for whether the rounding mode
16417 is supported for each floating-point type.
16418 (do_test): Pass new arguments to test_in_one_mode using
16421 2013-06-13 Roland McGrath <roland@hack.frob.com>
16423 * posix/tst-waitid.c (do_test): Distinguish different instances of
16424 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
16425 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16426 before entering the kernel for waitpid.
16428 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16430 * NEWS: Fix note on clock function precision. Text by Roland
16433 2013-06-13 Roland McGrath <roland@hack.frob.com>
16435 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16436 it into place only when and if the sanity check passes.
16438 2013-06-13 Joseph Myers <joseph@codesourcery.com>
16440 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16441 output for whether conversion result is exact. Take argument
16442 indicating whether type is IBM long double.
16443 (round_for_all): Change need_exact field to ibm_ld.
16444 * stdlib/tst-strtod-round.c (struct exactness): New type.
16445 (struct test): Change bool ld_ok field to struct exactness exact.
16446 (TEST): Update all definitions for change to field.
16447 (tests): Regenerate array contents.
16448 (test_in_one_mode): Take pointer to new field instead of old ld_ok
16449 field value. Check for IBM long double here.
16450 (do_test): Update calls to test_in_one_mode.
16452 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16455 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16456 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16458 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16461 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16462 generated by the compiler on loop optimizations.
16463 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16464 general definitions.
16466 2013-06-12 Joseph Myers <joseph@codesourcery.com>
16468 * math/bug-nextafter.c: Include <math-tests.h>.
16469 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16471 * math/bug-nexttoward.c: Include <math-tests.h>.
16472 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16474 * math/test-misc.c: Include <math-tests.h>.
16475 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16478 2013-06-12 Andreas Jaeger <aj@suse.de>
16480 * po/ia.po: Update Interlingua translation from translation
16483 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16485 * include/fenv.h: Include stdbool.h.
16486 (struct rm_ctx): New structure.
16487 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16489 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16490 (SET_RESTORE_ROUNDF): Likewise.
16491 (SET_RESTORE_ROUNDL): Likewise.
16492 (SET_RESTORE_ROUND_NOEX): Likewise.
16493 (SET_RESTORE_ROUND_NOEXF): Likewise.
16494 (SET_RESTORE_ROUND_NOEXL): Likewise.
16495 (SET_RESTORE_ROUND_53BIT): Likewise.
16496 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16497 (libc_feresetround_noexf_ctx): Likewise.
16498 (libc_feresetround_noexl_ctx): Likewise.
16499 (libc_feholdsetround_53bit_ctx): Likewise.
16500 (libc_feresetround_53bit_ctx): Likewise.
16501 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16502 (libc_feholdexcept_setround_sse_ctx): New function.
16503 (libc_fesetenv_sse_ctx): Likewise.
16504 (libc_feupdateenv_sse_ctx): Likewise.
16505 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16506 (libc_feholdexcept_setround_387_ctx): Likewise.
16507 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16508 (libc_feholdsetround_387_prec_ctx): Likewise.
16509 (libc_feholdsetround_387_ctx): Likewise.
16510 (libc_feholdsetround_387_53bit_ctx): Likewise.
16511 (libc_feholdsetround_sse_ctx): Likewise.
16512 (libc_feresetround_sse_ctx): Likewise.
16513 (libc_feresetround_387_ctx): Likewise.
16514 (libc_feupdateenv_387_ctx): Likewise.
16515 (libc_feholdexcept_setroundf_ctx): Define macro.
16516 (libc_fesetenvf_ctx): Likewise.
16517 (libc_feupdateenvf_ctx): Likewise.
16518 (libc_feholdsetroundf_ctx): Likewise.
16519 (libc_feresetroundf_ctx): Likewise.
16520 (libc_feholdexcept_setround_ctx): Likewise.
16521 (libc_fesetenv_ctx): Likewise.
16522 (libc_feupdateenv_ctx): Likewise.
16523 (libc_feholdsetround_ctx): Likewise.
16524 (libc_feresetround_ctx): Likewise.
16525 (libc_feholdexcept_setroundl_ctx): Likewise.
16526 (libc_feupdateenvl_ctx): Likewise.
16527 (libc_feholdsetroundl_ctx): Likewise.
16528 (libc_feresetroundl_ctx): Likewise.
16529 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16530 (libc_feresetround_53bit_ctx): Likewise.
16532 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16534 * locale/iso-639.def: Convert to UTF-8.
16536 2013-06-11 Joseph Myers <joseph@codesourcery.com>
16538 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16539 (EXCEPTION_TESTS_double): Likewise.
16540 (EXCEPTION_TESTS_long_double): Likewise.
16541 (EXCEPTION_TESTS): Likewise.
16542 * math/libm-test.inc (test_exceptions): Only test exceptions if
16543 EXCEPTION_TESTS (FLOAT).
16545 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16547 * benchtests/Makefile (string-bench): Add strcpy_chk and
16549 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16550 * benchtests/bench-stpcpy_chk.c: New file.
16551 * benchtests/bench-strcpy_chk-ifunc.c: New file.
16552 * benchtests/bench-strcpy_chk.c: New file.
16553 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16555 (do_test): Likewise.
16557 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16559 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16560 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16561 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16562 with tabs where appropriate.
16563 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16565 [PPC_PLATFORM_PPC440]: Likewise.
16566 [PPC_PLATFORM_PPC464]: Likewise.
16567 [PPC_PLATFORM_PPC476]: Likewise.
16568 (_dl_string_platform): Add support for detecting ppc405, ppc440,
16569 ppc464, and ppc476 platform strings merging from ports/
16572 2013-06-11 Andreas Schwab <schwab@suse.de>
16575 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16576 (from_ucs4_idx): Regenerate.
16577 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16578 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16579 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16580 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16581 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16582 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16583 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16584 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16585 from FROM_LOOP and TO_LOOP specific macros.
16586 (BODY): Handle combining characters.
16587 * iconvdata/BIG5HKSCS.irreversible: Update.
16588 * iconvdata/BIG5HKSCS.precomposed: New file.
16589 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16591 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16593 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16595 * include/sys/time.h: Fix indentation and add copyright header.
16597 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16598 (do_test): Likewise.
16599 * string/test-memchr.c (do_one_test): Likewise.
16600 (do_test): Likewise.
16601 * string/test-memcmp.c (do_one_test): Likewise.
16602 (do_test): Likewise.
16603 * string/test-memcpy.c (do_one_test): Likewise.
16604 (do_test): Likewise.
16605 * string/test-memmem.c (do_one_test): Likewise.
16606 (do_test): Likewise.
16607 (do_random_tests): Likewise.
16608 * string/test-memmove.c (do_one_test): Likewise.
16609 (do_test): Likewise.
16610 * string/test-memset.c (do_one_test): Likewise.
16611 (do_test): Likewise.
16612 * string/test-rawmemchr.c (do_one_test): Likewise.
16613 (do_test): Likewise.
16614 * string/test-strcasecmp.c (do_one_test): Likewise.
16615 (do_test): Likewise.
16616 * string/test-strcasestr.c (do_one_test): Likewise.
16617 (do_test): Likewise.
16618 * string/test-strcat.c (do_one_test): Likewise.
16619 (do_test): Likewise.
16620 * string/test-strchr.c (do_one_test): Likewise.
16621 (do_test): Likewise.
16622 * string/test-strcmp.c (do_one_test): Likewise.
16623 (do_test): Likewise.
16624 * string/test-strcpy.c (do_one_test): Likewise.
16625 (do_test): Likewise.
16626 * string/test-string.h: Likewise.
16627 (test_init): Likewise.
16628 * string/test-strlen.c (do_one_test): Likewise.
16629 (do_test): Likewise.
16630 * string/test-strncasecmp.c (do_one_test): Likewise.
16631 (do_test): Likewise.
16632 * string/test-strncat.c (do_one_test): Likewise.
16633 (do_test): Likewise.
16634 * string/test-strncmp.c (do_one_test): Likewise.
16635 (do_test_limit): Likewise.
16636 (do_test): Likewise.
16637 * string/test-strncpy.c (do_one_test): Likewise.
16638 (do_test): Likewise.
16639 * string/test-strnlen.c (do_one_test): Likewise.
16640 (do_test): Likewise.
16641 * string/test-strpbrk.c (do_one_test): Likewise.
16642 (do_test): Likewise.
16643 * string/test-strrchr.c (do_one_test): Likewise.
16644 (do_test): Likewise.
16645 * string/test-strspn.c (do_one_test): Likewise.
16646 (do_test): Likewise.
16647 * string/test-strstr.c (do_one_test): Likewise.
16648 (do_test): Likewise.
16650 * benchtests/Makefile (string-bench): Add string benchmarks.
16651 * benchtests/bench-bcopy-ifunc.c: New file.
16652 * benchtests/bench-bcopy.c: New file.
16653 * benchtests/bench-bzero-ifunc.c: New file.
16654 * benchtests/bench-bzero.c: New file.
16655 * benchtests/bench-memccpy-ifunc.c: New file.
16656 * benchtests/bench-memccpy.c: New file.
16657 * benchtests/bench-memchr-ifunc.c: New file.
16658 * benchtests/bench-memchr.c: New file.
16659 * benchtests/bench-memcmp-ifunc.c: New file.
16660 * benchtests/bench-memcmp.c: New file.
16661 * benchtests/bench-memmem-ifunc.c: New file.
16662 * benchtests/bench-memmem.c: New file.
16663 * benchtests/bench-memmove-ifunc.c: New file.
16664 * benchtests/bench-memmove.c: New file.
16665 * benchtests/bench-mempcpy-ifunc.c: New file.
16666 * benchtests/bench-mempcpy.c: New file.
16667 * benchtests/bench-memset-ifunc.c: New file.
16668 * benchtests/bench-memset.c: New file.
16669 * benchtests/bench-rawmemchr-ifunc.c: New file.
16670 * benchtests/bench-rawmemchr.c: New file.
16671 * benchtests/bench-stpcpy-ifunc.c: New file.
16672 * benchtests/bench-stpcpy.c: New file.
16673 * benchtests/bench-stpncpy-ifunc.c: New file.
16674 * benchtests/bench-stpncpy.c: New file.
16675 * benchtests/bench-strcasecmp-ifunc.c: New file.
16676 * benchtests/bench-strcasecmp.c: New file.
16677 * benchtests/bench-strcasestr-ifunc.c: New file.
16678 * benchtests/bench-strcasestr.c: New file.
16679 * benchtests/bench-strcat-ifunc.c: New file.
16680 * benchtests/bench-strcat.c: New file.
16681 * benchtests/bench-strchr-ifunc.c: New file.
16682 * benchtests/bench-strchr.c: New file.
16683 * benchtests/bench-strchrnul-ifunc.c: New file.
16684 * benchtests/bench-strchrnul.c: New file.
16685 * benchtests/bench-strcmp-ifunc.c: New file.
16686 * benchtests/bench-strcmp.c: New file.
16687 * benchtests/bench-strcpy-ifunc.c: New file.
16688 * benchtests/bench-strcpy.c: New file.
16689 * benchtests/bench-strcspn-ifunc.c: New file.
16690 * benchtests/bench-strcspn.c: New file.
16691 * benchtests/bench-strlen-ifunc.c: New file.
16692 * benchtests/bench-strlen.c: New file.
16693 * benchtests/bench-strncasecmp-ifunc.c: New file.
16694 * benchtests/bench-strncasecmp.c: New file.
16695 * benchtests/bench-strncat-ifunc.c: New file.
16696 * benchtests/bench-strncat.c: New file.
16697 * benchtests/bench-strncmp-ifunc.c: New file.
16698 * benchtests/bench-strncmp.c: New file.
16699 * benchtests/bench-strncpy-ifunc.c: New file.
16700 * benchtests/bench-strncpy.c: New file.
16701 * benchtests/bench-strnlen-ifunc.c: New file.
16702 * benchtests/bench-strnlen.c: New file.
16703 * benchtests/bench-strpbrk-ifunc.c: New file.
16704 * benchtests/bench-strpbrk.c: New file.
16705 * benchtests/bench-strrchr-ifunc.c: New file.
16706 * benchtests/bench-strrchr.c: New file.
16707 * benchtests/bench-strspn-ifunc.c: New file.
16708 * benchtests/bench-strspn.c: New file.
16709 * benchtests/bench-strstr-ifunc.c: New file.
16710 * benchtests/bench-strstr.c: New file.
16712 * benchtests/Makefile: Disable parallel execution of targets.
16713 (string-bench): Add memcpy.
16714 (benchset): New variable to store a list of benchmark sets.
16715 (bench-func): Renamed from bench.
16716 (bench-set): New target.
16717 (bench): Depend on bench-func and bench-set.
16718 * benchtests/README: Add section on benchmark sets.
16719 * benchtests/bench-memcpy-ifunc.c: New file.
16720 * benchtests/bench-memcpy.c: New file.
16721 * benchtests/bench-string.h: New file.
16723 2013-06-11 Andreas Schwab <schwab@suse.de>
16726 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16727 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16728 values in the triple.
16729 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16730 terminator in the group key.
16732 2013-06-11 Andreas Jaeger <aj@suse.de>
16734 * po/zh_TW.po: Update Chinese (traditional) translation from
16735 translation project.
16737 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16739 * include/time.h (__clock_gettime): Add libc_hidden_proto.
16740 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16741 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
16742 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16743 (clock_getcpuclockid): Likewise.
16744 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16745 Add weak_alias and libc_hidden_def.
16746 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16747 * rt/clock_gettime.c (clock_gettime): Rename to
16748 __clock_gettime. Add weak_alias and libc_hidden_def.
16749 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16750 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16751 __clock_nanosleep. Add weak_alias and libc_hidden_def.
16752 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16753 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16755 * rt/clock_settime.c (clock_settime): Rename to
16756 __clock_settime. Add weak_alias and libc_hidden_def.
16757 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16759 2013-06-10 Joseph Myers <joseph@codesourcery.com>
16761 * mach/err_boot.sub: Remove trailing whitespace.
16762 * mach/err_ipc.sub: Likewise.
16763 * mach/err_mach.sub: Likewise.
16765 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16766 (ROUNDING_TESTS_double): Likewise.
16767 (ROUNDING_TESTS_long_double): Likewise.
16768 (ROUNDING_TESTS): Likewise.
16769 * math/libm-test.inc: Include <math-tests.h>.
16770 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16771 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16772 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16773 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16775 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16777 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16780 2013-06-08 Joseph Myers <joseph@codesourcery.com>
16782 * sysdeps/gnu/errlist.awk: Do not generate space at end of
16783 otherwise empty TRANS lines.
16784 * sysdeps/gnu/errlist.c: Regenerated.
16786 * catgets/gencat.c (error_print): Use (void) in function
16788 * crypt/crypt_util.c (__init_des): Likewise.
16789 * crypt/speeds.c (Stop): Likewise.
16791 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16792 * inet/ruserpass.c (token): Likewise.
16793 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16794 * intl/localealias.c (extend_alias_table): Likewise.
16795 * intl/plural-exp.c (init_germanic_plural): Likewise.
16796 * libio/fcloseall.c (__fcloseall): Likewise.
16797 * libio/genops.c (_IO_flush_all): Likewise.
16798 (_IO_flush_all_linebuffered): Likewise.
16799 (_IO_cleanup): Likewise.
16800 (_IO_iter_begin): Likewise.
16801 (_IO_iter_end): Likewise.
16802 (_IO_list_lock): Likewise.
16803 (_IO_list_unlock): Likewise.
16804 (_IO_list_resetlock): Likewise.
16805 * libio/getchar.c (getchar): Likewise.
16806 * libio/getchar_u.c (getchar_unlocked): Likewise.
16807 * libio/getwchar.c (getwchar): Likewise.
16808 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16809 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16810 * login/getpt.c (__getpt): Likewise.
16811 * login/tst-utmp.c (main): Likewise.
16812 * malloc/hooks.c (__malloc_check_init): Likewise.
16813 * malloc/malloc.c (__malloc_stats): Likewise.
16814 * malloc/mtrace.c (tr_break): Likewise.
16815 (mtrace): Likewise.
16816 (muntrace): Likewise.
16817 * misc/fstab.c (endfsent): Likewise.
16818 * misc/getclktck.c (__getclktck): Likewise.
16819 * misc/getdtsz.c (__getdtablesize): Likewise.
16820 * misc/gethostid.c (gethostid): Likewise.
16821 * misc/getpagesize.c (__getpagesize): Likewise.
16822 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16823 (__get_nprocs): Likewise.
16824 (__get_phys_pages): Likewise.
16825 (__get_avphys_pages): Likewise.
16826 * misc/getttyent.c (getttyent): Likewise.
16827 (setttyent): Likewise.
16828 (endttyent): Likewise.
16829 * misc/getusershell.c (getusershell): Likewise.
16830 (endusershell): Likewise.
16831 (setusershell): Likewise.
16832 (initshells): Likewise.
16833 * misc/hsearch.c (__hdestroy): Likewise.
16834 * misc/sync.c (sync): Likewise.
16835 * misc/syslog.c (closelog_internal): Likewise.
16836 (closelog): Likewise.
16837 * misc/ttyslot.c (ttyslot): Likewise.
16838 * misc/vhangup.c (vhangup): Likewise.
16839 * posix/fork.c (__fork): Likewise.
16840 * posix/getegid.c (__getegid): Likewise.
16841 * posix/geteuid.c (__geteuid): Likewise.
16842 * posix/getgid.c (__getgid): Likewise.
16843 * posix/getpid.c (__getpid): Likewise.
16844 * posix/getppid.c (__getppid): Likewise.
16845 * posix/getuid.c (__getuid): Likewise.
16846 * posix/pause.c (pause): Likewise.
16847 * posix/setpgrp.c (setpgrp): Likewise.
16848 * posix/setsid.c (__setsid): Likewise.
16849 * posix/test-vfork.c (noop): Likewise.
16850 * resolv/gethnamaddr.c (_endhtent): Likewise.
16851 (_gethtent): Likewise.
16852 (ht_endhostent): Likewise.
16853 (gethostent): Likewise.
16854 (dns_service): Likewise.
16855 * stdlib/drand48.c (drand48): Likewise.
16856 * stdlib/lrand48.c (lrand48): Likewise.
16857 * stdlib/mrand48.c (mrand48): Likewise.
16858 * stdlib/rand.c (rand): Likewise.
16859 * stdlib/random.c (__random): Likewise.
16860 * stdlib/setenv.c (clearenv): Likewise.
16861 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16862 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16863 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16864 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16865 (__get_nprocs): Likewise.
16866 (__get_phys_pages): Likewise.
16867 (__get_avphys_pages): Likewise.
16868 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16869 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16870 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16871 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16872 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16873 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16874 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16875 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16876 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16877 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16878 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16879 * sysdeps/mach/hurd/sync.c (sync): Likewise.
16880 * sysdeps/posix/clock.c (clock): Likewise.
16881 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16882 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16883 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16884 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16885 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16886 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16887 (__get_nprocs_conf): Likewise.
16888 (__get_phys_pages): Likewise.
16889 (__get_avphys_pages): Likewise.
16890 * time/clock.c (clock): Likewise.
16891 * time/tzset.c (__tzname_max): Likewise.
16893 2013-06-07 Joseph Myers <joseph@codesourcery.com>
16895 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16896 (__bswap_32): Do not use "register".
16897 * crypt/crypt.c (_ufc_doit_r): Likewise.
16898 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16899 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16900 * gmon/gmon.c (__monstartup): Likewise.
16901 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16902 * hurd/hurdmalloc.c (more_memory): Likewise.
16903 (malloc): Likewise.
16905 (realloc): Likewise.
16906 (malloc_fork_prepare): Likewise.
16907 (malloc_fork_parent): Likewise.
16908 (malloc_fork_child): Likewise.
16909 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16910 (_svcauth_des): Likewise.
16911 * inet/inet_lnaof.c (inet_lnaof): Likewise.
16912 * inet/inet_net.c (inet_network): Likewise.
16913 * inet/inet_netof.c (inet_netof): Likewise.
16914 * inet/rcmd.c (__validuser2_sa): Likewise.
16915 * io/fts.c (fts_open): Likewise.
16916 (fts_load): Likewise.
16917 (fts_close): Likewise.
16918 (fts_read): Likewise.
16919 (fts_children): Likewise.
16920 (fts_build): Likewise.
16921 (fts_stat): Likewise.
16922 (fts_sort): Likewise.
16923 (fts_alloc): Likewise.
16924 (fts_lfree): Likewise.
16925 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16926 (_IO_file_xsgetn): Likewise.
16927 (_IO_file_xsgetn_mmap): Likewise.
16928 * libio/iofopncook.c (_IO_cookie_read): Likewise.
16929 (_IO_cookie_write): Likewise.
16930 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16931 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16932 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16933 * malloc/obstack.c (_obstack_begin): Likewise.
16934 (_obstack_begin_1): Likewise.
16935 (_obstack_newchunk): Likewise.
16936 (_obstack_allocated_p): Likewise.
16937 (obstack_free): Likewise.
16938 (_obstack_memory_used): Likewise.
16939 * misc/getttyent.c (getttynam): Likewise.
16940 (getttyent): Likewise.
16943 * misc/getusershell.c (initshells): Likewise.
16944 * misc/syslog.c (__vsyslog_chk): Likewise.
16945 * misc/ttyslot.c (ttyslot): Likewise.
16946 * nis/nis_hash.c (__nis_hash): Likewise.
16947 * posix/fnmatch_loop.c (FCT): Likewise.
16948 * posix/getconf.c (print_all): Likewise.
16950 * posix/getopt.c (exchange): Likewise.
16951 * posix/glob.c (globfree): Likewise.
16952 (prefix_array): Likewise.
16953 (__glob_pattern_type): Likewise.
16954 * resolv/arpa/nameser.h (NS_GET16): Likewise.
16955 (NS_GET32): Likewise.
16956 (NS_PUT16): Likewise.
16957 (NS_PUT32): Likewise.
16958 * resolv/gethnamaddr.c (getanswer): Likewise.
16959 (gethostbyname2): Likewise.
16960 (gethostbyaddr): Likewise.
16961 (_gethtent): Likewise.
16962 (_gethtbyname2): Likewise.
16963 (_gethtbyaddr): Likewise.
16964 * resolv/ns_print.c (dst_s_get_int16): Likewise.
16965 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16966 * resolv/res_init.c (__res_vinit): Likewise.
16967 (net_mask): Likewise.
16968 * resolv/res_mkquery.c (outchar): Likewise.
16970 * stdio-common/printf_fp.c (outchar): Likewise.
16972 * stdio-common/printf_fphex.c (outchar): Likewise.
16974 * stdio-common/printf_size.c (outchar): Likewise.
16976 * stdio-common/test_rdwr.c (main): Likewise.
16977 * stdio-common/tfformat.c (matches): Likewise.
16978 * stdio-common/vfprintf.c (outchar): Likewise.
16979 (printf_unknown): Likewise.
16980 (buffered_vfprintf): Likewise.
16981 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16982 * stdio-common/xbug.c (AppendToBuffer): Likewise.
16983 (ReadFile): Likewise.
16984 * stdlib/qsort.c (SWAP): Likewise.
16985 (_quicksort): Likewise.
16986 * stdlib/setenv.c (__add_to_environ): Likewise.
16987 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16988 * stdlib/strtol_l.c (__strtol_l): Likewise.
16989 * stdlib/tst-strtod.c (main): Likewise.
16990 * stdlib/tst-strtol.c (main): Likewise.
16991 * stdlib/tst-strtoll.c (main): Likewise.
16992 * string/bits/string2.h (__strcmp_cc): Likewise.
16993 (__strcmp_cg): Likewise.
16994 (__strcspn_c1): Likewise.
16995 (__strcspn_c2): Likewise.
16996 (__strcspn_c3): Likewise.
16997 (__strspn_c1): Likewise.
16998 (__strspn_c2): Likewise.
16999 (__strspn_c3): Likewise.
17000 (__strsep_1c): Likewise.
17001 (__strsep_2c): Likewise.
17002 (__strsep_3c): Likewise.
17003 * string/memccpy.c (__memccpy): Likewise.
17004 * string/stpcpy.c (__stpcpy): Likewise.
17005 * string/strcmp.c (strcmp): Likewise.
17006 * string/strrchr.c (strrchr): Likewise.
17007 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17009 * sysdeps/mach/hurd/getcwd.c
17010 (_hurd_canonicalize_directory_name_internal): Likewise.
17011 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17012 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17013 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17014 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17015 Likewise, in both definitions.
17016 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17018 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17019 64] (__bswap_64): Likewise.
17020 * time/test_time.c (main): Likewise.
17021 * time/tzfile.c (__tzfile_read): Likewise.
17022 (__tzfile_compute): Likewise.
17023 * time/tzset.c (__tzset_parse_tz): Likewise.
17024 (tzset_internal): Likewise.
17025 (compute_change): Likewise.
17026 * wcsmbs/wcscat.c (__wcscat): Likewise.
17027 * wcsmbs/wcschr.c (wcschr): Likewise.
17028 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17029 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17030 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17031 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17032 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17033 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17034 * wcsmbs/wmemchr.c (wmemchr): Likewise.
17035 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17036 * wcsmbs/wmemset.c (wmemset): Likewise.
17038 2013-06-06 Joseph Myers <joseph@codesourcery.com>
17040 * scripts/config.guess: Update to version 2013-05-16.
17041 * scripts/config.sub: Update to version 2013-04-24.
17042 * scripts/install-sh: Update to version 2011-11-20.07.
17043 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17044 * scripts/move-if-change: Update to version 2012-01-06 07:23.
17046 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
17048 * debug/fgetws_u_chk.c: Fix leading whitespaces.
17049 * elf/sln.c: Likewise.
17050 * hurd/hurd/ioctl.h: Likewise.
17051 * hurd/hurdmalloc.c: Likewise.
17052 * hurd/xattr.c: Likewise.
17053 * include/shlib-compat.h: Likewise.
17054 * inet/ruserpass.c: Likewise.
17055 * libio/iofgets_u.c: Likewise.
17056 * libio/iofgetws_u.c: Likewise.
17057 * locale/programs/ld-identification.c: Likewise.
17058 * locale/programs/ld-time.c: Likewise.
17059 * mach/msg-destroy.c: Likewise.
17060 * nss/nss_files/files-netgrp.c: Likewise.
17061 * resolv/res_data.c: Likewise.
17062 * soft-fp/op-1.h: Likewise.
17063 * soft-fp/op-2.h: Likewise.
17064 * soft-fp/op-4.h: Likewise.
17065 * soft-fp/op-common.h: Likewise.
17066 * stdio-common/printf_fphex.c: Likewise.
17067 * stdlib/strtod_l.c: Likewise.
17068 * sunrpc/rpc/clnt.h: Likewise.
17069 * sysdeps/generic/framestate.c: Likewise.
17070 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17071 * sysdeps/i386/bsd-setjmp.S: Likewise.
17072 * sysdeps/i386/__longjmp.S: Likewise.
17073 * sysdeps/i386/setjmp.S: Likewise.
17074 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17075 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17076 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17077 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17078 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17079 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17080 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17081 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17082 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17083 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17084 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17085 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17086 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17087 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17088 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17089 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17090 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17091 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17092 * sysdeps/ieee754/support.c: Likewise.
17093 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17094 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17095 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17096 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17097 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17098 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17099 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17100 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17101 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17102 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17103 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17104 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17105 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17106 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17107 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17108 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17109 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17112 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
17114 * posix/transbug.c: Remove executable mode.
17116 2013-06-05 Joseph Myers <joseph@codesourcery.com>
17118 * crypt/speeds.c: Remove trailing whitespace.
17119 * dlfcn/default.c: Likewise.
17120 * elf/ifuncdep2.c: Likewise.
17121 * elf/ifuncmain1.c: Likewise.
17122 * elf/ifuncmain1vis.c: Likewise.
17123 * elf/testobj.h: Likewise.
17124 * elf/tst-stackguard1.c: Likewise.
17125 * gmon/sys/gmon.h: Likewise.
17126 * hurd/hurdmsg.c: Likewise.
17127 * hurd/new-fd.c: Likewise.
17128 * hurd/ports-get.c: Likewise.
17129 * iconvdata/ibm1008_420.c: Likewise.
17130 * inet/tst-getni1.c: Likewise.
17131 * inet/tst-getni2.c: Likewise.
17132 * libio/ioungetc.c: Likewise.
17133 * libio/wfiledoalloc.c: Likewise.
17134 * manual/libm-err-tab.pl: Likewise.
17135 * math/w_dremf.c: Likewise.
17136 * misc/ftruncate.c: Likewise.
17137 * posix/bug-glob2.c: Likewise.
17138 * posix/tst-pcre.c: Likewise.
17139 * posix/wait4.c: Likewise.
17140 * resolv/README: Likewise.
17141 * resolv/res_debug.h: Likewise.
17142 * resolv/tst-inet_ntop.c: Likewise.
17143 * setjmp/bug269-setjmp.c: Likewise.
17144 * soft-fp/extended.h: Likewise.
17145 * soft-fp/op-1.h: Likewise.
17146 * soft-fp/op-2.h: Likewise.
17147 * soft-fp/op-4.h: Likewise.
17148 * soft-fp/op-8.h: Likewise.
17149 * soft-fp/testit.c: Likewise.
17150 * stdio-common/bug16.c: Likewise.
17151 * stdlib/random.c: Likewise.
17152 * sunrpc/rpcsvc/rquota.x: Likewise.
17153 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17154 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17155 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17156 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17157 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17158 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17159 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17160 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17161 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17162 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17163 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17164 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17165 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17166 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17167 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17168 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17169 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17170 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17171 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17172 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17173 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17174 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17175 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17176 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17177 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17178 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17179 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17180 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17181 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17182 * sysdeps/ieee754/s_lib_version.c: Likewise.
17183 * sysdeps/mach/hurd/check_fds.c: Likewise.
17184 * sysdeps/mach/hurd/getsockname.c: Likewise.
17185 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17186 * sysdeps/mach/hurd/recvfrom.c: Likewise.
17187 * sysdeps/powerpc/bits/link.h: Likewise.
17188 * sysdeps/powerpc/dl-procinfo.c: Likewise.
17189 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17190 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17191 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17192 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17193 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17194 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17195 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17196 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17197 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17198 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17199 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17200 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17201 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17202 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17203 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17204 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17205 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17206 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17207 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17208 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17209 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17210 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17211 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17212 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17213 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17214 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17215 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17216 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17217 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17218 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17219 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17220 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17221 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17222 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17223 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17224 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17225 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17226 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17227 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17228 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17229 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17230 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17231 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17232 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17233 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17234 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17235 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17236 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17237 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17238 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17239 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17240 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17241 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17242 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17243 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17244 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17245 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17246 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17247 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17248 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17249 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17250 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17251 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17252 * sysdeps/powerpc/sysdep.h: Likewise.
17253 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17254 * sysdeps/s390/s390-64/sub_n.S: Likewise.
17255 * sysdeps/sh/dl-trampoline.S: Likewise.
17256 * sysdeps/sh/memset.S: Likewise.
17257 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17258 * sysdeps/sh/strlen.S: Likewise.
17259 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17260 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17261 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17262 * sysdeps/sparc/sparc32/rem.S: Likewise.
17263 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17264 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17265 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17266 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17267 * sysdeps/sparc/sparc32/urem.S: Likewise.
17268 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17269 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17270 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17271 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17272 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17273 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17274 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17275 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17276 * sysdeps/unix/bsd/times.c: Likewise.
17277 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17278 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17282 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17283 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17284 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17285 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17286 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17287 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17288 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17289 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17290 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17291 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17292 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17293 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17294 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17295 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17296 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17297 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17298 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17299 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17300 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17301 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17302 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17303 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17304 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17305 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17306 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17307 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17308 * sysdeps/x86_64/strcspn.S: Likewise.
17310 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17312 * locale/C-translit.h: Revert #include <stdint.h> because this is a
17313 generated file. Regenerate properly from gen-translit.pl.
17314 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
17315 locale/C-translit.h.
17317 2013-06-05 Andreas Schwab <schwab@suse.de>
17320 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17321 week as 6 instead of -1.
17322 * time/tst-strptime.c (day_tests): Add test case.
17324 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17326 * sysdeps/generic/math_private.h
17327 (libc_feholdexcept_setround_53bit): Replace with
17328 libc_feholdsetround_53bit.
17329 (libc_feupdateenv_53bit): Replace with
17330 libc_feresetround_53bit.
17331 (SET_RESTORE_ROUND_53BIT): Adjust.
17333 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17335 * string/test-strchrnul.c: Add copyright header.
17337 * posix/tst-getaddrinfo4.c: Increase test timeout.
17339 2013-06-03 Carlos O'Donell <carlos@redhat.com>
17342 * math/libm-test.inc (MAX_EXP): Remove
17344 (ulp): Use MIN_EXP - MANT_DIG.
17345 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17347 2013-05-31 Carlos O'Donell <carlos@redhat.com>
17349 * po/be.po: Revert last change.
17350 * po/zh_CN.po: Likewise.
17351 * po/header.pot: Likewise.
17353 2013-05-31 Joseph Myers <joseph@codesourcery.com>
17355 * Makefile ($(common-objpfx)linkobj/libc.so): Define
17356 link-libc-deps to empty as target-specific variable.
17357 * Makerules (link-libc-args): New variable.
17358 (libc-for-link): Likewise.
17359 (link-libc-deps): Likewise.
17360 (lib%.so): Depend on $(link-libc-deps). Link with
17362 (build-module): Link with $(link-libc-args).
17363 (build-module-asneeded): Likewise.
17364 (build-module-helper-objlist): Filter out $(link-libc-deps) from
17366 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17367 target-specific variable.
17368 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17369 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17370 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17372 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17374 ($(objpfx)libpcprofile.so): Likewise.
17375 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17377 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17378 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17379 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17381 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17382 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17383 * login/Makefile ($(objpfx)libutil.so): Likewise.
17384 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17385 * math/Makefile ($(objpfx)libm.so): Likewise.
17386 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17387 $(objpfx)libnsl.so): Define libc-for-link as target-specific
17388 variable instead of depending directly on libc.
17389 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17390 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17392 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17394 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17395 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17396 ($(objpfx)libanl.so): Likewise.
17397 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17399 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17401 * sysdeps/i386/fpu/Makefile: Remove file.
17402 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17403 ($(objpfx)libm.so): Remove dependency on ld.so.
17405 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
17408 * nis/yp_xdr.c (XDRMAXNAME): Define.
17409 (XDRMAXRECORD): Define.
17410 (xdr_domainname): Use XDRMAXNAME.
17411 (xdr_mapname): Likewise.
17412 (xdr_peername): Likewise.
17413 (xdr_keydat): Use XDRMAXRECORD.
17414 (xdr_valdat): Likewise.
17416 2013-05-30 Jeff Law <law@redhat.com>
17419 * manual/errno.texi (ESTALE): Update to account for more than
17420 just NFS file systems.
17421 * sysdeps/gnu/errlist.c: Regenerated.
17423 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17426 * elf/Makefile (tests): Add tst-null-argv.
17427 (modules-names): Add tst-null-argv-lib.
17428 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17429 (tst-null-argv-ENV): Set environment for tst-null-argv.
17430 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17431 (RTLD_PROGNAME): New macro.
17432 * elf/tst-null-argv.c: New test case.
17433 * elf/tst-null-argv-lib.c: Library for test case.
17434 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17435 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17436 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17437 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17438 * elf/dl-init.c (call_init): Likewise.
17439 (_dl_init): Likewise.
17440 * elf/dl-load.c (print_search_path): Likewise.
17441 (_dl_map_object): Likewise.
17442 * elf/dl-lookup.c (do_lookup_x): Likewise.
17443 (add_dependency): Likewise.
17444 (_dl_lookup_symbol_x): Likewise.
17445 (_dl_debug_bindings): Likewise.
17446 * elf/dl-open.c (_dl_show_scope): Likewise.
17447 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17448 * elf/dl-version.c (match_symbol): Likewise.
17449 (_dl_check_map_versions): Likewise.
17450 * elf/rtld.c (dl_main): Likewise.
17451 (print_unresolved): Use RTLD_PROGNAME.
17452 (print_missing_version): Likewise.
17453 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17454 (elf_machine_rela): Likewise.
17455 * sysdeps/powerpc/powerpc32/dl-machine.c
17456 (__process_machine_rela): Likewise.
17457 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17459 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17461 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17463 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17464 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17466 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17468 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17470 2013-05-28 Carlos O'Donell <carlos@redhat.com>
17472 * po/be.po: Add descriptive title.
17473 * po/zh_CN.po: Likewise.
17474 * po/header.pot: Likewise.
17476 2013-05-28 Mike Frysinger <vapier@gentoo.org>
17478 * locale/programs/locarchive.c (create_archive): Inlucde fname in
17480 (enlarge_archive): Likewise.
17482 2013-05-28 Ben North <ben@redfrontdoor.org>
17484 * manual/arith.texi (frexp): It is the magnitude of the return
17485 value which lies in [0.5, 1), not the return value itself.
17487 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17491 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
17493 * stdio-common/bug26.c (main): Correct fscanf template.
17495 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17496 declare _dl_skip_args.
17498 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17501 * manual/platform.texi: Add missing @end deftypefun.
17503 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17506 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17507 bit of mantissa of 2^16382.
17508 * math/libm-test.inc (hypot_test_data): Add more tests.
17510 * math/libm-test.inc: Add drem and pow10 to list of tested
17512 (pow10_test): New function.
17513 (drem_test): Likewise.
17514 (drem_test_tonearest): Likewise.
17515 (drem_test_towardzero): Likewise.
17516 (drem_test_downward): Likewise.
17517 (drem_test_upward): Likewise.
17518 (main): Call the new functions.
17520 * math/libm-test.inc (finite_test_data): Remove.
17521 (finite_test): Run tests from isfinite_test_data.
17522 (gamma_test_data): Remove.
17523 (gamma_test): Run tests from lgamma_test_data.
17524 * sysdeps/i386/fpu/libm-test-ulps: Update.
17525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17527 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17529 * manual/platform.texi: Add PowerPC PPR function set documentation.
17530 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17533 2013-05-24 Carlos O'Donell <carlos@redhat.com>
17535 * math/libm-test.inc (MAX_EXP): Define.
17537 (ulp): New function.
17538 (check_float_internal): Use ULPDIFF.
17539 (cpow_test): Disable failing test.
17540 (check_ulp): Test ulp() implemetnation.
17541 (main): Call check_ulp before starting tests.
17543 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17545 * math/gen-libm-test.pl (generate_testfile): Do not handle
17546 START_DATA and END_DATA.
17547 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17549 (acos_tonearest_test_data): Likewise.
17550 (acos_towardzero_test_data): Likewise.
17551 (acos_downward_test_data): Likewise.
17552 (acos_upward_test_data): Likewise.
17553 (acosh_test_data): Likewise.
17554 (asin_test_data): Likewise.
17555 (asin_tonearest_test_data): Likewise.
17556 (asin_towardzero_test_data): Likewise.
17557 (asin_downward_test_data): Likewise.
17558 (asin_upward_test_data): Likewise.
17559 (asinh_test_data): Likewise.
17560 (atan_test_data): Likewise.
17561 (atanh_test_data): Likewise.
17562 (atan2_test_data): Likewise.
17563 (cabs_test_data): Likewise.
17564 (cacos_test_data): Likewise.
17565 (cacosh_test_data): Likewise.
17566 (carg_test_data): Likewise.
17567 (casin_test_data): Likewise.
17568 (casinh_test_data): Likewise.
17569 (catan_test_data): Likewise.
17570 (catanh_test_data): Likewise.
17571 (cbrt_test_data): Likewise.
17572 (ccos_test_data): Likewise.
17573 (ccosh_test_data): Likewise.
17574 (ceil_test_data): Likewise.
17575 (cexp_test_data): Likewise.
17576 (cimag_test_data): Likewise.
17577 (clog_test_data): Likewise.
17578 (clog10_test_data): Likewise.
17579 (conj_test_data): Likewise.
17580 (copysign_test_data): Likewise.
17581 (cos_test_data): Likewise.
17582 (cos_tonearest_test_data): Likewise.
17583 (cos_towardzero_test_data): Likewise.
17584 (cos_downward_test_data): Likewise.
17585 (cos_upward_test_data): Likewise.
17586 (cosh_test_data): Likewise.
17587 (cosh_tonearest_test_data): Likewise.
17588 (cosh_towardzero_test_data): Likewise.
17589 (cosh_downward_test_data): Likewise.
17590 (cosh_upward_test_data): Likewise.
17591 (cpow_test_data): Likewise.
17592 (cproj_test_data): Likewise.
17593 (creal_test_data): Likewise.
17594 (csin_test_data): Likewise.
17595 (csinh_test_data): Likewise.
17596 (csqrt_test_data): Likewise.
17597 (ctan_test_data): Likewise.
17598 (ctan_tonearest_test_data): Likewise.
17599 (ctan_towardzero_test_data): Likewise.
17600 (ctan_downward_test_data): Likewise.
17601 (ctan_upward_test_data): Likewise.
17602 (ctanh_test_data): Likewise.
17603 (ctanh_tonearest_test_data): Likewise.
17604 (ctanh_towardzero_test_data): Likewise.
17605 (ctanh_downward_test_data): Likewise.
17606 (ctanh_upward_test_data): Likewise.
17607 (erf_test_data): Likewise.
17608 (erfc_test_data): Likewise.
17609 (exp_test_data): Likewise.
17610 (exp_tonearest_test_data): Likewise.
17611 (exp_towardzero_test_data): Likewise.
17612 (exp_downward_test_data): Likewise.
17613 (exp_upward_test_data): Likewise.
17614 (exp10_test_data): Likewise.
17615 (exp2_test_data): Likewise.
17616 (expm1_test_data): Likewise.
17617 (fabs_test_data): Likewise.
17618 (fdim_test_data): Likewise.
17619 (finite_test_data): Likewise.
17620 (floor_test_data): Likewise.
17621 (fma_test_data): Likewise.
17622 (fma_towardzero_test_data): Likewise.
17623 (fma_downward_test_data): Likewise.
17624 (fma_upward_test_data): Likewise.
17625 (fmax_test_data): Likewise.
17626 (fmin_test_data): Likewise.
17627 (fmod_test_data): Likewise.
17628 (fpclassify_test_data): Likewise.
17629 (frexp_test_data): Likewise.
17630 (gamma_test_data): Likewise.
17631 (hypot_test_data): Likewise.
17632 (ilogb_test_data): Likewise.
17633 (isfinite_test_data): Likewise.
17634 (isgreater_test_data): Likewise.
17635 (isgreaterequal_test_data): Likewise.
17636 (isinf_test_data): Likewise.
17637 (isless_test_data): Likewise.
17638 (islessequal_test_data): Likewise.
17639 (islessgreater_test_data): Likewise.
17640 (isnan_test_data): Likewise.
17641 (isnormal_test_data): Likewise.
17642 (issignaling_test_data): Likewise.
17643 (isunordered_test_data): Likewise.
17644 (j0_test_data): Likewise.
17645 (j1_test_data): Likewise.
17646 (jn_test_data): Likewise.
17647 (ldexp_test_data): Likewise.
17648 (lgamma_test_data): Likewise.
17649 (lrint_test_data): Likewise.
17650 (lrint_tonearest_test_data): Likewise.
17651 (lrint_towardzero_test_data): Likewise.
17652 (lrint_downward_test_data): Likewise.
17653 (lrint_upward_test_data): Likewise.
17654 (llrint_test_data): Likewise.
17655 (llrint_tonearest_test_data): Likewise.
17656 (llrint_towardzero_test_data): Likewise.
17657 (llrint_downward_test_data): Likewise.
17658 (llrint_upward_test_data): Likewise.
17659 (log_test_data): Likewise.
17660 (log10_test_data): Likewise.
17661 (log1p_test_data): Likewise.
17662 (log2_test_data): Likewise.
17663 (logb_test_data): Likewise.
17664 (logb_downward_test_data): Likewise.
17665 (lround_test_data): Likewise.
17666 (llround_test_data): Likewise.
17667 (modf_test_data): Likewise.
17668 (nearbyint_test_data): Likewise.
17669 (nextafter_test_data): Likewise.
17670 (nexttoward_test_data): Likewise.
17671 (pow_test_data): Likewise.
17672 (pow_tonearest_test_data): Likewise.
17673 (pow_towardzero_test_data): Likewise.
17674 (pow_downward_test_data): Likewise.
17675 (pow_upward_test_data): Likewise.
17676 (remainder_test_data): Likewise.
17677 (remainder_tonearest_test_data): Likewise.
17678 (remainder_towardzero_test_data): Likewise.
17679 (remainder_downward_test_data): Likewise.
17680 (remainder_upward_test_data): Likewise.
17681 (remquo_test_data): Likewise.
17682 (rint_test_data): Likewise.
17683 (rint_tonearest_test_data): Likewise.
17684 (rint_towardzero_test_data): Likewise.
17685 (rint_downward_test_data): Likewise.
17686 (rint_upward_test_data): Likewise.
17687 (round_test_data): Likewise.
17688 (scalb_test_data): Likewise.
17689 (scalbn_test_data): Likewise.
17690 (scalbln_test_data): Likewise.
17691 (signbit_test_data): Likewise.
17692 (sin_test_data): Likewise.
17693 (sin_tonearest_test_data): Likewise.
17694 (sin_towardzero_test_data): Likewise.
17695 (sin_downward_test_data): Likewise.
17696 (sin_upward_test_data): Likewise.
17697 (sincos_test_data): Likewise.
17698 (sinh_test_data): Likewise.
17699 (sinh_tonearest_test_data): Likewise.
17700 (sinh_towardzero_test_data): Likewise.
17701 (sinh_downward_test_data): Likewise.
17702 (sinh_upward_test_data): Likewise.
17703 (sqrt_test_data): Likewise.
17704 (tan_test_data): Likewise.
17705 (tan_tonearest_test_data): Likewise.
17706 (tan_towardzero_test_data): Likewise.
17707 (tan_downward_test_data): Likewise.
17708 (tan_upward_test_data): Likewise.
17709 (tanh_test_data): Likewise.
17710 (tgamma_test_data): Likewise.
17711 (trunc_test_data): Likewise.
17712 (y0_test_data): Likewise.
17713 (y1_test_data): Likewise.
17714 (yn_test_data): Likewise.
17715 (significand_test_data): Likewise.
17717 * math/gen-libm-test.pl (@functions): Remove variable.
17718 (generate_testfile): Don't handle START and END lines.
17719 * math/libm-test.inc (START): New macro.
17721 (END_COMPLEX): Likewise.
17722 (acos_test): Use END macro without arguments.
17723 (acos_test_tonearest): Likewise.
17724 (acos_test_towardzero): Likewise.
17725 (acos_test_downward): Likewise.
17726 (acos_test_upward): Likewise.
17727 (acosh_test): Likewise.
17728 (asin_test): Likewise.
17729 (asin_test_tonearest): Likewise.
17730 (asin_test_towardzero): Likewise.
17731 (asin_test_downward): Likewise.
17732 (asin_test_upward): Likewise.
17733 (asinh_test): Likewise.
17734 (atan_test): Likewise.
17735 (atanh_test): Likewise.
17736 (atan2_test): Likewise.
17737 (cabs_test): Likewise.
17738 (cacos_test): Use END_COMPLEX macro without arguments.
17739 (cacosh_test): Likewise.
17740 (carg_test): Use END macro without arguments.
17741 (casin_test): Use END_COMPLEX macro without arguments.
17742 (casinh_test): Likewise.
17743 (catan_test): Likewise.
17744 (catanh_test): Likewise.
17745 (cbrt_test): Use END macro without arguments.
17746 (ccos_test): Use END_COMPLEX macro without arguments.
17747 (ccosh_test): Likewise.
17748 (ceil_test): Use END macro without arguments.
17749 (cexp_test): Use END_COMPLEX macro without arguments.
17750 (cimag_test): Use END macro without arguments.
17751 (clog_test): Use END_COMPLEX macro without arguments.
17752 (clog10_test): Likewise.
17753 (conj_test): Likewise.
17754 (copysign_test): Use END macro without arguments.
17755 (cos_test): Likewise.
17756 (cos_test_tonearest): Likewise.
17757 (cos_test_towardzero): Likewise.
17758 (cos_test_downward): Likewise.
17759 (cos_test_upward): Likewise.
17760 (cosh_test): Likewise.
17761 (cosh_test_tonearest): Likewise.
17762 (cosh_test_towardzero): Likewise.
17763 (cosh_test_downward): Likewise.
17764 (cosh_test_upward): Likewise.
17765 (cpow_test): Use END_COMPLEX macro without arguments.
17766 (cproj_test): Likewise.
17767 (creal_test): Use END macro without arguments.
17768 (csin_test): Use END_COMPLEX macro without arguments.
17769 (csinh_test): Likewise.
17770 (csqrt_test): Likewise.
17771 (ctan_test): Likewise.
17772 (ctan_test_tonearest): Likewise.
17773 (ctan_test_towardzero): Likewise.
17774 (ctan_test_downward): Likewise.
17775 (ctan_test_upward): Likewise.
17776 (ctanh_test): Likewise.
17777 (ctanh_test_tonearest): Likewise.
17778 (ctanh_test_towardzero): Likewise.
17779 (ctanh_test_downward): Likewise.
17780 (ctanh_test_upward): Likewise.
17781 (erf_test): Use END macro without arguments.
17782 (erfc_test): Likewise.
17783 (exp_test): Likewise.
17784 (exp_test_tonearest): Likewise.
17785 (exp_test_towardzero): Likewise.
17786 (exp_test_downward): Likewise.
17787 (exp_test_upward): Likewise.
17788 (exp10_test): Likewise.
17789 (exp2_test): Likewise.
17790 (expm1_test): Likewise.
17791 (fabs_test): Likewise.
17792 (fdim_test): Likewise.
17793 (finite_test): Likewise.
17794 (floor_test): Likewise.
17795 (fma_test): Likewise.
17796 (fma_test_towardzero): Likewise.
17797 (fma_test_downward): Likewise.
17798 (fma_test_upward): Likewise.
17799 (fmax_test): Likewise.
17800 (fmin_test): Likewise.
17801 (fmod_test): Likewise.
17802 (fpclassify_test): Likewise.
17803 (frexp_test): Likewise.
17804 (gamma_test): Likewise.
17805 (hypot_test): Likewise.
17806 (ilogb_test): Likewise.
17807 (isfinite_test): Likewise.
17808 (isgreater_test): Likewise.
17809 (isgreaterequal_test): Likewise.
17810 (isinf_test): Likewise.
17811 (isless_test): Likewise.
17812 (islessequal_test): Likewise.
17813 (islessgreater_test): Likewise.
17814 (isnan_test): Likewise.
17815 (isnormal_test): Likewise.
17816 (issignaling_test): Likewise.
17817 (isunordered_test): Likewise.
17818 (j0_test): Likewise.
17819 (j1_test): Likewise.
17820 (jn_test): Likewise.
17821 (ldexp_test): Likewise.
17822 (lgamma_test): Likewise.
17823 (lrint_test): Likewise.
17824 (lrint_test_tonearest): Likewise.
17825 (lrint_test_towardzero): Likewise.
17826 (lrint_test_downward): Likewise.
17827 (lrint_test_upward): Likewise.
17828 (llrint_test): Likewise.
17829 (llrint_test_tonearest): Likewise.
17830 (llrint_test_towardzero): Likewise.
17831 (llrint_test_downward): Likewise.
17832 (llrint_test_upward): Likewise.
17833 (log_test): Likewise.
17834 (log10_test): Likewise.
17835 (log1p_test): Likewise.
17836 (log2_test): Likewise.
17837 (logb_test): Likewise.
17838 (logb_test_downward): Likewise.
17839 (lround_test): Likewise.
17840 (llround_test): Likewise.
17841 (modf_test): Likewise.
17842 (nearbyint_test): Likewise.
17843 (nextafter_test): Likewise.
17844 (nexttoward_test): Likewise.
17845 (pow_test): Likewise.
17846 (pow_test_tonearest): Likewise.
17847 (pow_test_towardzero): Likewise.
17848 (pow_test_downward): Likewise.
17849 (pow_test_upward): Likewise.
17850 (remainder_test): Likewise.
17851 (remainder_test_tonearest): Likewise.
17852 (remainder_test_towardzero): Likewise.
17853 (remainder_test_downward): Likewise.
17854 (remainder_test_upward): Likewise.
17855 (remquo_test): Likewise.
17856 (rint_test): Likewise.
17857 (rint_test_tonearest): Likewise.
17858 (rint_test_towardzero): Likewise.
17859 (rint_test_downward): Likewise.
17860 (rint_test_upward): Likewise.
17861 (round_test): Likewise.
17862 (scalb_test): Likewise.
17863 (scalbn_test): Likewise.
17864 (scalbln_test): Likewise.
17865 (signbit_test): Likewise.
17866 (sin_test): Likewise.
17867 (sin_test_tonearest): Likewise.
17868 (sin_test_towardzero): Likewise.
17869 (sin_test_downward): Likewise.
17870 (sin_test_upward): Likewise.
17871 (sincos_test): Likewise.
17872 (sinh_test): Likewise.
17873 (sinh_test_tonearest): Likewise.
17874 (sinh_test_towardzero): Likewise.
17875 (sinh_test_downward): Likewise.
17876 (sinh_test_upward): Likewise.
17877 (sqrt_test): Likewise.
17878 (tan_test): Likewise.
17879 (tan_test_tonearest): Likewise.
17880 (tan_test_towardzero): Likewise.
17881 (tan_test_downward): Likewise.
17882 (tan_test_upward): Likewise.
17883 (tanh_test): Likewise.
17884 (tgamma_test): Likewise.
17885 (trunc_test): Likewise.
17886 (y0_test): Likewise.
17887 (y1_test): Likewise.
17888 (yn_test): Likewise.
17889 (significand_test): Likewise.
17891 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
17894 * libio/genops.c (_IO_no_init): Initialize wide struct info.
17896 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
17899 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17900 __ppc_mdoio and __ppc_mdoom.
17901 * manual/platform.texi: Document new functions __ppc_yield,
17902 __ppc_mdoio and __ppc_mdoom.
17904 2013-05-22 Carlos O'Donell <carlos@redhat.com>
17906 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17907 (main): Mention "tls" pseudo-hwcap is legacy.
17908 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17910 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17912 * math/gen-libm-test.pl (parse_args): Output only string of
17913 arguments as text for test name, not full call or descriptions of
17914 tests for extra outputs.
17915 (generate_testfile): Do not pass function name to parse_args.
17916 Generate this_func variable from START.
17917 * math/libm-test.inc (struct test_f_f_data): Rename test_name
17919 (struct test_ff_f_data): Likewise.
17920 (test_ff_f_data_nexttoward): Likewise.
17921 (struct test_fi_f_data): Likewise.
17922 (struct test_fl_f_data): Likewise.
17923 (struct test_if_f_data): Likewise.
17924 (struct test_fff_f_data): Likewise.
17925 (struct test_c_f_data): Likewise.
17926 (struct test_f_f1_data): Likewise. Remove field extra_name.
17927 (struct test_fF_f1_data): Likewise.
17928 (struct test_ffI_f1_data): Likewise.
17929 (struct test_c_c_data): Rename test_name field to arg_str.
17930 (struct test_cc_c_data): Likewise.
17931 (struct test_f_i_data): Likewise.
17932 (struct test_ff_i_data): Likewise.
17933 (struct test_f_l_data): Likewise.
17934 (struct test_f_L_data): Likewise.
17935 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
17937 (COMMON_TEST_SETUP): New macro.
17938 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17939 (COMMON_TEST_CLEANUP): Likewise.
17940 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17941 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
17943 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17944 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
17946 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17947 (RUN_TEST_fff_f): Take argument string. Call new setup and
17949 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17950 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
17952 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17953 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
17955 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17956 (RUN_TEST_fF_f1): Take argument string. Call new setup and
17958 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17959 (RUN_TEST_fI_f1): Take argument string. Call new setup and
17961 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17962 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
17964 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17965 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
17967 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17968 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
17970 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17971 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
17973 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17974 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
17976 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17977 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
17979 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17980 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
17982 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17983 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
17985 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17986 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
17988 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17989 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
17991 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17992 (RUN_TEST_fFF_11): Take argument string. Call new setup and
17994 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17996 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17998 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17999 to _sifields.sigfault.
18000 (si_addr_lsb): Define new macro.
18001 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18002 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18003 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18005 2013-05-03 Carlos O'Donell <carlos at redhat.com>
18008 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18010 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18012 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18013 loading the domain.
18015 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18017 * math/gen-libm-test.pl (parse_args): Do not include expected
18018 result in test name.
18019 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18020 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18021 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18022 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18023 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18026 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18028 * benchtests/Makefile: Sort function entries.
18030 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18031 tanh, asinh, acosh, atanh.
18032 * benchtests/acos-inputs: New file.
18033 * benchtests/acosh-inputs: New file.
18034 * benchtests/asin-inputs: New file.
18035 * benchtests/asinh-inputs: New file.
18036 * benchtests/atanh-inputs: New file.
18037 * benchtests/cosh-inputs: New file.
18038 * benchtests/log-inputs: New file.
18039 * benchtests/sinh-inputs: New file.
18040 * benchtests/tanh-inputs: New file.
18042 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
18045 * posix/tst-getaddrinfo4.c: New test.
18046 * posix/Makefile (tests): Add it.
18048 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18051 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18052 when no services were used.
18053 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18054 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18056 2013-05-21 Andreas Schwab <schwab@suse.de>
18059 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18060 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18062 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18063 redundant variable declarations and reallocation of buffer when
18064 parsing as IPv6 address. Always set NSS status when called from
18065 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
18066 buffer too small. Correct computation of needed size.
18067 * nss/Makefile (tests): Add test-digits-dots.
18068 * nss/test-digits-dots.c: New test.
18070 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18072 * benchtests/Makefile: Remove instructions for adding
18074 * benchtests/README: New file to explain how to execute and
18075 enhance the benchmark tests.
18077 2013-05-21 Andreas Schwab <schwab@suse.de>
18080 * setjmp/Makefile (tests): Add tst-sigsetjmp.
18081 * setjmp/tst-sigsetjmp.c: New test.
18083 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18085 * sysdeps/x86_64/memset.S (memset): New implementation.
18086 (__bzero): Likewise.
18087 (__memset_tail): New function.
18089 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18091 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18092 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18093 __memcpy_sse2_unaligned ifunc selection.
18094 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18095 Add memcpy-sse2-unaligned.S.
18096 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18097 Add: __memcpy_sse2_unaligned.
18099 2013-05-19 Joseph Myers <joseph@codesourcery.com>
18102 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18103 math_force_eval before restoring floating-point envrionment.
18104 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18105 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18107 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18109 (__nearbyintl): Use math_force_eval before restoring
18110 floating-point environment.
18111 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18113 * math/gen-libm-test.pl (special_functions): Remove.
18114 (parse_args): Don't handle TEST_extra. Handle functions with no
18116 * math/libm-test.inc (struct test_sincos_data): Replace with
18117 struct test_fFF_11_data.
18118 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18119 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18120 (sincos_test_data): Change element type to struct
18121 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
18122 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18123 RUN_TEST_LOOP_sincos.
18124 * math/README.libm-test: Don't mention special handling of
18125 individual functions.
18126 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18127 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18128 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18129 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18130 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18133 * math/gen-libm-test.pl (get_variable): Remove function.
18134 (parse_args): Don't show pointer parameters to call in test
18135 names. Use "extra output N" in test names for extra outputs
18136 rather than naming variables.
18138 2013-05-18 Joseph Myers <joseph@codesourcery.com>
18141 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18142 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18143 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18145 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18147 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18150 * math/gen-libm-test.pl (@tests): Remove variable.
18151 ($count): Likewise.
18152 (new_test): Remove function.
18153 (show_exceptions): New function.
18154 (special_functions): Use show_exceptions instead of new_test.
18155 (parse_args): Likewise.
18156 (generate_testfile): Pass only function name in generated call to
18157 print_max_error or print_complex_max_error.
18158 (get_ulps): Do not handle complex tests specially.
18159 (output_test): Rename to ...
18160 (get_all_ulps_for_test): ... this. Return a string rather than
18161 printing to a file. Require ulps to be present.
18162 (output_ulps): Generate arrays rather than #defines.
18163 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18164 (struct ulp_data): New type.
18165 (BUILD_COMPLEX_ULP): Remove macro.
18166 (compare_ulp_data): New function.
18167 (find_ulps): Likewise.
18168 (find_test_ulps): Likewise.
18169 (find_function_ulps): Likewise.
18170 (find_complex_function_ulps): Likewise.
18171 (print_max_error): Determine allowed ulps using
18172 find_function_ulps.
18173 (print_complex_max_error): Determine allowed ulps using
18174 find_complex_function_ulps.
18175 (check_float_internal): Determine max ulps using find_test_ulps.
18176 (check_float): Do not take max_ulp parameter. Update call to
18177 check_float_internal.
18178 (check_complex): Likewise.
18179 (check_int): Do not take max_ulp parameter.
18180 (check_long): Likewise.
18181 (check_bool): Likewise.
18182 (check_longlong): Likewise.
18183 (struct test_f_f_data): Remove max_ulp field.
18184 (struct test_ff_f_data): Likewise.
18185 (struct test_ff_f_data_nexttoward): Likewise.
18186 (struct test_fi_f_data): Likewise.
18187 (struct test_fl_f_data): Likewise.
18188 (struct test_if_f_data): Likewise.
18189 (struct test_fff_f_data): Likewise.
18190 (struct test_c_f_data): Likewise.
18191 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18192 (struct test_fF_f1_data): Likewise.
18193 (struct test_ffI_f1_data): Likewise.
18194 (struct test_c_c_data): Remove max_ulp field.
18195 (struct test_cc_c_data): Likewise.
18196 (struct test_f_i_data): Likewise.
18197 (struct test_ff_i_data): Likewise.
18198 (struct test_f_l_data): Likewise.
18199 (struct test_f_L_data): Likewise.
18200 (struct test_sincos_data): Likewise.
18201 (RUN_TEST_f_f): Do not handle ulps.
18202 (RUN_TEST_LOOP_f_f): Likewise.
18203 (RUN_TEST_2_f): Likewise.
18204 (RUN_TEST_LOOP_2_f): Likewise.
18205 (RUN_TEST_fff_f): Likewise.
18206 (RUN_TEST_LOOP_fff_f): Likewise.
18207 (RUN_TEST_c_f): Likewise.
18208 (RUN_TEST_LOOP_c_f): Likewise.
18209 (RUN_TEST_f_f1): Likewise.
18210 (RUN_TEST_LOOP_f_f1): Likewise.
18211 (RUN_TEST_fF_f1): Likewise.
18212 (RUN_TEST_LOOP_fF_f1): Likewise.
18213 (RUN_TEST_fI_f1): Likewise.
18214 (RUN_TEST_LOOP_fI_f1): Likewise.
18215 (RUN_TEST_ffI_f1): Likewise.
18216 (RUN_TEST_LOOP_ffI_f1): Likewise.
18217 (RUN_TEST_c_c): Likewise.
18218 (RUN_TEST_LOOP_c_c): Likewise.
18219 (RUN_TEST_cc_c): Likewise.
18220 (RUN_TEST_LOOP_cc_c): Likewise.
18221 (RUN_TEST_f_i): Likewise.
18222 (RUN_TEST_LOOP_f_i): Likewise.
18223 (RUN_TEST_f_i_tg): Likewise.
18224 (RUN_TEST_LOOP_f_i_tg): Likewise.
18225 (RUN_TEST_ff_i_tg): Likewise.
18226 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18227 (RUN_TEST_f_b): Likewise.
18228 (RUN_TEST_LOOP_f_b): Likewise.
18229 (RUN_TEST_f_b_tg): Likewise.
18230 (RUN_TEST_LOOP_f_b_tg): Likewise.
18231 (RUN_TEST_f_l): Likewise.
18232 (RUN_TEST_LOOP_f_l): Likewise.
18233 (RUN_TEST_f_L): Likewise.
18234 (RUN_TEST_LOOP_f_L): Likewise.
18235 (RUN_TEST_sincos): Likewise.
18236 (RUN_TEST_LOOP_sincos): Likewise.
18238 2013-05-17 Joseph Myers <joseph@codesourcery.com>
18242 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18243 main case of finite arguments, set rounding mode to FE_TONEAREST
18244 and discard exceptions.
18245 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18247 (remainder_tonearest_test_data): New variable.
18248 (remainder_test_tonearest): New function.
18249 (remainder_towardzero_test_data): New variable.
18250 (remainder_test_towardzero): New function.
18251 (remainder_downward_test_data): New variable.
18252 (remainder_test_downward): New function.
18253 (remainder_upward_test_data): New variable.
18254 (remainder_test_upward): New function.
18255 (main): Call the new test functions.
18257 * math/libm-test.inc (struct test_f_f1_data): Remove field
18259 (struct test_fF_f1_data): Likewise.
18260 (struct test_ffI_f1_data): Likewise.
18261 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
18262 based on value of EXTRA_EXPECTED.
18263 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18264 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18265 EXTRA_VAR based on value of EXTRA_EXPECTED.
18266 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18267 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18268 EXTRA_VAR based on value of EXTRA_EXPECTED.
18269 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18270 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18271 EXTRA_VAR based on value of EXTRA_EXPECTED.
18272 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18273 * math/gen-libm-test.pl (parse_args): Don't output initializers
18274 for extra output values.
18276 * math/libm-test.inc (check_int): Expect result to be exactly
18277 equal to expected value and do not handle ulps.
18278 (check_long): Likewise.
18279 (check_longlong): Likewise.
18281 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18283 (cimag_test_data): Likewise.
18284 (conj_test_data): Likewise.
18285 (copysign_test_data): Likewise.
18286 (cproj_test_data): Likewise.
18287 (creal_test_data): Likewise.
18288 (fabs_test_data): Likewise.
18289 (fdim_test_data): Likewise.
18290 (finite_test_data): Likewise.
18291 (floor_test_data): Likewise.
18292 (fmax_test_data): Likewise.
18293 (fmin_test_data): Likewise.
18294 (fmod_test_data): Likewise.
18295 (fpclassify_test_data): Likewise.
18296 (frexp_test_data): Likewise.
18297 (ilogb_test_data): Likewise.
18298 (isfinite_test_data): Likewise.
18299 (isgreater_test_data): Likewise.
18300 (isgreaterequal_test_data): Likewise.
18301 (isinf_test_data): Likewise.
18302 (isless_test_data): Likewise.
18303 (islessequal_test_data): Likewise.
18304 (islessgreater_test_data): Likewise.
18305 (isnan_test_data): Likewise.
18306 (isnormal_test_data): Likewise.
18307 (issignaling_test_data): Likewise.
18308 (isunordered_test_data): Likewise.
18309 (ldexp_test_data): Likewise.
18310 (lrint_test_data): Likewise.
18311 (lrint_test_data) [TEST_FLOAT]: Disable one test.
18312 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18313 (lrint_tonearest_test_data): Test for "inexact" exceptions.
18314 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18315 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18316 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18318 (lrint_towardzero_test_data): Test for "inexact" exceptions.
18319 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18320 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18321 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18323 (lrint_downward_test_data): Test for "inexact" exceptions.
18324 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18325 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18326 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18328 (lrint_upward_test_data): Test for "inexact" exceptions.
18329 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18331 (llrint_test_data): Test for "inexact" exceptions.
18332 (llrint_test_data) [TEST_FLOAT]: Disable one test.
18333 (llrint_tonearest_test_data): Test for "inexact" exceptions.
18334 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18335 (llrint_towardzero_test_data): Test for "inexact" exceptions.
18336 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18337 (llrint_downward_test_data): Test for "inexact" exceptions.
18338 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18339 (llrint_upward_test_data): Test for "inexact" exceptions.
18340 (logb_test_data): Likewise.
18341 (logb_downward_test_data): Likewise.
18342 (nextafter_test_data): Likewise.
18343 (nexttoward_test_data): Likewise.
18344 (remainder_test_data): Likewise.
18345 (remquo_test_data): Likewise.
18346 (scalbn_test_data): Likewise.
18347 (scalbln_test_data): Likewise.
18348 (signbit_test_data): Likewise.
18349 (sqrt_test_data): Likewise.
18350 (significand_test_data): Likewise.
18352 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18355 * benchtests/bench-modf.c (struct args): Mark arg0 as
18357 * scripts/bench.pl: Mark members of struct args as volatile.
18359 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18362 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18363 negative infinity on POWER6 or lower.
18364 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18366 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18369 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18370 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18371 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18372 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18373 (_FP_SETQNAN): New macro.
18374 (_FP_SETQNAN_SEMIRAW): Likewise.
18375 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18376 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18377 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18378 (FP_EXTEND): Use _FP_FRAC_SNANP.
18379 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18380 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18382 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18384 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18387 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18389 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18390 with DIVIDE_BY_ZERO_EXCEPTION.
18391 (gamma_test_data): Likewise.
18392 (lgamma_test_data): Likewise.
18393 (log_test_data): Likewise.
18394 (log10_test_data): Likewise.
18395 (log2_test_data): Likewise.
18396 (tgamma_test_data): Likewise.
18398 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18399 (acos_test_tonearest): Likewise.
18400 (acos_test_towardzero): Likewise.
18401 (acos_test_downward): Likewise.
18402 (acos_test_upward): Likewise.
18403 (acosh_test): Likewise.
18404 (asin_test): Likewise.
18405 (asin_test_tonearest): Likewise.
18406 (asin_test_towardzero): Likewise.
18407 (asin_test_downward): Likewise.
18408 (asin_test_upward): Likewise.
18409 (asinh_test): Likewise.
18410 (atan_test): Likewise.
18411 (atanh_test): Likewise.
18412 (atan2_test): Likewise.
18413 (cabs_test): Likewise.
18414 (cacos_test): Likewise.
18415 (cacosh_test): Likewise.
18416 (casin_test): Likewise.
18417 (casinh_test): Likewise.
18418 (catan_test): Likewise.
18419 (catanh_test): Likewise.
18420 (cbrt_test): Likewise.
18421 (ccos_test): Likewise.
18422 (ccosh_test): Likewise.
18423 (cexp_test): Likewise.
18424 (clog_test): Likewise.
18425 (clog10_test): Likewise.
18426 (cos_test): Likewise.
18427 (cos_test_tonearest): Likewise.
18428 (cos_test_towardzero): Likewise.
18429 (cos_test_downward): Likewise.
18430 (cos_test_upward): Likewise.
18431 (cosh_test): Likewise.
18432 (cosh_test_tonearest): Likewise.
18433 (cosh_test_towardzero): Likewise.
18434 (cosh_test_downward): Likewise.
18435 (cosh_test_upward): Likewise.
18436 (cpow_test): Likewise.
18437 (csin_test): Likewise.
18438 (csinh_test): Likewise.
18439 (csqrt_test): Likewise.
18440 (ctan_test): Likewise.
18441 (ctan_test_tonearest): Likewise.
18442 (ctan_test_towardzero): Likewise.
18443 (ctan_test_downward): Likewise.
18444 (ctan_test_upward): Likewise.
18445 (ctanh_test): Likewise.
18446 (ctanh_test_tonearest): Likewise.
18447 (ctanh_test_towardzero): Likewise.
18448 (ctanh_test_downward): Likewise.
18449 (ctanh_test_upward): Likewise.
18450 (erf_test): Likewise.
18451 (erfc_test): Likewise.
18452 (exp_test): Likewise.
18453 (exp_test_tonearest): Likewise.
18454 (exp_test_towardzero): Likewise.
18455 (exp_test_downward): Likewise.
18456 (exp_test_upward): Likewise.
18457 (exp10_test): Likewise.
18458 (exp2_test): Likewise.
18459 (expm1_test): Likewise.
18460 (fmod_test): Likewise.
18461 (gamma_test): Likewise.
18462 (hypot_test): Likewise.
18463 (j0_test): Likewise.
18464 (j1_test): Likewise.
18465 (jn_test): Likewise.
18466 (lgamma_test): Likewise.
18467 (log_test): Likewise.
18468 (log10_test): Likewise.
18469 (log1p_test): Likewise.
18470 (log2_test): Likewise.
18471 (logb_test_downward): Likewise.
18472 (pow_test): Likewise.
18473 (pow_test_tonearest): Likewise.
18474 (pow_test_towardzero): Likewise.
18475 (pow_test_downward): Likewise.
18476 (pow_test_upward): Likewise.
18477 (remainder_test): Likewise.
18478 (remquo_test): Likewise.
18479 (sin_test): Likewise.
18480 (sin_test_tonearest): Likewise.
18481 (sin_test_towardzero): Likewise.
18482 (sin_test_downward): Likewise.
18483 (sin_test_upward): Likewise.
18484 (sincos_test): Likewise.
18485 (sinh_test): Likewise.
18486 (sinh_test_tonearest): Likewise.
18487 (sinh_test_towardzero): Likewise.
18488 (sinh_test_downward): Likewise.
18489 (sinh_test_upward): Likewise.
18490 (sqrt_test): Likewise.
18491 (tan_test): Likewise.
18492 (tan_test_tonearest): Likewise.
18493 (tan_test_towardzero): Likewise.
18494 (tan_test_downward): Likewise.
18495 (tan_test_upward): Likewise.
18496 (tanh_test): Likewise.
18497 (tgamma_test): Likewise.
18498 (y0_test): Likewise.
18499 (y1_test): Likewise.
18500 (yn_test): Likewise.
18502 * math/gen-libm-test.pl (adjust_arg): Remove function.
18503 (special_function): Remove argument $in_func. Only handle
18504 generating output for tables of tests, not inside functions.
18505 (parse_args): Likewise.
18506 (generate_testfile): Remove variable $in_func. Update call to
18508 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18509 (MINUS_ZERO_INIT): Rename macro to minus_zero.
18510 (PLUS_INFTY_INIT): Rename macro to plus_infty.
18511 (MINUS_INFTY_INIT): Rename macro to minus_infty.
18512 (QNAN_VALUE_INIT): Rename macro to qnan_value.
18513 (MAX_VALUE_INIT): Rename macro to max_value.
18514 (MIN_VALUE_INIT): Rename macro to min_value.
18515 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18516 (plus_zero): Remove variable.
18517 (minus_zero): Likewise.
18518 (plus_infty): Likewise.
18519 (minus_infty): Likewise.
18520 (qnan_value): Likewise.
18521 (max_value): Likewise.
18522 (min_value): Likewise.
18523 (min_subnorm_value): Likewise.
18525 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18527 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18528 uint64_t or uint32_t usage.
18529 * crypt/sha256-block.c: Likewise.
18530 * crypt/sha256-crypt.c: Likewise.
18531 * crypt/sha256.c: Likewise.
18532 * crypt/sha512-block.c: Likewise.
18533 * crypt/sha512-crypt.c: Likewise.
18534 * crypt/sha512.c: Likewise.
18535 * debug/backtrace-tst.c: Likewise.
18536 * debug/pcprofiledump.c: Likewise.
18537 * elf/cache.c: Likewise.
18538 * elf/dl-cache.c: Likewise.
18539 * elf/dl-misc.c: Likewise.
18540 * elf/dl-profile.c: Likewise.
18541 * elf/dl-support.c: Likewise.
18542 * elf/ldconfig.c: Likewise.
18543 * elf/sprof.c: Likewise.
18544 * iconv/dummy-repertoire.c: Likewise.
18545 * iconv/iconv_charmap.c: Likewise.
18546 * iconv/skeleton.c: Likewise.
18547 * iconvdata/8bit-generic.c: Likewise.
18548 * iconvdata/cp737.h: Likewise.
18549 * iconvdata/cp775.h: Likewise.
18550 * iconvdata/ibm1008.h: Likewise.
18551 * iconvdata/ibm1025.h: Likewise.
18552 * iconvdata/ibm1046.h: Likewise.
18553 * iconvdata/ibm1097.h: Likewise.
18554 * iconvdata/ibm1112.h: Likewise.
18555 * iconvdata/ibm1122.h: Likewise.
18556 * iconvdata/ibm1123.h: Likewise.
18557 * iconvdata/ibm1124.h: Likewise.
18558 * iconvdata/ibm1129.h: Likewise.
18559 * iconvdata/ibm1130.h: Likewise.
18560 * iconvdata/ibm1132.h: Likewise.
18561 * iconvdata/ibm1133.h: Likewise.
18562 * iconvdata/ibm1137.h: Likewise.
18563 * iconvdata/ibm1140.h: Likewise.
18564 * iconvdata/ibm1141.h: Likewise.
18565 * iconvdata/ibm1142.h: Likewise.
18566 * iconvdata/ibm1143.h: Likewise.
18567 * iconvdata/ibm1144.h: Likewise.
18568 * iconvdata/ibm1145.h: Likewise.
18569 * iconvdata/ibm1146.h: Likewise.
18570 * iconvdata/ibm1147.h: Likewise.
18571 * iconvdata/ibm1148.h: Likewise.
18572 * iconvdata/ibm1149.h: Likewise.
18573 * iconvdata/ibm1153.h: Likewise.
18574 * iconvdata/ibm1154.h: Likewise.
18575 * iconvdata/ibm1155.h: Likewise.
18576 * iconvdata/ibm1156.h: Likewise.
18577 * iconvdata/ibm1157.h: Likewise.
18578 * iconvdata/ibm1158.h: Likewise.
18579 * iconvdata/ibm1160.h: Likewise.
18580 * iconvdata/ibm1161.h: Likewise.
18581 * iconvdata/ibm1162.h: Likewise.
18582 * iconvdata/ibm1163.h: Likewise.
18583 * iconvdata/ibm1164.h: Likewise.
18584 * iconvdata/ibm1166.h: Likewise.
18585 * iconvdata/ibm1167.h: Likewise.
18586 * iconvdata/ibm12712.h: Likewise.
18587 * iconvdata/ibm1390.h: Likewise.
18588 * iconvdata/ibm1399.h: Likewise.
18589 * iconvdata/ibm16804.h: Likewise.
18590 * iconvdata/ibm4517.h: Likewise.
18591 * iconvdata/ibm4899.h: Likewise.
18592 * iconvdata/ibm4909.h: Likewise.
18593 * iconvdata/ibm4971.h: Likewise.
18594 * iconvdata/ibm5347.h: Likewise.
18595 * iconvdata/ibm803.h: Likewise.
18596 * iconvdata/ibm856.h: Likewise.
18597 * iconvdata/ibm901.h: Likewise.
18598 * iconvdata/ibm902.h: Likewise.
18599 * iconvdata/ibm9030.h: Likewise.
18600 * iconvdata/ibm9066.h: Likewise.
18601 * iconvdata/ibm921.h: Likewise.
18602 * iconvdata/ibm922.h: Likewise.
18603 * iconvdata/ibm9448.h: Likewise.
18604 * iconvdata/isiri-3342.h: Likewise.
18605 * iconvdata/jis0201.h: Likewise.
18606 * include/link.h: Likewise.
18607 * include/netdb.h: Likewise.
18608 * inet/check_native.c: Likewise.
18609 * inet/check_pf.c: Likewise.
18610 * inet/getipv4sourcefilter.c: Likewise.
18611 * inet/getnameinfo.c: Likewise.
18612 * inet/getsourcefilter.c: Likewise.
18613 * inet/htonl.c: Likewise.
18614 * inet/setipv4sourcefilter.c: Likewise.
18615 * inet/setsourcefilter.c: Likewise.
18616 * inet/test-inet6_opt.c: Likewise.
18617 * inet/tst-network.c: Likewise.
18618 * locale/C-collate.c: Likewise.
18619 * locale/C-ctype.c: Likewise.
18620 * locale/C-time.c: Likewise.
18621 * locale/C-translit.h: Likewise.
18622 * locale/loadarchive.c: Likewise.
18623 * locale/programs/3level.h: Likewise.
18624 * locale/programs/charmap.c: Likewise.
18625 * locale/programs/charmap.h: Likewise.
18626 * locale/programs/ld-address.c: Likewise.
18627 * locale/programs/ld-collate.c: Likewise.
18628 * locale/programs/ld-ctype.c: Likewise.
18629 * locale/programs/ld-identification.c: Likewise.
18630 * locale/programs/ld-measurement.c: Likewise.
18631 * locale/programs/ld-messages.c: Likewise.
18632 * locale/programs/ld-monetary.c: Likewise.
18633 * locale/programs/ld-name.c: Likewise.
18634 * locale/programs/ld-numeric.c: Likewise.
18635 * locale/programs/ld-paper.c: Likewise.
18636 * locale/programs/ld-telephone.c: Likewise.
18637 * locale/programs/ld-time.c: Likewise.
18638 * locale/programs/linereader.c: Likewise.
18639 * locale/programs/locale.c: Likewise.
18640 * locale/programs/locarchive.c: Likewise.
18641 * locale/programs/locfile.h: Likewise.
18642 * locale/programs/repertoire.c: Likewise.
18643 * locale/programs/simple-hash.c: Likewise.
18644 * locale/programs/simple-hash.h: Likewise.
18645 * malloc/memusage.c: Likewise.
18646 * malloc/memusagestat.c: Likewise.
18647 * nis/nis_defaults.c: Likewise.
18648 * nis/nis_hash.c: Likewise.
18649 * nis/nis_print.c: Likewise.
18650 * nis/nis_xdr.c: Likewise.
18651 * nscd/connections.c: Likewise.
18652 * nscd/hstcache.c: Likewise.
18653 * nscd/nscd_gethst_r.c: Likewise.
18654 * nscd/nscd_getserv_r.c: Likewise.
18655 * nscd/nscd_helper.c: Likewise.
18656 * nscd/servicescache.c: Likewise.
18657 * nss/makedb.c: Likewise.
18658 * nss/nss_db/db-XXX.c: Likewise.
18659 * nss/nss_db/db-initgroups.c: Likewise.
18660 * nss/nss_db/db-netgrp.c: Likewise.
18661 * nss/nss_files/files-network.c: Likewise.
18662 * nss/nss_files/files-parse.c: Likewise.
18663 * posix/bug-regex5.c: Likewise.
18664 * posix/fnmatch_loop.c: Likewise.
18665 * posix/regcomp.c: Likewise.
18666 * posix/regexec.c: Likewise.
18667 * posix/tst-rfc3484-2.c: Likewise.
18668 * posix/tst-rfc3484-3.c: Likewise.
18669 * posix/tst-rfc3484.c: Likewise.
18670 * resolv/nss_dns/dns-canon.c: Likewise.
18671 * resolv/nss_dns/dns-network.c: Likewise.
18672 * resolv/res_init.c: Likewise.
18673 * resolv/res_mkquery.c: Likewise.
18674 * resolv/tst-aton.c: Likewise.
18675 * stdlib/cxa_atexit.c: Likewise.
18676 * stdlib/cxa_finalize.c: Likewise.
18677 * stdlib/gen-fpioconst.c: Likewise.
18678 * stdlib/strtol_l.c: Likewise.
18679 * string/tst-endian.c: Likewise.
18680 * sunrpc/auth_des.c: Likewise.
18681 * sunrpc/clnt_udp.c: Likewise.
18682 * sunrpc/rtime.c: Likewise.
18683 * sunrpc/svcauth_des.c: Likewise.
18684 * sunrpc/xdr.c: Likewise.
18685 * sunrpc/xdr_intXX_t.c: Likewise.
18686 * sunrpc/xdr_rec.c: Likewise.
18687 * sysdeps/generic/ldconfig.h: Likewise.
18688 * sysdeps/generic/ldsodefs.h: Likewise.
18689 * sysdeps/generic/memusage.h: Likewise.
18690 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18691 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18692 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18693 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18694 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18695 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18696 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18697 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18698 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18699 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18700 * sysdeps/posix/getaddrinfo.c: Likewise.
18701 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18702 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18703 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18704 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18705 * sysdeps/powerpc/test-gettimebase.c: Likewise.
18706 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18707 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18708 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18709 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18710 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18711 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18712 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18713 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18714 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18715 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18716 * sysdeps/x86_64/dl-tls.h: Likewise.
18717 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18718 * time/alt_digit.c: Likewise.
18719 * time/era.c: Likewise.
18720 * wcsmbs/tst-c16c32-1.c: Likewise.
18722 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18724 * math/libm-test.inc (struct test_sincos_data): New type.
18725 (RUN_TEST_LOOP_sincos): New macro.
18726 (sincos_test_data): New variable.
18727 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18729 2013-05-16 Richard Henderson <rth@redhat.com>
18731 * math/atest-exp2.c (LIMB64): New macro.
18732 (CONSTSZ): New macro.
18733 (mp_exp1, mp_exp_m1, mp_log2): New variables.
18735 (print_mpn_fp): ... to function scope.
18736 (read_mpn_hex): Remove.
18737 (get_log2): Remove.
18738 (exp2_mpn): Use mp_log2.
18739 (main): Use mp_exp1.
18741 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18743 * math/libm-test.inc: Remove comment about not testing "inexact"
18745 (INEXACT_EXCEPTION): New macro.
18746 (NO_INEXACT_EXCEPTION): Likewise.
18747 (INVALID_EXCEPTION_OK): Update value.
18748 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18749 (OVERFLOW_EXCEPTION_OK): Likewise.
18750 (UNDERFLOW_EXCEPTION_OK): Likewise.
18751 (IGNORE_ZERO_INF_SIGN): Likewise.
18752 (ERRNO_UNCHANGED): Likewise.
18753 (ERRNO_EDOM): Likewise.
18754 (ERRNO_ERANGE): Likewise.
18755 (test_exceptions): Handle testing "inexact" exceptions.
18756 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18757 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18758 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18759 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18761 (rint_towardzero_test_data): Likewise.
18762 (rint_downward_test_data): Likewise.
18763 (rint_upward_test_data): Likewise.
18765 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18766 with OVERFLOW_EXCEPTION.
18767 (exp10_test_data): Likewise.
18768 (exp2_test_data): Likewise.
18769 (expm1_test_data): Likewise.
18770 (lgamma_test_data): Likewise.
18771 (pow_test_data): Likewise.
18772 (tgamma_test_data): Likewise.
18773 (yn_test_data): Remove duplicate test of overflow.
18775 * math/libm-test.inc (struct test_cc_c_data): New type.
18776 (RUN_TEST_LOOP_cc_c): New macro.
18777 (cpow_test_data): New variable.
18778 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18780 * math/libm-test.inc (struct test_f_L_data): New type.
18781 (RUN_TEST_LOOP_f_L): New macro.
18782 (llrint_test_data): New variable.
18783 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18784 (llrint_tonearest_test_data): New variable.
18785 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18786 (llrint_towardzero_test_data): New variable.
18787 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18788 (llrint_downward_test_data): New variable.
18789 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18790 (llrint_upward_test_data): New variable.
18791 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18792 (llround_test_data): New variable.
18793 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18795 2013-05-13 Peter Collingbourne <pcc@google.com>
18797 * math/atest-exp2.c (get_log2): Remove const attribute.
18799 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18801 * math/libm-test.inc (struct test_f_l_data): New type.
18802 (RUN_TEST_LOOP_f_l): New macro.
18803 (lrint_test_data): New variable.
18804 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18805 (lrint_tonearest_test_data): New variable.
18806 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18807 (lrint_towardzero_test_data): New variable.
18808 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18809 (lrint_downward_test_data): New variable.
18810 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18811 (lrint_upward_test_data): New variable.
18812 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18813 (lround_test_data): New variable.
18814 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18816 2013-05-15 Peter Collingbourne <pcc@google.com>
18818 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18819 (EXTRACT_WORDS64) Use where appropriate.
18820 (INSERT_WORDS64) Likewise.
18822 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18823 constraints with x constraints.
18824 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18826 * malloc/obstack.c (_obstack_compat): Add initializer.
18828 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
18830 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18831 si_trapno and add si_addr_lsb to _sifields.sigfault.
18832 (si_trapno): Remove macro.
18833 (si_addr_lsb): Define new macro.
18834 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18836 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18838 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18839 instead of TEST_f_l.
18840 (llrint_test_tonearest): Likewise.
18841 (llrint_test_towardzero): Likewise.
18842 (llrint_test_downward): Likewise.
18843 (llrint_test_upward): Likewise.
18844 (llround_test): Likewise.
18846 * math/libm-test.inc (struct test_f_i_data): Add comment.
18847 (RUN_TEST_LOOP_f_b): New macro.
18848 (RUN_TEST_LOOP_f_b_tg): Likewise.
18849 (finite_test_data): New variable.
18850 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18851 (isfinite_test_data): New variable.
18852 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18853 (isinf_test_data): New variable.
18854 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18855 (isnan_test_data): New variable.
18856 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18857 (isnormal_test_data): New variable.
18858 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18859 (issignaling_test_data): New variable.
18860 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18861 (signbit_test_data): New variable.
18862 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18864 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18865 with INVALID_EXCEPTION.
18866 (acosh_test_data): Likewise.
18867 (asin_test_data): Likewise.
18868 (atanh_test_data): Likewise.
18869 (fmod_test_data): Likewise.
18870 (log_test_data): Likewise.
18871 (log10_test_data): Likewise.
18872 (log2_test_data): Likewise.
18873 (pow_test_data): Likewise.
18874 (sqrt_test_data): Likewise.
18875 (y0_test_data): Likewise.
18876 (y1_test_data): Likewise.
18877 (yn_test_data): Likewise.
18879 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18882 * math/libm-test.inc (struct test_ff_i_data): New type.
18883 (RUN_TEST_LOOP_ff_i_tg): New macro.
18884 (isgreater_test_data): New variable.
18885 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18886 (isgreaterequal_test_data): New variable.
18887 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18888 (isless_test_data): New variable.
18889 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18890 (islessequal_test_data): New variable.
18891 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18892 (islessgreater_test_data): New variable.
18893 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18894 (isunordered_test_data): New variable.
18895 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18897 2013-05-14 David S. Miller <davem@davemloft.net>
18899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18901 2013-05-14 Joseph Myers <joseph@codesourcery.com>
18903 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18905 * math/libm-test.inc (struct test_fF_f1_data): Change type of
18907 (struct test_f_i_data): Change type of max_ulp to int.
18909 * math/libm-test.inc (test_ffI_f1_data): New type.
18910 (RUN_TEST_LOOP_ffI_f1): New macro.
18911 (remquo_test_data): New variable.
18912 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18914 * setjmp/tst-setjmp-fp.c: New file.
18915 * setjmp/Makefile (tests): Add tst-setjmp-fp.
18916 (link-libm): New variable.
18917 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18919 * math/libm-test.inc (struct test_f_i_data): New type.
18920 (RUN_TEST_LOOP_f_i): New macro.
18921 (RUN_TEST_LOOP_f_i_tg): Likewise.
18922 (fpclassify_test_data): New variable.
18923 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18924 (ilogb_test_data): New variable.
18925 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18927 * math/libm-test.inc (scalbln_test): Correct function name in END
18930 * math/libm-test.inc (struct test_f_f1_data): Add comment.
18931 (RUN_TEST_LOOP_fI_f1): New macro.
18932 (frexp_test_data): New variable.
18933 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18935 * math/libm-test.inc (struct test_fF_f1_data): New type.
18936 (RUN_TEST_LOOP_fF_f1): New macro.
18937 (modf_test_data): New variable.
18938 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18940 * math/libm-test.inc (struct test_f_f1_data): New type.
18941 (RUN_TEST_LOOP_f_f1): New macro.
18942 (gamma_test_data): New variable.
18943 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18944 (lgamma_test_data): New variable.
18945 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18947 2013-05-13 Carlos O'Donell <carlos@redhat.com>
18949 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18950 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18951 (main): Comment "tls" pseudo-hwcap.
18953 2013-05-13 Joseph Myers <joseph@codesourcery.com>
18955 * math/libm-test.inc (struct test_fl_f_data): New type.
18956 (RUN_TEST_LOOP_fl_f): New variable.
18957 (scalbln_test_data): New variable.
18958 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18960 * math/libm-test.inc (struct test_fi_f_data): New type.
18961 (RUN_TEST_LOOP_fi_f): New macro.
18962 (ldexp_test_data): New variable.
18963 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18964 (scalbn_test_data): New variable.
18965 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18967 * math/libm-test.inc (struct test_c_f_data): New type.
18968 (RUN_TEST_LOOP_c_f): New macro.
18969 (cabs_test_data): New variable.
18970 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18971 (carg_test_data): New variable.
18972 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18973 (cimag_test_data): New variable.
18974 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18975 (creal_test_data): New variable.
18976 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18978 * math/libm-test.inc (struct test_if_f_data): New type.
18979 (RUN_TEST_LOOP_if_f): New macro.
18980 (jn_test_data): New variable.
18981 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18982 (yn_test_data): New variable.
18983 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18985 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18987 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18989 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18990 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18992 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18994 * benchtests/Makefile (CPPFLAGS-nonlib): Add
18995 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18996 (bench-deps): Add bench-timing.h.
18997 * benchtests-bench-skeleton.c: Include bench-timing.h.
18998 (main): Use TIMING_* macros instead of clock_gettime.
18999 * benchtests/bench-timing.h: New file.
19002 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19003 Renamed from _LIB_VERSION.
19004 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19006 2013-05-12 Joseph Myers <joseph@codesourcery.com>
19008 * math/libm-test.inc (struct test_fff_f_data): New type.
19009 (RUN_TEST_LOOP_fff_f): New macro.
19010 (fma_test_data): New variable.
19011 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19012 (fma_towardzero_test_data): New variable.
19013 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19014 (fma_downward_test_data): New variable.
19015 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19016 (fma_upward_test_data): New variable.
19017 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19019 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19020 (struct test_c_c_data): New type.
19021 (RUN_TEST_LOOP_c_c): New macro.
19022 (cacos_test_data): New variable.
19023 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19024 (cacosh_test_data): New variable.
19025 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19026 (casin_test_data): New variable.
19027 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19028 (casinh_test_data): New variable.
19029 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19030 (catan_test_data): New variable.
19031 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19032 (catanh_test_data): New variable.
19033 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19034 (ccos_test_data): New variable.
19035 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19036 (ccosh_test_data): New variable.
19037 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19038 (cexp_test_data): New variable.
19039 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19040 (clog_test_data): New variable.
19041 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19042 (clog10_test_data): New variable.
19043 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19044 (conj_test_data): New variable.
19045 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19046 (cproj_test_data): New variable.
19047 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19048 (csin_test_data): New variable.
19049 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19050 (csinh_test_data): New variable.
19051 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19052 (csqrt_test_data): New variable.
19053 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19054 (ctan_test_data): New variable.
19055 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19056 (ctan_tonearest_test_data): New variable.
19057 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19058 (ctan_towardzero_test_data): New variable.
19059 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19060 (ctan_downward_test_data): New variable.
19061 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19062 (ctan_upward_test_data): New variable.
19063 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19064 (ctanh_test_data): New variable.
19065 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19066 (ctanh_tonearest_test_data): New variable.
19067 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19068 (ctanh_towardzero_test_data): New variable.
19069 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19070 (ctanh_downward_test_data): New variable.
19071 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19072 (ctanh_upward_test_data): New variable.
19073 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19074 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19077 * math/libm-test.inc (struct test_ff_f_data): New type.
19078 (struct test_ff_f_data_nexttoward): Likewise.
19079 (RUN_TEST_LOOP_2_f): New macro.
19080 (RUN_TEST_LOOP_ff_f): Likewise.
19081 (atan2_test_data): New variable.
19082 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19083 (copysign_test_data): New variable.
19084 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19085 (fdim_test_data): New variable.
19086 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19087 (fmax_test_data): New variable.
19088 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19089 (fmin_test_data): New variable.
19090 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19091 (fmod_test_data): New variable.
19092 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19093 (hypot_test_data): New variable.
19094 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19095 (nextafter_test_data): New variable.
19096 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19097 (nexttoward_test_data): New variable.
19098 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19099 (pow_test_data): New variable.
19100 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19101 (pow_tonearest_test_data): New variable.
19102 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19103 (pow_towardzero_test_data): New variable.
19104 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19105 (pow_downward_test_data): New variable.
19106 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19107 (pow_upward_test_data): New variable.
19108 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19109 (remainder_test_data): New variable.
19110 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19111 (scalb_test_data): New variable.
19112 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19113 * sysdeps/i386/fpu/libm-test-ulps: Update.
19115 2013-05-11 Joseph Myers <joseph@codesourcery.com>
19117 * math/libm-test.inc (fma_test): Use max_value instead of local
19119 (nextafter_test): Likewise.
19121 * math/libm-test.inc (acos_towardzero_test_data): New variable.
19122 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19123 (acos_downward_test_data): New variable.
19124 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19125 (acos_upward_test_data): New variable.
19126 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19127 (acosh_test_data): New variable.
19128 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19129 (asin_test_data): New variable.
19130 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19131 (asin_tonearest_test_data): New variable.
19132 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19133 (asin_towardzero_test_data): New variable.
19134 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19135 (asin_downward_test_data): New variable.
19136 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19137 (asin_upward_test_data): New variable.
19138 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19139 (asinh_test_data): New variable.
19140 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19141 (atan_test_data): New variable.
19142 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19143 (atanh_test_data): New variable.
19144 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19145 (cbrt_test_data): New variable.
19146 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19147 (ceil_test_data): New variable.
19148 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19149 (cos_test_data): New variable.
19150 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19151 (cos_tonearest_test_data): New variable.
19152 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19153 (cos_towardzero_test_data): New variable.
19154 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19155 (cos_downward_test_data): New variable.
19156 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19157 (cos_upward_test_data): New variable.
19158 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19159 (cosh_test_data): New variable.
19160 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19161 (cosh_tonearest_test_data): New variable.
19162 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19163 (cosh_towardzero_test_data): New variable.
19164 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19165 (cosh_downward_test_data): New variable.
19166 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19167 (cosh_upward_test_data): New variable.
19168 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19169 (erf_test_data): New variable.
19170 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19171 (erfc_test_data): New variable.
19172 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19173 (exp_test_data): New variable.
19174 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19175 (exp_tonearest_test_data): New variable.
19176 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19177 (exp_towardzero_test_data): New variable.
19178 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19179 (exp_downward_test_data): New variable.
19180 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19181 (exp_upward_test_data): New variable.
19182 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19183 (exp10_test_data): New variable.
19184 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19185 (exp2_test_data): New variable.
19186 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19187 (expm1_test_data): New variable.
19188 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19189 (fabs_test_data): New variable.
19190 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19191 (floor_test_data): New variable.
19192 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19193 (j0_test_data): New variable.
19194 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19195 (j1_test_data): New variable.
19196 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19197 (log_test_data): New variable.
19198 (log_test): Run tests with RUN_TEST_LOOP_f_f.
19199 (log10_test_data): New variable.
19200 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19201 (log1p_test_data): New variable.
19202 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19203 (log2_test_data): New variable.
19204 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19205 (logb_test_data): New variable.
19206 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19207 (logb_downward_test_data): New variable.
19208 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19209 (nearbyint_test_data): New variable.
19210 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19211 (rint_test_data): New variable.
19212 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19213 (rint_tonearest_test_data): New variable.
19214 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19215 (rint_towardzero_test_data): New variable.
19216 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19217 (rint_downward_test_data): New variable.
19218 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19219 (rint_upward_test_data): New variable.
19220 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19221 (round_test_data): New variable.
19222 (round_test): Run tests with RUN_TEST_LOOP_f_f.
19223 (sin_test_data): New variable.
19224 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19225 (sin_tonearest_test_data): New variable.
19226 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19227 (sin_towardzero_test_data): New variable.
19228 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19229 (sin_downward_test_data): New variable.
19230 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19231 (sin_upward_test_data): New variable.
19232 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19233 (sinh_test_data): New variable.
19234 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19235 (sinh_tonearest_test_data): New variable.
19236 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19237 (sinh_towardzero_test_data): New variable.
19238 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19239 (sinh_downward_test_data): New variable.
19240 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19241 (sinh_upward_test_data): New variable.
19242 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19243 (sqrt_test_data): New variable.
19244 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19245 (tan_test_data): New variable.
19246 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19247 (tan_tonearest_test_data): New variable.
19248 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19249 (tan_towardzero_test_data): New variable.
19250 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19251 (tan_downward_test_data): New variable.
19252 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19253 (tan_upward_test_data): New variable.
19254 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19255 (tanh_test_data): New variable.
19256 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19257 (tgamma_test_data): New variable.
19258 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19259 (trunc_test_data): New variable.
19260 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19261 (y0_test_data): New variable.
19262 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19263 (y1_test_data): New variable.
19264 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19265 (significand_test_data): New variable.
19266 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19268 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19271 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19273 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19275 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19277 2013-05-10 Andreas Jaeger <aj@suse.de>
19280 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19281 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19283 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19285 * math/gen-libm-test.pl (adjust_arg): New function.
19286 (special_functions): Handle generating output in both functions
19288 (parse_args): Likewise.
19289 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19290 $in_func argument to parse_args.
19291 * math/libm-test.inc (struct test_f_f_data): New type.
19292 (IF_ROUND_INIT_): New macro.
19293 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19294 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19295 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19296 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19297 (ROUND_RESTORE_): Likewise.
19298 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19299 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19300 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19301 (ROUND_RESTORE_FE_UPWARD): Likewise.
19302 (RUN_TEST_LOOP_f_f): New macro.
19303 (acos_test_data): New variable.
19304 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19305 (acos_tonearest_test_data): New variable.
19306 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19308 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19310 * benchtests/bench-skeleton.c (startup): Fix coding style.
19312 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19315 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19316 negative infinity argument.
19317 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19318 negative infinity argument.
19319 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19320 negative infinity argument.
19321 * math/libm-test.inc (tgamma_test): Expect errno to be set for
19324 2013-05-10 Florian Weimer <fweimer@redhat.com>
19326 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19327 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19328 * iconv/iconv_prog.c (main): Likewise.
19329 * locale/programs/charmap-dir.c (charmap_readdir)
19330 (fopen_uncompressed): Likewise.
19331 * locale/programs/locfile.c (siblings_uncached)
19332 (write_locale_data): Use lstat64 instead of lstat.
19333 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19336 2013-05-10 Andreas Jaeger <aj@suse.de>
19339 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19341 Include <locale.h>.
19343 2013-05-09 Carlos O'Donell <carlos@redhat.com>
19345 * elf/dl-close.c (_dl_close_worker): Add comments.
19347 2013-05-09 Joseph Myers <joseph@codesourcery.com>
19350 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19352 (__ieee754_rem_pio2l): Update comments.
19355 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19357 (__ieee754_rem_pio2l): Update comments.
19359 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19360 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19362 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19365 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19366 (M_PI_34_LOG10El): Likewise.
19367 (M_PI2_LOG10El): Likewise.
19368 (M_PI4_LOG10El): Likewise.
19369 (M_PI_LOG10El): Likewise.
19371 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19375 2013-05-08 Joseph Myers <joseph@codesourcery.com>
19377 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19378 (MINUS_ZERO_INIT): Likewise.
19379 (PLUS_INFTY_INIT): Likewise.
19380 (MINUS_INFTY_INIT): Likewise.
19381 (QNAN_VALUE_INIT): Likewise.
19382 (MAX_VALUE_INIT): Likewise.
19383 (MIN_VALUE_INIT): Likewise.
19384 (MIN_SUBNORM_VALUE_INIT): Likewise.
19385 (plus_zero): Initialize with PLUS_ZERO_INIT.
19386 (minus_zero): Initialize with MINUS_ZERO_INIT.
19387 (plus_infty): Initialize with PLUS_INFTY_INIT.
19388 (minus_infty): Initialize with MINUS_INFTY_INIT.
19389 (qnan_value): Initialize with QNAN_VALUE_INIT.
19390 (max_value): Initialize with MAX_VALUE_INIT.
19391 (min_value): Initialize with MIN_VALUE_INIT.
19392 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19394 * math/libm-test.inc (RUN_TEST_if_f): New macro.
19395 (jn_test): Use TEST_if_f instead of TEST_ff_f.
19396 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19397 (yn_test): Use TEST_if_f instead of TEST_ff_f.
19399 * math/libm-test.inc (RUN_TEST_f_f): New macro.
19400 (RUN_TEST_2_f): Likewise.
19401 (RUN_TEST_ff_f): Likewise.
19402 (RUN_TEST_fi_f): Likewise.
19403 (RUN_TEST_fl_f): Likewise.
19404 (RUN_TEST_fff_f): Likewise.
19405 (RUN_TEST_c_f): Likewise.
19406 (RUN_TEST_f_f1): Likewise.
19407 (RUN_TEST_fF_f1): Likewise.
19408 (RUN_TEST_fI_f1): Likewise.
19409 (RUN_TEST_ffI_f1): Likewise.
19410 (RUN_TEST_c_c): Likewise.
19411 (RUN_TEST_cc_c): Likewise.
19412 (RUN_TEST_f_i): Likewise.
19413 (RUN_TEST_f_i_tg): Likewise.
19414 (RUN_TEST_ff_i_tg): Likewise.
19415 (RUN_TEST_f_b): Likewise.
19416 (RUN_TEST_f_b_tg): Likewise.
19417 (RUN_TEST_f_l): Likewise.
19418 (RUN_TEST_f_L): Likewise.
19419 (RUN_TEST_sincos): Likewise.
19420 * math/gen-libm-test.pl (new_test): Take new argument to indicate
19421 whether to show exceptions. Do not include ");\n" in return
19423 (special_functions): Output call to RUN_TEST_sincos instead of
19424 check_float calls. Update calls to new_test.
19425 (parse_args): Output call to single RUN_TEST_* macro instead of
19426 check_* calls and other assignments. Update calls to new_test.
19432 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19433 input to result for tgamma overflow.
19434 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19435 (gamma_coeff): New variable.
19436 (NCOEFF): New macro.
19437 (gamma_positive): New function.
19438 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19439 underflow here. Use gamma_positive instead of exp (lgamma) for
19441 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19442 (gamma_coeff): New variable.
19443 (NCOEFF): New macro.
19444 (gammaf_positive): New function.
19445 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19446 underflow here. Use gamma_positive instead of exp (lgamma) for
19448 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19449 (gamma_coeff): New variable.
19450 (NCOEFF): New macro.
19451 (gammal_positive): New function.
19452 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19453 underflow here. Use gamma_positive instead of exp (lgamma) for
19455 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19456 (gamma_coeff): New variable.
19457 (NCOEFF): New macro.
19458 (gammal_positive): New function.
19459 (__ieee754_gammal_r): Handle positive infinity, overflow and
19460 underflow here. Handle NaN the same as positive infinity. Remove
19461 check x < 0xffffffff for negative integers. Use gamma_positive
19462 instead of exp (lgamma) for other arguments.
19463 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19464 (gamma_coeff): New variable.
19465 (NCOEFF): New macro.
19466 (gammal_positive): New function.
19467 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19468 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19469 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19470 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19471 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19472 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19473 * sysdeps/generic/math_private.h (__gamma_productf): New
19475 (__gamma_product): Likewise.
19476 (__gamma_productl): Likewise.
19477 * math/Makefile (libm-calls): Add gamma_product.
19478 * math/libm-test.inc (tgamma_test): Add more tests.
19479 * sysdeps/i386/fpu/libm-test-ulps: Update.
19480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19482 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
19484 * benchtests/bench-skeleton.c (main): Preheat CPU.
19486 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
19488 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19490 2013-05-07 Roland McGrath <roland@hack.frob.com>
19492 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19493 and _dl_skip_args_internal.
19495 2013-05-07 Carlos O'Donell <carlos@redhat.com>
19497 * manual/message.texi (Message Translation): Talk about users.
19498 Message to key mapping impacts design.
19500 2013-05-06 Roland McGrath <roland@hack.frob.com>
19502 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19504 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19506 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19507 * sysdeps/wordsize-64/glob64.c: ... here.
19509 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19510 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19513 * debug/getlogin_r_chk.c: Moved to ...
19514 * login/getlogin_r_chk.c: ... here.
19515 * debug/Makefile (routines): Move getlogin_r_chk to ...
19516 * login/Makefile (routines): ... here.
19517 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19518 * login/Versions (libc: GLIBC_2.4): ... here.
19520 * io/poll.c (__poll): Renamed from poll.
19521 Add libc_hidden_def.
19522 (poll): Define as weak alias.
19524 * debug/ptsname_r_chk.c: Moved to ...
19525 * login/ptsname_r_chk.c: ... here.
19526 * debug/Makefile (routines): Move ptsname_r_chk to ...
19527 * login/Makefile (routines): ... here.
19528 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19529 * login/Versions (libc: GLIBC_2.4): ... here.
19531 * posix/getlogin.c: Moved to ...
19532 * login/getlogin.c: ... here.
19533 * posix/getlogin_r.c: Moved to ...
19534 * login/getlogin_r.c: ... here.
19535 * posix/getlogin_r.c: Moved to ...
19536 * login/getlogin_r.c: ... here.
19537 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19538 * login/Makefile (routines): ... here.
19539 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19540 * login/Versions (libc: GLIBC_2.0): ... here.
19542 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19543 (setrlimit): Define as weak alias.
19545 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19546 Call __ names for open, ftruncate, and close.
19547 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19548 (truncate): Define as weak alias.
19550 2013-05-06 Joseph Myers <joseph@codesourcery.com>
19552 * math/gen-libm-test.pl (parse_args): Initialize x before each
19553 test of frexp, modf and remquo.
19555 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19556 test signgam value.
19558 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19562 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19564 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19566 2013-05-06 Roland McGrath <roland@hack.frob.com>
19568 * elf/dl-writev.h: New file.
19569 * elf/dl-misc.c: Include it.
19570 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19571 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19573 2013-05-04 Joseph Myers <joseph@codesourcery.com>
19575 * math/libm-test.inc (noXFails): Remove variable.
19576 (noXPasses): Likewise.
19577 (BUILD_COMPLEX_INT): Remove macro.
19578 (print_screen): Remove xfail argument.
19579 (print_screen_max_error): Likewise.
19580 (update_stats): Likewise.
19581 (print_max_error): Likewise. Update calls to other affected
19583 (print_complex_max_error): Likewise.
19584 (test_single_exception): Update calls to print_screen.
19585 (test_single_errno): Likewise.
19586 (check_float_internal): Remove xfail argument. Update calls to
19587 other affected functions.
19588 (check_float): Likewise.
19589 (check_complex): Likewise.
19590 (check_int): Likewise.
19591 (check_long): Likewise.
19592 (check_bool): Likewise.
19593 (check_longlong): Likewise.
19594 (main): Don't print noXFails and noXPasses.
19595 * math/gen-libm-test.pl (top level): Don't mention expected
19596 failure handling in comment.
19597 (new_test): Don't handle expected failures.
19598 (parse_args): Don't mention expected failure handling in comment.
19599 (generate_testfile): Don't handle expected failures.
19600 (parse_ulps): Likewise.
19601 (print_ulps_file): Likewise.
19602 (get_failure): Remove function.
19603 (output_test): Don't handle expected failures.
19604 * make/README.libm-test: Don't mention expected failure handling.
19606 * math/libm-test.inc (plus_zero): Make const. Add initializer.
19607 (minus_zero): Likewise.
19608 (plus_infty): Likewise.
19609 (minus_infty): Likewise.
19610 (qnan_value): Likewise.
19611 (max_value): Likewise.
19612 (min_value): Likewise.
19613 (min_subnorm_value): Likewise.
19614 (initialize): Do not initialize those variables dynamically.
19616 2013-05-03 Roland McGrath <roland@hack.frob.com>
19618 * io/open.c (__open_2): Moved to ...
19619 * io/open_2.c: ... this new file.
19620 * io/open64.c (__open64_2): Moved to ...
19621 * io/open64_2.c: ... this new file.
19622 * io/openat.c (__openat_2): Moved to ...
19623 * io/openat_2.c: ... this new file.
19624 * io/openat64.c (__openat64_2): Moved to ...
19625 * io/openat64_2.c: ... this new file.
19626 * io/Makefile (routines): Add them.
19627 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19628 * sysdeps/unix/sysv/linux/open_2.c: File removed.
19629 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19630 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19631 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19632 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19633 (__openat64): Add hidden_ver.
19634 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19635 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19637 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19638 Separately conditionalize setting of GLRO(dl_sysinfo) so
19639 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19640 as well, but the actual setting is only under [NEED_DL_SYSINFO].
19642 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19644 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19645 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19647 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19648 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19649 (_libc_vdso_platform_setup): Add __vdso_time initialization.
19650 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19651 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19653 2013-05-03 Joseph Myers <joseph@codesourcery.com>
19655 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19656 test signgam value.
19658 * math/libm-test.inc (hypot_test): Do not use
19659 IGNORE_ZERO_INF_SIGN.
19661 2013-05-03 Andreas Jaeger <aj@suse.de>
19663 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19665 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19666 (PF_MAX): Adjust for VSOCK change.
19668 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19672 2013-05-02 Carlos O'Donell <carlos@redhat.com>
19675 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19676 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19677 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19679 2013-05-02 David S. Miller <davem@davemloft.net>
19681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19683 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
19685 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19687 2013-05-01 Roland McGrath <roland@hack.frob.com>
19689 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19691 2013-05-01 Richard Smith <richard@metafoo.co.uk>
19694 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19695 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19696 Use __attribute__ ((__gnu_inline__)).
19697 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19698 Don't use __attribute__ ((__gnu_inline__)).
19700 2013-05-01 Joseph Myers <joseph@codesourcery.com>
19703 * math/s_catan.c (__catan): Handle small real or imaginary part of
19704 input specially to avoid spurious underflow.
19705 * math/s_catanf.c (__catanf): Likewise.
19706 * math/s_catanh.c (__catanh): Likewise.
19707 * math/s_catanhf.c (__catanhf): Likewise.
19708 * math/s_catanhl.c (__catanhl): Likewise.
19709 * math/s_catanl.c (__catanl): Likewise.
19710 * math/libm-test.inc (catan_test): Add more tests.
19711 (catanh_test): Likewise.
19712 * sysdeps/i386/fpu/libm-test-ulps: Update.
19713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19715 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19719 2013-04-30 Joseph Myers <joseph@codesourcery.com>
19722 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19723 accurately for denominator in atan2.
19724 * math/s_catanf.c (__catanf): Likewise.
19725 * math/s_catanh.c (__catanh): Likewise.
19726 * math/s_catanhf.c (__catanhf): Likewise.
19727 * math/s_catanhl.c (__catanhl): Likewise.
19728 * math/s_catanl.c (__catanl): Likewise.
19729 * math/libm-test.inc (catan_test): Add more tests.
19730 (catanh_test): Likewise.
19731 * sysdeps/i386/fpu/libm-test-ulps: Update.
19732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19734 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19736 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19738 * benchtests/Makefile (bench): Remove slow benchmarks.
19739 * benchtests/atan-inputs: Add slow benchmark inputs.
19740 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19741 (BENCH_FUNC): Accept variant offset.
19743 * benchtests/bench-skeleton.c (main): Run benchmark for each
19745 * benchtests/cos-inputs: Add slow benchmark inputs.
19746 * benchtests/exp-inputs: Likewise.
19747 * benchtests/pow-inputs: Likewise.
19748 * benchtests/sin-inputs: Likewise.
19749 * benchtests/slowatan-inputs: Remove.
19750 * benchtests/slowatan.c: Remove.
19751 * benchtests/slowcos-inputs: Remove.
19752 * benchtests/slowcos.c: Remove.
19753 * benchtests/slowexp-inputs: Remove.
19754 * benchtests/slowexp.c: Remove.
19755 * benchtests/slowpow-inputs: Remove.
19756 * benchtests/slowpow.c: Remove.
19757 * benchtests/slowsin-inputs: Remove.
19758 * benchtests/slowsin.c: Remove.
19759 * benchtests/slowtan-inputs: Remove.
19760 * benchtests/slowtan.c: Remove.
19761 * benchtests/tan-inputs: Add slow benchmark inputs.
19762 * scripts/bench.pl: Parse comments and directives.
19764 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
19766 ($(objpfx)bench-%.c): Remove *-ITER.
19767 * benchtests/bench-modf.c: Remove definition of ITER.
19768 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19769 (main): Loop for DURATION seconds instead of fixed number of
19771 * scripts/bench.pl: Don't expect iterations in parameters.
19773 2013-04-29 Roland McGrath <roland@hack.frob.com>
19775 * io/fchdir.c (__fchdir): Renamed from fchdir.
19776 (fchdir): Define as weak alias.
19778 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19780 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19781 (ERRNO_EDOM): Likewise.
19782 (ERRNO_ERANGE): Likewise.
19783 (noErrnoTests): New variable.
19784 (init_max_error): Set errno to 0.
19785 (test_single_errno): New function.
19786 (test_errno): Likewise.
19787 (check_float_internal): Call test_errno. Set errno to 0.
19788 (check_complex): Refer to errno tests in comment.
19789 (check_int): Call test_errno. Set errno to 0.
19790 (check_long): Likewise.
19791 (check_bool): Likewise.
19792 (check_longlong): Likewise.
19793 (cos_test): Use ERRNO_* flags for errno tests instead of
19795 (expm1_test): Likewise.
19796 (fmod_test): Likewise.
19797 (ilogb_test): Likewise.
19798 (lgamma_test): Likewise.
19799 (pow_test): Likewise.
19800 (remainder_test): Likewise.
19801 (sin_test): Likewise.
19802 (tan_test): Likewise.
19803 (yn_test): Likewise.
19804 (initialize): Set errno to 0.
19805 (main): Print number of errno tests.
19806 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19808 2013-04-29 Andreas Jaeger <aj@suse.de>
19811 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19815 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19816 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19820 * stdlib/random.c (__initstate): Return NULL if
19824 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19825 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19828 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19832 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19834 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19835 of individual tests.
19836 (casin_test): Likewise.
19837 (casinh_test): Likewise.
19839 2013-04-27 Joseph Myers <joseph@codesourcery.com>
19842 * math/s_catan.c (__catan): Handle arguments with large real or
19843 imaginary part separately without squaring.
19844 * math/s_catanf.c (__catanf): Likewise.
19845 * math/s_catanh.c (__catanh): Likewise.
19846 * math/s_catanhf.c (__catanhf): Likewise.
19847 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19849 (__catanhl): Handle arguments with large real or imaginary part
19850 separately without squaring.
19851 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19853 (__catanl): Handle arguments with large real or imaginary part
19854 separately without squaring.
19855 * math/libm-test.inc (catan_test): Add more tests.
19856 (catanh_test): Likewise.
19857 * sysdeps/i386/fpu/libm-test-ulps: Update.
19858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19860 2013-04-27 Andreas Jaeger <aj@suse.de>
19863 * stdlib/stdlib.h: Update guards for qecvt.
19864 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19867 2013-04-27 Allan McRae <allan@archlinux.org>
19869 * sysdeps/i386/fpu/libm-test-ulps: Update.
19871 2013-04-26 Joseph Myers <joseph@codesourcery.com>
19874 * math/s_catan.c: Include <float.h>.
19875 (__catan): Ensure underflow exception occurs for underflowed
19877 * math/s_catanf.c: Include <float.h>.
19878 (__catanf): Ensure underflow exception occurs for underflowed
19880 * math/s_catanh.c: Include <float.h>.
19881 (__catanh): Ensure underflow exception occurs for underflowed
19883 * math/s_catanhf.c: Include <float.h>.
19884 (__catanhf): Ensure underflow exception occurs for underflowed
19886 * math/s_catanhl.c: Include <float.h>.
19887 (__catanhl): Ensure underflow exception occurs for underflowed
19889 * math/s_catanl.c: Include <float.h>.
19890 (__catanl): Ensure underflow exception occurs for underflowed
19892 * math/libm-test.inc (catan_test): Add more tests.
19893 (catanh_test): Likewise.
19896 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19897 underflowed result.
19898 * math/s_ccoshf.c (__ccoshf): Likewise.
19899 * math/s_ccoshl.c (__ccoshl): Likewise.
19900 * math/s_csin.c (__csin): Likewise.
19901 * math/s_csinf.c (__csinf): Likewise.
19902 * math/s_csinh.c (__csinh): Likewise.
19903 * math/s_csinhf.c (__csinhf): Likewise.
19904 * math/s_csinhl.c (__csinhl): Likewise.
19905 * math/s_csinl.c (__csinl): Likewise.
19906 * math/libm-test.inc (ccos_test): Add more tests.
19907 (ccosh_test): Likewise.
19908 (csin_test): Likewise.
19909 (csinh_test): Likewise.
19911 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19913 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19914 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19915 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19916 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19917 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19918 powerpc/power5+/fpu folders.
19919 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19922 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19924 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19926 2013-04-25 Joseph Myers <joseph@codesourcery.com>
19928 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19929 additions to variable.
19930 [$(config-machine) = x86_64] (modules-names): Likewise.
19931 ($(objpfx)tst-audit3): Remove dependency.
19932 ($(objpfx)tst-audit3.out): Likewise.
19933 ($(objpfx)tst-audit4): Likewise.
19934 ($(objpfx)tst-audit4.out): Likewise.
19935 ($(objpfx)tst-audit5): Likewise.
19936 ($(objpfx)tst-audit5.out): Likewise.
19937 ($(objpfx)tst-audit6): Likewise.
19938 ($(objpfx)tst-audit6.out): Likewise.
19939 ($(objpfx)tst-audit7): Likewise.
19940 ($(objpfx)tst-audit7.out): Likewise.
19941 (tst-audit3-ENV): Remove variable.
19942 (tst-audit4-ENV): Likewise.
19943 (tst-audit5-ENV): Likewise.
19944 (tst-audit6-ENV): Likewise.
19945 (tst-audit7-ENV): Likewise.
19946 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19947 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19948 addition to variable.
19949 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19950 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19951 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19952 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19953 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19954 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19955 tst-audit3, tst-audit4 and tst-audit5.
19956 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19957 tst-audit6 and tst-audit7.
19958 [$(subdir) = elf] (modules-names): Add audit modules for those
19960 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19961 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19962 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19963 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19964 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19965 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19966 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19967 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19968 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19969 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19970 [$(subdir) = elf] (tst-audit3-ENV): New variable.
19971 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19972 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19973 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19974 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19975 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19977 [$(subdir) = elf && $(config-cflags-avx) = yes]
19978 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19979 [$(subdir) = elf && $(config-cflags-avx) = yes]
19980 (CFLAGS-tst-auditmod4a.c): Likewise.
19981 [$(subdir) = elf && $(config-cflags-avx) = yes]
19982 (CFLAGS-tst-auditmod4b.c): Likewise.
19983 [$(subdir) = elf && $(config-cflags-avx) = yes]
19984 (CFLAGS-tst-auditmod6b.c): Likewise.
19985 [$(subdir) = elf && $(config-cflags-avx) = yes]
19986 (CFLAGS-tst-auditmod6c.c): Likewise.
19987 [$(subdir) = elf && $(config-cflags-avx) = yes]
19988 (CFLAGS-tst-auditmod7b.c): Likewise.
19989 * elf/tst-audit3.c: Move to ...
19990 * sysdeps/x86_64/tst-audit3.c: ... here.
19991 * elf/tst-audit4.c: Move to ...
19992 * sysdeps/x86_64/tst-audit4.c: ... here.
19993 * elf/tst-audit5.c: Move to ...
19994 * sysdeps/x86_64/tst-audit5.c: ... here.
19995 * elf/tst-audit6.c: Move to ...
19996 * sysdeps/x86_64/tst-audit6.c: ... here.
19997 * elf/tst-audit7.c: Move to ...
19998 * sysdeps/x86_64/tst-audit7.c: ... here.
19999 * elf/tst-auditmod3a.c: Move to ...
20000 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20001 * elf/tst-auditmod3b.c: Move to ...
20002 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20003 * elf/tst-auditmod4a.c: Move to ...
20004 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20005 * elf/tst-auditmod4b.c: Move to ...
20006 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20007 * elf/tst-auditmod5a.c: Move to ...
20008 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20009 * elf/tst-auditmod5b.c: Move to ...
20010 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20011 * elf/tst-auditmod6a.c: Move to ...
20012 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20013 * elf/tst-auditmod6b.c: Move to ...
20014 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20015 * elf/tst-auditmod6c.c: Move to ...
20016 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20017 * elf/tst-auditmod7a.c: Move to ...
20018 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20019 * elf/tst-auditmod7b.c: Move to ...
20020 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20022 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
20025 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20026 define unconditionally.
20027 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20028 define unconditionally.
20029 (INT8_C, INT16_C, etc.): Likewise.
20031 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
20033 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20034 __ehdr_start with hidden visibility.
20036 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20038 2013-04-24 Carlos O'Donell <carlos@redhat.com>
20040 * math/libm-test.inc (cos_test): Use accurate hex constants.
20041 (sincost_test): Likewise.
20043 2013-04-24 Joseph Myers <joseph@codesourcery.com>
20045 * math/libm-test.inc (catan_test): Add more tests.
20046 (catanh_test): Likewise.
20048 * math/s_catanf.c (__catanf): Use suffixed floating-point
20050 * math/s_catanhf.c (__catanhf): Likewise.
20051 * math/s_catanhl.c (__catanhl): Likewise.
20052 * math/s_catanl.c (__catanl): Likewise.
20055 * math/s_catan.c (__catan): Calculate imaginary part of result
20056 with log1p not log unless computing log of number close to 0.
20057 * math/s_catanf.c (__catanf): Likewise.
20058 * math/s_catanl.c (__catanl): Likewise.
20059 * math/s_catanh.c (__catanh): Calculate real part of result with
20060 log1p not log unless computing log of number close to 0.
20061 * math/s_catanhf.c (__catanhf): Likewise.
20062 * math/s_catanhl.c (__catanhl): Likewise.
20063 * math/libm-test.inc (catan_test): Add more tests.
20064 (catanh_test): Likewise.
20065 * sysdeps/i386/fpu/libm-test-ulps: Update.
20066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20068 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20070 * benchtests/Makefile: Mention files in which fast and slow
20071 paths of math functions are implemented.
20073 2013-04-23 Roland McGrath <roland@hack.frob.com>
20075 * sysdeps/posix/timespec_get.c: New file.
20077 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20079 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20081 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20083 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20084 powerpc/power5/fpu folders.
20085 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20086 * benchtests/Makefile: Add modf testcase.
20087 * benchtests/bench-modf.c: New file: Benchmark test for mo
20089 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20092 * time/Makefile (tests): Add tst-strptime-whitespace.
20093 * time/strptime_l.c (get_number): Use ISSPACE.
20094 (__strptime_internal): Likewise.
20095 * time/tst-strptime-whitespace.c: New test case.
20097 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
20099 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20101 (_nss_files_init): Set it here.
20103 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
20105 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20106 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20109 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
20111 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20113 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20115 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20118 2013-04-21 David S. Miller <davem@davemloft.net>
20120 * po/ru.po: Update Russion translation from translation project.
20122 2013-04-17 Adam Conrad <adconrad@0c3.net>
20124 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20127 2013-04-17 Carlos O'Donell <carlos@redhat.com>
20129 * configure.in: Remove i386 configure warning. Remove i386 case.
20130 * configure: Regenerate.
20131 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20132 Add example to error message.
20133 * sysdeps/i386/configure: Regenerate.
20135 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20137 * benchtests/Makefile (bench): Add cos, tan, slowcos and
20139 * benchtests/cos-inputs: New file.
20140 * benchtests/slowcos-inputs: New file.
20141 * benchtests/slowcos.c: New file.
20142 * benchtests/slowtan-inputs: New file.
20143 * benchtests/slowtan.c: New file.
20144 * benchtests/tan-inputs: New file.
20146 2013-04-16 Roland McGrath <roland@hack.frob.com>
20148 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20151 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20153 * benchtests/Makefile: Include cppflags-iterator.mk to add
20154 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20156 * Makefile.in (bench-clean): New target.
20157 * benchtests/Makefile (bench-clean): Likewise.
20159 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
20161 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20163 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
20165 * stdio-common/tstdiomisc.c: Fix coding-style violation.
20167 2013-04-15 Andreas Schwab <schwab@suse.de>
20169 * nscd/grpcache.c (cache_addgr): Properly check for short write.
20170 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20171 * nscd/pwdcache.c (cache_addpw): Likewise.
20172 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
20175 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20177 * benchtests/Makefile (bench): Write all output to
20178 bench-out.tmp together.
20180 2013-04-15 Andreas Schwab <schwab@suse.de>
20182 * nscd/nscd.c (main): Don't fork again after closing files.
20184 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20186 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20188 * benchtests/Rules (bench-deps): Collect dependencies into a
20189 single variable. Add Makefile to dependencies.
20190 ($(objpfx)bench-%.c): Depend on bench-deps.
20192 2013-04-12 Roland McGrath <roland@hack.frob.com>
20193 Xavier Roche <roche+kml2@exalead.com>
20196 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20197 just that it's a file descriptor.
20198 * manual/llio.texi (Synchronizing AIO Operations): Update description
20199 for EBADF error from aio_fsync.
20201 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20203 * Rules (bench): Move target definition...
20204 * benchtests/Makefile: ... here.
20206 2013-04-11 Carlos O'Donell <carlos@redhat.com>
20208 * math/libm-test.inc (cos_test): Fix PI/2 test.
20209 (sincos_test): Likewise.
20210 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20211 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20213 2013-04-11 Andreas Schwab <schwab@suse.de>
20216 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20217 accept exponent character only when digits were seen.
20218 * stdio-common/Makefile (tests): Add bug26.
20219 * stdio-common/bug26.c: New file.
20222 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20225 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20227 * Makeconfig (rtld-prefix): Define built linker prefix.
20228 * Rules (run-bench): Use it.
20229 * math/Makefile (run-regen-ulps): Likewise.
20231 * Rules (bench): Remove eval.
20233 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20234 Roland McGrath <roland@hack.frob.com>
20235 Ondrej Bilka <neleai@seznam.cz>
20238 * time/getdate.c: Include ctype.h and alloca.h.
20239 (__getdate_r): Trim leading and trailing spaces of input.
20240 * time/tst-getdate.c (tests): Add tests with leading and
20243 2013-04-08 Roland McGrath <roland@hack.frob.com>
20246 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20247 when computing value.
20249 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20251 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20252 Use testrun.sh to run libm tests.
20255 * elf/dl-open.c (dl_open_worker): memset all of seen array.
20257 2013-04-06 Marko Myllynen <myllynen@redhat.com>
20260 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20262 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20264 * Makefile.in (regen-ulps): New target.
20265 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20266 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20267 [ifneq (no,$(PERL)] (regen-ulps): New target.
20268 [ifeq (no,$(PERL)] (regen-ulps): New target.
20269 * math/libm-test.inc (ulps_file_name): Define.
20270 (output_dir): New variable.
20271 (options): Add "output-dir" option.
20272 (parse_opt): Handle 'o' case.
20273 (main): If output_dir is non-NULL use it as a prefix
20275 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20277 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20279 [BZ #10060, #10062]
20280 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20281 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20282 fail configure if __sync_val_compare_and_swap is not inlined.
20283 * sysdeps/i386/configure: Regenerate.
20284 * configure.in: Build for i686 when configured for i386.
20285 * configure: Regenerate.
20286 * README: Remove i386 reference.
20288 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20290 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20291 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20293 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20295 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20296 (lmsnanval): New variables.
20297 (F): Add conversion tests.
20298 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20299 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20301 * stdio-common/tstdiomisc.c (F): Properly collect individual
20304 [BZ #14686, #15336]
20305 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20306 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20307 Instead, use input NaN values or generate a qNaN by arithmetic
20308 operation. Also fix bugs to comply with the standard.
20309 * math/libm-test.inc (remainder_test): Add more tests.
20311 [BZ #15335, #15342]
20312 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20313 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20314 input NaN values or generate a qNaN by arithmetic operation.
20316 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20319 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20322 2013-04-03 Joseph Myers <joseph@codesourcery.com>
20325 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20326 underflowed result.
20327 * math/s_cexpf.c (__cexpf): Likewise.
20328 * math/s_cexpl.c (__cexpl): Likewise.
20329 * math/libm-test.inc (cexp_test): Add more tests.
20331 2013-04-03 Andreas Schwab <schwab@suse.de>
20334 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20335 order arrays from heap if bigger than alloca cutoff.
20337 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
20339 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20340 (SNAN_TESTS_double): Refer to GCC PR56831.
20341 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20344 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20346 * Rules (bench): Move bench.out after the run is complete.
20348 * Rules (bench): Echo currently running benchmark.
20350 * benchtests/Makefile (bench): Add atan and slowatan.
20351 * benchtests/atan-inputs: New file.
20352 * benchtests/slowatan-inputs: New file.
20353 * benchtests/slowatan.c: New file.
20355 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20356 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20360 * sysdeps/unix/sysv/linux/kernel-features.h
20361 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20362 __ASSUME_XFS_RESTRICTED_CHOWN.
20363 * sysdeps/unix/sysv/linux/pathconf.c
20364 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20365 Save and restore errno.
20367 2013-04-02 Joseph Myers <joseph@codesourcery.com>
20370 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20371 arguments using __kernel_casinh.
20372 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20373 arguments using __kernel_casinhf.
20374 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20375 arguments using __kernel_casinhl.
20376 * math/libm-test.inc (cacosh_test): Add more tests.
20377 * sysdeps/i386/fpu/libm-test-ulps: Update.
20378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20380 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20382 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20383 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20385 * bench/Makefile (bench): Add sin and slowsin.
20386 * benchtests/sin-inputs: New file.
20387 * benchtests/slowsin-inputs: New file.
20388 * benchtests/slowsin.c: New file.
20390 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20391 (bench): Add slowexp and slowpow.
20392 (exp-ITER): Increase iterations.
20393 (pow-ITER): Likewise.
20394 * benchtests/exp-inputs: Change input.
20395 * benchtests/pow-inputs: Likewise.
20396 * benchtests/slowexp-inputs: New file.
20397 * benchtests/slowexp.c: New file.
20398 * benchtests/slowpow-inputs: New file.
20399 * benchtests/slowpow.c: New file.
20401 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20403 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20405 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20406 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20407 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20408 * benchtests/Makefile: Add rint benchtest.
20409 * benchtests/rint-inputs: Input for rint benchtest.
20411 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
20413 * Versions.def (libm): Add GLIBC_2.18.
20414 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20415 hidden libm prototypes.
20416 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20417 * math/Makefile (libm-calls): Add s_issignaling.
20418 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20419 __issignalingf, __issignalingl. Adjust all libm.abilist files.
20420 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20422 * math/math.h [__USE_GNU] (issignaling): New macro.
20423 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20424 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20425 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20426 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20427 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20428 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20429 * manual/arith.texi (issignaling): New section.
20430 * manual/libm-err-tab.pl (@all_functions): Update comment.
20431 * math/gen-libm-test.pl (parse_args): Apply special handling for
20433 * math/libm-test.inc (print_float, issignaling_test): New
20435 (check_float_internal): Add issignaling checks.
20436 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20437 default definition.
20438 * sysdeps/powerpc/math-tests.h: New file.
20439 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20441 * math/test-snan.c (TEST_FUNC): Likewise.
20443 2013-03-30 David S. Miller <davem@davemloft.net>
20445 * po/de.po: Update from translation team.
20447 2013-03-30 Joseph Myers <joseph@codesourcery.com>
20450 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20451 imaginary part less than 1.0 and real part less than 0.5
20453 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20454 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20455 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20456 (cacos_test): Add more tests.
20457 (casin_test): Likewise.
20458 (casinh_test): Likewise.
20459 * sysdeps/i386/fpu/libm-test-ulps: Update.
20460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20462 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20464 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20465 ONE with its value.
20467 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20468 (__pow_mp): Replace ONE and MONE with their values.
20469 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20470 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20471 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20472 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20473 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20474 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20476 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20478 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20479 (__pow_mp): Replace ZERO and MZERO with their values.
20480 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20481 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20482 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20483 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20484 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20485 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20488 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20490 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20492 2013-03-28 Roland McGrath <roland@hack.frob.com>
20494 * include/stdlib.h [!SHARED] (__call_tls_dtors):
20495 Declare with __attribute__ ((weak)).
20496 * stdlib/exit.c (__libc_atexit) [!SHARED]:
20497 Call __call_tls_dtors only if it's not NULL.
20499 2013-03-28 Roland McGrath <roland@hack.frob.com>
20501 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20502 didn't do it already, then set _dl_phdr and _dl_phnum based on the
20503 magic __ehdr_start linker symbol if it's defined.
20504 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20505 them up here if it was already done.
20507 * elf/dl-support.c (_dl_phdr): Make pointer to const.
20508 (_dl_aux_init): Use const in cast when setting it.
20509 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20510 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20511 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20513 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20515 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20516 * csu/libc-tls.c: Nor here.
20517 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20519 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20520 (__libc_message): Never call vsyslog.
20522 2013-03-28 Alan Modra <amodra@gmail.com>
20524 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20526 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20529 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20532 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20536 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20539 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20540 Don't add gid passed as argument.
20542 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20544 2013-03-27 Joseph Myers <joseph@codesourcery.com>
20547 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20548 imaginary part between 1.0 and 1.5 and real part less than 0.5
20550 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20551 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20552 * math/libm-test.inc (cacos_test): Add more tests.
20553 (casin_test): Likewise.
20554 (casinh_test): Likewise.
20555 * sysdeps/i386/fpu/libm-test-ulps: Update.
20556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20558 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20560 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20563 (denorm): Likewise.
20564 (__dbl_mp): Likewise.
20565 (add_magnitudes): Likewise.
20566 (sub_magnitudes): Likewise.
20574 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20576 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20577 (__dubcos): Likewise.
20578 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20579 (__ieee754_acos): Likewise.
20580 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20581 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20582 (__exp1): Likewise.
20583 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20584 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20586 (my_log2): Likewise.
20587 (checkint): Likewise.
20588 * sysdeps/ieee754/dbl-64/e_remainder.c
20589 (__ieee754_remainder): Likewise.
20590 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20591 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20592 (bsloww): Likewise.
20593 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20595 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20596 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20597 MANTISSA_STORE_T to store computations on mantissa. Use
20598 macros for rounding and division.
20599 (denorm): Likewise.
20600 (__dbl_mp): Likewise.
20601 (add_magnitudes): Likewise.
20602 (sub_magnitudes): Likewise.
20605 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20606 powers of two in terms of TWOPOW macro.
20607 (mp_no): Make type of mantissa as MANTISSA_T.
20608 [!RADIXI]: Define RADIXI.
20609 [!TWO52]: Define TWO52.
20610 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20612 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20614 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20615 llroundl symbol when building for PPC32.
20617 2013-03-24 Mark H Weaver <mhw@netris.org>
20619 * manual/arith.texi (Normalization Functions): Fix prototypes for
20620 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20622 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20625 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20626 high value to check if expl overflow.
20627 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20628 to check for underflow and overflow.
20629 * math/libm-test.inc: Add exp test.
20631 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
20634 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20637 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20639 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20642 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
20644 * math/gen-libm-test.pl (parse_args, special_functions): Properly
20645 wrap blocks consisting of several statements.
20647 * sysdeps/generic/math-tests.h: New file.
20648 * sysdeps/i386/fpu/math-tests.h: Likewise.
20649 * math/test-snan.c: Include it.
20650 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20652 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20655 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20656 (__ieee754_j0l): Do not improve calculations using cos of twice
20657 input for inputs above LDBL_MAX / 2.0L.
20658 (__ieee754_y0l): Likewise.
20659 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20660 (__ieee754_j1l): Do not improve calculations using cos of twice
20661 input for inputs above LDBL_MAX / 2.0L.
20662 (__ieee754_y1l): Likewise.
20663 * math/libm-test.inc (j0_test): Add another test.
20664 (j1_test): Likewise.
20665 (y0_test): Likewise.
20666 (y1_test): Likewise.
20667 * sysdeps/i386/fpu/libm-test-ulps: Update.
20669 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20671 * Rules ($(objpfx)bench-%.c): Include code from a C source
20674 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20677 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20678 imaginary part 1.0 and real part less than 0.5 specially.
20679 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20680 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20681 * math/libm-test.inc (cacos_test): Add more tests.
20682 (casin_test): Likewise.
20683 (casinh_test): Likewise.
20684 * sysdeps/i386/fpu/libm-test-ulps: Update.
20685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20687 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20689 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20690 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20692 2013-03-20 Joseph Myers <joseph@codesourcery.com>
20694 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20695 * config.make.in (config-cflags-sse4): Remove variable.
20696 (config-cflags-avx): Likewise.
20697 (config-cflags-sse2avx): Likewise.
20698 (config-cflags-novzeroupper): Likewise.
20699 (config-asflags-i686): Likewise.
20700 (have-mfma4): Likewise.
20701 (have-as-vis3): Likewise.
20703 * configure.in (MIG): Do not AC_SUBST.
20704 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20705 (libc_cv_cc_sse4): Do not AC_SUBST.
20706 (libc_cv_cc_avx): Likewise.
20707 (libc_cv_cc_sse2avx): Likewise.
20708 (libc_cv_cc_novzeroupper): Likewise.
20709 (libc_cv_cc_fma4): Likewise.
20710 (libc_cv_as_i686): Likewise.
20711 (libc_cv_sparc_as_vis3): Likewise.
20712 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20714 (config-asflags-i686): Likewise.
20715 (config-cflags-avx): Likewise.
20716 (config-cflags-sse2avx): Likewise.
20717 (have-mfma4): Likewise.
20718 (config-cflags-novzeroupper): Likewise.
20719 * sysdeps/mach/configure.in (MIG): Likewise.
20720 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20721 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20723 (config-cflags-avx): Likewise.
20724 (config-cflags-sse2avx): Likewise.
20725 (have-mfma4): Likewise.
20726 (config-cflags-novzeroupper): Likewise.
20727 * configure: Regenerated.
20728 * sysdeps/i386/configure: Likewise.
20729 * sysdeps/mach/configure: Likewise.
20730 * sysdeps/sparc/configure: Likewise.
20731 * sysdeps/x86_64/configure: Likewise.
20733 2013-03-20 Roland McGrath <roland@hack.frob.com>
20736 * locale/programs/localedef.c (options): Put N_ translation marker
20737 on argument names, not just descriptions.
20739 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20741 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20743 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
20746 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20748 2013-03-19 Roland McGrath <roland@hack.frob.com>
20750 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20751 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20752 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20753 [!BEFORE_ABORT] (before_abort): New function.
20754 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20755 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20756 (writev_for_fatal): New function.
20757 (WRITEV_FOR_FATAL): New macro; call that.
20758 (backtrace_and_maps): New function.
20759 (BEFORE_ABORT): New macro; call that.
20760 (struct str_list): Type removed.
20761 (__libc_message, __libc_fatal): Functions removed.
20762 Include <sysdeps/posix/libc_fatal.c> instead.
20764 2013-03-19 Joseph Myers <joseph@codesourcery.com>
20766 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20768 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20771 2013-03-19 Andreas Schwab <schwab@suse.de>
20773 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20774 * sysdeps/gnu/configure: Regenerate.
20776 * configure.in: Substitute libc_cv_rtlddir.
20777 * configure: Regenerate.
20778 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20779 * Makeconfig (rtlddir, inst_rtlddir): New variables.
20780 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20781 * elf/Makefile (install-others, CFLAGS-interp.c)
20782 (ldso_install, common-ldd-rewrite): Likewise.
20783 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20784 $(inst_slibdir)/$(rtld-installed-name).
20785 * scripts/rellns-sh: Add -p option.
20786 * Makerules (make-shlib-link): Use rellns-sh to get relative name
20789 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20791 * manual/nptl.texi: Renamed to ...
20792 * manual/threads.texi: ... this.
20793 * manual/Makefile (chapters): Update.
20795 2013-03-18 Roland McGrath <roland@hack.frob.com>
20798 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20799 on argument names, not just descriptions.
20800 * malloc/memusagestat.c (options): Likewise.
20801 * nss/getent.c (options): Likewise.
20803 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
20806 * iconv/iconv_prog.c (options): Put N_ translation marker
20807 on argument names, not just descriptions.
20808 * iconv/iconvconfig.c (options): Likewise.
20810 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
20812 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20813 implementation which is faster on all x86_64 architectures.
20814 Tested on AMD, Intel Nehalem, SNB, IVB.
20815 * sysdeps/x86_64/strnlen.S: Likewise.
20817 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20818 Remove all multiarch strlen and strnlen versions.
20819 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20820 Remove strlen and strnlen related parts.
20822 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20823 Inline strlen part.
20824 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20826 * sysdeps/x86_64/multiarch/strlen.S: Remove.
20827 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20828 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20829 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20830 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20831 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20833 2013-03-17 Carlos O'Donell <carlos@redhat.com>
20835 * manual/memory.texi (Malloc Tunable Parameters):
20836 Sort parameters alphabetically. Add comments for missing entries.
20838 2013-03-17 David S. Miller <davem@davemloft.net>
20840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20842 2013-03-16 Joseph Myers <joseph@codesourcery.com>
20845 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20846 for arguments at most half maximum finite value.
20847 * math/libm-test.inc (j0_test): Add more tests.
20848 (j1_test): Likewise.
20849 (y0_test): Likewise.
20850 (y1_test): Likewise.
20851 * sysdeps/i386/fpu/libm-test-ulps: Update.
20852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20855 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20856 1 / x and functions P and Q for arguments above 0x1p256L.
20857 (__ieee754_y0l): Likewise.
20858 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20859 (__ieee754_y1l): Likewise.
20860 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20861 (j1_test): Likewise.
20862 (y0_test): Likewise.
20863 (y1_test): Likewise.
20865 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
20867 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20870 2013-03-15 Roland McGrath <roland@hack.frob.com>
20872 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20873 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20874 zero since it's initialized to EXEC_PAGESIZE.
20876 * sysdeps/unix/sysv/linux/ldsodefs.h
20877 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20878 * sysdeps/generic/ldsodefs.h: ... here.
20880 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
20882 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20884 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20886 * math/test-snan.c: Renamed from
20887 sysdeps/powerpc/fpu/test-powerpc-snan.c.
20888 * math/Makefile (tests): Add test-snan.
20889 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20892 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20893 SUFFIX. Initialize qNaN_var with __builtin_nan family of
20895 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
20896 __builtin_nan family of functions.
20897 * math/libm-test.inc (initialize): Initialize qnan_value with
20898 __builtin_nan family of functions.
20899 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20901 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20903 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
20904 storage class. Initialize qNaN_var and sNaN_var with
20905 __builtin_nan and __builtin_nans families of functions,
20908 * math/libm-test.inc (acosh_test): Also test with qNaN input.
20909 (sqrt_test): Remove duplicate test with qNaN input.
20910 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20911 (round_test, signbit_test, significand_test): Note missing +/-Inf
20912 as well as qNaN tests.
20914 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20915 qNaN_var. Fix a few strings, too.
20916 * math/libm-test.inc (nan_value): Rename to qnan_value.
20917 * math/gen-libm-test.pl (%beautify): Adjust to that.
20918 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20919 * math/test-misc.c (main): Likewise.
20920 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20921 to __qnan_bytes, and __qnan_union, respectively.
20922 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20924 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20925 and lqnanval, respectively.
20926 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20927 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20928 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20929 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20931 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20932 * math/test-misc.c (main) [__x86_64__]: Enable test for long
20935 * math/test-misc.c (main): Fix copy'n'pastos.
20936 * misc/tst-efgcvt.c (special): Likewise.
20938 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20939 Remove declarations.
20941 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20943 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20944 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20945 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20946 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20948 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20950 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20951 macro to return vdso values correctly in IFUNC implementations.
20952 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20953 Optimization by using IFUNC.
20955 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20956 Richard Henderson <rth@redhat.com>
20957 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20959 * Makefile.in (bench): New target.
20960 * NEWS: Mention the benchmark framework.
20961 * Rules (bench): Likewise.
20962 (binaries-bench): Generate binaries for functions to
20964 * benchtests/Makefile: New makefile for benchmark tests.
20965 * benchtests/bench-skeleton.c: New skeleton file for benchmark
20967 * benchtests/exp-inputs: New input file for EXP function.
20968 * benchtests/pow-inputs: New input file for POW function.
20969 * scripts/bench.pl: New script to generate source files for
20970 benchmark programs.
20972 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20974 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20975 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20976 computations on mantissa. Use macros for rounding and
20978 (denorm): Likewise.
20979 (__dbl_mp): Likewise.
20980 (add_magnitudes): Likewise.
20981 (sub_magnitudes): Likewise.
20984 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20985 powers of two in terms of TWOPOW macro.
20986 (mp_no): Make type of mantissa as MANTISSA_T.
20987 [!RADIXI]: Define RADIXI.
20988 [!TWO52]: Define TWO52.
20989 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20991 * manual/nptl.texi (cindex): Modify threads to pthreads.
20993 2013-03-15 Joseph Myers <joseph@codesourcery.com>
20995 * sysdeps/x86_64/preconfigure: Regenerated.
20997 2013-03-14 Joseph Myers <joseph@codesourcery.com>
21000 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21002 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21003 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21005 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21006 * math/libm-test.inc (j0_test): Do not allow one spurious
21007 underflow exception.
21008 (y1_test): Likewise.
21010 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21012 * manual/Makefile (chapters): Add nptl.
21013 * manual/debug.texi (Debugging Support): Add link to Threads
21015 * manual/nptl.texi: New file.
21017 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21019 2013-03-14 Petr Baudis <pasky@ucw.cz>
21021 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21022 for non-NULL pointer before the memory validity test. Pointed
21023 out by Holger Brunck <holger.brunck@keymile.com>.
21025 2013-03-13 Andreas Schwab <schwab@suse.de>
21027 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21030 2013-03-13 Joseph Myers <joseph@codesourcery.com>
21032 * timezone/zic.c: Update from tzcode 2013b.
21034 2013-03-12 Carlos O'Donell <carlos@redhat.com>
21036 * manual/install.texi (Configuring and compiling):
21037 Mention i686 and i586.
21038 * INSTALL: Regenerate.
21040 2013-03-12 Roland McGrath <roland@hack.frob.com>
21042 * sysdeps/init_array/elf-init.c: New file.
21044 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21045 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21047 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21048 __gmon_start__ as global, but as static with a .preinit_array pointer.
21049 * sysdeps/init_array/gmon-start.c: New file. Use that.
21050 * sysdeps/init_array/crti.S: New file, empty except for comments.
21051 * sysdeps/init_array/crtn.S: Likewise.
21053 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
21055 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21057 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21058 Remove Prefer_SSE_for_memop.
21059 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21060 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21061 HAS_PREFER_SSE_FOR_MEMOP.
21062 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21064 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21065 Remove bzero, memset ifunc support.
21066 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21067 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21068 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21069 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21071 2013-03-11 Andreas Schwab <schwab@suse.de>
21074 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21076 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21077 (GLIBC_2.16): Remove pthread_atfork.
21079 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21081 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21082 (ptestcases.h): Likewise.
21084 2013-03-08 Roland McGrath <roland@hack.frob.com>
21086 * Makeconfig ($(common-objpfx)config.status): Depend on
21087 sysdeps/*/preconfigure{,.in} too.
21089 2013-03-08 Joseph Myers <joseph@codesourcery.com>
21091 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21092 (__free_hook): Use void * instead of __malloc_ptr_t.
21093 (__malloc_hook): Likewise.
21094 (__realloc_hook): Likewise.
21095 (__memalign_hook): Likewise.
21096 (__after_morecore_hook): Likewise.
21097 * malloc/arena.c (save_malloc_hook): Likewise.
21098 (save_free_hook): Likewise.
21099 * malloc/hooks.c (malloc_hook_ini): Likewise.
21100 (realloc_hook_ini): Likewise.
21101 (memalign_hook_ini): Likewise.
21102 * malloc/malloc.c (malloc_hook_ini): Likewise.
21103 (realloc_hook_ini): Likewise.
21104 (memalign_hook_ini): Likewise.
21105 (__free_hook): Likewise.
21106 (__malloc_hook): Likewise.
21107 (__realloc_hook): Likewise.
21108 (__memalign_hook): Likewise.
21109 (__libc_malloc): Likewise.
21110 (__libc_free): Likewise.
21111 (__libc_realloc): Likewise.
21112 (__libc_memalign): Likewise.
21113 (__libc_valloc): Likewise.
21114 (__libc_pvalloc): Likewise.
21115 (__libc_calloc): Likewise.
21116 (__posix_memalign): Likewise.
21117 * malloc/morecore.c (__sbrk): Likewise.
21118 (__default_morecore): Likewise.
21120 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21122 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21123 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21124 __malloc_ptrdiff_t.
21126 * malloc/malloc.h (__malloc_size_t): Remove macro.
21127 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21129 (old_memalign_hook): Likewise.
21130 (old_realloc_hook): Likewise.
21131 (struct hdr): Likewise.
21133 (mallochook): Likewise.
21134 (memalignhook): Likewise.
21135 (reallochook): Likewise.
21136 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21137 (tr_old_realloc_hook): Likewise.
21138 (tr_old_memalign_hook): Likewise.
21139 (tr_mallochook): Likewise.
21140 (tr_reallochook): Likewise.
21141 (tr_memalignhook): Likewise.
21143 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21145 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21146 default_ldbl_pack and using as default implementation.
21147 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21149 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21150 redundant definition.
21151 (ldbl_insert_mantissa): Likewise.
21152 (ldbl_canonicalize): Likewise.
21153 (ldbl_nearbyint): Likewise.
21154 (ldbl_pack): Rename to ldbl_pack_ppc.
21155 (ldbl_unpack): Rename to ldbl_unpack_ppc.
21156 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21157 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21159 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21161 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21162 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21163 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21164 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21165 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21166 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21167 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21168 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21170 2013-03-07 Andreas Jaeger <aj@suse.de>
21172 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21175 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21177 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21178 Include mpa.h and declare __MPEXP.
21179 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21180 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21181 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21182 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21183 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21184 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21185 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21187 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21188 (__slowpow): Use long double EXPL and LOGL functions to
21190 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21191 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21192 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21193 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21194 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21195 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21197 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21198 intermediate variable to calculate exponent.
21200 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21204 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21205 [!NO__SQR]: Define __sqr.
21206 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21207 and NO__SQR. Remove all code except __mul and __sqr. Include
21208 sysdeps/ieee754/dbl-64/mpa.c.
21209 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21212 * posix/Makefile (tests): Add tst-pathconf.
21213 * posix/tst-pathconf.c: New test case.
21214 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21216 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21218 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
21220 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21222 2013-03-06 Andreas Jaeger <aj@suse.de>
21224 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21225 definition via __MAP_ANONYMOUS.
21227 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21228 it's not part of Linux headers.
21230 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21231 (MAP_HUGE_MASK): Define.
21233 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21235 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21236 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21238 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21239 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21241 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21242 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21244 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21246 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21247 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21248 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21249 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21250 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21251 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21253 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21256 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21257 Handle f2fs and efivarfs.
21259 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21262 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21263 (EFIVARFS_MAGIC): Add.
21264 (F2FS_LINK_MAX): Add.
21266 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21268 * stdio-common/vfprintf.c: Replace __builtin_expect with
21271 2013-03-06 Joseph Myers <joseph@codesourcery.com>
21274 * sysdeps/generic/bp-sym.h: Remove file.
21275 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21276 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21277 <bp-sym.h> and <bp-asm.h>.
21278 (__longjmp): Don't use BP_SYM.
21279 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21281 (memcpy): Don't use BP_SYM.
21282 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21283 <bp-sym.h> and <bp-asm.h>.
21284 (memcpy): Don't use BP_SYM.
21285 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21287 (memcpy): Don't use BP_SYM.
21288 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21290 (memset): Don't use BP_SYM.
21291 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21292 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21293 (__bzero): Don't use BP_SYM.
21294 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21295 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21296 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21297 <bp-sym.h> and <bp-asm.h>.
21298 (memcmp): Don't use BP_SYM. Remove comment about bounded
21300 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21301 <bp-sym.h> and <bp-asm.h>.
21302 (memcpy): Don't use BP_SYM.
21303 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21304 <bp-sym.h> and <bp-asm.h>.
21305 (memset): Don't use BP_SYM.
21306 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21307 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21308 (__bzero): Don't use BP_SYM.
21309 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21310 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21311 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21312 <bp-sym.h> and <bp-asm.h>.
21313 (strncmp): Don't use BP_SYM. Remove comment about bounded
21315 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21316 <bp-sym.h> and <bp-asm.h>.
21317 (memcpy): Don't use BP_SYM.
21318 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21319 <bp-sym.h> and <bp-asm.h>.
21320 (memset): Don't use BP_SYM.
21321 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21322 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21323 (__bzero): Don't use BP_SYM.
21324 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21325 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21326 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21327 <bp-sym.h> and <bp-asm.h>.
21328 (__memchr): Don't use BP_SYM.
21329 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21330 <bp-sym.h> and <bp-asm.h>.
21331 (memcmp): Don't use BP_SYM. Remove comment about bounded
21333 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21334 <bp-sym.h> and <bp-asm.h>.
21335 (memcpy): Don't use BP_SYM.
21336 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21337 <bp-sym.h> and <bp-asm.h>.
21338 (__mempcpy): Don't use BP_SYM.
21339 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21340 <bp-sym.h> and <bp-asm.h>.
21341 (__memrchr): Don't use BP_SYM.
21342 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21343 <bp-sym.h> and <bp-asm.h>.
21344 (memset): Don't use BP_SYM.
21345 (__bzero): Likewise.
21346 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21347 <bp-sym.h> and <bp-asm.h>.
21348 (__rawmemchr): Don't use BP_SYM.
21349 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21350 <bp-sym.h> and <bp-asm.h>.
21351 (__STRCMP): Don't use BP_SYM.
21352 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21353 <bp-sym.h> and <bp-asm.h>.
21354 (strchr): Don't use BP_SYM.
21355 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21356 <bp-sym.h> and <bp-asm.h>.
21357 (__strchrnul): Don't use BP_SYM.
21358 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21359 <bp-sym.h> and <bp-asm.h>.
21360 (strlen): Don't use BP_SYM.
21361 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21362 <bp-sym.h> and <bp-asm.h>.
21363 (strncmp): Don't use BP_SYM. Remove comment about bounded
21365 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21366 <bp-sym.h> and <bp-asm.h>.
21367 (__strnlen): Don't use BP_SYM.
21368 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21369 <bp-sym.h> and <bp-asm.h>.
21370 (__GI__setjmp): Don't use BP_SYM.
21371 (_setjmp): Likewise.
21372 (__sigsetjmp): Likewise.
21373 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21374 (L(start_addresses)): Don't use BP_SYM.
21375 (_start): Likewise.
21376 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21378 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21379 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21380 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21381 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21382 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21384 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21385 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
21386 about bounded pointers.
21387 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21388 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21389 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21391 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21392 about bounded pointers. Remove GKM FIXME comments.
21393 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21394 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21396 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21397 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
21398 Remove GKM FIXME comments.
21399 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21400 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21401 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21403 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21404 about bounded pointers. Remove GKM FIXME comment.
21405 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21407 (strncmp): Don't use BP_SYM. Remove comment about bounded
21409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21410 <bp-sym.h> and <bp-asm.h>.
21411 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21413 <bp-sym.h> and <bp-asm.h>.
21414 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21417 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21419 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21422 2013-03-05 David S. Miller <davem@davemloft.net>
21424 * po/es.po: Update from translation team.
21426 2013-03-05 Andreas Jaeger <aj@suse.de>
21428 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21429 <bits/mman-linux.h>.
21430 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21432 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21433 <bits/mman-linux.h> to end of file.
21434 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21436 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21437 <bits/mman-linux.h> to end of file.
21438 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21440 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21441 <bits/mman-linux.h> to end of file.
21443 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21444 (MCL_CURRENT, MCL_FUTURE): Define here.
21446 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21449 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21451 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21453 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21455 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21456 fourth parameter needed for rt_sigprocmask syscall.
21457 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21458 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21459 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21460 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21461 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21462 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21464 2013-03-04 Joseph Myers <joseph@codesourcery.com>
21467 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21468 comment about bounded pointers.
21469 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21470 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21472 2013-03-04 Andreas Jaeger <aj@suse.de>
21474 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21475 common definitions.
21477 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21478 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21479 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21480 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21481 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21482 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21484 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21487 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21488 __ieee754_sqrl instead of __sqrl.
21490 2013-03-01 Joseph Myers <joseph@codesourcery.com>
21492 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21493 * sysdeps/powerpc/fpu_control.h: ... here.
21494 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21495 * sysdeps/powerpc/bits/fenvinline.h: ... here.
21496 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21497 * sysdeps/powerpc/bits/mathinline.h: ... here.
21499 2013-03-01 Roland McGrath <roland@hack.frob.com>
21501 * elf/dl-hwcaps.c (_dl_important_hwcaps):
21502 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21503 to just [NEED_DL_SYSINFO_DSO].
21504 * elf/dl-support.c: Likewise.
21505 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21506 * elf/rtld.c (dl_main): Likewise.
21507 * elf/setup-vdso.h (setup_vdso): Likewise.
21508 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21509 * sysdeps/unix/sysv/linux/dl-sysdep.c
21510 (_dl_discover_osversion): Likewise.
21512 2013-03-01 Carlos O'Donell <carlos@redhat.com>
21514 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21515 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21517 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
21519 * NEWS: Mention libm performance improvements and non-x86 PI
21522 * csu/libc-start.c (__pthread_initialize_minimal): Change
21523 function arguments.
21524 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21526 2013-02-28 Joseph Myers <joseph@codesourcery.com>
21529 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21530 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21531 <bp-sym.h> and <bp-asm.h>.
21532 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21533 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21535 (memcpy): Don't use BP_SYM.
21536 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21538 (__mpn_add_n): Don't use BP_SYM.
21539 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21540 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21542 (__mpn_addmul_1): Don't use BP_SYM.
21543 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21544 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21546 (_setjmp): Don't use BP_SYM.
21547 (__novmx_setjmp): Likewise.
21548 (__GI__setjmp): Likewise.
21549 (__vmx_setjmp): Likewise.
21550 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21552 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21553 (__bzero): Don't use BP_SYM.
21554 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21555 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21556 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21557 <bp-sym.h> and <bp-asm.h>.
21558 (memcpy): Don't use BP_SYM.
21559 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21560 <bp-sym.h> and <bp-asm.h>.
21561 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21562 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21563 <bp-sym.h> and <bp-asm.h>.
21564 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21565 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21567 (__mpn_lshift): Don't use BP_SYM.
21568 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21569 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21571 (memset): Don't use BP_SYM.
21572 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21573 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21574 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21576 (__mpn_mul_1): Don't use BP_SYM.
21577 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21578 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21579 <bp-sym.h> and <bp-asm.h>.
21580 (memcmp): Don't use BP_SYM.
21581 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21582 <bp-sym.h> and <bp-asm.h>.
21583 (memcpy): Don't use BP_SYM.
21584 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21585 <bp-sym.h> and <bp-asm.h>.
21586 (memset): Don't use BP_SYM.
21587 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21588 <bp-sym.h> and <bp-asm.h>.
21589 (strncmp): Don't use BP_SYM.
21590 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21591 <bp-sym.h> and <bp-asm.h>.
21592 (memcpy): Don't use BP_SYM.
21593 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21594 <bp-sym.h> and <bp-asm.h>.
21595 (memset): Don't use BP_SYM.
21596 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21597 <bp-sym.h> and <bp-asm.h>.
21598 (__memchr): Don't use BP_SYM.
21599 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21600 <bp-sym.h> and <bp-asm.h>.
21601 (memcmp): Don't use BP_SYM.
21602 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21603 <bp-sym.h> and <bp-asm.h>.
21604 (memcpy): Don't use BP_SYM.
21605 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21606 <bp-sym.h> and <bp-asm.h>.
21607 (__mempcpy): Don't use BP_SYM.
21608 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21609 <bp-sym.h> and <bp-asm.h>.
21610 (__memrchr): Don't use BP_SYM.
21611 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21612 <bp-sym.h> and <bp-asm.h>.
21613 (memset): Don't use BP_SYM.
21614 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21615 <bp-sym.h> and <bp-asm.h>.
21616 (__rawmemchr): Don't use BP_SYM.
21617 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21618 <bp-sym.h> and <bp-asm.h>.
21619 (__STRCMP): Don't use BP_SYM.
21620 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21621 <bp-sym.h> and <bp-asm.h>.
21622 (strchr): Don't use BP_SYM.
21623 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21624 <bp-sym.h> and <bp-asm.h>.
21625 (__strchrnul): Don't use BP_SYM.
21626 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21627 <bp-sym.h> and <bp-asm.h>.
21628 (strlen): Don't use BP_SYM.
21629 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21630 <bp-sym.h> and <bp-asm.h>.
21631 (strncmp): Don't use BP_SYM.
21632 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21633 <bp-sym.h> and <bp-asm.h>.
21634 (__strnlen): Don't use BP_SYM.
21635 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21637 (__mpn_rshift): Don't use BP_SYM.
21638 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21639 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21640 <bp-sym.h> and <bp-asm.h>.
21641 (__sigsetjmp): Don't use BP_SYM.
21642 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21643 (L(start_addresses)): Don't use BP_SYM.
21644 (_start): Likewise.
21645 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21647 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21648 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21649 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21650 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21652 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21653 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21654 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21655 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21657 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21659 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21660 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21662 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
21664 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21665 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21666 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21668 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21670 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21672 (strncmp): Don't use BP_SYM,
21673 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21675 (__mpn_sub_n): Don't use BP_SYM.
21676 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21677 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21679 (__mpn_submul_1): Don't use BP_SYM.
21680 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21682 <bp-sym.h> and <bp-asm.h>.
21683 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21685 <bp-sym.h> and <bp-asm.h>.
21686 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21689 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21691 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21692 Use ZK to minimize writes to Z.
21693 (sub_magnitudes): Simplify code a bit.
21694 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21695 Use ZK to minimize writes to Z.
21696 (sub_magnitudes): Simplify code a bit.
21698 2013-02-27 Roland McGrath <roland@hack.frob.com>
21700 * csu/gmon-start.c: Add special exception to license text.
21702 2013-02-27 Richard Henderson <rth@redhat.com>
21704 * scripts/config.guess: Update from config.git.
21705 * scripts/config.sub: Likewise.
21707 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21709 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21711 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21713 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21715 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21717 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21719 2013-02-26 Roland McGrath <roland@hack.frob.com>
21721 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21722 [$(build-shared = yes].
21724 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21726 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21727 (__mul): Reduce iterations for calculating mantissa.
21729 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21731 (__mpranred): Likewise.
21734 * malloc/memusagestat.c (main): Draw graphs for heap and stack
21735 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21737 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
21739 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21740 Define __attribute__.
21742 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21744 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21746 * posix/regex_internal.h (__attribute): Remove.
21747 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21748 (re_string_context_at): Likewise.
21749 (bitset_not): Use __attribute__ and mark function as possibly
21751 (bitset_merge): Likewise.
21752 (bitset_mask): Likewise.
21753 (re_string_char_size_at): Likewise.
21754 (re_string_wchar_at): Likewise.
21755 (re_string_elem_size_at): Likewise.
21757 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21759 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21763 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21767 (denorm): Likewise.
21768 (__dbl_mp): Likewise.
21769 (add_magnitudes): Likewise.
21770 (sub_magnitudes): Likewise.
21774 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21777 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21780 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21783 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21784 up changes with default code.
21785 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21788 2013-02-24 Allan McRae <allan@archlinux.org>
21790 * manual/socket.texi (The Internet Namespace): Order menu items
21791 to match that in the file.
21793 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21794 node listing of the info page menu.
21796 2013-02-21 Joseph Myers <joseph@codesourcery.com>
21799 * sysdeps/i386/bp-asm.h: Remove file.
21800 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21801 (PARMS): Do not use macros from bp-asm.h.
21805 (__mpn_add_n): Do not use BP_SYM
21806 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21808 (PARMS): Do not use macros from bp-asm.h.
21811 (__mpn_addmul_1): Do not use BP_SYM
21812 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21814 (PARMS): Do not use macros from bp-asm.h.
21815 (SIGMSK): Likewise.
21816 (_setjmp): Likewise. Do not use BP_SYM.
21817 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21819 (PARMS): Do not use macros from bp-asm.h.
21820 (SIGMSK): Likewise.
21821 (setjmp): Likewise. Do not use BP_SYM.
21822 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21824 (PARMS): Do not use macros from bp-asm.h.
21825 (__frexp): Do not use BP_SYM.
21827 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21829 (PARMS): Do not use macros from bp-asm.h.
21830 (__frexpf): Do not use BP_SYM.
21831 (frexpf): Likewise.
21832 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21834 (PARMS): Do not use macros from bp-asm.h.
21835 (__frexpl): Do not use BP_SYM.
21836 (frexpl): Likewise.
21837 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21839 (PARMS): Do not use macros from bp-asm.h.
21840 (__remquo): Do not use BP_SYM.
21841 (remquo): Likewise.
21842 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21844 (PARMS): Do not use macros from bp-asm.h.
21845 (__remquof): Do not use BP_SYM.
21846 (remquof): Likewise.
21847 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21849 (PARMS): Do not use macros from bp-asm.h.
21850 (__remquol): Do not use BP_SYM.
21851 (remquol): Likewise.
21852 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21854 (PARMS): Do not use macros from bp-asm.h.
21857 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
21858 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21860 (PARMS): Do not use macros from bp-asm.h.
21861 (strlen): Do not use BP_SYM.
21862 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21864 (PARMS): Do not use macros from bp-asm.h.
21868 (__mpn_add_n): Do not use BP_SYM.
21869 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21871 (PARMS): Do not use macros from bp-asm.h.
21874 (__mpn_addmul_1): Do not use BP_SYM.
21875 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21878 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21880 (PARMS): Do not use macros from bp-asm.h.
21883 (__mpn_lshift): Do not use BP_SYM.
21884 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21886 (PARMS): Do not use macros from bp-asm.h.
21890 (memcpy): Likewise. Do not use BP_SYM.
21891 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21892 libc_hidden_def and weak_alias.
21893 (mempcpy): Do not use BP_SYM in weak_alias.
21894 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21896 (PARMS): Do not use macros from bp-asm.h.
21899 [!BZERO_P] (CHR): Likewise.
21900 (memset): Likewise. Do not use BP_SYM.
21901 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21903 (PARMS): Do not use macros from bp-asm.h.
21906 (__mpn_mul_1): Do not use BP_SYM.
21907 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21909 (PARMS): Do not use macros from bp-asm.h.
21912 (__mpn_rshift): Do not use BP_SYM.
21913 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21915 (PARMS): Do not use macros from bp-asm.h.
21918 (strchr): Likewise. Do not use BP_SYM.
21919 (index): Do not use BP_SYM in weak_alias.
21920 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21922 (PARMS): Do not use macros from bp-asm.h.
21925 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
21926 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21928 (PARMS): Do not use macros from bp-asm.h.
21929 (strlen): Do not use BP_SYM.
21930 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21932 (PARMS): Do not use macros from bp-asm.h.
21936 (__mpn_sub_n): Do not use BP_SYM.
21937 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21939 (PARMS): Do not use macros from bp-asm.h.
21942 (__mpn_submul_1): Do not use BP_SYM.
21943 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21945 (PARMS): Do not use macros from bp-asm.h.
21949 (__mpn_add_n): Do not use BP_SYM.
21950 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21953 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21955 (PARMS): Do not use macros from bp-asm.h.
21958 (memcmp): Do not use BP_SYM.
21959 (bcmp): Do not use BP_SYM in weak_alias.
21960 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21962 (PARMS): Do not use macros from bp-asm.h.
21966 (memcpy): Likewise. Do not use BP_SYM.
21967 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21969 (PARMS): Do not use macros from bp-asm.h.
21973 (memmove): Likewise. Do not use BP_SYM.
21974 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21976 (PARMS): Do not use macros from bp-asm.h.
21980 (__mempcpy): Likewise. Do not use BP_SYM.
21981 (mempcpy): Do not use BP_SYM in weak_alias.
21982 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21984 (PARMS): Do not use macros from bp-asm.h.
21987 [!BZERO_P] (CHR): Likewise.
21988 (memset): Likewise. Do not use BP_SYM.
21989 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21991 (PARMS): Do not use macros from bp-asm.h.
21993 (strcmp): Do not use BP_SYM.
21994 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21996 (PARMS): Do not use macros from bp-asm.h.
21999 [USE_AS_STRTOK_R] (SAVE): Likewise.
22000 (FUNCTION): Likewise. Do not use BP_SYM.
22001 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22003 (strtok_r): Likewise.
22004 (__GI___strtok_r): Likewise.
22005 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22006 (PARMS): Do not use macros from bp-asm.h.
22009 (__mpn_lshift): Do not use BP_SYM.
22010 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22011 (PARMS): Do not use macros from bp-asm.h.
22014 (__memchr): Do not use BP_SYM.
22015 (memchr): Do not use BP_SYM in weak_alias.
22016 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22017 (PARMS): Do not use macros from bp-asm.h.
22020 (memcmp): Do not use BP_SYM.
22021 (bcmp): Do not use BP_SYM in weak_alias.
22022 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22023 (PARMS): Do not use macros from bp-asm.h.
22026 (__mpn_mul_1): Do not use BP_SYM.
22027 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22029 (PARMS): Do not use macros from bp-asm.h.
22032 (__rawmemchr): Do not use BP_SYM.
22033 (rawmemchr): Do not use BP_SYM in weak_alias.
22034 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22035 (PARMS): Do not use macros from bp-asm.h.
22038 (__mpn_rshift): Do not use BP_SYM.
22039 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22040 (PARMS): Do not use macros from bp-asm.h.
22041 (SIGMSK): Likewise.
22042 (__sigsetjmp): Likewise. Do not use BP_SYM.
22043 * sysdeps/i386/start.S: Do not include "bp-sym.h".
22044 (_start): Do not use BP_SYM.
22045 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22046 (PARMS): Do not use macros from bp-asm.h.
22049 (__stpcpy): Likewise. Do not use BP_SYM.
22050 (stpcpy): Do not use BP_SYM in weak_alias.
22051 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22053 (PARMS): Do not use macros from bp-asm.h.
22057 (__stpncpy): Likewise. Do not use BP_SYM.
22058 (stpncpy): Do not use BP_SYM in weak_alias.
22059 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22060 (PARMS): Do not use macros from bp-asm.h.
22063 (strchr): Likewise. Do not use BP_SYM.
22064 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22066 (PARMS): Do not use macros from bp-asm.h.
22069 (__strchrnul): Likewise. Do not use BP_SYM.
22070 (strchrnul): Do not use BP_SYM in weak_alias.
22071 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22073 (PARMS): Do not use macros from bp-asm.h.
22075 (strcspn): Do not use BP_SYM.
22076 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22078 (PARMS): Do not use macros from bp-asm.h.
22081 (strpbrk): Likewise. Do not use BP_SYM.
22082 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22084 (PARMS): Do not use macros from bp-asm.h.
22087 (strrchr): Likewise. Do not use BP_SYM.
22088 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22089 (PARMS): Do not use macros from bp-asm.h.
22091 (strspn): Do not use BP_SYM.
22092 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22093 (PARMS): Do not use macros from bp-asm.h.
22097 (FUNCTION): Likewise. Do not use BP_SYM.
22098 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22100 (strtok_r): Likewise.
22101 (__GI___strtok_r): Likewise.
22102 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22103 (PARMS): Do not use macros from bp-asm.h.
22107 (__mpn_sub_n): Do not use BP_SYM.
22108 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22110 (PARMS): Do not use macros from bp-asm.h.
22113 (__mpn_submul_1): Do not use BP_SYM.
22114 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22116 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22118 (PARMS): Do not use macros from bp-asm.h.
22123 (__clone): Do not use BP_SYM.
22124 (clone): Do not use BP_SYM in weak_alias.
22125 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22127 (PARMS): Do not use macros from bp-asm.h.
22129 (__mmap64): Do not use BP_SYM.
22130 (mmap64): Do not use BP_SYM in weak_alias.
22131 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22132 <bp-sym.h> and <bp-asm.h>.
22133 (PARMS): Do not use macros from bp-asm.h.
22134 (__posix_fadvise64_l64): Do not use BP_SYM.
22135 * sysdeps/unix/sysv/linux/i386/semtimedop.S
22136 (PARMS): Do not use macros from bp-asm.h.
22138 (semtimedop): Do not use BP_SYM.
22139 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22142 2013-02-21 Allan McRae <allan@archlinux.org>
22144 * manual/message.texi (Charset conversion in gettext):
22145 Move @end statement to beginning of line.
22147 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22149 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22151 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22154 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22155 (denorm): Likewise.
22156 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22157 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22159 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22161 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22162 tail-call to the resolved function if pltexit isn't needed.
22164 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22166 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22167 or Y being zero as being unlikely.
22168 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22171 2013-02-20 Carlos O'Donell <carlos@redhat.com>
22173 * manual/nss.texi (System Databases and Name Service Switch):
22174 Remove frobnicate @pxref.
22176 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22178 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22179 __attribute__ ((unused)) to __attribute__ ((__unused__)).
22181 2013-02-20 Petr Machata <pmachata@redhat.com>
22183 * elf/elf.h (R_ARM_TARGET1): New macro.
22184 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22185 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22186 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22187 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22188 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22189 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22190 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22191 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22192 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22193 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22194 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22195 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22196 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22197 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22198 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22199 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22200 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22201 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22202 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22203 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22204 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22205 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22206 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22207 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22208 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22209 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22210 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22211 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22212 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22213 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22214 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22215 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22216 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22217 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22218 (R_ARM_THM_GOT_BREL12): Likewise.
22219 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22220 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22221 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22222 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22223 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22224 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22225 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22226 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22227 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22229 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22231 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22232 __attribute_used__ to __attribute__ ((unused)).
22234 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22236 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22238 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22239 comment formatting.
22240 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22242 2013-02-19 Joseph Myers <joseph@codesourcery.com>
22245 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22247 (ENTER): Remove both macro definitions.
22249 (CHECK_BOUNDS_LOW): Likewise.
22250 (CHECK_BOUNDS_HIGH): Likewise.
22251 (CHECK_BOUNDS_BOTH): Likewise.
22252 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22253 (RETURN_BOUNDED_POINTER): Likewise.
22254 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22255 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22256 (POP_ERRNO_LOCATION_RETURN): Likewise.
22257 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22258 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22259 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22261 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22262 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22263 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22264 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22265 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22266 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22267 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22268 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22269 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22270 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22271 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22272 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22273 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22274 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22276 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22277 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22279 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22280 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22281 * sysdeps/i386/i586/memset.S (memset): Likewise.
22282 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22283 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22284 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22286 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22287 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22288 Change uses of L(2) to L(out).
22289 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22290 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22291 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22292 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22293 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22295 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22296 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22298 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22299 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22300 (RETURN): Do not use macro LEAVE.
22301 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22302 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22303 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22304 * sysdeps/i386/i686/memset.S (memset): Likewise.
22305 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22306 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22307 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22308 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22310 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22311 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
22312 L(1_2) and L(1_3) into L(1).
22313 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22314 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22315 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22316 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22317 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22318 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22319 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22320 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22321 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22323 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22324 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22325 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22326 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22327 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22328 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22329 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22330 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22331 * sysdeps/i386/strcspn.S (strcspn): Likewise.
22332 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22333 * sysdeps/i386/strrchr.S (strrchr): Likewise.
22334 * sysdeps/i386/strspn.S (strspn): Likewise.
22335 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22337 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22338 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22339 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22340 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
22341 L(1_3) into L(1_1).
22342 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22343 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22344 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22346 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22348 2013-02-19 Jakub Jelinek <jakub@redhat.com>
22350 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22353 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22355 * math/atest-exp.c (exp_mpn): Remove ROUND.
22356 * math/atest-exp2.c (exp_mpn): Likewise.
22357 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22359 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22360 * stdlib/tst-tls-atexit-lib.c: Likewise.
22361 * stdlib/tst-tls-atexit.c: Likewise.
22363 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22365 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22366 and __attribute_alloc_size__.
22368 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22370 * include/programs/xmalloc.h: Change __attribute_alloc_size to
22371 __attribute_alloc_size__.
22372 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22373 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22375 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22377 * include/programs/xmalloc.h: New file.
22378 * catgets/gencat.c: Include it.
22379 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22380 * elf/pldd.c: Likewise.
22381 * iconv/iconv_charmap.c: Likewise.
22382 * iconv/iconvconfig.c: Likewise.
22383 * iconv/strtab.c: Likewise.
22384 * locale/programs/locale.c: Likewise.
22385 * locale/programs/localedef.h: Likewise.
22386 * locale/programs/simple-hash.c: Likewise.
22387 * nscd/nscd.h: Likewise.
22388 * nss/makedb.c: Likewise.
22389 * sysdeps/generic/ldconfig.h: Likewise.
22391 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22393 * Versions.def: Add GLIBC_2.18.
22394 * include/link.h (struct link_map): New member l_tls_dtor_count.
22395 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22396 (__call_tls_dtors): Likewise.
22397 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22398 __cxa_thread_atexit_impl.
22399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22407 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22412 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22415 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22416 (tests): Add test case tst-tls-atexit.
22417 (modules-names): Add shared library for tst-tls-atexit.
22418 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22419 (GLIBC_PRIVATE): Add __call_tls_dtors.
22420 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22422 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22423 * stdlib/tst-tls-atexit.c: New test case.
22424 * stdlib/tst-tls-atexit-lib.c: New test case.
22426 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22428 * elf/Versions (ld): Add _dl_find_dso_for_object.
22429 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22430 * elf/dl-open.c (_dl_find_dso_for_object): New function.
22431 (dl_open_worker): Use _dl_find_dso_for_object.
22432 * elf/dl-sym.c (do_sym): Likewise.
22433 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22435 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22437 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22438 Syntactic changes only.
22439 (_dl_runtime_profile): Do a tail-call to the resolved function.
22441 2013-02-17 Joseph Myers <joseph@codesourcery.com>
22444 * sysdeps/x86_64/bp-asm.h: Remove file.
22445 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22446 <bp-sym.h> and <bp-asm.h>.
22447 (__clone): Do not use BP_SYM.
22448 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22449 <bp-sym.h> and <bp-asm.h>.
22450 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22451 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22453 (_setjmp): Do not use BP_SYM.
22454 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22456 (setjmp): Do not use BP_SYM.
22457 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22459 (mempcpy): Do not use BP_SYM in weak_alias.
22460 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22462 (strchr): Do not use BP_SYM.
22463 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22465 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22466 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22467 (_start): Do not use BP_SYM.
22468 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22470 (strcat): Do not use BP_SYM.
22471 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22473 (STRCMP): Do not use BP_SYM.
22474 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22476 (STRCPY): Do not use BP_SYM.
22477 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22479 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22481 (FUNCTION): Do not use BP_SYM.
22482 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22484 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22486 2013-02-17 Andreas Jaeger <aj@suse.de>
22488 * time/Versions: Sort entries.
22489 * string/Versions: Likewise.
22490 * resolv/Versions: Likewise.
22491 * posix/Versions: Likewise.
22492 * iconv/Versions: Likewise.
22493 * elf/Versions: Likewise.
22494 * wcsmbs/Versions: Likewise.
22496 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22498 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22499 loop termination condition.
22501 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22502 variable to calculate EZ.
22505 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22506 the lower precision input.
22508 2013-02-15 Joseph Myers <joseph@codesourcery.com>
22511 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22512 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22513 (run-via-rtld-prefix): Do not handle %-bp tests.
22514 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22515 (all-object-suffixes): Remove .ob.
22516 (bppfx): Remove variable.
22517 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22518 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22519 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22520 [$(build-bounded) = yes] (libtype.ob): Likewise.
22521 * Makerules (elide-routines.ob): Remove variable.
22522 (do-tests-clean): Do not handle *-bp.out.
22523 (common-mostlyclean): Do not handle *-bp and *-bp.out.
22524 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22525 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22526 (tests): Do not include $(tests-bp.out).
22527 (xtests): Do not include $(xtests-bp.out).
22528 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22529 [$(build-bounded) = yes] ($(addprefix
22530 $(objpfx),$(binaries-bounded))): Remove rule.
22531 ($(objpfx)%-bp.out): Remove rule.
22532 * config.make.in (build-bounded): Remove variable.
22533 * crypt/Makefile [$(build-bounded) = yes]
22534 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22535 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22536 append to variable.
22537 [$(build-bounded) = yes] (install-lib): Likewise.
22538 [$(build-bounded) = yes] (generated): Likewise.
22539 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22541 * intl/Makefile [$(build-bounded) = yes]
22542 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22543 * math/Makefile [$(build-bounded) = yes]
22544 ($(tests:%=$(objpfx)%-bp): Likewise.
22545 * misc/Makefile [$(build-bounded) = yes]
22546 ($(objpfx)tst-tsearch-bp): Likewise.
22547 * nptl/Makeconfig (bounded-thread-library): Remove variable.
22548 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22550 * string/Makefile (o-objects.ob): Remove variable.
22551 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22552 (CFLAGS-.ob): Remove variable.
22553 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22554 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22555 both definitions of variable.
22556 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22557 (ASFLAGS-.ob): Remove variable.
22559 2013-02-14 Joseph Myers <joseph@codesourcery.com>
22562 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22563 Remove __BOUNDED_POINTERS__ from condition.
22564 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22565 * string/bits/string2.h [!__NO_STRING_INLINES &&
22566 !__BOUNDED_POINTERS__]: Likewise.
22567 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22569 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22570 Remove conditional code.
22571 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22572 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22573 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22577 * csu/libc-start.c: Do not include <bp-sym.h>.
22578 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22579 * elf/dl-open.c: Do not include <bp-sym.h>.
22580 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22581 * math/fegetenv.c: Do not include <bp-sym.h>.
22582 (fegetenv): Do not use BP_SYM in versioned symbols.
22583 * nptl/sysdeps/pthread/bits/libc-lockP.h
22584 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22586 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22587 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22588 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22589 (__pthread_mutex_destroy): Likewise.
22590 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22591 (__pthread_mutex_lock): Likewise.
22592 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22593 (__pthread_mutex_trylock): Likewise.
22594 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22595 (__pthread_mutex_unlock): Likewise.
22596 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22597 (__pthread_mutexattr_init): Likewise.
22598 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22599 (__pthread_mutexattr_destroy): Likewise.
22600 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22601 (__pthread_mutexattr_settype): Likewise.
22602 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22603 (__pthread_rwlock_init): Likewise.
22604 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22605 (__pthread_rwlock_destroy): Likewise.
22606 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22607 (__pthread_rwlock_rdlock): Likewise.
22608 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22609 (__pthread_rwlock_tryrdlock): Likewise.
22610 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22611 (__pthread_rwlock_wrlock): Likewise.
22612 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22613 (__pthread_rwlock_trywrlock): Likewise.
22614 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22615 (__pthread_rwlock_unlock): Likewise.
22616 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22617 (__pthread_key_create): Likewise.
22618 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22619 (__pthread_setspecific): Likewise.
22620 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22621 (__pthread_getspecific): Likewise.
22622 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22624 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22625 (_pthread_cleanup_push_defer): Likewise.
22626 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22627 (_pthread_cleanup_pop_restore): Likewise.
22628 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22629 (pthread_setcancelstate): Likewise.
22630 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22632 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22633 (memchr): Do not use BP_SYM in weak_alias.
22634 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22635 (fegetenv): Do not use BP_SYM in versioned symbols.
22636 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22637 (fesetenv): Do not use BP_SYM in versioned symbols.
22638 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22639 (feupdateenv): Do not use BP_SYM in versioned symbols.
22640 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22641 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22642 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22643 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22644 (open64): Do not use BP_SYM in weak_alias.
22645 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22646 (fegetenv): Do not use BP_SYM in versioned symbols.
22647 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22648 (fesetenv): Do not use BP_SYM in versioned symbols.
22649 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22650 (feupdateenv): Do not use BP_SYM in versioned symbols.
22651 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22652 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22653 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22654 (feraiseexcept): Do not use BP_SYM in versioned symbols.
22655 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22656 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22657 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22659 (__libc_start_main): Do not use BP_SYM.
22661 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22663 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22664 redundant return line.
22666 (denorm): Likewise.
22667 (dbl_mp): Likewise.
22668 (sub_magnitudes): Likewise.
22674 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22676 (denorm): Likewise.
22677 (dbl_mp): Likewise.
22678 (sub_magnitudes): Likewise.
22685 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22687 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22688 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22691 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22692 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22693 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22694 of __mul for squares.
22695 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22697 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22699 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22700 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22702 2013-02-13 Joseph Myers <joseph@codesourcery.com>
22705 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22707 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22708 prototype or function definition. Rename ubp_* variables and
22709 parameters. Remove argv definitions conditional on
22710 [__BOUNDED_POINTERS__].
22711 * debug/backtrace.c (__backtrace): Do not use __unbounded.
22712 * elf/dl-runtime.c (_dl_fixup): Likewise.
22713 * include/set-hooks.h (RUN_HOOK): Likewise.
22714 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22716 * string/strcpy.c (strcpy): Do not use __unbounded.
22717 * sysdeps/generic/frame.h (struct layout): Likewise.
22718 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22719 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22720 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22721 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22722 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22723 (__backtrace): Likewise.
22724 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22726 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22727 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22728 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22730 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22731 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22732 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22733 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22734 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22735 Do not use __unbounded.
22736 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22737 Rename __unboundedrlimits parameter to rlimits in prototype.
22738 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22739 Do not use __unbounded.
22740 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22741 not use __ptrvalue.
22742 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22743 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22744 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22745 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22746 __ptrvalue or __unbounded.
22747 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22748 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22750 (__new_msgctl): Do not use __ptrvalue.
22751 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22753 (__libc_msgrcv): Do not use __ptrvalue.
22754 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22755 startup_info): Do not use __unbounded.
22756 (__libc_start_main): Likewise. Rename ubp_* variables and
22757 parameters. Remove argv definitions conditional on
22758 [__BOUNDED_POINTERS__].
22759 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22761 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22763 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22765 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22767 (__new_shmctl): Do not use __ptrvalue.
22768 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22769 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22771 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22772 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22773 (__libc_sigaction): Likewise.
22774 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22775 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22777 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22779 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
22781 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22783 * string/mempcpy.c: Implement by calling memcpy.
22785 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22787 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22789 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22792 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22793 values in the mantissa.
22795 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22796 minimize writes to Z.
22797 (sub_magnitudes): Simplify code a bit.
22799 2013-02-12 Roland McGrath <roland@hack.frob.com>
22801 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22802 from the message. The linker prefixes all warnings with that already.
22804 2013-02-12 Andreas Schwab <schwab@suse.de>
22807 * posix/regexec.c (extend_buffers): Add parameter min_len.
22808 (check_matching): Pass minimum needed length.
22809 (clean_state_log_if_needed): Likewise.
22810 (get_subexp): Likewise.
22811 * posix/Makefile (tests): Add bug-regex34.
22812 (bug-regex34-ENV): Define.
22813 * posix/bug-regex34.c: New file.
22816 * posix/regcomp.c (parse_bracket_exp): When looking up collating
22817 elements compare against the byte sequence of it, not its name.
22818 * posix/Makefile (tests): Add bug-regex35.
22819 (bug-regex35-ENV): Define.
22820 * posix/bug-regex35.c: New file.
22822 2013-02-11 Tom de Vries <tom@codesourcery.com>
22824 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
22826 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22827 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22828 (CHECK_EOL): Add undef.
22830 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
22832 * bits/stdlib-bsearch.h: New file.
22833 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22834 * stdlib/stdlib.h: Likewise.
22836 2013-02-11 Roland McGrath <roland@hack.frob.com>
22838 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22839 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22841 * manual/search.texi (Array Search Function): Add missing const in
22843 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22844 declaration to use rlim_t.
22845 (Basic Scheduling Functions): Remove erroneous const from
22846 sched_getparam prototype. Remove erroneous * from
22847 sched_get_priority_max and sched_get_priority_min prototypes.
22848 (Resource Usage): Fix summary @comment on vtimes to refer to
22849 sys/vtimes.h rather than vtimes.h.
22850 Add missing *s in vtimes prototype.
22851 (Limits on Resources): Fix ulimit prototype to return long int.
22852 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22853 prototypes to use long int rather than double.
22854 (BSD Random): Fix initstate and setstate to use char *, not void *.
22855 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22856 prototype to make second argument 'struct aiocb64 *const[]'.
22857 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22858 (Status of AIO Operations): Remove erroneous const in aio_return and
22859 aio_return64 prototypes.
22860 (Synchronizing I/O): Fix sync prototype to return void.
22861 * manual/startup.texi (Suboptions): Remove an erroneous const in
22862 getsubopt prototype.
22863 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22864 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22865 use size_t rather than int.
22866 (Scanning All Users): Likewise for getpwent_r.
22867 (Setting Groups): Add missing const to setgroups prototype.
22868 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22869 * manual/socket.texi (Host Names): Fix gethostbyaddr and
22870 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22871 'const void *' rather than 'const char *'.
22872 (Host Address Functions): Likewise for inet_ntop.
22873 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22874 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22875 ssize_t for return value.
22876 (Sending Data): Likewise for send, sendto, sendmsg.
22877 (Socket Option Functions): Add a missing const in setsockopt prototype.
22878 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22879 use wchar_t for the argument.
22880 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22881 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22883 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22884 double/float/long double for second argument.
22885 Fix return types of significand, significandf, significandl.
22886 * manual/filesys.texi (Setting Permissions): Use mode_t for second
22887 argument in fchmod prototype.
22888 (File Owner): Use uid_t and gid_t in fchown prototype.
22889 (File Times): Add const to utimes, futimes, and lutimes prototypes.
22890 (Making Special Files): Use mode_t and dev_t in mknod prototype.
22891 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22892 use 'const struct dirent **' as argument types to CMP function pointer
22894 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22895 (File Times): Fix summary magic @comment for struct utimbuf and utime
22896 to refer to utime.h, not time.h.
22897 * manual/string.texi (Argz Functions): Add missing const in
22898 argz_extract and argz_next prototypes.
22899 (Finding Tokens in a String): Likewise for basename.
22900 (String/Array Comparison): Fix typo in wcscasecmp prototype.
22901 (Copying and Concatenation): Fix typo in wmemmove prototype.
22902 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22903 (Signal Stack): Remove erroneous const in sigstack prototype.
22904 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22906 (Simple Calendar Time): Likewise for stime.
22907 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22909 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22910 say sys/sysctl.h instead.
22911 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22912 and vsyslog prototypes.
22914 2013-02-11 Tom de Vries <tom@codesourcery.com>
22916 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22919 2013-02-11 Roland McGrath <roland@hack.frob.com>
22921 * misc/sys/mman.h: Fix typo in mremap comment.
22923 2013-02-08 Roland McGrath <roland@hack.frob.com>
22925 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22926 the '\0' terminator.
22928 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22931 * debug/segfault.c: Don't include <bp-checks.h>.
22932 * sysdeps/generic/bp-checks.h: Remove file.
22933 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22934 (__GETDENTS): Don't use CHECK_N.
22935 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22936 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22937 (__getgroups): Don't use CHECK_N.
22938 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22939 (setgroups): Don't use CHECK_N.
22940 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22941 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22942 (__libc_msgrcv): Don't use CHECK_N.
22943 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22944 (__libc_msgsnd): Don't use CHECK_N.
22945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22947 (__libc_pread): Don't use CHECK_N.
22948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22949 include <bp-checks.h>.
22950 (__libc_pread64): Don't use CHECK_N.
22951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22952 include <bp-checks.h>.
22953 (__libc_pwrite): Don't use CHECK_N.
22954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22955 include <bp-checks.h>.
22956 (__libc_pwrite64): Don't use CHECK_N.
22957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22959 (__libc_pread): Don't use CHECK_N.
22960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22961 include <bp-checks.h>.
22962 (__libc_pread64): Don't use CHECK_N.
22963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22964 include <bp-checks.h>.
22965 (__libc_pwrite): Don't use CHECK_N.
22966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22967 include <bp-checks.h>.
22968 (__libc_pwrite64): Don't use CHECK_N.
22969 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22970 (do_pread): Don't use CHECK_N.
22971 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22972 (do_pread64): Don't use CHECK_N.
22973 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22974 (do_pwrite): Don't use CHECK_N.
22975 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22976 (do_pwrite64): Don't use CHECK_N.
22977 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22978 (__libc_readv): Don't use CHECK_N.
22979 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22980 (semop): Don't use CHECK_N.
22981 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22983 (semtimedop): Don't use CHECK_N.
22984 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22985 (__libc_pread): Don't use CHECK_N.
22986 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22988 (__libc_pread64): Don't use CHECK_N.
22989 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22991 (__libc_pwrite): Don't use CHECK_N.
22992 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22994 (__libc_pwrite64): Don't use CHECK_N.
22995 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22997 (__libc_msgrcv): Don't use CHECK_N.
22998 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22999 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
23000 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23001 (__libc_writev): Don't use CHECK_N.
23003 2013-02-08 Roland McGrath <roland@hack.frob.com>
23005 * string/strcpy.c: Removed unused variable.
23007 * Makeconfig (+sysdep-includes): Define with := rather than =.
23008 Use an existing include/ subdir of each sysdeps dir before it.
23010 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23012 * nscd/connection.c (register_traced_file): Comment function.
23013 [HAVE_INOTIFY] (union __inev): Define.
23014 [HAVE_INOTIFY] (inotify_check_files): New function.
23015 [HAVE_INOTIFY] (clear_db_cache): Likewise.
23016 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23018 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23020 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23022 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23023 loaded if not already and that a failure is permanent.
23025 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23028 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23029 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23031 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23034 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23035 (CHECK_1_NULL_OK): Likewise.
23036 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23037 (__fxstat): Do not use CHECK_1.
23038 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23040 (___fxstat64): Do not use CHECK_1.
23041 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23043 (__fxstatat): Do not use CHECK_1.
23044 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23046 (__fxstatat64): Do not use CHECK_1.
23047 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23049 (__fxstat): Do not use CHECK_1.
23050 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23052 (__fxstatat): Do not use CHECK_1.
23053 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23055 (__getresgid): Do not use CHECK_1.
23056 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23058 (__getresuid): Do not use CHECK_1.
23059 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23061 (__lxstat): Do not use CHECK_1.
23062 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23064 (__old_msgctl): Do not use CHECK_1.
23065 (__new_msgctl): Likewise.
23066 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23068 (__new_setrlimit): Do not use CHECK_1.
23069 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23071 (__old_shmctl): Do not use CHECK_1.
23072 (__new_shmctl): Likewise.
23073 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23075 (__xstat): Do not use CHECK_1.
23076 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23077 (__lxstat): Do not use CHECK_1.
23078 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23080 (___lxstat64): Do not use CHECK_1.
23081 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23082 (__old_msgctl): Do not use CHECK_1.
23083 (__new_msgctl): Likewise.
23084 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23086 (__gettimeofday): Do not use CHECK_1.
23087 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23088 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23089 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23091 (__gettimeofday): Do not use CHECK_1.
23092 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23093 (__old_shmctl): Do not use CHECK_1_NULL_OK.
23094 (__new_shmctl): Do not use CHECK_1.
23095 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23097 (do_sigtimedwait): Do not use CHECK_1.
23098 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23100 (do_sigwaitinfo): Do not use CHECK_1.
23101 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23103 (msgctl): Do not use CHECK_1.
23104 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23106 (shmctl): Do not use CHECK_1.
23107 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23108 (ustat): Do not use CHECK_1.
23109 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23111 (__fxstat): Do not use CHECK_1.
23112 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23114 (__fxstatat): Do not use CHECK_1.
23115 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23117 (__lxstat): Do not use CHECK_1.
23118 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23120 (__xstat): Do not use CHECK_1.
23121 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23122 (__xstat): Do not use CHECK_1.
23123 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23124 (___xstat64): Do not use CHECK_1.
23127 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23129 (CHECK_BOUNDS_HIGH): Likewise.
23130 * string/strcpy.c: Do not include <bp-checks.h>.
23131 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23133 2013-02-07 Roland McGrath <roland@hack.frob.com>
23135 * nscd/nscd-client.h (__nscd_drop_map_ref):
23136 Add __attribute__ ((unused)).
23137 * nis/nss-nisplus.h (niserr2nss): Likewise.
23139 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23140 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23142 * csu/libc-tls.c (init_static_tls, init_slotinfo):
23143 Remove inline keyword.
23144 * include/rounding-mode.h (round_away): Likewise.
23145 * libio/wfileops.c (adjust_wide_data): Likewise.
23146 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23147 (__m128i_strloadu_tolower): Likewise.
23148 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23149 (__m128i_strloadu_tolower): Likewise.
23150 * time/mktime.c (ydhms_diff): Likewise.
23151 * locale/elem-hash.h (elem_hash): Likewise.
23152 * locale/setlocale.c (setdata): Likewise.
23153 * posix/regex_internal.h (re_string_char_size_at): Likewise.
23154 (re_string_wchar_at): Likewise.
23155 (bitset_not, bitset_merge, bitset_mask): Likewise.
23156 [!(__GNUC__ > 3)] (inline): Remove macro.
23157 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23158 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23159 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23160 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23161 * string/memcmp.c (memcmp_bytes): Likewise.
23162 * locale/programs/locarchive.c (compute_hashval): Likewise.
23163 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23164 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23165 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23166 * nss/getent.c (print_rpc, print_protocols): Likewise.
23167 (print_passwd, print_group, print_aliases): Likewise.
23168 * nis/nss-nisplus.h (niserr2nss): Likewise.
23169 * nscd/connections.c (restart_p): Likewise.
23170 Change return type to bool.
23172 2013-02-05 Roland McGrath <roland@hack.frob.com>
23174 * Makeconfig (all-Depend-files): Add existing
23175 $(sorted-subdirs:=/Depend) files.
23176 (all-subdirs): Remove nss.
23177 * sysdeps/unix/inet/Subdirs: Add it here instead.
23178 * hesiod/Depend: New file.
23180 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23181 instead of calling alloca.
23183 * io/lseek.c (__lseek): Rename to __libc_lseek.
23184 Define __lseek as an alias.
23186 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23188 2013-02-04 Carlos O'Donell <carlos@redhat.com>
23190 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23191 else clause and remove check for non-standard endianness.
23193 2013-02-04 David S. Miller <davem@davemloft.net>
23195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23197 2013-02-04 Joseph Myers <joseph@codesourcery.com>
23200 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23201 (__ubp_memchr): Remove prototype.
23202 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23203 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23204 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23205 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23206 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23208 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23209 (__ubp_memchr): Likewise.
23210 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23211 (__ubp_memchr): Likewise.
23212 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23213 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23214 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23215 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23217 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23218 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23219 (__getcwd): Do not use CHECK_STRING.
23220 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23222 (__real_chown): Do not use CHECK_STRING.
23223 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23225 (fchownat): Do not use CHECK_STRING.
23226 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23228 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23230 (__lchown): Do not use CHECK_STRING.
23231 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23232 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23233 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23234 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23236 include <bp-checks.h>.
23237 (truncate64): Do not use CHECK_STRING.
23238 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23240 (__real_chown): Do not use CHECK_STRING.
23241 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23243 (__lchown): Do not use CHECK_STRING.
23244 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23246 (__chown): Do not use CHECK_STRING.
23247 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23249 (truncate64): Do not use CHECK_STRING.
23250 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23252 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23253 (__xmknod): Do not use CHECK_STRING.
23254 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23256 (__xmknodat): Do not use CHECK_STRING.
23257 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23258 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23260 2013-02-04 Andreas Schwab <schwab@suse.de>
23263 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23264 * include/netdb.h: Likewise for h_errno.
23265 * elf/tst-stackguard1.c: Include <tls.h>.
23267 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23269 * elf/link.h (struct link_map): Extend the l_addr comment.
23270 * include/link.h (struct link_map): Likewise.
23272 2013-02-01 Joseph Myers <joseph@codesourcery.com>
23275 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23276 (BOUNDED_1): Remove macro.
23277 * debug/backtrace.c: Don't include <bp-checks.h>.
23278 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23279 (__backtrace): Likewise.
23280 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23282 (__backtrace): Don't use BOUNDED_1.
23283 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23285 (__backtrace): Don't use BOUNDED_1.
23286 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23287 (__backtrace): Don't use BOUNDED_1.
23288 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23289 (shmat): Don't use BOUNDED_N.
23291 2013-01-31 Joseph Myers <joseph@codesourcery.com>
23294 * sysdeps/generic/bp-start.h: Remove file.
23295 * csu/libc-start.c: Don't include <bp-start.h>.
23296 (LIBC_START_MAIN): Set up __environ directly instead of using
23297 INIT_ARGV_and_ENVIRON.
23298 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23302 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23304 (CHECK_FCNTL): Likewise.
23305 (CHECK_N_PAGES): Likewise.
23308 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23310 (CHECK_SIGSET_NULL_OK): Likewise.
23311 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23313 (sigpending): Don't use CHECK_SIGSET.
23314 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23316 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23317 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23319 (do_sigsuspend): Don't use CHECK_SIGSET.
23320 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23322 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23323 (do_sigwait): Don't use CHECK_SIGSET.
23324 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23326 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23327 include <bp-checks.h>.
23328 (sigpending): Don't use CHECK_SIGSET.
23329 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23330 include <bp-checks.h>.
23331 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23332 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23334 (sigpending): Don't use CHECK_SIGSET.
23335 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23337 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23340 * sysdeps/generic/bp-semctl.h: Remove file.
23341 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23342 <bp-checks.h> and <bp-semctl.h>.
23343 (__old_semctl): Don't use CHECK_SEMCTL.
23344 (__new_semctl): Likewise.
23345 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23347 (__old_semctl): Don't use CHECK_SEMCTL.
23348 (__new_semctl): Likewise.
23349 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23350 <bp-checks.h> and <bp-semctl.h>.
23351 (__old_semctl): Don't use CHECK_SEMCTL.
23352 (__new_semctl): Likewise.
23353 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23354 <bp-checks.h> and <bp-semctl.h>.
23355 (semctl): Don't use CHECK_SEMCTL.
23358 * Makerules (elide-bp-thunks): Remove variable.
23359 (elide-routines.oS): Don't use $(elide-bp-thunks).
23360 (elide-routines.os): Likewise.
23361 (elide-routines.o): Likewise.
23362 (elide-routines.op): Likewise.
23363 (elide-routines.og): Likewise.
23364 (objects): Don't use $(bp-thunks).
23365 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23367 (common-generated): Do not add s-proto-bp.d.
23368 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23371 Do not generate makefile rules for bounded-pointer thunks.
23372 * sysdeps/generic/bp-thunks.h: Remove file.
23373 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23374 * sysdeps/unix/s-proto-bp.S: Likewise.
23377 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23378 parts of result separately when argument is not close to line from
23379 -i to i and one part of argument is small.
23380 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23381 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23382 * math/libm-test.inc (cacos_test): Add more tests.
23383 (casin_test): Likewise.
23384 (casinh_test): Likewise.
23385 * sysdeps/i386/fpu/libm-test-ulps: Update.
23386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23388 2013-01-31 David S. Miller <davem@davemloft.net>
23390 * po/de.po: Update from translation team.
23392 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
23394 * time/tzfile.c: Include stdint.h for SIZE_MAX.
23396 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
23398 * configure.in (_AC_PROG_CC_C89): New definition.
23399 * configure: Regenerate.
23401 * configure.in (AC_PROG_CPP): New definition.
23402 * configure: Regenerate.
23404 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23406 * debug/tst-backtrace.h: New file.
23407 * debug/tst-backtrace2.c: Include tst-backtrace.h.
23408 (ret): Remove variable.
23410 (FAIL): Remove macro.
23411 (NO_INLINE): Likewise.
23412 (fn1): Use match function instead of strstr.
23413 * debug/tst-backtrace3.c: Include tst-backtrace.h.
23414 (ret): Remove variable.
23416 (FAIL): Remove macro.
23417 (NO_INLINE): Likewise.
23418 (fn): Use match function instead of strstr.
23419 * debug/tst-backtrace4.c: Include tst-backtrace.h.
23420 (ret): Remove variable.
23422 (FAIL): Remove macro.
23423 (NO_INLINE): Likewise.
23424 (handle_signal): Use match function instead of strstr.
23425 * debug/tst-backtrace5.c: Include tst-backtrace.h.
23426 (ret): Remove variable.
23428 (FAIL): Remove macro.
23429 (NO_INLINE): Likewise.
23430 (handle_signal): Use match function instead of strstr.
23432 2013-01-23 Roland McGrath <roland@hack.frob.com>
23434 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23436 2013-01-23 David S. Miller <davem@davemloft.net>
23438 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23439 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23440 argument of CAS if possible.
23441 * sysdeps/sparc/sparc64/bits/atomic.h
23442 (__arch_compare_and_exchange_val_32_acq): Likewise.
23443 (__arch_compare_and_exchange_val_64_acq): Likewise.
23445 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
23447 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23448 * sysdeps/posix/ulimit.c: ... this.
23449 Include <limits.h>.
23450 * sysdeps/unix/bsd/ulimit.c: Remove file.
23452 2013-01-23 Adam Conrad <adconrad@0c3.net>
23454 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23455 (LDFLAGS-tst-array5): Likewise.
23457 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23460 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23461 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23462 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23463 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23465 2013-01-21 David S. Miller <davem@davemloft.net>
23467 * sysdeps/sparc/backtrace.c: New file.
23468 * sysdeps/sparc/sparc32/backtrace.h: New file.
23469 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23470 * sysdeps/sparc/sparc64/backtrace.h: New file.
23471 * sysdeps/sparc/sparc64/backtrace.c: Delete.
23472 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23475 2013-01-21 Andreas Schwab <schwab@suse.de>
23478 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23481 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
23483 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23485 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23487 2013-01-18 Joseph Myers <joseph@codesourcery.com>
23488 Mark Mitchell <mark@codesourcery.com>
23489 Tom de Vries <tom@codesourcery.com>
23490 Paul Pluzhnikov <ppluzhnikov@google.com>
23492 * debug/tst-backtrace2.c: New file.
23493 * debug/tst-backtrace3.c: Likewise.
23494 * debug/tst-backtrace4.c: Likewise.
23495 * debug/tst-backtrace5.c: Likewise.
23496 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23497 (CFLAGS-tst-backtrace3.c): Likewise.
23498 (CFLAGS-tst-backtrace4.c): Likewise.
23499 (CFLAGS-tst-backtrace5.c): Likewise.
23500 (LDFLAGS-tst-backtrace2): Likewise.
23501 (LDFLAGS-tst-backtrace3): Likewise.
23502 (LDFLAGS-tst-backtrace4): Likewise.
23503 (LDFLAGS-tst-backtrace5): Likewise.
23504 (tests): Add new tests tst-backtrace2, tst-backtrace3,
23505 tst-backtrace4 and tst-backtrace5.
23507 2013-01-18 Anton Blanchard <anton@samba.org>
23508 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23510 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23511 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23512 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23513 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23515 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23516 "+r" and remove output regs list as redundant. Add explicit inline
23517 asm to specify register of return val to work around compiler codegen
23518 bug. Remove (int) cast on return value. Add return type parameter to
23519 use in macro so that this macro does not truncate return value for
23521 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23522 pass to INTERNAL_VSYSCALL_NCS.
23523 (INLINE_VSYSCALL): Add 'long int' as return type to
23524 INTERNAL_VSYSCALL_NCS macro invocation.
23525 (INTERNAL_VSYSCALL): Add 'long int' as return type to
23526 INTERNAL_VSYSCALL_NCS macro invocation.
23527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23529 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23532 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23533 Fix application of SIMD FP exception mask.
23535 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23536 mp_no from a power of two.
23537 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23538 __mpexp_twomm1. Use __pow_mp.
23540 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23543 2013-01-17 David S. Miller <davem@davemloft.net>
23545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23547 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23550 * include/complex.h: Condition contents on [!_COMPLEX_H].
23551 (__kernel_casinhf): New prototype.
23552 (__kernel_casinh): Likewise.
23553 (__kernel_casinhl): Likewise.
23554 * math/Makefile (libm_calls): Add k_casinh.
23555 * math/k_casinh.c: New file.
23556 * math/k_casinhf.c: Likewise.
23557 * math/k_casinhl.c: Likewise.
23558 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23559 finite nonzero arguments.
23560 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23561 finite nonzero arguments.
23562 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23563 finite nonzero arguments.
23564 * math/s_casinh.c: Do not include <float.h>.
23565 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23566 * math/s_casinhf.c: Do not include <float.h>.
23567 (__casinhf): Move code for finite nonzero arguments to
23569 * math/s_casinhl.c: Do not include <float.h>.
23570 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23572 (__casinhl): Move code for finite nonzero arguments to
23574 * math/libm-test.inc (cacos_test): Add more tests.
23575 * sysdeps/i386/fpu/libm-test-ulps: Update.
23576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23578 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
23580 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23581 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23582 [!HAVE_MREMAP]: Remove [defined linux] case.
23583 * malloc/arena.c: Do not include <malloc-sysdep.h>.
23585 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23587 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23589 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
23591 * elf/elf.h (R_386_SIZE32): New relocation.
23592 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23594 (elf_machine_rela): Likewise.
23595 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23596 R_X86_64_SIZE64 and R_X86_64_SIZE32.
23598 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23600 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23601 (FP_FAST_FMA): Do not define.
23602 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23603 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23604 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23605 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23606 !_SOFT_FLOAT]: Likewise.
23607 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23608 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23610 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23611 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23612 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23613 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23614 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23615 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23618 2013-01-16 Andreas Schwab <schwab@suse.de>
23621 * include/stdlib.h (__mktemp): Add declaration.
23622 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23623 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23625 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23627 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23629 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23630 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23631 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23633 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23634 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23636 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23638 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23639 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23640 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23642 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23643 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23645 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23647 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23649 2013-01-15 David S. Miller <davem@davemloft.net>
23651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23652 trunc{,f} to libm-sysdep_routes.
23653 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23663 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23664 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23665 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23666 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23667 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23668 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23671 nearbyint{,f} to libm-sysdep_routes.
23672 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23683 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23685 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23686 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23688 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23689 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23690 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23692 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23693 libc_feholdexcept and libc_fesetenv.
23695 2013-01-15 Mike Frysinger <vapier@gentoo.org>
23697 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23699 2013-01-14 David S. Miller <davem@davemloft.net>
23701 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23702 (SPARC_ASM_VIS2_IFUNC): Likewise.
23703 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23705 use of 'siam' instruction.
23706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23712 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23713 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23714 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23715 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23724 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23725 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23726 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23727 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23734 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23735 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23736 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23737 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23739 routines to libm-sysdep_routines.
23740 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23743 fdim/fdimf to libm-sysdep_routines.
23744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23752 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23753 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23754 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23755 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23757 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23759 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23760 to optimize copies.
23762 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23763 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23764 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23766 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23767 local variable MPTWO.
23768 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23771 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23773 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23776 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23778 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23780 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23782 * manual/pattern.texi (glob_t): Document gl_flags.
23783 (glob64_t): Likewise.
23785 2013-01-11 David S. Miller <davem@davemloft.net>
23787 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23788 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23789 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
23790 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23791 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23792 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23793 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23794 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23795 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23796 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23797 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23798 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23799 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23801 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23802 sparc V9 rather than using V8 code.
23803 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23804 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23806 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23808 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23811 2013-01-11 Roland McGrath <roland@hack.frob.com>
23813 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23814 not in the main loop.
23815 * configure: Regenerated.
23817 2013-01-11 Joseph Myers <joseph@codesourcery.com>
23819 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23820 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23822 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
23823 [!__GLIBC_HAVE_LONG_LONG] case.
23824 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23825 condition to just #else.
23826 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23827 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23828 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23829 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23831 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23832 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23833 #elif condition to just #else.
23834 * sysdeps/unix/sysv/linux/sys/sysmacros.h
23835 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23836 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23837 #elif condition to just #else.
23839 2013-01-11 Steve Ellcey <sellcey@mips.com>
23841 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23842 (EF_MIPS_ARCH_64): Fix value.
23843 (EF_MIPS_ARCH_32R2): New.
23844 (EF_MIPS_ARCH_64R2): New.
23846 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
23848 * Makeconfig (+link-pie-before-libc): New.
23849 (+link-pie-after-libc): Likewise.
23850 (+link-pie-tests): Likewise.
23851 (+link-pie): Rewritten.
23852 (link-before-libc): Remove $(config-LDFLAGS).
23853 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23854 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23855 (config-LDFLAGS): Renamed to ...
23856 (rtld-LDFLAGS): This.
23857 (rtld-tests-LDFLAGS): New macro.
23858 (link-libc-rpath-link): Likewise.
23859 (link-libc-tests-rpath-link): Likewise.
23860 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23861 (link-libc): Prepand $(link-libc-rpath-link).
23862 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23863 (test-program-prefix): New macro.
23864 (test-via-rtld-prefix): Likewise.
23865 (test-program-cmd): Likewise.
23866 (host-test-program-cmd): Likewise.
23867 * Makefile ($(common-objpfx)testrun.sh): Replace
23868 $(run-program-prefix) with $(test-program-prefix).
23869 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23871 ($(common-objpfx)shlib.lds): Likewise.
23872 (build-module-helper): Likewise.
23873 ($(common-objpfx)format.lds): Likewise.
23874 * Rules (binaries-pie-tests): New.
23875 (binaries-pie-notests): Likewise.
23876 (binaries-pie): Rewritten.
23877 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23878 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23879 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23880 (make-test-out): Replace $(host-built-program-cmd) with
23881 $(host-test-program-cmd).
23882 * config.make.in (build-hardcoded-path-in-tests): New variable.
23883 * configure.in (--enable-hardcoded-path-in-tests): New configure
23885 (hardcoded_path_in_tests): New AC_SUBST.
23886 * configure: Regenerated.
23887 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23888 $(built-program-cmd) with $(test-program-cmd).
23889 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23890 (test_program_cmd): This.
23891 * elf/Makefile ($(objpfx)order.out): Run test with
23892 $(test-program-prefix).
23893 ($(objpfx)order2.out): Likewise.
23894 ($(objpfx)tst-initorder.out): Likewise.
23895 ($(objpfx)tst-initorder2.out): Likewise.
23896 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23897 $(test-program-cmd).
23898 ($(objpfx)tst-array1-static.out): Likewise.
23899 ($(objpfx)tst-array2.out): Likewise.
23900 ($(objpfx)tst-array3.out): Likewise.
23901 ($(objpfx)tst-array4.out): Likewise.
23902 ($(objpfx)tst-array5.out): Likewise.
23903 ($(objpfx)tst-array5-static.out): Likewise.
23904 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23905 $(test-program-cmd).
23906 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23907 $(run-program-prefix) with $(test-program-prefix).
23908 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23909 (test_program_prefix): This.
23910 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23911 $(run-program-prefix) with $(test-program-prefix).
23912 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23913 (test_program_prefix): This.
23914 * iconvdata/tst-tables.sh: Likewise.
23915 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23916 $(run-program-prefix) with $(test-program-prefix).
23917 ($(objpfx)tst-translit.out): Likewise.
23918 ($(objpfx)tst-gettext2.out): Likewise.
23919 ($(objpfx)tst-gettext4.out): Likewise.
23920 ($(objpfx)tst-gettext6.out): Likewise.
23921 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23922 (test_program_prefix): This.
23923 * intl/tst-gettext2.sh: Likewise.
23924 * intl/tst-gettext4.sh Likewise.
23925 * intl/tst-gettext6.sh: Likewise.
23926 * intl/tst-translit.sh: Likewise.
23927 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23928 with $(test-program-cmd).
23929 * libio/Makefile ($(objpfx)test-freopen.out): Replace
23930 $(run-program-prefix) with $(test-program-prefix).
23931 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23932 (test_program_prefix): This.
23933 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23934 $(run-program-prefix) with $(test-program-prefix).
23935 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23936 (test_program_prefix): This.
23937 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23938 * posix/Makefile ($(objpfx)globtest.out): Replace
23939 $(run-via-rtld-prefix) and $(test-wrapper) with
23940 $(test-program-prefix) and $(test-via-rtld-prefix).
23941 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23942 $(test-program-prefix).
23943 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23944 $(host-test-program-cmd).
23945 (tst-spawn-ARGS): Likewise.
23946 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23947 $(test-program-prefix).
23948 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23949 (test_via_rtld_prefix): This.
23950 (test_wrapper): Renamed to ...
23951 (test_program_prefix): This.
23952 (run_program_prefix): Replaced by test_program_prefix.
23953 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23954 (test_program_prefix): This.
23955 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23956 with $(host-test-program-cmd).
23957 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23958 $(run-program-prefix) with $(test-program-prefix).
23959 ($(objpfx)tst-printf.out): Likewise.
23960 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23961 $(test-program-cmd).
23962 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23963 (test_program_prefix): This.
23964 * stdio-common/tst-unbputc.sh: Likewise.
23965 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23966 $(run-program-prefix) with $(test-program-prefix).
23967 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23968 (test_program_prefix): This.
23969 * string/Makefile ($(objpfx)tst-svc.out): Replace
23970 $(built-program-cmd) with $(test-program-cmd).
23972 2013-01-11 Andreas Jaeger <aj@suse.de>
23975 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23976 value. Sync with Linux 3.7.
23978 2013-01-10 David S. Miller <davem@davemloft.net>
23980 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23981 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23982 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23984 2013-01-10 Roland McGrath <roland@hack.frob.com>
23986 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23988 * configure: Regenerated.
23990 2013-01-10 David S. Miller <davem@davemloft.net>
23992 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23993 sparc V9 rather than using V8 code.
23994 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23995 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23997 2013-01-10 Roland McGrath <roland@hack.frob.com>
23999 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24000 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24001 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24002 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24003 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24004 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24005 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24006 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24007 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24008 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24009 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24010 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24011 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24012 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24013 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24014 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24015 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24016 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24017 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24018 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24019 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24020 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24021 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24022 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24023 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24024 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24025 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24027 2013-01-10 David S. Miller <davem@davemloft.net>
24029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24031 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24033 * posix/Makefile (tests-static): New variable.
24034 (tests): Add $(tests-static).
24035 (tst-exec-static-ARGS): New variable.
24036 (tst-spawn-static-ARGS): Likewise.
24037 * posix/tst-exec-static.c: New file.
24038 * posix/tst-spawn-static.c: Likewise.
24039 * posix/tst-exec.c: Support run directly.
24040 * posix/tst-spawn.c: Likewise.
24042 2013-01-10 Joseph Myers <joseph@codesourcery.com>
24044 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24046 * math/bits/mathcalls.h (llrint): Likewise.
24047 (llround): Likewise.
24048 * stdlib/stdlib.h (struct drand48_data): Likewise.
24049 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24050 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24051 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24053 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24055 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24056 (elf_greg_t): Likewise.
24057 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24058 (__jmp_buf): Likewise.
24059 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24061 (llrint): Likewise, for all definitions.
24062 (llrintl): Likewise.
24064 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24065 Remove [__GNUC__] condition.
24066 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24067 condition to just [__USE_ISOC99].
24068 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24070 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24073 * sysdeps/unix/sysv/linux/x86/bits/environments.h
24074 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24076 (_POSIX_V6_ILP32_OFF32): Likewise.
24077 (_XBS5_ILP32_OFF32): Likewise.
24078 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24079 (__ILP32_OFFBIG_LDFLAGS): Likewise.
24081 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24083 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24085 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24086 doubles __mpexp_twomm1. Adjust usage.
24087 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24090 2013-01-10 Andreas Schwab <schwab@suse.de>
24093 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24094 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24096 2013-01-09 David S. Miller <davem@davemloft.net>
24099 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24100 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24101 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24102 (TCP_FASTOPEN): Define.
24103 (tcp_repair_opt): New structure.
24104 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24106 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24107 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24108 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24109 (tcp_cookie_transactions): New structure.
24111 2013-01-09 Anton Blanchard <anton@samba.org>
24113 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24114 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24115 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24116 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24118 2013-01-09 Joseph Myers <joseph@codesourcery.com>
24120 * include/features.h (__USE_ANSI): Remove.
24122 2013-01-09 Roland McGrath <roland@hack.frob.com>
24124 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24126 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24128 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24130 * sysdeps/s390/fpu/libm-test-ulps: Update.
24132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24134 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24138 (denorm): Likewise.
24139 (__mp_dbl): Likewise.
24140 (__dbl_mp): Likewise.
24141 (add_magnitudes): Likewise.
24142 (sub_magnitudes): Likewise.
24148 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24152 (denorm): Likewise.
24153 (__mp_dbl): Likewise.
24154 (__dbl_mp): Likewise.
24155 (add_magnitudes): Likewise.
24156 (sub_magnitudes): Likewise.
24162 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24166 (denorm): Likewise.
24167 (__mp_dbl): Likewise.
24168 (__dbl_mp): Likewise.
24169 (add_magnitudes): Likewise.
24170 (sub_magnitudes): Likewise.
24177 2013-01-08 Joseph Myers <joseph@codesourcery.com>
24179 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24180 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24181 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24182 2 && __USE_EXTERN_INLINES]: Likewise.
24184 2013-01-08 Andreas Jaeger <aj@suse.de>
24187 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24189 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24190 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24192 2013-01-07 Anton Blanchard <anton@samba.org>
24194 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24195 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24196 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24197 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24198 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24199 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24200 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24201 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24202 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24203 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24204 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24205 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24206 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24207 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24208 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24209 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24210 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24211 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24212 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24213 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24214 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24215 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24216 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24217 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24218 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24219 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24220 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24221 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24222 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24223 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24224 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24225 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24226 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24227 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24228 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24229 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24230 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24231 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24232 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24233 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24234 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24235 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24236 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24238 2013-01-07 Joseph Myers <joseph@codesourcery.com>
24240 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24241 (__MALLOC_PMT): Likewise.
24242 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24243 [__GNUC__], only on [_LIBC].
24244 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24245 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24246 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24247 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24248 forward declaration.
24249 (realloc_hook_ini): Likewise.
24250 (memalign_hook_ini): Likewise.
24251 (__libc_memalign): Do not use __MALLOC_PMT in variable
24253 (__libc_valloc): Likewise.
24254 (__libc_pvalloc): Likewise.
24255 (__libc_calloc): Likewise.
24256 (__posix_memalign): Likewise.
24259 * math/s_casinh.c: Include <float.h>.
24260 (__casinh): Do not do computation with squaring and square root
24261 for large arguments.
24262 * math/s_casinhf.c: Include <float.h>.
24263 (__casinhf): Do not do computation with squaring and square root
24264 for large arguments.
24265 * math/s_casinhl.c: Include <float.h>.
24266 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24267 (__casinhl): Do not do computation with squaring and square root
24268 for large arguments.
24269 * math/libm-test.inc (casin_test): Add more tests.
24270 (casinh_test): Likewise.
24271 * sysdeps/i386/fpu/libm-test-ulps: Update.
24272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24274 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24276 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24277 (__x86_64_raw_data_cache_size): Likewise.
24278 (__x86_64_data_cache_size_half): Likewise.
24279 (__x86_64_raw_data_cache_size_half): Likewise.
24280 (__x86_64_shared_cache_size): Likewise.
24281 (__x86_64_raw_shared_cache_size): Likewise.
24282 (__x86_64_shared_cache_size_half): Likewise.
24283 (__x86_64_raw_shared_cache_size_half): Likewise.
24284 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24286 (__x86_data_cache_size): This.
24287 (__x86_64_raw_data_cache_size): Renamed to ...
24288 (__x86_raw_data_cache_size): This.
24289 (__x86_64_data_cache_size_half): Renamed to ...
24290 (__x86_data_cache_size_half): This.
24291 (__x86_64_raw_data_cache_size_half): Renamed to ...
24292 (__x86_raw_data_cache_size_half): This.
24293 (__x86_64_shared_cache_size): Renamed to ...
24294 (__x86_shared_cache_size): This.
24295 (__x86_64_raw_shared_cache_size): Renamed to ...
24296 (__x86_raw_shared_cache_size): This.
24297 (__x86_64_shared_cache_size_half): Renamed to ...
24298 (__x86_shared_cache_size_half): This.
24299 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24300 (__x86_raw_shared_cache_size_half): This.
24301 * sysdeps/x86_64/memcpy.S: Updated.
24302 * sysdeps/x86_64/memset.S: Likewise.
24303 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24304 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24305 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24307 2013-01-04 David S. Miller <davem@davemloft.net>
24309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24311 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
24313 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24314 1 to avoid redefinition warning.
24315 (__USE_GNU): Don't define.
24316 (init_signaling_nan): Protoize.
24318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24320 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24322 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24323 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24324 (__cpymn): Likewise.
24325 (norm): Remove commented code.
24326 (denorm): Likewise.
24327 (__mp_dbl): Likewise.
24329 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24330 (__cpymn): Likewise.
24331 (norm): Remove commented code.
24332 (denorm): Likewise.
24333 (__mp_dbl): Likewise.
24336 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24337 mp_no value for 1.0 and 2.0.
24338 (norm): Use RADIXI instead of radixi.d.
24339 (denorm): Likewise.
24340 (__mul): Use 0.0 instead of zero.d.
24341 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24342 mp_no value for 1.0 and 2.0.
24343 (norm): Use RADIXI instead of radixi.d.
24344 (denorm): Likewise.
24345 (__mul): Use 0.0 instead of zero.d.
24347 2013-01-04 Joseph Myers <joseph@codesourcery.com>
24350 * math/s_casinh.c (__casinh): Reduce finite argument to first
24351 quadrant then set signs of results at the end.
24352 * math/s_casinhf.c (__casinhf): Likewise.
24353 * math/s_casinhl.c (__casinhl): Likewise.
24354 * math/libm-test.inc (casin_test): Add more tests.
24355 (casinh_test): Likewise.
24356 * sysdeps/i386/fpu/libm-test-ulps: Update.
24357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24359 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24361 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24363 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24365 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24367 (denorm): Likewise.
24368 (__mp_dbl): Likewise.
24371 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24372 and adjust the header comment.
24374 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24375 variable name from declaration.
24377 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
24379 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24380 Initialize COMMON_CPUID_INDEX_7 element.
24381 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24382 (CPUID_RTM): Likewise.
24383 (HAS_RTM): Likewise.
24384 (COMMON_CPUID_INDEX_7): New enum.
24386 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
24389 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24390 size is zero, record memory as freed.
24392 2013-01-03 Andreas Jaeger <aj@suse.de>
24394 * po/ia.po: Add new Interlingua translation.
24396 2012-01-03 Allan McRae <allan@archlinux.org>
24398 * locale/programs/localedef.c: Fix description of '--posix' flag.
24400 2013-01-02 Joseph Myers <joseph@codesourcery.com>
24402 * NEWS: Update dates in second copyright notice.
24403 * README: Update copyright dates in example.
24404 * manual/libc.texinfo: Update copyright dates.
24405 * scripts/test-installation.pl: Update copyright date in --version
24408 * hurd/ctty-input.c: Fix copyright notice formatting.
24409 * hurd/ctty-output.c: Likewise.
24410 * hurd/dtable.c: Likewise.
24411 * hurd/hurd-raise.c: Likewise.
24412 * hurd/hurdprio.c: Likewise.
24413 * hurd/msgportdemux.c: Likewise.
24414 * misc/sys/file.h: Likewise.
24415 * misc/sys/ioctl.h: Likewise.
24416 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24417 * sysdeps/mach/hurd/chdir.c: Likewise.
24418 * sysdeps/mach/hurd/fchdir.c: Likewise.
24419 * sysdeps/mach/hurd/rename.c: Likewise.
24420 * sysdeps/mach/hurd/rmdir.c: Likewise.
24421 * sysdeps/mach/hurd/seekdir.c: Likewise.
24422 * sysdeps/mach/hurd/setsid.c: Likewise.
24423 * sysdeps/posix/wait3.c: Likewise.
24425 * All files with FSF copyright notices: Update copyright dates
24426 using scripts/update-copyrights.
24427 * intl/plural.c: Regenerated.
24428 * locale/programs/charmap-kw.h: Likewise.
24429 * locale/programs/locfile-kw.h: Likewise.
24431 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24433 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24436 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24437 calculation loop and add branch prediction.
24439 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24440 check access beyond bounds of m1np.
24442 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24444 (__inv): Remove local variable MPTWO to use the global
24446 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24447 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24449 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24450 MP3HALFS static const.
24452 2013-01-01 David S. Miller <davem@davemloft.net>
24454 * po/ca.po: Update from translation team.
24456 2013-01-01 Joseph Myers <joseph@codesourcery.com>
24458 * scripts/update-copyrights: New file.
24459 * Makeconfig: Reformat copyright notice.
24460 * ctype/ctype.h: Likewise.
24461 * debug/swprintf_chk.c: Likewise.
24462 * elf/dl-cache.c: Likewise.
24463 * elf/dl-debug.c: Likewise.
24464 * elf/dl-object.c: Likewise.
24465 * grp/initgroups.c: Likewise.
24466 * hurd/Makefile: Likewise.
24467 * hurd/hurd/signal.h: Likewise.
24468 * hurd/hurdfault.c: Likewise.
24469 * hurd/hurdioctl.c: Likewise.
24470 * hurd/hurdlookup.c: Likewise.
24471 * hurd/intr-msg.c: Likewise.
24472 * iconv/gconv_open.c: Likewise.
24473 * libio/swprintf.c: Likewise.
24474 * locale/lc-ctype.c: Likewise.
24475 * locale/nl_langinfo.c: Likewise.
24476 * mach/Machrules: Likewise.
24477 * mach/Makefile: Likewise.
24478 * malloc/obstack.h: Likewise.
24479 * manual/Makefile: Likewise.
24480 * manual/tsort.awk: Likewise.
24481 * misc/bits/stab.def: Likewise.
24482 * nis/nis_print_group_entry.c: Likewise.
24483 * nis/nis_table.c: Likewise.
24484 * nis/nss_compat/compat-pwd.c: Likewise.
24485 * nis/nss_compat/compat-spwd.c: Likewise.
24486 * po/Makefile: Likewise.
24487 * posix/fnmatch.c: Likewise.
24488 * posix/regex.h: Likewise.
24489 * resolv/Makefile: Likewise.
24490 * resolv/nss_dns/dns-network.c: Likewise.
24491 * resolv/res_hconf.c: Likewise.
24492 * scripts/gen-sorted.awk: Likewise.
24493 * soft-fp/soft-fp.h: Likewise.
24494 * stdio-common/printf.h: Likewise.
24495 * stdlib/monetary.h: Likewise.
24496 * stdlib/random.c: Likewise.
24497 * stdlib/random_r.c: Likewise.
24498 * sysdeps/generic/Makefile: Likewise.
24499 * sysdeps/gnu/Makefile: Likewise.
24500 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24501 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24502 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24503 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24504 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24505 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24506 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24507 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24508 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24509 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24510 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24511 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24512 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24513 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24514 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24515 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24516 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24517 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24518 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24519 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24520 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24521 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24522 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24523 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24524 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24525 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24526 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24527 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24528 * sysdeps/mach/hurd/errnos.awk: Likewise.
24529 * sysdeps/mach/hurd/fork.c: Likewise.
24530 * sysdeps/mach/hurd/getcwd.c: Likewise.
24531 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24532 * sysdeps/mach/hurd/mmap.c: Likewise.
24533 * sysdeps/mach/hurd/utimes.c: Likewise.
24534 * sysdeps/mach/hurd/xmknod.c: Likewise.
24535 * sysdeps/posix/profil.c: Likewise.
24536 * sysdeps/posix/readdir_r.c: Likewise.
24537 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24538 * sysdeps/powerpc/bits/setjmp.h: Likewise.
24539 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24540 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24541 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24542 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24543 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24544 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24545 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24546 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24547 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24548 * sysdeps/pthread/lio_listio.c: Likewise.
24549 * sysdeps/sparc/dl-procinfo.h: Likewise.
24550 * sysdeps/unix/i386/sysdep.S: Likewise.
24551 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24552 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24553 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24554 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24556 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24557 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24558 * sysdeps/unix/sysv/linux/speed.c: Likewise.
24559 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24560 * sysdeps/wordsize-32/divdi3.c: Likewise.
24561 * time/sys/time.h: Likewise.
24562 * wcsmbs/Makefile: Likewise.
24564 2013-01-01 David S. Miller <davem@davemloft.net>
24566 * po/fr.po: Update from translation team.
24568 * catgets/gencat.c: Update copyright year.
24569 * csu/version.c: Likewise.
24570 * debug/catchsegv.sh: Likewise.
24571 * debug/pcprofiledump.c: Likewise.
24572 * debug/xtrace.sh: Likewise.
24573 * elf/ldconfig.c: Likewise.
24574 * elf/ldd.bash.in: Likewise.
24575 * elf/pldd.c: Likewise.
24576 * elf/sotruss.ksh: Likewise.
24577 * elf/sprof.c: Likewise.
24578 * iconv/iconv_prog.c: Likewise.
24579 * iconv/iconvconfig.c: Likewise.
24580 * locale/programs/locale.c: Likewise.
24581 * locale/programs/localedef.c: Likewise.
24582 * login/programs/pt_chown.c: Likewise.
24583 * malloc/memusage.sh: Likewise.
24584 * malloc/memusagestat.c: Likewise.
24585 * malloc/mtrace.pl: Likewise.
24586 * nscd/nscd.c: Likewise.
24587 * nss/getent.c: Likewise.
24588 * nss/makedb.c: Likewise.
24589 * posix/getconf.c: Likewise.
24591 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24593 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24596 2012-12-30 Mike Frysinger <vapier@gentoo.org>
24598 * math/bits/mathcalls.h (modf): Use __nonnull.
24600 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24602 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24603 (split): Use macro CN instead of the bare value.
24604 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24606 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24607 instead of the bare value.
24608 (power1): Likewise.
24610 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24612 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24614 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24616 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24618 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24619 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24620 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24621 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24623 2012-12-28 Andreas Jaeger <aj@suse.de>
24625 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
24626 values are from Linux 3.7.
24628 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24629 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
24631 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24633 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24636 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24638 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24639 variables with preprocessor constants.
24640 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24641 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24642 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24644 2012-12-27 Bruno Haible <bruno@clisp.org>
24647 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24650 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24652 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24653 and use variable directly.
24654 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24656 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24658 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24659 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24661 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24662 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24663 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24664 include directive. Remove local variable MPONE.
24665 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24666 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24667 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24669 2012-12-25 David S. Miller <davem@davemloft.net>
24671 * version.h (RELEASE): Set to "development".
24672 (VERSION): Set to "2.17.90".
24673 * NEWS: Add 2.18 section.
24675 2012-12-21 David S. Miller <davem@davemloft.net>
24677 * po/hr.po: Update from translation team.
24679 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24681 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24683 2012-12-19 Steve Ellcey <sellcey@mips.com>
24685 * NEWS: Mention new memcpy for MIPS.
24687 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24689 * manual/contrib.texi (Contributors): Spelling correction.
24691 2012-12-15 David S. Miller <davem@davemloft.net>
24693 * po/ru.po: Update from translation team.
24695 2012-12-13 David S. Miller <davem@davemloft.net>
24697 * NEWS: Mention IFUNC testsuite enhancements.
24699 * po/pl.po: Update from translation team.
24700 * po/bg.po: Likewise.
24702 * manual/contrib.texi (Contributors): Update entries for Hongjiu
24703 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
24705 2012-12-11 David S. Miller <davem@davemloft.net>
24707 * po/sv.po: Update from translation team.
24709 * po/vi.po: Update from translation team.
24711 * po/cs.po: Update from translation team.
24713 * po/de.po: Update from translation team.
24714 * po/eo.po: Likewise.
24715 * po/nl.po: Likewise.
24717 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24720 * manual/argp.texi (Argp Helper Functions): Move node to follow
24721 Argp Parsing State.
24724 * manual/conf.texi (Limits on File System Capacity): Mention if
24725 terminating null is included in the max size.
24727 2012-12-10 Andreas Jaeger <aj@suse.de>
24729 * po/cs.po: Update from translation team.
24731 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24733 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24734 void pointer and cast to uintptr_t.
24735 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24737 * sysdeps/s390/s390-64/memcpy.S: Likewise.
24738 * sysdeps/s390/s390-64/memset.S: Likewise.
24740 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
24743 * menual/message.texi (Message Translation): Fix typos.
24744 (Helper programs for gettext): Likewise.
24746 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
24749 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24752 2012-12-07 David S. Miller <davem@davemloft.net>
24754 * po/libc.pot: Update.
24756 2012-12-07 Richard Henderson <rth@redhat.com>
24759 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24760 normal/normal case to before the switch.
24761 (_FP_DIV): Likewise.
24763 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
24764 Mike Frysinger <vapier@gentoo.org>
24766 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24767 check for __NR_fadvise64_64.
24769 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
24771 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24772 0, not just to plain "0" as a statement.
24773 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24776 2012-12-06 Joseph Myers <joseph@codesourcery.com>
24778 * NEWS: Use sourceware.org in Bugzilla URL.
24780 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24783 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24785 * stdio-common/tst-put-error.c (do_test): Add newline to the
24786 padded test to ensure flush.
24788 2012-12-05 Jeff Law <law@redhat.com>
24790 * sunrpc/etc.rpc (fedfs_admin): Add entry.
24792 2012-12-05 Joseph Myers <joseph@codesourcery.com>
24794 * README: Don't refer to ports add-on as distributed separately.
24795 Mention AArch64 in list of systems supported in the ports add-on.
24797 * LICENSES: Add more non-FSF copyright and license notices.
24799 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24802 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24804 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24805 10000 as width of padded output.
24807 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24809 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24811 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24812 variable LX with __attribute__ ((unused)).
24813 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24815 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24816 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24817 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24818 with __attribute__ ((unused)).
24820 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
24822 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24824 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24826 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24827 (CFLAGS-nldbl-acos.c): New variable.
24828 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24829 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24830 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24831 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24832 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24833 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24834 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24835 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24836 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24837 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24838 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24839 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24840 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24841 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24842 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24843 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24844 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24845 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24846 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24847 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24848 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24849 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24850 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24851 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24852 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24853 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24854 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24855 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24856 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24857 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24858 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24859 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24860 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24861 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24862 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24863 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24864 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24865 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24866 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24867 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24868 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24869 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24870 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24871 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24872 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24873 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24874 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24875 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24876 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24877 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24878 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24879 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24880 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24881 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24882 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24883 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24884 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24885 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24886 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24887 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24888 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24889 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24890 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24891 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24892 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24893 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24894 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24895 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24896 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24897 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24898 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24899 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24900 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24901 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24902 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24903 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24904 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24905 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24906 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24907 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24908 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24909 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24910 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24911 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24912 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24913 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24914 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24915 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24916 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24917 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24918 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24919 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24920 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24921 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24922 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24923 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24924 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24927 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24930 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24931 whole low double instead of just low 47 bits when splitting values
24934 2012-12-03 Allan McRae <allan@archlinux.org>
24936 * manual/stdio.texi (Predefined Printf Handlers): Remove
24937 @hsep and @vsep usage.
24939 2012-12-03 Mike Frysinger <vapier@gentoo.org>
24941 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24942 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24944 2012-12-03 Jeff Law <law@redhat.com>
24946 * time/sys/time.h (settimeofday): Do not mark TV argument
24949 2012-12-01 Mike Frysinger <vapier@gentoo.org>
24951 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24952 when currently writing and seek to current position when not.
24953 * libio/Makefile (tests): Remove bug-fclose1.
24954 * libio/bug-fclose1.c: Delete.
24956 2012-12-01 Joseph Myers <joseph@codesourcery.com>
24958 * manual/arith.texi (feenableexcept): Fix typo.
24959 (fedisableexcept): Likewise.
24961 2012-11-30 Roland McGrath <roland@hack.frob.com>
24963 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24964 second, differently-typed declaration, rather than a cast.
24966 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24968 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24969 * include/rpc/svc.h: ... here.
24971 2012-11-30 Aurelien Jarno <aurel32@debian.org>
24974 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24975 depending n and resplen2 to catch cases where answer
24978 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
24980 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24981 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24983 2012-11-29 Mike Frysinger <vapier@gentoo.org>
24985 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24987 2012-11-29 Roland McGrath <roland@hack.frob.com>
24989 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24991 2012-11-28 Jeff Law <law@redhat.com>
24994 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24995 dataset_temporary. Track alloca usage into alloca_used.
24996 If dataset is large allocate and release it via malloc/free.
24998 2012-06-04 Florian Weimer <fweimer@redhat.com>
25001 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25003 2012-11-28 David S. Miller <davem@davemloft.net>
25005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25007 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25010 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25011 of pi/2 rounded to nearest to 64 bits.
25012 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25013 nearest to 64 bits.
25014 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25017 2012-11-28 Jeff Law <law@redhat.com>
25018 Martin Osvald <mosvald@redhat.com>
25021 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25022 * sunrpc/svc.c: Include time.h.
25023 (__svc_accept_failed): New function.
25024 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25025 any reason other than EINTR, call __svc_accept_failed.
25026 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25027 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25029 2012-11-28 Andreas Schwab <schwab@suse.de>
25031 * scripts/abilist.awk: Also handle indirect functions in .opd
25034 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25037 * sysdeps/x86/fpu/powl_helper.c: New file.
25038 * sysdeps/x86/fpu/Makefile: Likewise.
25039 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25041 (__ieee754_powl): Use __powl_helper for finite arguments except
25042 integer exponents below 8.
25043 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25045 (__ieee754_powl): Use __powl_helper for finite arguments except
25046 integer exponents below 8.
25047 * math/libm-test.inc (pow_test): Add more tests and enable some
25048 previously disabled tests.
25049 * sysdeps/i386/fpu/libm-test-ulps: Update.
25050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25052 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25053 Carlos O'Donell <carlos_odonell@mentor.com>
25055 * nss/makedb.c (is_prime): Assert that input is odd and greater
25056 than 4. Note that fact in a comment too.
25057 (next_prime): Add 4 to input.
25059 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25062 * libio/Makefile (tests): Add test case tst-fwrite-error.
25063 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25064 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25065 * libio/tst-fwrite-error.c: New test case.
25067 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
25069 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25070 before casting to void *.
25071 * include/libc-internal.h (__pointer_type): New macro.
25072 (__integer_if_pointer_type_sub): Likewise.
25073 (__integer_if_pointer_type): Likewise.
25074 (cast_to_integer): Likewise.
25075 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25076 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25077 before casting to atomic64_t.
25078 (atomic_exchange_acq): Likewise.
25079 (__arch_exchange_and_add_body): Likewise.
25080 (__arch_add_body): Likewise.
25081 (atomic_add_negative): Likewise.
25082 (atomic_add_zero): Likewise.
25084 2012-11-26 Joseph Myers <joseph@codesourcery.com>
25086 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25087 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25088 (add_fdes): Likewise.
25089 (linear_search_fdes): Likewise.
25090 (binary_search_unencoded_fdes): Likewise.
25092 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
25094 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25096 2012-11-24 Adam Conrad <adconrad@0c3.net>
25098 * configure.in: Autodetect C++ header directories.
25099 * configure: Regenerated.
25101 2012-11-23 Mike Frysinger <vapier@gentoo.org>
25103 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25105 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
25107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25109 2012-11-22 Joseph Myers <joseph@codesourcery.com>
25111 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25112 LDBL_MANT_DIG == 106]: Disable some tests.
25113 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25115 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25119 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25120 input for small inputs. Return +/- pi/2 for large inputs.
25121 * math/libm-test.inc (atan_test): Add more tests.
25123 * sysdeps/generic/unwind-dw2-fde-glibc.c
25124 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25125 __attribute__ ((unused)).
25128 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25129 x * y if x and y are nonzero and z is zero.
25132 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25133 nonzero exponents with absolute value below 0x1p-117 to +/-
25137 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25138 up arguments below 2**-450, not just those below 2**-500.
25139 * math/libm-test.inc (hypot_test): Add another test.
25142 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25143 Return a+b for ratio over 2**120, not 2**60.
25144 * math/libm-test.inc (hypot_test): Add another test.
25146 * math/libm-test.inc (clog_test): Use
25147 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25148 (clog10_test): Likewise.
25151 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25153 2012-11-22 Andreas Schwab <schwab@suse.de>
25155 * sysdeps/i386/fpu/libm-test-ulps: Update.
25157 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
25159 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25160 printf output with newline.
25162 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
25165 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25166 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25167 -z nodlopen, -z initfirst and -z execstack support.
25168 * configure: Regenerated.
25170 * elf/elf.h (DF_1_NODIRECT): New macro.
25171 (DF_1_IGNMULDEF): Likewise.
25172 (DF_1_NOKSYMS): Likewise.
25173 (DF_1_NOHDR): Likewise.
25174 (DF_1_EDITED): Likewise.
25175 (DF_1_NORELOC): Likewise.
25176 (DF_1_SYMINTPOSE): Likewise.
25177 (DF_1_GLOBAUDIT): Likewise.
25178 (DF_1_SINGLETON): Likewise.
25179 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25180 DT_1_SUPPORTED_MASK bits.
25181 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25183 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
25185 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25187 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
25189 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25192 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25193 (sendmmsg): Move declarations...
25194 * socket/sys/socket.h: ... here.
25195 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25196 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25198 * socket/recvmmsg.c: ... this new file.
25199 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25200 (sendmmsg): Rename to __sendmmsg, create weak alias and make
25201 definition of __sendmmsg hidden.
25202 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25203 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25204 Move ENOSYS stub into and include it from...
25205 * socket/sendmmsg.c: ... this new file.
25206 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25207 (sysdep_routines): Move recvmmsg and sendmmsg...
25208 * socket/Makefile (routines): ... here.
25209 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25210 (GLIBC_PRIVATE): Add __sendmmsg.
25211 * include/sys/socket.h (__sendmmsg): Add declarations.
25212 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25215 2012-11-20 Joseph Myers <joseph@codesourcery.com>
25217 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25218 variable I1 with __attribute__ ((unused)).
25219 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25221 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25223 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25224 DUMMY variables with __attribute__ ((unused)).
25226 * bits/byteswap.h: Include <bits/types.h>.
25227 (__bswap_64): Use __uint64_t instead of unsigned long long int.
25229 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25231 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25232 string_t. Do not manually set errno.
25233 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25234 length with __strnlen. Make sure to both set errno and return it on
25237 2012-11-19 David S. Miller <davem@davemloft.net>
25239 With help from Joseph Myers.
25240 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25241 very large arguments properly.
25242 * math/libm-test.inc (atan_test): New tests.
25243 (atan2_test): New tests.
25244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25245 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25247 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25250 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25253 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25254 [POSIX] (EADDRNOTAVAIL): Likewise.
25255 [POSIX] (EAFNOSUPPORT): Likewise.
25256 [POSIX] (EALREADY): Likewise.
25257 [POSIX] (ECONNABORTED): Likewise.
25258 [POSIX] (ECONNREFUSED): Likewise.
25259 [POSIX] (ECONNRESET): Likewise.
25260 [POSIX] (EDESTADDRREQ): Likewise.
25261 [POSIX] (EDQUOT): Likewise.
25262 [POSIX] (EHOSTUNREACH): Likewise.
25263 [POSIX] (EIDRM): Likewise.
25264 [POSIX] (EISCONN): Likewise.
25265 [POSIX] (ELOOP): Likewise.
25266 [POSIX] (EMULTIHOP): Likewise.
25267 [POSIX] (ENETDOWN): Likewise.
25268 [POSIX] (ENETUNREACH): Likewise.
25269 [POSIX] (ENOBUFS): Likewise.
25270 [POSIX] (ENODATA): Likewise.
25271 [POSIX] (ENOLINK): Likewise.
25272 [POSIX] (ENOMSG): Likewise.
25273 [POSIX] (ENOPROTOOPT): Likewise.
25274 [POSIX] (ENOSR): Likewise.
25275 [POSIX] (ENOSTR): Likewise.
25276 [POSIX] (ENOTCONN): Likewise.
25277 [POSIX] (ENOTSOCK): Likewise.
25278 [POSIX] (EOPNOTSUPP): Likewise.
25279 [POSIX] (EOVERFLOW): Likewise.
25280 [POSIX] (EPROTO): Likewise.
25281 [POSIX] (EPROTONOSUPPORT): Likewise.
25282 [POSIX] (EPROTOTYPE): Likewise.
25283 [POSIX] (ESTALE): Likewise.
25284 [POSIX] (ETIME): Likewise.
25285 [POSIX] (ETXTBSY): Likewise.
25286 [POSIX] (EWOULDBLOCK): Likewise.
25287 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25288 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25289 [POSIX] (SEEK_CUR): Likewise.
25290 [POSIX] (SEEK_END): Likewise.
25291 [POSIX || UNIX98] (mode_t): Do not require.
25292 [POSIX] (off_t): Likewise.
25293 [POSIX] (pid_t): Likewise.
25294 [POSIX] (sys/stat.h): Do not allow header.
25295 [POSIX] (unistd.h): Likewise.
25296 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25297 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25298 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25299 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25301 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25302 sigevent): Specify elements.
25303 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25305 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25306 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25308 * conform/data/cpio.h-data [POSIX]: Disable whole file.
25309 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25310 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25311 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25312 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25313 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25314 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25315 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25316 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25317 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25318 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25319 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25320 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25321 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25323 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25325 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25327 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25329 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25330 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25331 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25332 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25333 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25334 Specify lower bound on value.
25335 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25336 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25337 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25338 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25339 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25340 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25341 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25342 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25344 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25346 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25347 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25348 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25349 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25350 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25351 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25352 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25353 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25354 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25355 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25356 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25357 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25358 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25359 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25360 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25361 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25363 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25365 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25366 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25367 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25368 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25369 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25370 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25372 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25373 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25374 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25375 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25376 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
25377 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25378 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25380 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25381 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25382 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25383 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25384 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25385 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25386 specify as optional.
25387 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25388 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25389 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25390 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25391 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25392 [XPG3] (NL_LANGMAX): Likewise.
25393 [POSIX || XPG3] (NL_MSGMAX): Likewise.
25394 [POSIX || XPG3] (NL_NMAX): Likewise.
25395 [POSIX || XPG3] (NL_SETMAX): Likewise.
25396 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25397 [XPG3] (NZERO): Likewise.
25398 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25399 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25400 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25401 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25402 (REG_ERANGE): Expect.
25403 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25405 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25406 Use (void) in prototype.
25407 [POSIX] (*_t): Allow.
25408 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25409 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25410 (WRDE_BADVAL): Expect.
25412 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25414 [XPG3 || XPG4] (O_RSYNC): Likewise.
25415 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25417 [XPG3 || XPG4] (pthread_sigmask): Likewise.
25418 [XPG3 || XPG4] (sigqueue): Likewise.
25419 [XPG3 || XPG4] (sigtimedwait): Likewise.
25420 [XPG3 || XPG4] (sigwaitinfo): Likewise.
25421 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25422 [XPG3 || XPG4] (vsnprintf): Likewise.
25423 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25425 [XPG3 || XPG4] (blksize_t): Likewise.
25426 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25428 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25429 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25430 [XPG3 || XPG4] (struct itimerspec): Likewise.
25431 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25432 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25433 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25434 [XPG3 || XPG4] (clockid_t): Likewise.
25435 [XPG3 || XPG4] (timer_t): Likewise.
25436 [XPG3 || XPG4] (clock_getres): Likewise.
25437 [XPG3 || XPG4] (clock_gettime): Likewise.
25438 [XPG3 || XPG4] (clock_settime): Likewise.
25439 [XPG3 || XPG4] (nanosleep): Likewise.
25440 [XPG3 || XPG4] (timer_create): Likewise.
25441 [XPG3 || XPG4] (timer_delete): Likewise.
25442 [XPG3 || XPG4] (timer_gettime): Likewise.
25443 [XPG3 || XPG4] (timer_getoverrun): Likewise.
25444 [XPG3 || XPG4] (timer_settime): Likewise.
25445 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25446 [XPG3 || XPG4] (getlogin_r): Likewise.
25447 [XPG3 || XPG4] (pread): Likewise.
25448 [XPG3 || XPG4] (pthread_atfork): Likewise.
25449 [XPG3 || XPG4] (pwrite): Likewise.
25452 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25455 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25457 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25458 finalizing MALLSTREAM.
25460 * sysdeps/mach/hurd/syncfs.c: New file.
25462 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25465 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25466 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25467 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25468 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25469 (_nss_dns_gethostbyname4_r): Likewise.
25470 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25471 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25473 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
25476 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25478 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
25480 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25481 * elf/cache.c (print_entry): Print ",AArch64" for
25484 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25485 * elf/cache.c (print_entry): Print ",hard-float" for
25488 2012-11-18 David S. Miller <davem@davemloft.net>
25490 With help from Joseph Myers.
25491 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25493 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25495 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25496 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25498 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25499 * math/libm-test.inc (y0_test): New tests.
25500 (y1_test): New tests.
25501 * sysdeps/i386/fpu/libm-test-ulps: Update.
25502 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25505 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
25507 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25509 * configure: Regenerated.
25511 2012-11-17 David S. Miller <davem@davemloft.net>
25514 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25515 nonzero exponents with absolute value below 0x1p-128 to +/-
25518 2012-11-17 Joseph Myers <joseph@codesourcery.com>
25520 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25522 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25524 * posix/getconf-speclist.c: New file.
25525 * posix/posix-envs.def: Likewise.
25526 * posix/confstr.c (START_ENV_GROUP): New macro.
25527 (END_ENV_GROUP): Likewise.
25528 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25529 (KNOWN_PRESENT_ENV_STRING): Likewise.
25530 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25531 (UNKNOWN_ENVIRONMENT): Likewise.
25532 (confstr): Include posix-envs.def instead of handling
25533 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25534 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25535 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25536 (END_ENV_GROUP): Likewise.
25537 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25538 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25539 (UNKNOWN_ENVIRONMENT): Likewise.
25540 (__sysconf): Include posix-envs.def instead of handling associated
25541 cases directly here.
25542 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25543 preprocessing getconf-speclist.c rather than running getconf or
25544 generating empty file.
25546 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
25548 * scripts/check-local-headers.sh: Ignore 'mach' headers.
25550 2012-11-16 Andrej Lajovic <natrij@gmail.com>
25553 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25555 2012-11-16 David S. Miller <davem@davemloft.net>
25557 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25558 smaller than LDBL_EPSILON/2.0L, just return xm1.
25560 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
25562 * elf/tst-array1.c (init): Set constructor priority to 1000.
25563 (fini): Set destructor priority to 1000.
25564 * elf/tst-array2dep.c: Likewise.
25566 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25569 * libio/fileops.c (_IO_new_file_write): Correctly return error.
25570 (_IO_new_file_xsputn): Also return EOF if none of the input
25571 data was written when overflow failed.
25572 * libio/iopadn.c (_IO_padn): Likewise.
25573 * libio/iowpadn.c (_IO_wpadn): Likewise.
25574 * stdio-common/tst-put-error.c: Add copyright notice.
25575 (do_test): Add case for printing padded string.
25576 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25577 _IO_padn returned error.
25578 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25579 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25582 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25584 * libio/libioP.h: Add comment note that the references to C++
25585 bits are now obsolete.
25587 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25589 * math/libm-test.inc (check_complex): Use asprintf.
25591 2012-11-14 Joseph Myers <joseph@codesourcery.com>
25593 * debug/pcprofiledump.c (print_version): Update copyright year.
25594 * malloc/memusagestat.c (print_version): Likewise.
25596 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
25599 * elf/Makefile (tests): Add tst-audit8.
25600 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25601 ($(objpfx)tst-audit8.out): New target.
25602 (tst-audit8-ENV): New variable.
25603 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25604 audit if l_reloc_result is NULL.
25605 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25606 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25607 * elf/tst-audit8.c: New file.
25609 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25611 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25612 * misc/Makefile (CFLAGS-select.c): Define.
25613 * posix/Makefile (CFLAGS-pause.c): Define.
25615 2012-11-13 David S. Miller <davem@davemloft.net>
25617 * crypt/Makefile: Move test targets after toplevel Rules
25618 inclusion. Grab any necessary sysdep routines when linking.
25619 * crypt/md5.c (md5_process_block): Remove define, we will always
25620 name it __md5_process_block.
25621 (md5_finish_ctx): Update md5_process_block call.
25622 (md5_stream): Likewise.
25623 (md5_process_bytes): Likewise.
25624 (md5_process_block): Rename to __md5_process_block and move to ...
25625 * crypt/md5-block.c: ... here.
25626 * crypt/sha256.c (sha256_process_block): Move to ...
25627 * crypt/sha256-block.c: ... here.
25628 * crypt/sha512.c (sha512_process_block): Move to ...
25629 * crypt/sha512-block.c: ... here.
25630 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25632 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25633 * sysdeps/sparc/sparc64/multiarch/Makefile
25634 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25636 (localedef-aux): Add md5 crypto assembler when in locale subdir.
25637 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25639 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25640 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25641 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25642 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25643 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25644 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25645 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25646 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25647 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25649 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25650 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25652 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25654 2012-11-13 Joseph Myers <joseph@codesourcery.com>
25656 * timezone/tzselect.ksh: Update from tzcode git revision
25657 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25658 * timezone/zdump.c: Likewise.
25659 * timezone/zic.c: Likewise.
25660 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25661 in TZVERSION setting, not $(PKGVERSION).
25662 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
25663 REPORT_BUGS_TO settings.
25666 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25669 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25671 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25672 detection to immediately after _FP_ROUND().
25673 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25676 2012-11-11 David S. Miller <davem@davemloft.net>
25678 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25680 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25681 __close rather than their public counterparts.
25683 2012-11-10 Joseph Myers <joseph@codesourcery.com>
25685 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25687 [UNIX98] (sem_timedwait): Do not expect.
25688 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25689 [XPG4 || UNIX98] (sockatmark): Do not expect.
25690 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25691 (clock_getcpuclockid): Do not expect.
25692 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25693 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25695 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25696 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25697 [UNIX98] (vwscanf): Likewise.
25698 [UNIX98] (vswscanf): Likewise.
25700 2012-11-09 Joseph Myers <joseph@codesourcery.com>
25702 * timezone/version.h: Remove file.
25703 * timezone/README: Do not refer to version.h.
25704 * timezone/Makefile ($(objpfx)zic.o): New dependency on
25705 $(objpfx)version.h.
25706 ($(objpfx)zdump.o): Likewise.
25707 ($(objpfx)version.h): New target.
25709 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25711 * timezone/README: Don't mention modification to tzselect.ksh.
25712 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25713 work on unmodified tzselect.ksh. Substitute version numbers in
25716 * Makefile (format-me): Remove.
25717 (INSTALL): Adjust indentation. Use commands directly instead of
25718 using $(format-me).
25720 * aclocal.m4 (ACX_PKGVERSION): New macro.
25721 (ACX_BUGURL): Likewise.
25722 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25723 (PKGVERSION): New AC_DEFINE_UNQUOTED.
25724 (REPORT_BUGS_TO): Likewise.
25725 * configure: Regenerated.
25726 * config.h.in (PKGVERSION): New macro.
25727 (REPORT_BUGS_TO): Likewise.
25728 * config.make.in (PKGVERSION): New variable.
25729 (PKGVERSION_TEXI): Likewise.
25730 (REPORT_BUGS_TO): Likewise.
25731 (REPORT_BUGS_TEXI): Likewise.
25732 * Makefile (format-me): Use -I$(common-objpfx)manual.
25733 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25734 ($(common-objpfx)manual/%): New target.
25735 (manual/%): Remove target.
25736 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25737 (print_version): Use PKGVERSION.
25738 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25739 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25740 and REPORT_BUGS_TO.
25741 ($(objpfx)xtrace): Likewise.
25742 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25743 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25744 (print_version): Use PKGVERSION.
25745 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25746 (do_version): Use PKGVERSION.
25747 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25749 (common-ldd-rewrite): Likewise.
25750 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25751 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25752 (print_version): Use PKGVERSION.
25753 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25754 * elf/pldd.c (argp_program_bug_address): Remove variable.
25755 (more_help): New function.
25756 (argp): Use more_help.
25757 (print_version): Use PKGVERSION.
25758 * elf/sln.c (main): Use PKGVERSION.
25759 (usage): Use REPORT_BUGS_TO.
25760 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25761 (top level): Use PKGVERSION.
25762 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25763 (print_version): Use PKGVERSION.
25764 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25765 (print_version): Use PKGVERSION.
25766 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25767 (print_version): Use PKGVERSION.
25768 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25769 (print_version): Use PKGVERSION.
25770 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25771 (print_version): Use PKGVERSION.
25772 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25773 (print_version): Use PKGVERSION.
25774 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25776 ($(objpfx)memusage): Likewise.
25777 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25778 (do_version): Use PKGVERSION.
25779 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25780 (print_version): Use PKGVERSION.
25781 * malloc/mtrace.pl ($PACKAGE): Remove variable.
25782 ($PKGVERSION): New variable.
25783 ($REPORT_BUGS_TO): Likewise.
25784 (usage): Use $REPORT_BUGS_TO.
25785 (top level): Use $PKGVERSION.
25786 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25787 ($(objpfx)pkgvers.texi): New rule.
25788 ($(objpfx)stamp-pkgvers): Likewise.
25789 * manual/install.texi: Include pkgvers.texi.
25790 (--with-pkgversion): Document new configure option.
25791 (--with-bugurl): Likewise.
25792 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25793 than necessarily for this particular distribution. Use
25794 REPORT_BUGS_TO for where to report bugs.
25795 * INSTALL: Regenerated.
25796 * manual/libc.texinfo: Include pkgvers.texi.
25797 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25798 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25799 (print_version): Use PKGVERSION.
25800 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25801 (print_version): Use PKGVERSION.
25802 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25803 (print_version): Use PKGVERSION.
25804 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25805 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25807 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25808 (print_version): Use PKGVERSION.
25809 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25810 (print_version): Use PKGVERSION.
25811 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25814 * timezone/checktab.awk: Update from tzcode 2012i.
25815 * timezone/ialloc.c: Likewise.
25816 * timezone/private.h: Likewise.
25817 * timezone/scheck.c: Likewise.
25818 * timezone/tzfile.h: Likewise.
25819 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25820 (TZVERSION): Hardcode tzcode version number.
25821 * timezone/zdump.c: Update from tzcode 2012i.
25822 * timezone/zic.c: Likewise.
25823 * timezone/version.h: New file.
25824 * timezone/README: Describe version.h. Update upstream location.
25827 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25828 (mktemp): Enable declaration.
25829 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25830 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25831 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25832 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25834 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25836 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25838 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25840 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25842 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25846 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25847 offset in buffer as u_int32_t not u_long. Consistently use memcpy
25848 for copies of such integer values.
25849 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25850 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25852 2012-11-09 Andreas Jaeger <aj@suse.de>
25854 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25855 definitions and declarations that are provided by
25856 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25858 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25860 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25861 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25862 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25865 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25867 * elf/elf.h: Update comment before AArch64 relocations.
25869 2012-11-07 David S. Miller <davem@davemloft.net>
25871 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25872 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25873 (__start_context): Declare.
25874 (__makecontext_ret): Delete.
25875 (__makecontext): Hook up __start_context instead of
25877 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25878 (sysdep_routines): Add __start_context when in stdlib.
25880 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25882 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25883 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25884 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
25886 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
25887 (READELF): New variable. Use it instead of hardcoded "readelf".
25889 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
25891 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25892 * sysdeps/x86/Makefile: Here.
25893 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25894 * sysdeps/x86/tst-xmmymm.sh: This.
25896 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25898 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25900 [UNIX98] (pthread_barrier_t): Do not expect.
25901 [UNIX98] (pthread_barrierattr_t): Likewise.
25902 [UNIX98] (pthread_spinlock_t): Likewise.
25903 [UNIX98] (pthread_barrier_destroy): Likewise.
25904 [UNIX98] (pthread_barrier_init): Likewise.
25905 [UNIX98] (pthread_barrier_wait): Likewise.
25906 [UNIX98] (pthread_barrierattr_destroy): Likewise.
25907 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25908 [UNIX98] (pthread_barrierattr_init): Likewise.
25909 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25910 [UNIX98] (pthread_getcpuclockid): Likewise.
25911 [UNIX98] (pthread_mutex_timedlock): Likewise.
25912 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25913 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25914 [UNIX98] (pthread_sigmask): Likewise.
25915 [UNIX98] (pthread_spin_destroy): Likewise.
25916 [UNIX98] (pthread_spin_init): Likewise.
25917 [UNIX98] (pthread_spin_lock): Likewise.
25918 [UNIX98] (pthread_spin_trylock): Likewise.
25919 [UNIX98] (pthread_spin_unlock): Likewise.
25920 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25922 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25923 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25924 [XPG3 || XPG4] (pthread_cond_t): Likewise.
25925 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25926 [XPG3 || XPG4] (pthread_key_t): Likewise.
25927 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25928 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25929 [XPG3 || XPG4] (pthread_once_t): Likewise.
25930 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25931 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25932 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25933 [XPG3 || XPG4] (pthread_t): Likewise.
25935 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25937 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25939 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25940 Change function return type to int.
25942 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25943 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25944 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25945 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25946 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25947 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25948 [!POSIX] (posix_madvise): Likewise.
25949 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25951 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25952 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25953 (mode_t): Likewise.
25954 (posix_mem_offset): Likewise.
25955 (posix_typed_mem_get_info): Likewise.
25956 (posix_typed_mem_open): Likewise.
25958 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25959 Change condition to [XOPEN2K8].
25961 * conform/conformtest.pl: Preprocess allow-header data with -x c
25962 instead of from stdin.
25963 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25964 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25965 [C99-based standards] (cerfc): Likewise.
25966 [C99-based standards] (cexp2): Likewise.
25967 [C99-based standards] (cexpm1): Likewise.
25968 [C99-based standards] (clog10): Likewise.
25969 [C99-based standards] (clog1p): Likewise.
25970 [C99-based standards] (clog2): Likewise.
25971 [C99-based standards] (clgamma): Likewise.
25972 [C99-based standards] (ctgamma): Likewise.
25973 [C99-based standards] (cerff): Likewise.
25974 [C99-based standards] (cerfcf): Likewise.
25975 [C99-based standards] (cexp2f): Likewise.
25976 [C99-based standards] (cexpm1f): Likewise.
25977 [C99-based standards] (clog10f): Likewise.
25978 [C99-based standards] (clog1pf): Likewise.
25979 [C99-based standards] (clog2f): Likewise.
25980 [C99-based standards] (clgammaf): Likewise.
25981 [C99-based standards] (ctgammaf): Likewise.
25982 [C99-based standards] (cerfl): Likewise.
25983 [C99-based standards] (cerfcl): Likewise.
25984 [C99-based standards] (cexp2l): Likewise.
25985 [C99-based standards] (cexpm1l): Likewise.
25986 [C99-based standards] (clog10l): Likewise.
25987 [C99-based standards] (clog1pl): Likewise.
25988 [C99-based standards] (clog2l): Likewise.
25989 [C99-based standards] (clgammal): Likewise.
25990 [C99-based standards] (ctgammal): Likewise.
25991 * conform/data/inttypes.h-data [C99-based standards]: Include
25992 stdint.h-data. Remove all expectations for stdint.h contents.
25993 [C99-based standards] (PRI*): Do not allow.
25994 [C99-based standards] (SCN*): Likewise.
25995 [C99-based standards] (*_t): Likewise.
25996 [C99-based-standards] (PRId8): Expect macro.
25997 [C99-based-standards] (PRIi8): Likewise.
25998 [C99-based-standards] (PRIo8): Likewise.
25999 [C99-based-standards] (PRIu8): Likewise.
26000 [C99-based-standards] (PRIx8): Likewise.
26001 [C99-based-standards] (PRIX8): Likewise.
26002 [C99-based-standards] (SCNd8): Likewise.
26003 [C99-based-standards] (SCNi8): Likewise.
26004 [C99-based-standards] (SCNo8): Likewise.
26005 [C99-based-standards] (SCNu8): Likewise.
26006 [C99-based-standards] (SCNx8): Likewise.
26007 [C99-based-standards] (PRIdLEAST8): Likewise.
26008 [C99-based-standards] (PRIiLEAST8): Likewise.
26009 [C99-based-standards] (PRIoLEAST8): Likewise.
26010 [C99-based-standards] (PRIuLEAST8): Likewise.
26011 [C99-based-standards] (PRIxLEAST8): Likewise.
26012 [C99-based-standards] (PRIXLEAST8): Likewise.
26013 [C99-based-standards] (SCNdLEAST8): Likewise.
26014 [C99-based-standards] (SCNiLEAST8): Likewise.
26015 [C99-based-standards] (SCNoLEAST8): Likewise.
26016 [C99-based-standards] (SCNuLEAST8): Likewise.
26017 [C99-based-standards] (SCNxLEAST8): Likewise.
26018 [C99-based-standards] (PRIdFAST8): Likewise.
26019 [C99-based-standards] (PRIiFAST8): Likewise.
26020 [C99-based-standards] (PRIoFAST8): Likewise.
26021 [C99-based-standards] (PRIuFAST8): Likewise.
26022 [C99-based-standards] (PRIxFAST8): Likewise.
26023 [C99-based-standards] (PRIXFAST8): Likewise.
26024 [C99-based-standards] (SCNdFAST8): Likewise.
26025 [C99-based-standards] (SCNiFAST8): Likewise.
26026 [C99-based-standards] (SCNoFAST8): Likewise.
26027 [C99-based-standards] (SCNuFAST8): Likewise.
26028 [C99-based-standards] (SCNxFAST8): Likewise.
26029 [C99-based-standards] (PRId16): Likewise.
26030 [C99-based-standards] (PRIi16): Likewise.
26031 [C99-based-standards] (PRIo16): Likewise.
26032 [C99-based-standards] (PRIu16): Likewise.
26033 [C99-based-standards] (PRIx16): Likewise.
26034 [C99-based-standards] (PRIX16): Likewise.
26035 [C99-based-standards] (SCNd16): Likewise.
26036 [C99-based-standards] (SCNi16): Likewise.
26037 [C99-based-standards] (SCNo16): Likewise.
26038 [C99-based-standards] (SCNu16): Likewise.
26039 [C99-based-standards] (SCNx16): Likewise.
26040 [C99-based-standards] (PRIdLEAST16): Likewise.
26041 [C99-based-standards] (PRIiLEAST16): Likewise.
26042 [C99-based-standards] (PRIoLEAST16): Likewise.
26043 [C99-based-standards] (PRIuLEAST16): Likewise.
26044 [C99-based-standards] (PRIxLEAST16): Likewise.
26045 [C99-based-standards] (PRIXLEAST16): Likewise.
26046 [C99-based-standards] (SCNdLEAST16): Likewise.
26047 [C99-based-standards] (SCNiLEAST16): Likewise.
26048 [C99-based-standards] (SCNoLEAST16): Likewise.
26049 [C99-based-standards] (SCNuLEAST16): Likewise.
26050 [C99-based-standards] (SCNxLEAST16): Likewise.
26051 [C99-based-standards] (PRIdFAST16): Likewise.
26052 [C99-based-standards] (PRIiFAST16): Likewise.
26053 [C99-based-standards] (PRIoFAST16): Likewise.
26054 [C99-based-standards] (PRIuFAST16): Likewise.
26055 [C99-based-standards] (PRIxFAST16): Likewise.
26056 [C99-based-standards] (PRIXFAST16): Likewise.
26057 [C99-based-standards] (SCNdFAST16): Likewise.
26058 [C99-based-standards] (SCNiFAST16): Likewise.
26059 [C99-based-standards] (SCNoFAST16): Likewise.
26060 [C99-based-standards] (SCNuFAST16): Likewise.
26061 [C99-based-standards] (SCNxFAST16): Likewise.
26062 [C99-based-standards] (PRId32): Likewise.
26063 [C99-based-standards] (PRIi32): Likewise.
26064 [C99-based-standards] (PRIo32): Likewise.
26065 [C99-based-standards] (PRIu32): Likewise.
26066 [C99-based-standards] (PRIx32): Likewise.
26067 [C99-based-standards] (PRIX32): Likewise.
26068 [C99-based-standards] (SCNd32): Likewise.
26069 [C99-based-standards] (SCNi32): Likewise.
26070 [C99-based-standards] (SCNo32): Likewise.
26071 [C99-based-standards] (SCNu32): Likewise.
26072 [C99-based-standards] (SCNx32): Likewise.
26073 [C99-based-standards] (PRIdLEAST32): Likewise.
26074 [C99-based-standards] (PRIiLEAST32): Likewise.
26075 [C99-based-standards] (PRIoLEAST32): Likewise.
26076 [C99-based-standards] (PRIuLEAST32): Likewise.
26077 [C99-based-standards] (PRIxLEAST32): Likewise.
26078 [C99-based-standards] (PRIXLEAST32): Likewise.
26079 [C99-based-standards] (SCNdLEAST32): Likewise.
26080 [C99-based-standards] (SCNiLEAST32): Likewise.
26081 [C99-based-standards] (SCNoLEAST32): Likewise.
26082 [C99-based-standards] (SCNuLEAST32): Likewise.
26083 [C99-based-standards] (SCNxLEAST32): Likewise.
26084 [C99-based-standards] (PRIdFAST32): Likewise.
26085 [C99-based-standards] (PRIiFAST32): Likewise.
26086 [C99-based-standards] (PRIoFAST32): Likewise.
26087 [C99-based-standards] (PRIuFAST32): Likewise.
26088 [C99-based-standards] (PRIxFAST32): Likewise.
26089 [C99-based-standards] (PRIXFAST32): Likewise.
26090 [C99-based-standards] (SCNdFAST32): Likewise.
26091 [C99-based-standards] (SCNiFAST32): Likewise.
26092 [C99-based-standards] (SCNoFAST32): Likewise.
26093 [C99-based-standards] (SCNuFAST32): Likewise.
26094 [C99-based-standards] (SCNxFAST32): Likewise.
26095 [C99-based-standards] (PRId64): Likewise.
26096 [C99-based-standards] (PRIi64): Likewise.
26097 [C99-based-standards] (PRIo64): Likewise.
26098 [C99-based-standards] (PRIu64): Likewise.
26099 [C99-based-standards] (PRIx64): Likewise.
26100 [C99-based-standards] (PRIX64): Likewise.
26101 [C99-based-standards] (SCNd64): Likewise.
26102 [C99-based-standards] (SCNi64): Likewise.
26103 [C99-based-standards] (SCNo64): Likewise.
26104 [C99-based-standards] (SCNu64): Likewise.
26105 [C99-based-standards] (SCNx64): Likewise.
26106 [C99-based-standards] (PRIdLEAST64): Likewise.
26107 [C99-based-standards] (PRIiLEAST64): Likewise.
26108 [C99-based-standards] (PRIoLEAST64): Likewise.
26109 [C99-based-standards] (PRIuLEAST64): Likewise.
26110 [C99-based-standards] (PRIxLEAST64): Likewise.
26111 [C99-based-standards] (PRIXLEAST64): Likewise.
26112 [C99-based-standards] (SCNdLEAST64): Likewise.
26113 [C99-based-standards] (SCNiLEAST64): Likewise.
26114 [C99-based-standards] (SCNoLEAST64): Likewise.
26115 [C99-based-standards] (SCNuLEAST64): Likewise.
26116 [C99-based-standards] (SCNxLEAST64): Likewise.
26117 [C99-based-standards] (PRIdFAST64): Likewise.
26118 [C99-based-standards] (PRIiFAST64): Likewise.
26119 [C99-based-standards] (PRIoFAST64): Likewise.
26120 [C99-based-standards] (PRIuFAST64): Likewise.
26121 [C99-based-standards] (PRIxFAST64): Likewise.
26122 [C99-based-standards] (PRIXFAST64): Likewise.
26123 [C99-based-standards] (SCNdFAST64): Likewise.
26124 [C99-based-standards] (SCNiFAST64): Likewise.
26125 [C99-based-standards] (SCNoFAST64): Likewise.
26126 [C99-based-standards] (SCNuFAST64): Likewise.
26127 [C99-based-standards] (SCNxFAST64): Likewise.
26128 [C99-based-standards] (PRIdMAX): Likewise.
26129 [C99-based-standards] (PRIiMAX): Likewise.
26130 [C99-based-standards] (PRIoMAX): Likewise.
26131 [C99-based-standards] (PRIuMAX): Likewise.
26132 [C99-based-standards] (PRIxMAX): Likewise.
26133 [C99-based-standards] (PRIXMAX): Likewise.
26134 [C99-based-standards] (SCNdMAX): Likewise.
26135 [C99-based-standards] (SCNiMAX): Likewise.
26136 [C99-based-standards] (SCNoMAX): Likewise.
26137 [C99-based-standards] (SCNuMAX): Likewise.
26138 [C99-based-standards] (SCNxMAX): Likewise.
26139 [C99-based-standards] (PRIdPTR): Likewise.
26140 [C99-based-standards] (PRIiPTR): Likewise.
26141 [C99-based-standards] (PRIoPTR): Likewise.
26142 [C99-based-standards] (PRIuPTR): Likewise.
26143 [C99-based-standards] (PRIxPTR): Likewise.
26144 [C99-based-standards] (PRIXPTR): Likewise.
26145 [C99-based-standards] (SCNdPTR): Likewise.
26146 [C99-based-standards] (SCNiPTR): Likewise.
26147 [C99-based-standards] (SCNoPTR): Likewise.
26148 [C99-based-standards] (SCNuPTR): Likewise.
26149 [C99-based-standards] (SCNxPTR): Likewise.
26150 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26152 * conform/data/stdint.h-data: Update comments to clarify
26154 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
26156 [C99-based standards] (INT8_MAX): Likewise.
26157 [C99-based standards] (INT16_MIN): Likewise.
26158 [C99-based standards] (INT16_MAX): Likewise.
26159 [C99-based standards] (INT32_MIN): Likewise.
26160 [C99-based standards] (INT32_MAX): Likewise.
26161 [C99-based standards] (INT64_MIN): Likewise.
26162 [C99-based standards] (INT64_MAX): Likewise.
26163 [C99-based standards] (UINT8_MAX): Likewise.
26164 [C99-based standards] (UINT16_MAX): Likewise.
26165 [C99-based standards] (UINT32_MAX): Likewise.
26166 [C99-based standards] (UINT64_MAX): Likewise.
26167 [C99-based standards] (INT_LEAST8_MIN): Likewise.
26168 [C99-based standards] (INT_LEAST8_MAX): Likewise.
26169 [C99-based standards] (INT_LEAST16_MIN): Likewise.
26170 [C99-based standards] (INT_LEAST16_MAX): Likewise.
26171 [C99-based standards] (INT_LEAST32_MIN): Likewise.
26172 [C99-based standards] (INT_LEAST32_MAX): Likewise.
26173 [C99-based standards] (INT_LEAST64_MIN): Likewise.
26174 [C99-based standards] (INT_LEAST64_MAX): Likewise.
26175 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26176 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26177 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26178 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26179 [C99-based standards] (INT_FAST8_MIN): Likewise.
26180 [C99-based standards] (INT_FAST8_MAX): Likewise.
26181 [C99-based standards] (INT_FAST16_MIN): Likewise.
26182 [C99-based standards] (INT_FAST16_MAX): Likewise.
26183 [C99-based standards] (INT_FAST32_MIN): Likewise.
26184 [C99-based standards] (INT_FAST32_MAX): Likewise.
26185 [C99-based standards] (INT_FAST64_MIN): Likewise.
26186 [C99-based standards] (INT_FAST64_MAX): Likewise.
26187 [C99-based standards] (UINT_FAST8_MAX): Likewise.
26188 [C99-based standards] (UINT_FAST16_MAX): Likewise.
26189 [C99-based standards] (UINT_FAST32_MAX): Likewise.
26190 [C99-based standards] (UINT_FAST64_MAX): Likewise.
26191 [C99-based standards] (INTPTR_MIN): Likewise.
26192 [C99-based standards] (INTPTR_MAX): Likewise.
26193 [C99-based standards] (UINTPTR_MAX): Likewise.
26194 [C99-based standards] (INTMAX_MIN): Likewise.
26195 [C99-based standards] (INTMAX_MAX): Likewise.
26196 [C99-based standards] (UINTMAX_MAX): Likewise.
26197 [C99-based standards] (PTRDIFF_MIN): Likewise.
26198 [C99-based standards] (PTRDIFF_MAX): Likewise.
26199 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26200 [C99-based standards] (SIZE_MAX): Likewise.
26201 [C99-based standards] (WCHAR_MAX): Likewise.
26202 [C99-based standards] (WINT_MAX): Likewise.
26203 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
26204 constraint on value.
26205 [C99-based standards] (WCHAR_MIN): Likewise.
26206 [C99-based standards] (WINT_MIN): Likewise.
26207 [C99-based standards] (*_t): Allow.
26208 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26209 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26210 Include math.h-data and complex.h-data. Remove all expectations
26211 of math.h and complex.h contents.
26212 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26214 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26215 (struct tm): Expect tag.
26216 [C99-based-standards] (wcstof): Expect function.
26217 [C99-based-standards] (wcstold): Likewise.
26218 [C99-based-standards] (wcstoll): Likewise.
26219 [C99-based-standards] (wcstoull): Likewise.
26220 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26221 macro-int-constant. Specify type.
26222 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
26223 constraint on value.
26224 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26226 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26228 [ISO C standards]: Do not allow headers.
26229 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26230 wcs[abcdefghijklmnopqrstuvwxyz]*.
26231 [ISO C standards] (*_t): Do not allow.
26232 * conform/data/wctype.h-data [C99-based standards] (iswblank):
26234 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26235 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26237 [ISO C standards]: Do not allow headers.
26238 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26239 is[abcdefghijklmnopqrstuvwxyz]*.
26240 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26241 to[abcdefghijklmnopqrstuvwxyz]*.
26242 [ISO C standards] (*_t): Do not allow.
26243 * conform/data/stdalign.h-data: New file.
26244 * conform/data/stdbool.h-data: Likewise.
26245 * conform/data/stdnoreturn.h-data: Likewise.
26247 2012-11-07 Roland McGrath <roland@hack.frob.com>
26250 * manual/filesys.texi (Directory Entries): Typo fix.
26251 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26253 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26255 * elf/elf.h (EM_AARCH64): New macro.
26256 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26257 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26258 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26259 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26260 (R_AARCH64_TLSDESC): Likewise.
26261 (NT_ARM_TLS): Likewise.
26262 (NT_ARM_HW_BREAK): Likewise.
26263 (NT_ARM_HW_WATCH): Likewise.
26265 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26268 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26269 (__ieee754_powl): Saturate nonzero exponents with absolute value
26270 below 0x1p-79 to +/- 0x1p-79.
26271 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26272 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26273 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26274 nonzero exponents with absolute value below 0x1p-32 to +/-
26276 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26277 (__ieee754_powl): Saturate nonzero exponents with absolute value
26278 below 0x1p-79 to +/- 0x1p-79.
26279 * math/libm-test.inc (pow_test): Add more tests.
26281 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26283 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26284 _dl_s390_cap_flags with kernel. Increase string length.
26285 (_dl_s390_platforms): Add z196 and zEC12.
26287 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26289 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26290 Change XOPEN21K to XOPEN2K.
26292 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26294 * string/memmove.c: Use memcpy when possible.
26296 2012-11-06 Andreas Jaeger <aj@suse.de>
26298 * po/eo.po: Update from translation team.
26300 2012-11-06 Joseph Myers <joseph@codesourcery.com>
26303 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26304 exponent and small x and y exponents, scale x or y up. Increase
26305 by 2 the exponent used in scaling up.
26306 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26307 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26308 * math/libm-test.inc (fma_test): Add more tests.
26309 (fma_test_towardzero): Likewise.
26310 (fma_test_downward): Likewise.
26311 (fma_test_upward): Likewise.
26313 2012-11-05 Joseph Myers <joseph@codesourcery.com>
26316 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26320 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26321 namespace for names of struct fields.
26322 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26324 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26325 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26327 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26330 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26332 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26334 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26338 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26341 2012-11-04 Joseph Myers <joseph@codesourcery.com>
26344 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26345 definitely overflow as x * y not x * y + z.
26346 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26347 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26348 * math/libm-test.inc (fma_test): Add more tests.
26349 (fma_test_towardzero): Likewise.
26350 (fma_test_downward): Likewise.
26351 (fma_test_upward): Likewise.
26353 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26357 * include/stub-tag.h: Remove file.
26358 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26360 * manual/maint.texi (Porting): Don't reference it.
26361 * Makerules ($(objpfx)stubs): Likewise.
26362 * dirent/closedir.c: Don't include <stub-tag.h>.
26363 * dirent/dirfd.c: Likewise.
26364 * dirent/fdopendir.c: Likewise.
26365 * dirent/getdents.c: Likewise.
26366 * dirent/getdents64.c: Likewise.
26367 * dirent/opendir.c: Likewise.
26368 * dirent/readdir.c: Likewise.
26369 * dirent/readdir64.c: Likewise.
26370 * dirent/readdir64_r.c: Likewise.
26371 * dirent/readdir_r.c: Likewise.
26372 * dirent/rewinddir.c: Likewise.
26373 * dirent/seekdir.c: Likewise.
26374 * dirent/telldir.c: Likewise.
26375 * gmon/profil.c: Likewise.
26376 * grp/setgroups.c: Likewise.
26377 * inet/if_index.c: Likewise.
26378 * io/access.c: Likewise.
26379 * io/chdir.c: Likewise.
26380 * io/chmod.c: Likewise.
26381 * io/chown.c: Likewise.
26382 * io/close.c: Likewise.
26383 * io/dup.c: Likewise.
26384 * io/dup2.c: Likewise.
26385 * io/dup3.c: Likewise.
26386 * io/euidaccess.c: Likewise.
26387 * io/faccessat.c: Likewise.
26388 * io/fchdir.c: Likewise.
26389 * io/fchmod.c: Likewise.
26390 * io/fchmodat.c: Likewise.
26391 * io/fchown.c: Likewise.
26392 * io/fchownat.c: Likewise.
26393 * io/fcntl.c: Likewise.
26394 * io/flock.c: Likewise.
26395 * io/fstatfs.c: Likewise.
26396 * io/fstatfs64.c: Likewise.
26397 * io/fstatvfs.c: Likewise.
26398 * io/fstatvfs64.c: Likewise.
26399 * io/futimens.c: Likewise.
26400 * io/fxstat.c: Likewise.
26401 * io/fxstat64.c: Likewise.
26402 * io/fxstatat.c: Likewise.
26403 * io/fxstatat64.c: Likewise.
26404 * io/getcwd.c: Likewise.
26405 * io/isatty.c: Likewise.
26406 * io/lchmod.c: Likewise.
26407 * io/lchown.c: Likewise.
26408 * io/link.c: Likewise.
26409 * io/linkat.c: Likewise.
26410 * io/lseek.c: Likewise.
26411 * io/lseek64.c: Likewise.
26412 * io/lxstat64.c: Likewise.
26413 * io/mkdir.c: Likewise.
26414 * io/mkdirat.c: Likewise.
26415 * io/mkfifo.c: Likewise.
26416 * io/mkfifoat.c: Likewise.
26417 * io/open.c: Likewise.
26418 * io/open64.c: Likewise.
26419 * io/openat.c: Likewise.
26420 * io/openat64.c: Likewise.
26421 * io/pipe.c: Likewise.
26422 * io/pipe2.c: Likewise.
26423 * io/poll.c: Likewise.
26424 * io/posix_fadvise.c: Likewise.
26425 * io/posix_fadvise64.c: Likewise.
26426 * io/posix_fallocate.c: Likewise.
26427 * io/posix_fallocate64.c: Likewise.
26428 * io/read.c: Likewise.
26429 * io/readlink.c: Likewise.
26430 * io/readlinkat.c: Likewise.
26431 * io/rmdir.c: Likewise.
26432 * io/sendfile.c: Likewise.
26433 * io/sendfile64.c: Likewise.
26434 * io/statfs.c: Likewise.
26435 * io/statfs64.c: Likewise.
26436 * io/statvfs.c: Likewise.
26437 * io/statvfs64.c: Likewise.
26438 * io/symlink.c: Likewise.
26439 * io/symlinkat.c: Likewise.
26440 * io/ttyname.c: Likewise.
26441 * io/ttyname_r.c: Likewise.
26442 * io/umask.c: Likewise.
26443 * io/unlink.c: Likewise.
26444 * io/unlinkat.c: Likewise.
26445 * io/utime.c: Likewise.
26446 * io/utimensat.c: Likewise.
26447 * io/write.c: Likewise.
26448 * io/xmknod.c: Likewise.
26449 * io/xmknodat.c: Likewise.
26450 * io/xstat.c: Likewise.
26451 * io/xstat64.c: Likewise.
26452 * login/getpt.c: Likewise.
26453 * login/grantpt.c: Likewise.
26454 * login/unlockpt.c: Likewise.
26455 * math/e_acoshl.c: Likewise.
26456 * math/e_acosl.c: Likewise.
26457 * math/e_asinl.c: Likewise.
26458 * math/e_atan2l.c: Likewise.
26459 * math/e_atanhl.c: Likewise.
26460 * math/e_coshl.c: Likewise.
26461 * math/e_expl.c: Likewise.
26462 * math/e_fmodl.c: Likewise.
26463 * math/e_gammal_r.c: Likewise.
26464 * math/e_hypotl.c: Likewise.
26465 * math/e_j0l.c: Likewise.
26466 * math/e_j1l.c: Likewise.
26467 * math/e_jnl.c: Likewise.
26468 * math/e_lgammal_r.c: Likewise.
26469 * math/e_log10l.c: Likewise.
26470 * math/e_log2l.c: Likewise.
26471 * math/e_logl.c: Likewise.
26472 * math/e_powl.c: Likewise.
26473 * math/e_rem_pio2l.c: Likewise.
26474 * math/e_sinhl.c: Likewise.
26475 * math/e_sqrtl.c: Likewise.
26476 * math/fclrexcpt.c: Likewise.
26477 * math/fedisblxcpt.c: Likewise.
26478 * math/feenablxcpt.c: Likewise.
26479 * math/fegetenv.c: Likewise.
26480 * math/fegetexcept.c: Likewise.
26481 * math/fegetround.c: Likewise.
26482 * math/feholdexcpt.c: Likewise.
26483 * math/fesetenv.c: Likewise.
26484 * math/fesetround.c: Likewise.
26485 * math/feupdateenv.c: Likewise.
26486 * math/fgetexcptflg.c: Likewise.
26487 * math/fraiseexcpt.c: Likewise.
26488 * math/fsetexcptflg.c: Likewise.
26489 * math/ftestexcept.c: Likewise.
26490 * math/k_cosl.c: Likewise.
26491 * math/k_rem_pio2l.c: Likewise.
26492 * math/k_sinl.c: Likewise.
26493 * math/k_tanl.c: Likewise.
26494 * math/s_asinhl.c: Likewise.
26495 * math/s_atanl.c: Likewise.
26496 * math/s_cbrtl.c: Likewise.
26497 * math/s_erfl.c: Likewise.
26498 * math/s_expm1l.c: Likewise.
26499 * math/s_log1pl.c: Likewise.
26500 * math/s_tanhl.c: Likewise.
26501 * misc/acct.c: Likewise.
26502 * misc/brk.c: Likewise.
26503 * misc/chflags.c: Likewise.
26504 * misc/chroot.c: Likewise.
26505 * misc/fchflags.c: Likewise.
26506 * misc/fgetxattr.c: Likewise.
26507 * misc/flistxattr.c: Likewise.
26508 * misc/fremovexattr.c: Likewise.
26509 * misc/fsetxattr.c: Likewise.
26510 * misc/fsync.c: Likewise.
26511 * misc/ftruncate.c: Likewise.
26512 * misc/futimes.c: Likewise.
26513 * misc/futimesat.c: Likewise.
26514 * misc/getdomain.c: Likewise.
26515 * misc/getdtsz.c: Likewise.
26516 * misc/gethostid.c: Likewise.
26517 * misc/gethostname.c: Likewise.
26518 * misc/getloadavg.c: Likewise.
26519 * misc/getpagesize.c: Likewise.
26520 * misc/getsysstats.c: Likewise.
26521 * misc/getxattr.c: Likewise.
26522 * misc/gtty.c: Likewise.
26523 * misc/ioctl.c: Likewise.
26524 * misc/lgetxattr.c: Likewise.
26525 * misc/listxattr.c: Likewise.
26526 * misc/llistxattr.c: Likewise.
26527 * misc/lremovexattr.c: Likewise.
26528 * misc/lsetxattr.c: Likewise.
26529 * misc/lutimes.c: Likewise.
26530 * misc/madvise.c: Likewise.
26531 * misc/mincore.c: Likewise.
26532 * misc/mlock.c: Likewise.
26533 * misc/mlockall.c: Likewise.
26534 * misc/mmap.c: Likewise.
26535 * misc/mprotect.c: Likewise.
26536 * misc/msync.c: Likewise.
26537 * misc/munlock.c: Likewise.
26538 * misc/munlockall.c: Likewise.
26539 * misc/munmap.c: Likewise.
26540 * misc/preadv.c: Likewise.
26541 * misc/preadv64.c: Likewise.
26542 * misc/ptrace.c: Likewise.
26543 * misc/pwritev.c: Likewise.
26544 * misc/pwritev64.c: Likewise.
26545 * misc/readv.c: Likewise.
26546 * misc/reboot.c: Likewise.
26547 * misc/remap_file_pages.c: Likewise.
26548 * misc/removexattr.c: Likewise.
26549 * misc/revoke.c: Likewise.
26550 * misc/select.c: Likewise.
26551 * misc/setdomain.c: Likewise.
26552 * misc/setegid.c: Likewise.
26553 * misc/seteuid.c: Likewise.
26554 * misc/sethostid.c: Likewise.
26555 * misc/sethostname.c: Likewise.
26556 * misc/setregid.c: Likewise.
26557 * misc/setreuid.c: Likewise.
26558 * misc/setxattr.c: Likewise.
26559 * misc/sstk.c: Likewise.
26560 * misc/stty.c: Likewise.
26561 * misc/swapoff.c: Likewise.
26562 * misc/swapon.c: Likewise.
26563 * misc/sync.c: Likewise.
26564 * misc/syncfs.c: Likewise.
26565 * misc/syscall.c: Likewise.
26566 * misc/truncate.c: Likewise.
26567 * misc/ualarm.c: Likewise.
26568 * misc/usleep.c: Likewise.
26569 * misc/ustat.c: Likewise.
26570 * misc/utimes.c: Likewise.
26571 * misc/vhangup.c: Likewise.
26572 * misc/writev.c: Likewise.
26573 * posix/_exit.c: Likewise.
26574 * posix/alarm.c: Likewise.
26575 * posix/execve.c: Likewise.
26576 * posix/fexecve.c: Likewise.
26577 * posix/fork.c: Likewise.
26578 * posix/fpathconf.c: Likewise.
26579 * posix/getaddrinfo.c: Likewise.
26580 * posix/getegid.c: Likewise.
26581 * posix/geteuid.c: Likewise.
26582 * posix/getgid.c: Likewise.
26583 * posix/getgroups.c: Likewise.
26584 * posix/getlogin.c: Likewise.
26585 * posix/getlogin_r.c: Likewise.
26586 * posix/getpgid.c: Likewise.
26587 * posix/getpid.c: Likewise.
26588 * posix/getppid.c: Likewise.
26589 * posix/getresgid.c: Likewise.
26590 * posix/getresuid.c: Likewise.
26591 * posix/getsid.c: Likewise.
26592 * posix/getuid.c: Likewise.
26593 * posix/glob64.c: Likewise.
26594 * posix/nanosleep.c: Likewise.
26595 * posix/pathconf.c: Likewise.
26596 * posix/pause.c: Likewise.
26597 * posix/posix_madvise.c: Likewise.
26598 * posix/pread.c: Likewise.
26599 * posix/pread64.c: Likewise.
26600 * posix/pwrite.c: Likewise.
26601 * posix/pwrite64.c: Likewise.
26602 * posix/sched_getaffinity.c: Likewise.
26603 * posix/sched_getp.c: Likewise.
26604 * posix/sched_gets.c: Likewise.
26605 * posix/sched_primax.c: Likewise.
26606 * posix/sched_primin.c: Likewise.
26607 * posix/sched_rr_gi.c: Likewise.
26608 * posix/sched_setaffinity.c: Likewise.
26609 * posix/sched_setp.c: Likewise.
26610 * posix/sched_sets.c: Likewise.
26611 * posix/sched_yield.c: Likewise.
26612 * posix/setgid.c: Likewise.
26613 * posix/setlogin.c: Likewise.
26614 * posix/setpgid.c: Likewise.
26615 * posix/setresgid.c: Likewise.
26616 * posix/setresuid.c: Likewise.
26617 * posix/setsid.c: Likewise.
26618 * posix/setuid.c: Likewise.
26619 * posix/sleep.c: Likewise.
26620 * posix/spawni.c: Likewise.
26621 * posix/sysconf.c: Likewise.
26622 * posix/times.c: Likewise.
26623 * posix/wait.c: Likewise.
26624 * posix/wait3.c: Likewise.
26625 * posix/wait4.c: Likewise.
26626 * posix/waitpid.c: Likewise.
26627 * resolv/gai_sigqueue.c: Likewise.
26628 * resource/getpriority.c: Likewise.
26629 * resource/getrlimit.c: Likewise.
26630 * resource/getrusage.c: Likewise.
26631 * resource/nice.c: Likewise.
26632 * resource/setpriority.c: Likewise.
26633 * resource/setrlimit.c: Likewise.
26634 * resource/ulimit.c: Likewise.
26635 * rt/aio_cancel.c: Likewise.
26636 * rt/aio_fsync.c: Likewise.
26637 * rt/aio_read.c: Likewise.
26638 * rt/aio_sigqueue.c: Likewise.
26639 * rt/aio_suspend.c: Likewise.
26640 * rt/aio_write.c: Likewise.
26641 * rt/clock_getres.c: Likewise.
26642 * rt/clock_gettime.c: Likewise.
26643 * rt/clock_nanosleep.c: Likewise.
26644 * rt/clock_settime.c: Likewise.
26645 * rt/lio_listio.c: Likewise.
26646 * rt/mq_close.c: Likewise.
26647 * rt/mq_getattr.c: Likewise.
26648 * rt/mq_notify.c: Likewise.
26649 * rt/mq_open.c: Likewise.
26650 * rt/mq_receive.c: Likewise.
26651 * rt/mq_send.c: Likewise.
26652 * rt/mq_setattr.c: Likewise.
26653 * rt/mq_timedreceive.c: Likewise.
26654 * rt/mq_timedsend.c: Likewise.
26655 * rt/mq_unlink.c: Likewise.
26656 * rt/shm_open.c: Likewise.
26657 * rt/shm_unlink.c: Likewise.
26658 * rt/timer_create.c: Likewise.
26659 * rt/timer_delete.c: Likewise.
26660 * rt/timer_getoverr.c: Likewise.
26661 * rt/timer_gettime.c: Likewise.
26662 * rt/timer_settime.c: Likewise.
26663 * setjmp/__longjmp.c: Likewise.
26664 * setjmp/setjmp.c: Likewise.
26665 * signal/kill.c: Likewise.
26666 * signal/killpg.c: Likewise.
26667 * signal/raise.c: Likewise.
26668 * signal/sigaction.c: Likewise.
26669 * signal/sigaltstack.c: Likewise.
26670 * signal/sigblock.c: Likewise.
26671 * signal/sigignore.c: Likewise.
26672 * signal/sigintr.c: Likewise.
26673 * signal/signal.c: Likewise.
26674 * signal/sigpause.c: Likewise.
26675 * signal/sigpending.c: Likewise.
26676 * signal/sigqueue.c: Likewise.
26677 * signal/sigreturn.c: Likewise.
26678 * signal/sigset.c: Likewise.
26679 * signal/sigsetmask.c: Likewise.
26680 * signal/sigstack.c: Likewise.
26681 * signal/sigsuspend.c: Likewise.
26682 * signal/sigtimedwait.c: Likewise.
26683 * signal/sigvec.c: Likewise.
26684 * signal/sigwait.c: Likewise.
26685 * signal/sigwaitinfo.c: Likewise.
26686 * signal/sysv_signal.c: Likewise.
26687 * socket/accept.c: Likewise.
26688 * socket/accept4.c: Likewise.
26689 * socket/bind.c: Likewise.
26690 * socket/connect.c: Likewise.
26691 * socket/getpeername.c: Likewise.
26692 * socket/getsockname.c: Likewise.
26693 * socket/getsockopt.c: Likewise.
26694 * socket/isfdtype.c: Likewise.
26695 * socket/listen.c: Likewise.
26696 * socket/recv.c: Likewise.
26697 * socket/recvfrom.c: Likewise.
26698 * socket/recvmsg.c: Likewise.
26699 * socket/send.c: Likewise.
26700 * socket/sendmsg.c: Likewise.
26701 * socket/sendto.c: Likewise.
26702 * socket/setsockopt.c: Likewise.
26703 * socket/shutdown.c: Likewise.
26704 * socket/sockatmark.c: Likewise.
26705 * socket/socket.c: Likewise.
26706 * socket/socketpair.c: Likewise.
26707 * stdio-common/ctermid.c: Likewise.
26708 * stdio-common/cuserid.c: Likewise.
26709 * stdio-common/remove.c: Likewise.
26710 * stdio-common/rename.c: Likewise.
26711 * stdio-common/renameat.c: Likewise.
26712 * stdio-common/tempname.c: Likewise.
26713 * stdlib/getcontext.c: Likewise.
26714 * stdlib/makecontext.c: Likewise.
26715 * stdlib/setcontext.c: Likewise.
26716 * stdlib/swapcontext.c: Likewise.
26717 * stdlib/system.c: Likewise.
26718 * streams/fattach.c: Likewise.
26719 * streams/fdetach.c: Likewise.
26720 * streams/getmsg.c: Likewise.
26721 * streams/getpmsg.c: Likewise.
26722 * streams/putmsg.c: Likewise.
26723 * streams/putpmsg.c: Likewise.
26724 * sysdeps/unix/bsd/getpt.c: Likewise.
26725 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26726 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26727 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26730 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26731 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26732 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26733 * sysvipc/msgctl.c: Likewise.
26734 * sysvipc/msgget.c: Likewise.
26735 * sysvipc/msgrcv.c: Likewise.
26736 * sysvipc/msgsnd.c: Likewise.
26737 * sysvipc/semctl.c: Likewise.
26738 * sysvipc/semget.c: Likewise.
26739 * sysvipc/semop.c: Likewise.
26740 * sysvipc/semtimedop.c: Likewise.
26741 * sysvipc/shmat.c: Likewise.
26742 * sysvipc/shmctl.c: Likewise.
26743 * sysvipc/shmdt.c: Likewise.
26744 * sysvipc/shmget.c: Likewise.
26745 * termios/tcdrain.c: Likewise.
26746 * termios/tcflow.c: Likewise.
26747 * termios/tcflush.c: Likewise.
26748 * termios/tcgetattr.c: Likewise.
26749 * termios/tcgetpgrp.c: Likewise.
26750 * termios/tcsendbrk.c: Likewise.
26751 * termios/tcsetattr.c: Likewise.
26752 * termios/tcsetpgrp.c: Likewise.
26753 * time/adjtime.c: Likewise.
26754 * time/clock.c: Likewise.
26755 * time/getitimer.c: Likewise.
26756 * time/gettimeofday.c: Likewise.
26757 * time/setitimer.c: Likewise.
26758 * time/settimeofday.c: Likewise.
26759 * time/stime.c: Likewise.
26760 * time/time.c: Likewise.
26762 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
26764 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26767 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26769 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26771 2012-11-03 Joseph Myers <joseph@codesourcery.com>
26774 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26775 FE_TONEAREST before applying Dekker multiplication and Knuth
26776 addition. Clear inexact exceptions and check for exact zero
26777 results afterwards.
26778 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26779 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26780 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26781 * math/libm-test.inc (fma_test): Add more tests.
26782 (fma_test_towardzero): Likewise.
26783 (fma_test_downward): Likewise.
26784 (fma_test_upward): Likewise.
26785 * sysdeps/generic/math_private.h (default_libc_fesetround): New
26787 (libc_fesetround): New macro.
26788 (libc_fesetroundf): Likewise.
26789 (libc_fesetroundl): Likewise.
26790 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26792 (libc_fesetround_387): Likewise.
26793 (libc_fesetroundf): New macro.
26794 (libc_fesetround): Likewise.
26795 (libc_fesetroundl): Likewise.
26796 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26798 (libc_fesetroundf): New macro.
26799 (libc_fesetround): Likewise.
26800 (libc_fesetroundl): Likewise.
26801 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26802 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26803 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26805 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26806 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26808 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26809 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26811 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26815 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26816 integer constant usable in #if and use that to give value to enum
26818 (FE_DIVBYZERO): Likewise.
26819 (FE_UNDERFLOW): Likewise.
26820 (FE_OVERFLOW): Likewise.
26821 (FE_INVALID): Likewise.
26822 (FE_INVALID_SNAN): Likewise.
26823 (FE_INVALID_ISI): Likewise.
26824 (FE_INVALID_IDI): Likewise.
26825 (FE_INVALID_ZDZ): Likewise.
26826 (FE_INVALID_IMZ): Likewise.
26827 (FE_INVALID_COMPARE): Likewise.
26828 (FE_INVALID_SOFTWARE): Likewise.
26829 (FE_INVALID_SQRT): Likewise.
26830 (FE_INVALID_INTEGER_CONVERSION): Likewise.
26831 (FE_TONEAREST): Likewise.
26832 (FE_TOWARDZERO): Likewise.
26833 (FE_UPWARD): Likewise.
26834 (FE_DOWNWARD): Likewise.
26835 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26836 (FE_DIVBYZERO): Likewise.
26837 (FE_OVERFLOW): Likewise.
26838 (FE_UNDERFLOW): Likewise.
26839 (FE_INEXACT): Likewise.
26840 (FE_TONEAREST): Likewise.
26841 (FE_DOWNWARD): Likewise.
26842 (FE_UPWARD): Likewise.
26843 (FE_TOWARDZERO): Likewise.
26844 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26845 (FE_UNDERFLOW): Likewise.
26846 (FE_OVERFLOW): Likewise.
26847 (FE_DIVBYZERO): Likewise.
26848 (FE_INVALID): Likewise.
26849 (FE_TONEAREST): Likewise.
26850 (FE_TOWARDZERO): Likewise.
26851 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26852 (FE_OVERFLOW): Likewise.
26853 (FE_UNDERFLOW): Likewise.
26854 (FE_DIVBYZERO): Likewise.
26855 (FE_INEXACT): Likewise.
26856 (FE_TONEAREST): Likewise.
26857 (FE_TOWARDZERO): Likewise.
26858 (FE_UPWARD): Likewise.
26859 (FE_DOWNWARD): Likewise.
26860 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26861 (FE_DIVBYZERO): Likewise.
26862 (FE_OVERFLOW): Likewise.
26863 (FE_UNDERFLOW): Likewise.
26864 (FE_INEXACT): Likewise.
26865 (FE_TONEAREST): Likewise.
26866 (FE_DOWNWARD): Likewise.
26867 (FE_UPWARD): Likewise.
26868 (FE_TOWARDZERO): Likewise.
26870 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
26872 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26874 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
26876 * scripts/cross-test-ssh.sh (command): Use newlines to separate
26877 commands. Quote $PWD.
26878 (blacklist_exports): Don't use remove_newlines. Replace "declare
26880 (remove_newlines): Remove.
26882 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
26884 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26885 * stdlib/stdlib.h (atof): Moved to ...
26886 * include/bits/stdlib-float.h: Here. New file.
26887 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26888 * stdlib/bits/stdlib-float.h: New file.
26889 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26891 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26894 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26896 * conform/conformtest.pl (@headers): Add fenv.h.
26897 * conform/data/fenv.h-data: New file.
26898 * include/fenv.h [_ISOMAC]: Disable all contents of file except
26899 include of <math/fenv.h>.
26901 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26902 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26903 && !UNIX98]. Enables tests for XOPEN2K8.
26904 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26905 POSIX2008]: Likewise.
26907 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26908 (struct rusage): Do not expect type or its members.
26911 * math/math.h (FP_NAN): Define macro to integer constant usable in
26912 #if and use that to give value to enum constant.
26913 (FP_INFINITE): Likewise.
26914 (FP_ZERO): Likewise.
26915 (FP_SUBNORMAL): Likewise.
26916 (FP_NORMAL): Likewise.
26918 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
26920 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26921 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26924 2012-11-02 Roland McGrath <roland@hack.frob.com>
26926 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26927 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26928 autoconf-time if not.
26929 * configure.in: Remove AC_PREREQ.
26931 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26933 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26934 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26935 of the internal implementation.
26937 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26939 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26940 except include of <misc/sys/syslog.h>.
26942 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26945 function returns with a NULL context exit with zero.
26947 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26949 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26951 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
26953 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26954 (run_program_cmd): This.
26955 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26956 (tst_langinfo): New variable. Use it.
26958 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
26960 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26961 floating point opcodes.
26963 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26965 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26968 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26970 * sysdeps/mach/hurd/powerpc: Remove directory.
26971 * sysdeps/mach/powerpc: Likewise.
26973 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26975 * scripts/check-local-headers.sh: Ignore c++ headers.
26977 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26979 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26980 __libc_cleanup_region_start argument.
26982 2012-11-01 Joseph Myers <joseph@codesourcery.com>
26986 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26987 x * y using scaling, not as x * y + z.
26988 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26989 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26990 * math/libm-test.inc (fma_test): Add more tests.
26991 (fma_test_towardzero): Likewise.
26992 (fma_test_downward): Likewise.
26993 (fma_test_upward): Likewise.
26995 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26997 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26999 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27001 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27004 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
27006 * rt/tst-shm.c (worker): Correct checking for mmap failure.
27008 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27015 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27018 Fix the order of the list for glibc 2.17.
27019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27022 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27026 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27029 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27030 for low part of x being zero before using __atanl (y).
27031 * math/libm-test.inc (atan2_test): Add another test.
27033 * manual/install.texi (Configuring and compiling): Document
27034 general use of test-wrapper and test-wrapper-env.
27035 * INSTALL: Regenerated.
27037 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27038 (__fma): Do not extract and scale down low bits on after-rounding
27039 systems when result rounded to normal precision would have normal
27041 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27042 (__fmal): Do not extract and scale down low bits on after-rounding
27043 systems when result rounded to normal precision would have normal
27045 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27046 (__fmal): Do not extract and scale down low bits on after-rounding
27047 systems when result rounded to normal precision would have normal
27049 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27051 (fma_test): Add more tests.
27052 (fma_test_towardzero): Likewise.
27053 (fma_test_downward): Likewise.
27054 (fma_test_upward): Likewise.
27056 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27058 * sysdeps/i386/tininess.h: Renamed to ...
27059 * sysdeps/x86/tininess.h: This.
27060 * sysdeps/x86_64/tininess.h: Removed.
27062 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27064 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27065 input. Use $(build-program-cmd).
27066 ($(objpfx)tst-array1-static.out): Likewise.
27067 ($(objpfx)tst-array2.out): Likewise.
27068 ($(objpfx)tst-array3.out): Likewise.
27069 ($(objpfx)tst-array4.out): Likewise.
27070 ($(objpfx)tst-array5.out): Likewise.
27071 ($(objpfx)tst-array5-static.out): Likewise.
27073 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
27075 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27078 * nss/nsswitch.h (nss_interface_function): Provide new
27079 macro for use with NSS functions.
27080 * grp/initgroups.c: Use new macro.
27081 * nss/getXXbyYY.c: Likewise.
27082 * nss/getXXbyYY_r.c: Likewise.
27083 * nss/getXXent.c: Likewise.
27084 * nss/getXXent_r.c: Likewise.
27085 * sysdeps/posix/getaddrinfo.c: Likewise.
27087 2012-10-30 Andreas Jaeger <aj@suse.de>
27089 * po/ru.po: Update Russion translation from translation project.
27091 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27095 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27096 result and shift together with sticky bit instead of replicating
27097 round-to-nearest rounding.
27098 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27099 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27100 * math/libm-test.inc (fma_test): Add more tests. Do not permit
27101 missing underflow exceptions.
27102 (fma_test_towardzero): Add more tests.
27103 (fma_test_downward): Likewise.
27104 (fma_test_upward): Likewise.
27107 * sysdeps/generic/tininess.h: New file.
27108 * sysdeps/i386/tininess.h: Likewise.
27109 * sysdeps/sh/tininess.h: Likewise.
27110 * sysdeps/x86_64/tininess.h: Likewise.
27111 * stdlib/tst-strtod-underflow.c: Likewise.
27112 * stdlib/tst-tininess.c: Likewise.
27113 * stdlib/strtod_l.c: Include <tininess.h>.
27114 (round_and_return): Do not set errno for exact underflow cases.
27115 Force an underflow exception when setting errno for underflow.
27116 Determine underflow based on rounding to normal precision if
27117 TININESS_AFTER_ROUNDING.
27118 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27119 ERANGE for exact underflow cases.
27120 * stdlib/Makefile (tests): Add tst-tininess and
27121 tst-strtod-underflow.
27122 ($(objpfx)tst-tininess): Use $(link-libm).
27123 ($(objpfx)tst-strtod-underflow): Likewise.
27125 2012-10-30 Andreas Jaeger <aj@suse.de>
27128 * elf/Makefile (tests): Remove conditional for have-initfini-array
27129 since this is now always required and the variable does not exist
27131 (tests-static): Likewise.
27132 (modules-names): Likewise.
27134 * po/eo.po: Add Esperanto translation from translation project.
27136 * elf/tst-array1.c (fini_array): Make writeable so that it can be
27137 merged with constructor/destructor.
27138 (init_array): Likewise.
27139 * elf/tst-array2dep.c (fini_array): Likewise.
27140 (init_array): Likewise.
27142 2012-10-29 Mike Frysinger <vapier@gentoo.org>
27144 * manual/message.texi: Delete @cartouche tags.
27146 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
27148 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27150 * sysdeps/mach/hurd/fsync.c: Likewise.
27152 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27153 [_POSIX_REALTIME_SIGNALS]: Change condition to
27154 [_POSIX_REALTIME_SIGNALS > 0].
27156 2012-10-27 Andreas Jaeger <aj@suse.de>
27158 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27159 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27160 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27161 [__WORDSIZE != 64]: Likewise.
27163 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
27165 * iconvdata/tst-table.sh: Remove ${SHELL}.
27166 * iconvdata/tst-tables.sh: Likewise.
27168 2012-10-25 David S. Miller <davem@davemloft.net>
27170 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27171 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27174 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27176 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27177 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27178 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27181 2012-10-25 Roland McGrath <roland@hack.frob.com>
27183 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27184 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27187 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27188 Jim Blandy <jimb@codesourcery.com>
27190 * scripts/cross-test-ssh.sh: New file.
27191 * manual/install.texi (Configuring and compiling): Document use of
27193 * INSTALL: Regenerated.
27195 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
27197 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27200 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27202 * Makeconfig (run-program-prefix): Fix comment.
27204 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27205 Jim Blandy <jimb@codesourcery.com>
27207 * Makeconfig (test-wrapper): New variable,
27208 (test-wrapper-env): Likewise.
27209 [$(cross-compiling) = yes && $(test-wrapper) != ""]
27210 (run-built-tests): Define to yes.
27211 (run-program-prefix): Use $(test-wrapper).
27212 (built-program-cmd): Likewise.
27213 * Rules (make-test-out): Use $(test-wrapper-env) and
27214 $(host-built-program-cmd).
27215 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27216 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27218 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27219 $(test-wrapper-env) to tst-rtld-load-self.sh.
27220 ($(objpfx)order2.out): Use $(test-wrapper).
27221 ($(objpfx)tst-initorder.out): Likewise.
27222 ($(objpfx)tst-initorder2.out): Likewise.
27223 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27224 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27225 (test_wrapper_env): New variable. Use it to run ld.so.
27226 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27227 Use it to run ld.so.
27228 (test_wrapper_env): Likewise.
27229 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27230 $(test-wrapper) to run-iconv-test.sh.
27231 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27232 (ICONV): Use $test_wrapper.
27233 * posix/Makefile ($(objpfx)globtest.out): Pass
27234 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27235 globtest.sh, not $(run-program-prefix).
27236 * posix/globtest.sh (run_via_rtld_prefix): New variable.
27237 (test_wrapper): Likewise.
27238 (test_wrapper_env): Likewise. Use it to run globtest with HOME
27239 set together with run_via_rtld_prefix.
27240 (run_program_prefix): Define in terms of test_wrapper and
27241 run_via_rtld_prefix.
27243 2012-10-24 Roland McGrath <roland@hack.frob.com>
27245 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27246 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27250 * include/time.h: Remove librt_hidden_proto (clock_gettime).
27251 Declare __clock_getres, __clock_gettime, __clock_settime,
27252 __clock_nanosleep, and __clock_getcpuclockid.
27253 * rt/clock_gettime.c: Define __clock_gettime as an alias.
27254 Remove librt_hidden_def (clock_gettime).
27255 * sysdeps/unix/clock_gettime.c: Likewise.
27256 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27257 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27258 * rt/clock_getres.c: Define __clock_getres as an alias.
27259 * sysdeps/posix/clock_getres.c: Likewise.
27260 * rt/clock_settime.c: Define __clock_settime as an alias.
27261 * sysdeps/unix/clock_settime.c: Likewise.
27262 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27263 * sysdeps/unix/clock_nanosleep.c: Likewise.
27264 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27265 * rt/clock-compat.c: New file.
27266 * rt/Makefile (librt-routines): Add clock-compat and move
27267 $(clock-routines) to ...
27268 (routines): ... here, new variable.
27269 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27270 Don't add get_clockfreq here.
27271 * rt/Versions (libc: GLIBC_2.17): New version set.
27272 Add clock_* symbols here.
27273 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27274 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27275 (GLIBC_2.17): Add clock_* symbols.
27276 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27278 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27286 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27287 * NEWS: Mention the move.
27289 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27290 Use __open, __read, __close rather than their public counterparts.
27291 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27292 (__get_clockfreq_via_cpuinfo): Likewise.
27293 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27294 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27296 * config.h.in (HAVE_IFUNC): New #undef.
27297 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27299 * configure: Regenerated.
27301 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27303 * configure.in: Move READELF check to start of file.
27304 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27305 libc_cv_asm_gnu_indirect_function in the process.
27306 * configure: Regenerated.
27308 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27310 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27311 send the output to /dev/null.
27312 (libc_cv_cc_with_libunwind): Likewise.
27313 (libc_cv_as_noexecstack): Likewise.
27314 * configure: Regenerate.
27316 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27318 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27320 * posix/globtest.sh (TMPDIR): Do not set.
27321 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27322 (testout): Likewise.
27324 2012-10-24 Andreas Jaeger <aj@suse.de>
27326 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27327 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27328 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27329 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27330 posix_fadvise64, posix_fallocate64.
27332 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27333 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27334 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27336 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27338 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27340 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27341 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27342 <bits/fcntl-linux.h>.
27343 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27345 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27346 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27347 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27348 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27349 [__WORDSIZE != 64]: Likewise.
27351 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27353 * Makeconfig (run-built-tests): New variable.
27354 * Rules [$(cross-compiling) = yes]: Change condition to
27355 [$(run-built-tests) = no].
27356 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27357 to [$(run-built-tests) = yes].
27358 * elf/Makefile [$(cross-compiling) = no]: Likewise
27359 * grp/Makefile [$(cross-compiling) = no]: Likewise.
27360 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27361 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27362 * intl/Makefile [$(cross-compiling) = no]: Likewise.
27363 * io/Makefile [$(cross-compiling) = no]: Likewise.
27364 * libio/Makefile [$(cross-compiling) = no]: Likewise.
27365 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27366 * misc/Makefile [$(cross-compiling) = no]: Likewise.
27367 * posix/Makefile [$(cross-compiling) = no]: Likewise.
27368 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27369 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27370 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27371 * string/Makefile [$(cross-compiling) = no]: Likewise.
27373 * posix/Makefile ($(objpfx)globtest.out): Pass
27374 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27375 $(rtld-installed-name).
27376 * posix/globtest.sh (elf_objpfx): Remove variable.
27377 (rtld_installed_name): Likewise.
27378 (library_path): Likewise.
27379 (run_program_prefix): New variable. Use for running globtest
27382 2012-10-23 Jim Blandy <jimb@codesourcery.com>
27383 Joseph Myers <joseph@codesourcery.com>
27385 * Makeconfig (host-built-program-cmd): New variable.
27386 * elf/Makefile (tst-stackguard1-ARGS): Use
27387 $(host-built-program-cmd).
27388 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27389 (tst-spawn-ARGS): Likewise.
27390 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27392 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27393 Jim Blandy <jimb@codesourcery.com>
27395 * Makeconfig (run-via-rtld-prefix): New variable.
27396 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27397 (built-program-cmd): Likewise.
27399 2012-10-22 Andreas Jaeger <aj@suse.de>
27401 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27402 __O_RSYNC if it exists, otherwise to O_SYNC.
27404 2012-10-22 Jim Blandy <jimb@codesourcery.com>
27405 Joseph Myers <joseph@codesourcery.com>
27407 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27409 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27411 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27414 2012-10-22 Andreas Jaeger <aj@suse.de>
27416 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27418 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27420 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27421 bits/fcntl-linux.h.
27423 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27424 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27426 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27428 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27431 2012-10-21 Jim Blandy <jimb@codesourcery.com>
27432 Joseph Myers <joseph@codesourcery.com>
27434 * config.make.in (NM): New variable.
27436 2012-10-21 Andreas Jaeger <aj@suse.de>
27438 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27439 definitions and declarations that are provided by
27440 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27442 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27445 * elf/Makefile (tests-static): Add tst-leaks1-static.
27446 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27447 ($(objpfx)tst-leaks1-static): New rule.
27448 ($(objpfx)tst-leaks1-static-mem): Likewise.
27449 (tst-leaks1-static-ENV): New macro.
27450 * elf/dl-open.c (dl_open_worker): Check the main application
27451 only if SHARED is defined.
27452 * elf/tst-leaks1-static.c: New file.
27454 2012-10-20 Andreas Jaeger <aj@suse.de>
27456 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27457 generic values for Linux.
27458 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27459 and declarations that are provided by <bits/fcntl-linux.h> and
27460 include <bits/fcntl-linux.h>.
27461 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27462 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27464 2012-10-20 Roland McGrath <roland@hack.frob.com>
27466 * io/fcntl.h: Move include of <bits/types.h> to the top and
27467 include it unconditionally.
27469 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27471 * wcsmbs/Makefile (tests-ifunc): New variable.
27472 (tests): Add $(tests-ifunc).
27473 * wcsmbs/test-wcschr-ifunc.c: New file.
27474 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27475 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27476 * wcsmbs/test-wcslen-ifunc.c: Likewise.
27477 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27478 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27480 * string/Makefile (tests-ifunc): New variable.
27481 (tests): Add $(tests-ifunc).
27482 * string/test-memccpy.c (TEST_NAME): New macro.
27483 * string/test-memchr.c (TEST_NAME): Likewise.
27484 * string/test-memcmp.c (TEST_NAME): Likewise.
27485 * string/test-memcpy.c (TEST_NAME): Likewise.
27486 * string/test-memmem.c (TEST_NAME): Likewise.
27487 * string/test-memmove.c (TEST_NAME): Likewise.
27488 * string/test-memset.c (TEST_NAME): Likewise.
27489 * string/test-rawmemchr.c (TEST_NAME): Likewise.
27490 * string/test-stpcpy.c (TEST_NAME): Likewise.
27491 * string/test-stpncpy.c (TEST_NAME): Likewise.
27492 * string/test-strcasecmp.c (TEST_NAME): Likewise.
27493 * string/test-strcasestr.c (TEST_NAME): Likewise.
27494 * string/test-strcat.c (TEST_NAME): Likewise.
27495 * string/test-strchr.c (TEST_NAME): Likewise.
27496 * string/test-strcmp.c(TEST_NAME): Likewise.
27497 * string/test-strcpy.c (TEST_NAME): Likewise.
27498 * string/test-strcspn.c (TEST_NAME): Likewise.
27499 * string/test-strlen.c (TEST_NAME): Likewise.
27500 * string/test-strncasecmp.c (TEST_NAME): Likewise.
27501 * string/test-strncmp.c (TEST_NAME): Likewise.
27502 * string/test-strncpy.c (TEST_NAME): Likewise.
27503 * string/test-strnlen.c (TEST_NAME): Likewise.
27504 * string/test-strpbrk.c (TEST_NAME): Likewise.
27505 * string/test-strrchr.c (TEST_NAME): Likewise.
27506 * string/test-strspn.c (TEST_NAME): Likewise.
27507 * string/test-strstr.c (TEST_NAME): Likewise.
27508 * string/test-bcopy-ifunc.c: New file.
27509 * string/test-bzero-ifunc.c: Likewise.
27510 * string/test-memccpy-ifunc.c: Likewise.
27511 * string/test-memchr-ifunc.c: Likewise.
27512 * string/test-memcmp-ifunc.c: Likewise.
27513 * string/test-memcpy-ifunc.c: Likewise.
27514 * string/test-memmem-ifunc.c: Likewise.
27515 * string/test-memmove-ifunc.c: Likewise.
27516 * string/test-mempcpy-ifunc.c: Likewise.
27517 * string/test-memset-ifunc.c: Likewise.
27518 * string/test-rawmemchr-ifunc.c: Likewise.
27519 * string/test-stpcpy-ifunc.c: Likewise.
27520 * string/test-stpncpy-ifunc.c: Likewise.
27521 * string/test-strcasecmp-ifunc.c: Likewise.
27522 * string/test-strcasestr-ifunc.c: Likewise.
27523 * string/test-strcat-ifunc.c: Likewise.
27524 * string/test-strchr-ifunc.c: Likewise.
27525 * string/test-strchrnul-ifunc.c: Likewise.
27526 * string/test-strcmp-ifunc.c: Likewise.
27527 * string/test-strcpy-ifunc.c: Likewise.
27528 * string/test-strcspn-ifunc.c: Likewise.
27529 * string/test-strlen-ifunc.c: Likewise.
27530 * string/test-strncasecmp-ifunc.c: Likewise.
27531 * string/test-strncat-ifunc.c: Likewise.
27532 * string/test-strncmp-ifunc.c: Likewise.
27533 * string/test-strncpy-ifunc.c: Likewise.
27534 * string/test-strnlen-ifunc.c: Likewise.
27535 * string/test-strpbrk-ifunc.c: Likewise.
27536 * string/test-strrchr-ifunc.c: Likewise.
27537 * string/test-strspn-ifunc.c: Likewise.
27538 * string/test-strstr-ifunc.c: Likewise.
27540 * debug/Makefile (tests-ifunc): New variable.
27541 (tests): Add $(tests-ifunc).
27542 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27543 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27544 * debug/test-stpcpy_chk-ifunc.c: New file.
27545 * debug/test-strcpy_chk-ifunc.c: Likewise.
27547 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27550 * elf/dl-load.c (open_verify): Retry read if the entire ELF
27551 header is not read in.
27553 2012-10-19 Joseph Myers <joseph@codesourcery.com>
27555 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
27556 script to $(SHELL) as $<. Pass $(common-objpfx) to script
27557 directly. Pass built executable to script as
27558 $(built-program-cmd).
27559 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
27560 $testprogram without using LD_LIBRARY_PATH and $ldso.
27562 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27563 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27564 $(rtld-installed-name).
27565 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27566 (rtld_installed_name): Likewise.
27567 (library_path): Likewise.
27568 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
27569 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27570 $(run-program-prefix) to tst-tables.sh.
27571 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
27572 it to run tst-table-from and tst-table-to.
27573 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27574 Pass it to tst-table.sh.
27575 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27576 $(run-program-prefix) to tst-gettext.sh.
27577 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27579 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27581 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
27582 to run tst-gettext.
27583 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
27584 to run tst-gettext2.
27585 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
27586 to run tst-translit.
27587 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27588 $(run-program-prefix) to tst-mtrace.sh.
27589 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
27591 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27592 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27593 $(rtld-installed-name).
27594 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27595 (rtld_installed_name): Likewise.
27596 (run_program_prefix): New variable. Use it to run wordexp-test.
27598 * Makeconfig (ARCH): Remove all definitions.
27599 (machine): Likewise.
27600 [ARCH]: Remove conditional code.
27601 [!objdir]: Give error.
27602 [!objdir] (objpfx): Remove.
27603 [!objdir] (common-objpfx): Likewise.
27604 [!objdir] (common-objdir): Likewise.
27605 * configure.in (config_makefile): Remove. Hardcode Makefile in
27606 AC_CONFIG_FILES call.
27607 * configure: Regenerated.
27610 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27612 (testout): Likewise.
27614 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27615 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27616 $(rtld-installed-name).
27617 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27618 (rtld_installed_name): Likwise.
27619 (runit): Remove function.
27620 (run_getconf): New variable, Use it for running getconf binary.
27622 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
27625 * string/test-memmem.c (check_result): New function.
27626 (do_one_test): Use it.
27627 (check1): New function.
27628 (test_main): Use it.
27630 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
27632 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27634 2012-10-18 Joseph Myers <joseph@codesourcery.com>
27636 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27637 (_G_LSEEK64): Likewise.
27638 (_G_MMAP64): Likewise.
27639 (_G_FSTAT64): Likewise.
27640 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27641 (_G_LSEEK64): Likewise.
27642 (_G_MMAP64): Likewise.
27643 (_G_FSTAT64): Likewise.
27644 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27645 unconditional. Call __mmap64 directly.
27646 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27647 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
27648 __lseek64 directly.
27649 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27650 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
27652 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27653 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
27654 __lseek64 directly.
27655 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27656 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
27657 __lseek64 directly.
27658 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27659 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
27660 __lseek64 directly.
27661 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27662 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
27663 __fxstat64 directly.
27664 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27665 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27667 (freopen64) [!_G_OPEN64]: Remove conditional code.
27668 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27670 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27671 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27673 (ftello64) [!_G_LSEEK64]: Remove conditional code.
27674 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27676 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27677 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27679 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27680 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27682 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27683 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27685 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27686 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27688 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27690 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27693 * manual/memory.texi (Malloc Tunable Parameters): Add note
27694 about free list pointers overwriting some perturb bytes.
27695 Wording suggested by Roland McGrath.
27697 2012-10-17 Joseph Myers <joseph@codesourcery.com>
27699 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27700 (lgamma_test): Likewise.
27701 (tgamma_test): Likewise.
27703 2012-10-16 Florian Weimer <fweimer@redhat.com>
27706 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27707 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27709 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
27711 * NEWS: Mention BZ #14716.
27712 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27713 when removing AVAILABLE1_USES_J macro.
27715 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
27717 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27718 (__bswap_64): __uint64_t for unsigned 64-bit int.
27720 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
27722 * include/string.h (memmem): Declare libc hidden alias.
27723 * string/memmem.c (memmem): Define libc hidden alias.
27724 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27725 __read, __close instead of open, read, close.
27727 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
27729 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27730 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27732 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27733 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27734 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27736 (__rawmemchr_sse2): Likewise.
27737 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27738 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27739 (__strchr_sse2): Likewise.
27740 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27741 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27742 (__strcasecmp_sse2): Likewise.
27743 (__strncasecmp_sse2): Likewise.
27744 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27745 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27746 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27747 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27748 (__strrchr_sse2): Likewise.
27749 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27751 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27752 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27753 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27754 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27755 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27756 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27757 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27758 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27759 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27760 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27761 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27762 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27763 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27764 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27765 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27766 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27767 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27768 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27769 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27770 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27771 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27772 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27773 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27774 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27775 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27776 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27777 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27778 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27779 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27780 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27782 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27784 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27785 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27786 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27787 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27789 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27791 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27792 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27793 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27794 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27796 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27797 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27798 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27799 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27800 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27801 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27802 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27803 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27804 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27805 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27806 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27807 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27808 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27809 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27810 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27811 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27812 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27813 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27814 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27815 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27816 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27817 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27818 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27819 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27820 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27821 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27822 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27823 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27824 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27825 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27826 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27827 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27828 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27829 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27830 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27831 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27832 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27833 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27834 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27835 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27836 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27838 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27839 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27840 * include/ifunc-impl-list.h: New file.
27841 * misc/ifunc-impl-list.c: Likewise.
27842 * misc/Makefile (routines): Add ifunc-impl-list.
27843 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27844 * string/test-string.h: Include <ifunc-impl-list.h>.
27845 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27846 TEST_NAME]: New variables.
27847 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27849 (test_init): Call __libc_ifunc_impl_list to initialize
27850 func_list if TEST_IFUNC and TEST_NAME are defined.
27852 * string/Makefile (strop-tests): Add bcopy and bzero.
27853 * string/test-bcopy.c: New file.
27854 * string/test-bzero.c: Likewise.
27855 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27857 * string/test-memset.c: Support bzero test if TEST_BZERO is
27859 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27861 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27863 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27866 2012-10-10 Joseph Myers <joseph@codesourcery.com>
27868 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27869 * configure: Regenerated.
27871 * Makeconfig (+link-static-before-libc): Don't include
27872 $(link-static-libc).
27874 * libio/libio.h (_IO_pos_t): Remove.
27876 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27878 * NEWS: Add note about FIPS mode. Wording suggested by Roland
27881 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27883 * crypt/crypt-entry.c: Include fips-private.h.
27884 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27885 * crypt/md5c-test.c (main): Tolerate disabled MD5.
27886 * sysdeps/unix/sysv/linux/fips-private.h: New file.
27887 * sysdeps/generic/fips-private.h: New file, dummy fallback.
27889 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27891 * crypt/crypt-private.h: Include stdbool.h.
27892 (_ufc_setup_salt_r): Return bool.
27893 * crypt/crypt-entry.c: Include errno.h.
27894 (__crypt_r): Return NULL with EINVAL for bad salt.
27895 * crypt/crypt_util.c (bad_for_salt): New.
27896 (_ufc_setup_salt_r): Check that salt is long enough and within
27897 the specified alphabet.
27898 * crypt/badsalttest.c: New file.
27899 * crypt/Makefile (tests): Add it.
27900 ($(objpfx)badsalttest): New.
27902 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
27904 * NEWS: Add entry for BZ #14602.
27906 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27908 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27910 * math/libm-test.inc: Update comment listing what functions and
27912 (isgreater_test): New function.
27913 (isgreaterequal_test): Likewise.
27914 (isless_test): Likewise.
27915 (islessequal_test): Likewise.
27916 (islessgreater_test): Likewise.
27917 (isunordered_test): Likewise.
27918 (main): Call the new functions.
27920 2012-10-09 Roland McGrath <roland@hack.frob.com>
27922 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27923 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27924 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27925 * sysdeps/i386/configure: Regenerated.
27926 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27927 * sysdeps/mach/configure: Regenerated.
27928 * sysdeps/mach/hurd/configure: Regenerated.
27929 * sysdeps/powerpc/configure: Regenerated.
27930 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27931 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27932 * sysdeps/s390/s390-32/configure: Regenerated.
27933 * sysdeps/s390/s390-64/configure: Regenerated.
27934 * sysdeps/sh/configure: Regenerated.
27935 * sysdeps/sparc/configure: Regenerated.
27936 * sysdeps/unix/sysv/linux/configure: Regenerated.
27937 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27938 * sysdeps/x86_64/configure: Regenerated.
27940 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27941 defined. Don't check if MAP is NULL.
27943 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27945 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27946 (_G_stat64): Likewise.
27947 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27948 (_G_stat64): Likewise.
27949 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27950 instead of struct _G_stat64.
27951 * libio/fileops.c (mmap_remap_check): Likewise.
27952 (decide_maybe_mmap): Likewise.
27953 (_IO_new_file_seekoff): Likewise.
27954 (_IO_file_stat): Likewise.
27955 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27957 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27958 instead of struct _G_stat64.
27959 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27961 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
27964 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27966 (CHECK_EOL): New macro.
27967 (two_way_short_needle): Check beginning of haystack for EOL. Use
27969 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27970 Replace with CHECK_EOL.
27971 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27972 Replace with CHECK_EOL.
27974 2012-10-08 Joseph Myers <joseph@codesourcery.com>
27976 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27978 * math/libm-test.inc: Update comment listing what functions and
27980 (finite_test): New function.
27981 (isinf_test): Likewise.
27982 (isnan_test): Likewise.
27983 (fpclassify_test): Test subnormal input.
27984 (isfinite_test): Likewise.
27985 (isnormal_test): Likewise.
27986 (main): Call the new functions.
27988 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
27991 * Makerules (%.dynsym): Force C locale when running
27992 $(OBJDUMP) --dynamic-syms.
27994 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
27996 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27999 2012-10-06 David S. Miller <davem@davemloft.net>
28001 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28002 upper 32-bits of the length value in %o2 since we use branch-on-register
28003 tests which consider the entire 64-bit register.
28005 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
28007 * string/test-strstr.c (check2): Add a test for page boundary.
28009 2012-10-05 David S. Miller <davem@davemloft.net>
28011 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28012 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28014 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28016 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28017 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28018 and bzero when HWCAP_SPARC_CRYPTO is present.
28020 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
28023 * string/test-strstr.c (check2): New function.
28024 (test_main): Call check2.
28026 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28028 * string/bug-strcasestr1.c (do_test): Moved to ...
28029 * string/test-strcasestr.c (check1): Here. New function.
28030 (do_one_test): Break out result checking code into ...
28031 (check_result): This. New function.
28032 (do_one_test): Call check_result.
28033 (test_main): Call check1.
28034 * string/bug-strchr1.c (do_test): Moved to ...
28035 * string/test-strchr.c (check1): Here. New function.
28036 (do_one_test): Break out result checking code into ...
28037 (check_result): This. New function.
28038 (do_one_test): Call check_result.
28039 (test_main): Call check1.
28040 * string/bug-strstr1.c (main): Moved to ...
28041 * string/test-strstr.c (check1): Here. New function.
28042 (do_one_test): Break out result checking code into ...
28043 (check_result): This. New function.
28044 (do_one_test): Call check_result.
28045 (test_main): Call check1.
28046 * string/bug-strcasestr1.c: Removed.
28047 * string/bug-strchr1.c: Likewise.
28048 * string/bug-strstr1.c: Likewise.
28050 * elf/Makefile (dl-routines): Add hwcaps.
28051 * elf/dl-support.c (_dl_important_hwcaps): Removed.
28052 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28053 (_dl_important_hwcaps): Moved to ...
28054 * elf/dl-hwcaps.c: Here. New file.
28055 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28058 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28059 if IS_IN_rtld isn't defined.
28061 * elf/dl-support.c (_dl_sysinfo_map): New.
28062 Include "get-dynamic-info.h" and "setup-vdso.h".
28063 (_dl_non_dynamic_init): Call setup_vdso.
28064 * elf/dynamic-link.h: Don't include <assert.h>.
28065 (elf_get_dynamic_info): Moved to ...
28066 * elf/get-dynamic-info.h: Here. New file.
28067 * elf/dynamic-link.h: Include "get-dynamic-info.h".
28068 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28069 * elf/setup-vdso.h: Here. New file.
28070 * elf/rtld.c: Include "setup-vdso.h".
28071 (dl_main): Call setup_vdso.
28073 2012-10-05 Joseph Myers <joseph@codesourcery.com>
28075 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28076 creal in comment listing functions tested. List finite, isinf,
28077 isnan, isless, islessequal, isgreater, isgreaterequal,
28078 islessgreater, isunordered, lgamma_r and pow10 as functions and
28079 macros not tested. Mention which functions not tested are aliases
28080 for other functions. Fix typo. Note that signs of NaNs are not
28083 * scripts/config.guess: Update from config.git.
28084 * scripts/config.sub: Likewise.
28086 2012-10-04 Roland McGrath <roland@hack.frob.com>
28088 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28089 * misc/madvise.c (madvise): Renamed to __madvise.
28090 Make madvise a weak alias.
28091 * include/sys/mman.h: Declare __madvise.
28092 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28093 * sysdeps/unix/syscalls.list
28094 (madvise): Make __madvise the strong name, and madvise a weak alias.
28095 * sysdeps/unix/sysv/linux/syscalls.list
28096 (madvise, mmap): Remove redundant entries.
28097 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28098 * malloc/malloc.c (mtrim): Likewise.
28099 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28101 2012-10-03 Roland McGrath <roland@hack.frob.com>
28103 * sysdeps/mach/hurd/dl-cache.c: File removed.
28104 * config.h.in (USE_LDCONFIG): New #undef.
28105 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28106 * configure: Regenerated.
28107 * elf/Makefile (dl-routines): Add dl-cache only under
28108 [$(use-ldconfig) = yes].
28109 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28110 cache on [USE_LDCONFIG].
28111 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28113 * elf/rtld.c (dl_main): Likewise.
28115 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
28117 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28118 _SC_LEVEL4_CACHE_LINESIZE.
28120 2012-10-03 Roland McGrath <roland@hack.frob.com>
28122 * sysdeps/unix/bsd/confstr.h: File removed.
28124 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
28126 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28129 2012-10-02 Roland McGrath <roland@hack.frob.com>
28131 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28132 Make 'mapoff' field ElfW(Off) rather than off_t.
28134 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
28136 * nscd/Makefile: Remove nscd-cflags and all its users.
28137 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28138 (CFLAGS-nonlib): Add compiler flags for nscd modules.
28141 * malloc.c (malloc_printerr): Clarify error message.
28143 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
28146 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28147 Set bit_FMA_Usable if FMA is supported.
28148 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28150 (bit_FMA4_Usable): Updated.
28151 (index_FMA_Usable): New macro.
28152 (CPUID_FMA): Likewise
28153 (HAS_FMA): Defined with bit_FMA_Usable.
28155 2012-10-01 Roland McGrath <roland@hack.frob.com>
28157 * bits/types.h (__swblk_t): Type removed.
28158 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28159 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28160 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28161 (__SWBLK_T_TYPE): Likewise.
28162 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28163 (__SWBLK_T_TYPE): Likewise.
28164 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28165 (__SWBLK_T_TYPE): Likewise.
28166 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28167 (__SWBLK_T_TYPE): Likewise.
28169 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
28170 Honza Horak <hhorak@redhat.com>
28172 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28173 (xdr_mapname): Use YPMAXMAP as maxsize.
28174 (xdr_peername): Use YPMAXPEER as maxsize.
28175 (xdr_keydat): Use YPAXRECORD as maxsize.
28176 (xdr_valdat): Use YPMAXRECORD as maxsize.
28178 2012-10-01 Roland McGrath <roland@hack.frob.com>
28180 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28182 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28183 * csu/init-first.c: ... here.
28184 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28185 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28186 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28187 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28188 * sysdeps/i386/init-first.c: File removed.
28189 * sysdeps/sh/init-first.c: File removed.
28191 2012-10-01 Joseph Myers <joseph@codesourcery.com>
28194 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28195 if x * y might underflow to zero and z is zero.
28196 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28197 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28198 * math/libm-test.inc (min_subnorm_value): New variable.
28199 (fma_test): Add more tests.
28200 (fma_test_towardzero): Likewise.
28201 (fma_test_downward): Likewise
28202 (fma_test_upward): Likewise.
28203 (initialize): Set min_subnorm_value.
28205 2012-09-29 Joseph Myers <joseph@codesourcery.com>
28208 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28210 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28211 mode for addition resulting in exact zero.
28212 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28213 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28215 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28216 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28217 * math/libm-test.inc (fma_test): Add more tests.
28218 (fma_test_towardzero): New function.
28219 (fma_test_downward): Likewise.
28220 (fma_test_upward): Likewise.
28221 (main): Call the new functions.
28223 2012-09-28 David S. Miller <davem@davemloft.net>
28225 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28227 2012-09-28 Roland McGrath <roland@hack.frob.com>
28229 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28230 instead of SIGALRM.
28232 * sysdeps/gnu/_G_config.h: Moved to ...
28233 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28234 * sysdeps/mach/hurd/_G_config.h: Moved to ...
28235 * sysdeps/generic/_G_config.h: ... here.
28237 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
28239 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28241 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28242 Conditionalize target on [libnss_test1.so-version].
28244 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28246 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28247 (elfobjdir): Move out of conditionals.
28249 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28250 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28251 (__nss_lookup_function): Conditionalize label remove_from_tree on
28252 [!DO_STATIC_NSS || SHARED], matching its only use.
28254 2012-09-28 David S. Miller <davem@davemloft.net>
28256 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28257 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28259 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28261 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28262 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28263 when HWCAP_SPARC_CRYPTO is present.
28265 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28267 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28269 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28272 * stdio-common/vfprintf.c (process_string_arg): Revert
28275 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28277 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28279 * stdio-common/tst-sprintf.c: Include <locale.h>
28280 (main): Test sprintf's handling of incomplete multibyte
28283 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28285 * elf/dl-runtime.c (VERSYMIDX): Removed.
28286 * elf/dl-version.c (VERSYMIDX): Likewise.
28287 * elf/do-rel.h (VERSYMIDX): Likewise.
28288 (VALIDX): Likewise.
28289 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28290 * elf/rtld.c (VALIDX): Likewise.
28291 (ADDRIDX): Likewise.
28292 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28293 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28294 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28295 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28296 (VALIDX): Likewise.
28297 (ADDRIDX): Likewise.
28299 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28301 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28303 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28306 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28308 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28309 addresses are in the same scope as 192.0.2/24.
28310 * posix/gai.conf: Document new scope table defaults.
28312 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28315 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28316 for ftell. Compute offsets from write pointers instead.
28317 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28319 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28322 * libio/Makefile (tests): New test case tst-fseek.
28323 * libio/tst-fseek.c: New test case to verify that fseek/ftell
28324 combination works in wide mode.
28325 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28326 state when the external buffer state changes.
28328 2012-09-27 David S. Miller <davem@davemloft.net>
28331 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28332 pass reloc->r_addend in as the 'high' argument to
28333 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28337 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28339 * rt/tst-aio2.c: Include <pthread.h>.
28340 * rt/tst-aio3.c: Likewise.
28342 2012-09-27 Steve Ellcey <sellcey@mips.com>
28344 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28346 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
28348 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28349 contents on [SHARED].
28351 2012-09-26 Marek Polacek <polacek@redhat.com>
28355 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28356 for C++ and GCC <4.3 as well as for non GCC compilers.
28358 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28360 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28362 2012-09-25 Roland McGrath <roland@hack.frob.com>
28364 * Makefile.in (all, install): Declare with .PHONY.
28365 Reported by Michael Hope <michael.hope@linaro.org>.
28367 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28369 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28370 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28372 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28374 (sydep_routines): Add the new and the internal functions.
28375 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28376 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28378 (GLIBC_2.17): Add the new function.
28379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28380 (GLIBC_2.17): Likewise.
28381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28382 (GLIBC_2.17): Likewise.
28383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28384 (GLIBC_2.17): Likewise.
28385 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28387 2012-09-25 Alan Modra <amodra@gmail.com>
28389 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28390 Add release barrier before setting once_control to say
28391 initialisation is done. Add hints on lwarx. Use macro in
28393 (clear_once_control): Add release barrier.
28395 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28398 * math/s_clog.c (__clog): Handle more values close to |z| = 1
28400 * math/s_clog10.c (__clog10): Likewise.
28401 * math/s_clog10f.c (__clog10f): Likewise.
28402 * math/s_clog10l.c (__clog10l): Likewise.
28403 * math/s_clogf.c (__clogf): Likewise.
28404 * math/s_clogl.c (__clogl): Likewise.
28405 * math/Makefile (libm-calls): Add x2y2m1.
28406 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28407 (__x2y2m1): Likewise.
28408 (__x2y2m1l): Likewise.
28409 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28410 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28411 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28412 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28413 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28414 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28415 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28416 * sysdeps/i386/fpu/libm-test-ulps: Update.
28417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28420 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28421 int as type of variable DEPTH.
28422 (glob): Use size_t instead of int as type of variables NEWCOUNT
28425 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28427 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28428 Add s_sincosf-sse2.
28429 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28430 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28431 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28432 macros for using routine as __sincosf_ia32.
28433 Use macro for function declaration and weak_alias.
28434 * sysdeps/i386/fpu/libm-test-ulps: Update.
28436 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28437 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28439 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28440 subnormal argument.
28441 * math/s_cexpf.c (__cexpf): Likewise.
28442 * math/s_csinf.c (__csinf): Likewise.
28443 * math/s_csinhf.c (__csinhf): Likewise.
28444 * math/s_ctanf.c (__ctanf): Likewise.
28445 * math/s_ctanhf.c (__ctanhf): Likewise.
28446 * math/s_ccosh.c (__ccoshf): Likewise.
28447 * math/s_cexp.c (__cexpl): Likewise.
28448 * math/s_csin.c (__csin): Likewise.
28449 * math/s_csinh.c (__csinh): Likewise.
28450 * math/s_ctan.c (__ctan): Likewise.
28451 * math/s_ctanh.c (ctanh): Likewise.
28452 * math/s_ccoshl.c (__ccoshl): Likewise.
28453 * math/s_cexpl.c (__cexpl): Likewise.
28454 * math/s_csinl.c (__csinl): Likewise.
28455 * math/s_csinhl.c (__csinhl): Likewise.
28456 * math/s_ctanl.c (__ctanl): Likewise.
28457 * math/s_ctanhl.c (__ctanhl): Likewise.
28459 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28461 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28462 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28463 (_IO_off_t): Define to __off_t, not _G_off_t.
28464 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28465 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28466 (_IO_wint_t): Define to wint_t, not _G_wint_t.
28467 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28468 type of __dummy and __dummy2 fields.
28469 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28470 (_G_ssize_t): Likewise.
28471 (_G_off_t): Likewise.
28472 (_G_pid_t): Likewise.
28473 (_G_uid_t): Likewise.
28474 (_G_wchar_t): Likewise.
28475 (_G_wint_t): Likewise.
28476 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28477 (_G_ssize_t): Likewise.
28478 (_G_off_t): Likewise.
28479 (_G_pid_t): Likewise.
28480 (_G_uid_t): Likewise.
28481 (_G_wchar_t): Likewise.
28482 (_G_wint_t): Likewise.
28483 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28484 (_G_ssize_t): Likewise.
28485 (_G_off_t): Likewise.
28486 (_G_pid_t): Likewise.
28487 (_G_uid_t): Likewise.
28488 (_G_wchar_t): Likewise.
28489 (_G_wint_t): Likewise.
28491 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28493 * malloc/arena.c: Include malloc-sysdep.h.
28494 (shrink_heap): Use check_may_shrink_heap to decide if madvise
28495 is sufficient to shrink the heap or an unmap is needed.
28496 * sysdeps/generic/malloc-sysdep.h: New file. Define
28497 new function check_may_shrink_heap.
28498 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
28499 new function check_may_shrink_heap.
28501 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28503 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28506 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
28508 * catgets/test-gencat.sh: Add "set -e".
28509 * elf/tst-pathopt.sh: Likewise.
28510 * grp/tst_fgetgrent.sh: Likewise.
28511 * iconvdata/run-iconv-test.sh: Likewise.
28512 * intl/tst-gettext.sh: Likewise.
28513 * intl/tst-gettext2.sh: Likewise.
28514 * intl/tst-gettext4.sh: Likewise.
28515 * intl/tst-gettext6.sh: Likewise.
28516 * intl/tst-translit.sh: Likewise.
28517 * io/ftwtest-sh: Likewise.
28518 * libio/test-freopen.sh: Likewise.
28519 * malloc/tst-mtrace.sh: Likewise.
28520 * posix/globtest.sh: Likewise.
28521 * posix/tst-getconf.sh: Likewise.
28522 * posix/wordexp-tst.sh: Likewise.
28523 * stdio-common/tst-printf.sh: Likewise.
28524 * stdio-common/tst-unbputc.sh: Likewise.
28525 * stdlib/tst-fmtmsg.sh: Likewise.
28526 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28527 * catgets/Makefile: Do not specify -e option when running
28528 testsuite shell scripts.
28529 * elf/Makefile: Likewise.
28530 * grp/Makefile: Likewise.
28531 * iconvdata/Makefile: Likewise.
28532 * intl/Makefile: Likewise.
28533 * io/Makefile: Likewise.
28534 * libio/Makefile: Likewise.
28535 * malloc/Makefile: Likewise.
28536 * posix/Makefile: Likewise.
28537 * stdio-common/Makefile: Likewise.
28538 * stdlib/Makefile: Likewise.
28539 * sysdeps/x86_64/Makefile: Likewise.
28541 * io/ftwtest-sh: Add copyright header.
28542 * posix/globtest.sh: Likewise.
28543 * posix/tst-getconf.sh: Likewise.
28544 * posix/wordexp-tst.sh: Likewise.
28545 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28547 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
28550 * Makeconfig (+link): Defined as $(+link-static) if
28551 $(build-shared) isn't yes.
28552 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28554 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28556 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28559 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28560 new chunk size with MALLOC_ALIGN_MASK.
28562 2012-09-24 Joseph Myers <joseph@codesourcery.com>
28565 * stdio-common/printf_fphex.c: Include <stdbool.h> and
28567 (__printf_fphex): Determine rounding using get_rounding_mode and
28569 * stdio-common/tst-printf-round.c (struct hex_test): New
28571 (hex_tests): New variable.
28572 (test_hex_in_one_mode): New function.
28573 (do_test): Also run tests for hex float output.
28575 2012-09-21 Joseph Myers <joseph@codesourcery.com>
28577 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28578 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28579 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28580 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28581 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28582 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28583 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28584 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28586 2012-09-20 Joseph Myers <joseph@codesourcery.com>
28588 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28589 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28590 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28591 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28593 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
28596 * elf/rtld.c (dl_main): Limit the check for self loading to normal
28598 * elf/tst-rtld-load-self.sh: New test.
28599 * elf/Makefile: Run it.
28601 2012-09-18 Joseph Myers <joseph@codesourcery.com>
28603 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28604 (tst-writev-ENV): Remove.
28605 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28607 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
28609 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28611 2012-09-17 Joseph Myers <joseph@codesourcery.com>
28613 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28615 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28617 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28618 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28619 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28622 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
28625 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28626 * config.make.in (have-cpp-asm-debuginfo): Removed.
28627 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28628 * configure: Regenerated.
28630 2012-09-14 Joseph Myers <joseph@codesourcery.com>
28633 * stdio-common/printf_fp.c: Include <stdbool.h> and
28635 (___printf_fp): Determine rounding using get_rounding_mode and
28637 * stdio-common/tst-printf-round.c: New file.
28638 * stdio-common/Makefile (tests): Add tst-printf-round.
28639 (link-libm): New variable.
28640 ($(objpfx)tst-printf-round): Depend in $(link-libm).
28642 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
28645 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28646 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28648 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28651 2012-09-13 Joseph Myers <joseph@codesourcery.com>
28653 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28654 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28655 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28656 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28658 2012-09-12 Joseph Myers <joseph@codesourcery.com>
28661 * include/rounding-mode.h: New file.
28662 * sysdeps/generic/get-rounding-mode.h: Likewise.
28663 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28664 * stdlib/strtod_l.c: Include <rounding-mode.h>.
28665 (MAX_VALUE): New macro.
28666 (MIN_VALUE): Likewise.
28667 (overflow_value): New function.
28668 (underflow_value): Likewise.
28669 (round_and_return): Use overflow_value and underflow_value to
28670 determine return values in overflow and underflow cases. Use
28671 round_away to determine rounding depending on rounding mode.
28672 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28673 determine return values in overflow and underflow cases.
28674 * stdlib/tst-strtod-round.c: Include <fenv.h>.
28675 (struct test_results): New structure.
28676 (struct test): Use struct test_results to store expected results
28677 for all rounding modes.
28678 (TEST): Include expected results for all rounding modes.
28679 (test_in_one_mode): New function.
28680 (do_test): Use test_in_one_mode to compute and check results.
28681 Check results for all rounding modes.
28682 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28685 2012-12-09 Allan McRae <allan@archlinux.org>
28687 * sysdeps/i386/fpu/libm-test-ulps: Update
28689 2012-09-11 Joseph Myers <joseph@codesourcery.com>
28691 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28692 (_G_int32_t): Likewise.
28693 (_G_uint16_t): Likewise.
28694 (_G_uint32_t): Likewise.
28695 (_G_HAVE_BOOL): Likewise.
28696 (_G_HAVE_ATEXIT): Likewise.
28697 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28698 (_G_HAVE_IO_FILE_OPEN): Likewise.
28699 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28700 (_G_int32_t): Likewise.
28701 (_G_uint16_t): Likewise.
28702 (_G_uint32_t): Likewise.
28703 (_G_HAVE_BOOL): Likewise.
28704 (_G_HAVE_ATEXIT): Likewise.
28705 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28706 (_G_HAVE_IO_FILE_OPEN): Likewise.
28707 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28708 (_G_int32_t): Likewise.
28709 (_G_uint16_t): Likewise.
28710 (_G_uint32_t): Likewise.
28711 (_G_HAVE_BOOL): Likewise.
28712 (_G_HAVE_ATEXIT): Likewise.
28713 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28714 (_G_HAVE_IO_FILE_OPEN): Likewise.
28716 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
28718 * csu/libc-tls.c: Update copyright years.
28720 2012-09-10 Joseph Myers <joseph@codesourcery.com>
28722 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28723 [!_G_USING_THUNKS]: Remove conditional code.
28724 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28725 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28727 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28728 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28729 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28730 (_G_VTABLE_LABEL_PREFIX): Likewise.
28731 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28732 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28733 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28734 (_G_VTABLE_LABEL_PREFIX): Likewise.
28735 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28736 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28737 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28738 (_G_VTABLE_LABEL_PREFIX): Likewise.
28739 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28741 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
28743 * libio/Makefile: Include ../Makeconfig before tests.
28744 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28745 only if $(build-shared) is yes.
28747 * iconv/gconv_db.c: Update copyright years.
28749 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28751 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28752 unwind info if defined PIC. Fix special cases description.
28753 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28755 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28757 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28759 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
28761 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28763 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28766 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28767 (LDLIBS-tst-chk4): This.
28768 (LDFLAGS-tst-chk5): Renamed to ...
28769 (LDLIBS-tst-chk5): This.
28770 (LDFLAGS-tst-chk6): Renamed to ...
28771 (LDLIBS-tst-chk6): This.
28772 (LDFLAGS-tst-lfschk4): Renamed to ...
28773 (LDLIBS-tst-lfschk4): This.
28774 (LDFLAGS-tst-lfschk5): Renamed to ...
28775 (LDLIBS-tst-lfschk5): This.
28776 (LDFLAGS-tst-lfschk6): Renamed to ...
28777 (LDLIBS-tst-lfschk6): This.
28779 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28780 on $(common-objpfx)soversions.mk.
28782 2012-09-07 Joseph Myers <joseph@codesourcery.com>
28785 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28788 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28790 * malloc/arena.c (arena_get_retry): New function that gets
28791 another arena for the caller to try its request on.
28792 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28793 current arena cannot fulfill the request.
28794 (__libc_memalign): Likewise.
28795 (__libc_memalign): Likewise.
28796 (__libc_pvalloc): Likewise.
28797 (__libc_calloc): Likewise.
28799 2012-09-05 John Tobey <john.tobey@gmail.com>
28802 * manual/arith.texi (Operations on Complex): Fix description
28803 of carg branch cut.
28805 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28808 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28812 * manual/memory.texi (Memory): Make order of menu items match
28815 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28817 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28818 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
28819 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28821 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28823 * csu/libc-tls.c (static_dtv): Renamed to ...
28824 (_dl_static_dtv): This. Make it global.
28825 (_dl_initial_dtv): Removed.
28826 (__libc_setup_tls): Updated.
28827 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28828 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28831 2012-09-06 Petr Machata <pmachata@redhat.com>
28833 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28834 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28835 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28836 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28838 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28841 * csu/libc-tls.c (_dl_initial_dtv): New variable.
28842 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28845 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28848 * Makeconfig (link-static-before-libc): Replace $(+prector)
28850 (link-static-after-libc): Replace $(+postctor) with
28852 (link-bounded): Replace $(+prector)/$(+postctor) with
28853 $(+prectorT)/$(+postctorT).
28854 (+prectorT): New macro.
28855 (+postctorT): Likewise.
28857 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28859 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28860 (round_str): Handle values above the maximum for IBM long double
28862 * stdlib/tst-strtod-round.c (tests): Regenerated.
28864 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28866 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28868 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28869 zarch_nohighgprs around the zarch optimized routines.
28870 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28871 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28872 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28875 2012-09-05 David S. Miller <davem@davemloft.net>
28877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28879 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28880 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28881 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28882 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28885 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28887 * malloc/arena.c: Fold copyright years.
28888 * malloc/mcheck.c, malloc/memusage.c: Likewise.
28890 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28892 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28894 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28896 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
28898 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28900 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28901 change internal state upon failure.
28903 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28905 * malloc/mcheck.c (mcheck_check_all): Fix typo.
28906 * malloc/memusage.c (mmap): Likewise.
28907 (mmap64, mremap): Likewise. Adjust name in comment.
28909 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28911 * libio/fileops.c: Fix typos in comments.
28912 * libio/oldfileops.c: Likewise.
28913 * libio/wfileops.c: Likewise.
28915 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28918 * malloc/Makefile (tests): Add tst-malloc-usable test case.
28919 (tst-malloc-usable-ENV): Set environment for test case.
28920 * malloc/hooks.c (malloc_check_get_size): New function to get
28922 * malloc/malloc.c (musable): Use malloc_check_get_size.
28923 * malloc/tst-malloc-usable.c: New test case.
28925 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28927 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28929 2012-09-05 Allan McRae <allan@archlinux.org>
28932 * configure.in (CXX_SYSINCLUDES): Use compiler output to
28933 determine header location.
28934 * configure: Regenerated.
28936 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28938 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28940 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
28941 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28943 (test): Regenerate.
28945 2012-09-04 David S. Miller <davem@davemloft.net>
28947 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28948 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28949 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28951 2012-09-04 Florian Weimer <fweimer@redhat.com>
28953 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28956 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28958 2012-09-04 Joseph Myers <joseph@codesourcery.com>
28961 * libio/iogetdelim.c: Include <limits.h>.
28962 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28963 + len + 1 would overflow.
28965 2012-09-03 Andreas Jaeger <aj@suse.de>
28967 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28968 * sysdeps/i386/fpu/libm-test-ulps: Update.
28970 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28972 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28973 Add s_sinf-sse2, s_conf-sse2.
28975 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28976 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28977 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28978 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28980 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28981 for using routine as __sinf_ia32.
28982 Use macro for function declaration and weak_alias.
28983 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28984 for using routine as __cosf_ia32.
28985 Use macro for function declaration and weak_alias.
28987 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28988 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28990 * sysdeps/x86_64/fpu/s_sinf.S: New file.
28991 * sysdeps/x86_64/fpu/s_cosf.S: New file.
28992 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28994 * math/libm-test.inc (cos_test): Add more test cases.
28995 (sin_test): Likewise.
28996 (sincos_test): Likewise.
28998 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29000 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29001 (IFUNC_RESOLVE): Make pointers to the specialized implementations
29003 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29005 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
29008 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29009 first element of the GOT.
29010 (elf_machine_load_address): Return the difference between
29011 the runtime address of _DYNAMIC and elf_machine_dynamic ().
29013 2012-09-01 Allan McRae <allan@archlinux.org>
29016 * configure.in (AWK): Require gawk version 3.0 or later.
29017 * configure: Regenerated.
29019 2012-09-01 Joseph Myers <joseph@codesourcery.com>
29021 * sysdeps/unix/sysv/linux/kernel-features.h
29022 (__ASSUME_POSIX_CPU_TIMERS): Remove.
29023 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29024 [__NR_clock_getres]: Make code unconditional.
29025 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29026 (clock_getcpuclockid): Remove code left unreachable by removal of
29028 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29029 code unconditional.
29030 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29031 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29032 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29033 Make code unconditional.
29034 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29035 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29036 * sysdeps/unix/sysv/linux/clock_settime.c
29037 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29039 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29040 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29042 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
29045 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29046 scripts/test-installation.pl.
29048 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29049 and $ld_so_version if it is set.
29051 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29054 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29055 failure if reading from procfs failed.
29056 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29058 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29060 * sysdeps/unix/sysv/linux/kernel-features.h
29061 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29062 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29063 Remove conditional code.
29064 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29065 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29066 Remove conditional code.
29067 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29068 * sysdeps/unix/sysv/linux/i386/fxstat.c
29069 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29070 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29071 * sysdeps/unix/sysv/linux/i386/fxstatat.c
29072 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29073 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29074 * sysdeps/unix/sysv/linux/i386/lxstat.c
29075 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29076 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29077 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29078 Remove conditional code.
29079 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29080 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29081 Remove conditional code.
29082 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29083 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29084 <kernel-features.h>.
29085 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29087 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29088 Remove conditional code.
29089 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29090 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29091 Remove conditional.
29093 2012-08-27 Mike Frysinger <vapier@gentoo.org>
29096 * NEWS: Add fixed bug number.
29098 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29101 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29102 underflowing exponent in case of negative sign.
29103 * stdlib/tst-strtod-round-data: Add more tests.
29104 * stdlib/tst-strtod-round.c (tests): Regenerated.
29107 * stdlib/strtod_l.c (NDIG): Remove.
29108 (HEXNDIG): Likewise.
29109 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29110 smallest representable value.
29111 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29112 lie within an exact representation of 1/2 ulp of the result.
29113 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29115 (TENS_P9_IDX): Define unconditionally.
29116 (TENS_P9_SIZE): Likewise.
29117 (TENS_P10_IDX): Likewise.
29118 (TENS_P10_SIZE): Likewise.
29119 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29120 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29121 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29122 entries for 10^2^13 and 10^2^14.
29123 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29124 (TENS_P13_IDX): Define.
29125 (TENS_P13_SIZE): Likewise.
29126 (TENS_P14_IDX): Likewise.
29127 (TENS_P14_SIZE): Likewise.
29128 (_fpioconst_pow10): Change array size to
29129 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
29131 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29132 1024]: Add entries for 10^2^13 and 10^2^14.
29133 [LAST_POW10 > _LAST_POW10]: Remove #error.
29134 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29135 (_fpioconst_pow10): Change array size to
29136 FPIOCONST_POW10_ARRAY_SIZE.
29137 * stdlib/gen-fpioconst.c: New file.
29138 * stdlib/gen-tst-strtod-round.c: Likewise.
29139 * stdlib/tst-strtod-round-data: Likewise.
29140 * stdlib/tst-strtod-round.c: Likewise.
29141 * stdlib/Makefile (tests): Add tst-strtod-round.
29144 * stdlib/strtod_l.c: Include <stdint.h>.
29145 (NDEBUG): Do not define.
29146 (round_and_return): Change EXPONENT parameter to type intmax_t.
29147 Rearrange calculations to avoid internal overflow possibilities.
29148 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29149 Rearrange calculations to avoid internal overflow possibilities.
29150 Assert that number fits inside MPNSIZE limbs.
29151 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29152 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
29153 calculations and add assertions to avoid internal overflow
29154 possibilities. Add casts to avoid signed/unsigned operations.
29155 * stdlib/tst-strtod-overflow.c: New file.
29156 * stdlib/Makefile (tests): Add tst-strtod-overflow.
29158 2012-08-25 Marek Polacek <polacek@redhat.com>
29160 * time/time.h: Fix some typos in comments.
29162 2012-08-23 Roland McGrath <roland@hack.frob.com>
29164 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29165 * posix/tst-rfc3484-2.c: Likewise.
29166 * posix/tst-rfc3484-3.c: Likewise.
29168 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
29170 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29171 (EF_ARM_ABI_FLOAT_HARD): Likewise.
29173 2012-08-23 Joseph Myers <joseph@codesourcery.com>
29175 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29176 #include of fxstatat64.c.
29178 2012-08-22 Roland McGrath <roland@hack.frob.com>
29180 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29181 * shadow/getspent_r.c: Likewise.
29182 * shadow/getspnam.c: Likewise.
29183 * shadow/getspnam_r.c: Likewise.
29184 * gshadow/getsgent.c: Likewise.
29185 * gshadow/getsgent_r.c: Likewise.
29186 * gshadow/getsgnam.c: Likewise.
29187 * gshadow/getsgnam_r.c: Likewise.
29188 * inet/getnetbyad.c: Likewise.
29189 * inet/getnetbyad_r.c: Likewise.
29190 * inet/getnetbynm.c: Likewise.
29191 * inet/getnetbynm_r.c: Likewise.
29192 * inet/getnetent.c: Likewise.
29193 * inet/getnetent_r.c: Likewise.
29194 * inet/getproto.c: Likewise.
29195 * inet/getproto_r.c: Likewise.
29196 * inet/getprtent.c: Likewise.
29197 * inet/getprtent_r.c: Likewise.
29198 * inet/getprtname.c: Likewise.
29199 * inet/getprtname_r.c: Likewise.
29200 * inet/getrpcbyname.c: Likewise.
29201 * inet/getrpcbyname_r.c: Likewise.
29202 * inet/getrpcbynumber.c: Likewise.
29203 * inet/getrpcbynumber_r.c: Likewise.
29204 * inet/getrpcent.c: Likewise.
29205 * inet/getrpcent_r.c: Likewise.
29206 * inet/getaliasent.c: Likewise.
29207 * inet/getaliasent_r.c: Likewise.
29208 * inet/getaliasname.c: Likewise.
29209 * inet/getaliasname_r.c: Likewise.
29210 * nscd/getgrgid_r.c: Likewise.
29211 * nscd/getgrnam_r.c: Likewise.
29212 * nscd/gethstbyad_r.c: Likewise.
29213 * nscd/gethstbynm3_r.c: Likewise.
29214 * nscd/getpwnam_r.c: Likewise.
29215 * nscd/getpwuid_r.c: Likewise.
29216 * nscd/getsrvbynm_r.c: Likewise.
29217 * nscd/getsrvbypt_r.c: Likewise.
29218 * nscd/gai.c: Likewise.
29220 * configure.in (build_nscd): New substituted variable, set
29221 by --disable-build-nscd and defaults to $use_nscd.
29222 * configure: Regenerated.
29223 * config.make.in (build-nscd): New substituted variable.
29224 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29225 Change conditional to require [$(build-nscd) = yes] as well.
29226 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29229 * configure.in (use_nscd): New substituted variable, set by
29230 --disable-nscd. If enabled, define USE_NSCD.
29231 * configure: Regenerated.
29232 * config.h.in: Add USE_NSCD.
29233 * config.make.in (use-nscd): New substituted variable.
29234 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29235 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29236 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29237 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29238 (CFLAGS-getgrnam_r.c): Likewise.
29239 (CFLAGS-initgroups.c): Likewise.
29240 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29241 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29243 * inet/getnetgrent_r.c
29244 (nscd_setnetgrent): New function, broken out of ...
29245 (setnetgrent): ... here. Call it.
29246 (innetgr): Conditionalize nscd bits on [USE_NSCD].
29247 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29248 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29249 * nscd/Makefile (routines, aux): Move definitions after include of
29250 Makeconfig. Conditionalize on [$(use-nscd) != no].
29251 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29252 Conditionalize on [USE_NSCD].
29253 (is_nscd, nscd_init_cb): Likewise.
29254 (nss_load_library): Conditionalize init callback on [USE_NSCD].
29255 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29256 * nss/nss_db/db-init.c: Likewise.
29257 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29259 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29260 (make_request): Use it.
29261 (cache_valid_p): New function.
29262 (__check_pf): Use it.
29263 * NEWS: Add item for --disable-nscd.
29265 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29267 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29268 to support sed >= 4.2.1-20-ga9bf076.
29269 * configure: Regenerated.
29271 2012-08-22 Roland McGrath <roland@hack.frob.com>
29273 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29274 Conditionalize whole body on [IREL].
29276 2012-08-22 Jeff Law <law@redhat.com>
29279 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29280 if the family is PF_UNSPEC.
29282 2012-08-22 Mike Frysinger <vapier@gentoo.org>
29284 * Makerules (lib-version): Rename from V.
29285 (install-lib-nosubdir): Change V to lib-version.
29287 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29290 * powerpc32/power6/wcschr.c: New file.
29291 * powerpc32/power6/wcscpy.c: New file.
29292 * powerpc32/power6/wcsrchr.c: New file.
29293 * powerpc64/power6/wcschr.c: New file.
29294 * powerpc64/power6/wcscpy.c: New file.
29295 * powerpc64/power6/wcsrchr.c: New file.
29297 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29299 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29300 (two_way_short_needle): Use it.
29301 * string/strstr.c (AVAILABLE1_USES_J): Define.
29302 * string/strcasestr.c: Likewise.
29304 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29306 * string/strcasestr.c (TOLOWER): Make side-effect safe.
29309 * NEWS: Add an entry.
29310 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29311 define their defaults.
29312 (two_way_short_needle): Detect end-of-string on-the-fly.
29313 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29314 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29315 * string/bug-strcasestr1.c: New test.
29316 * string/Makefile: Run it.
29318 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29321 * string/str-two-way.h (two_way_short_needle): Optimize matching of
29322 the first character.
29324 2012-08-21 Roland McGrath <roland@hack.frob.com>
29326 * csu/elf-init.c (__libc_csu_irel): Function removed.
29327 * csu/libc-start.c (apply_irel): New function.
29328 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29330 2012-08-21 Joseph Myers <joseph@codesourcery.com>
29332 * sysdeps/unix/sysv/linux/kernel-features.h
29333 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29334 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29335 <kernel-features.h>.
29336 [__NR_fadvise64_64]: Make code unconditional.
29337 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29338 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29339 !__NR_fadvise64_64)]: Likewise.
29340 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29341 !__NR_fadvise64_64))]: Likewise.
29342 [__NR_fadvise64]: Make code unconditional.
29343 [!__NR_fadvise64]: Remove conditional code.
29344 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29345 <kernel-features.h>.
29346 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29348 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29351 not include <kernel-features.h>.
29352 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29354 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29356 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29357 include <kernel-features.h>.
29358 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29360 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29363 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29365 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29366 slight instruction rearrangements per scrollpipe analysis.
29367 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29369 2012-08-20 Roland McGrath <roland@hack.frob.com>
29371 * manual/syslog.texi (syslog; vsyslog, closelog):
29372 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29373 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29375 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29376 DSOCAPS to match condition on defining it.
29378 2012-08-20 Joseph Myers <joseph@codesourcery.com>
29380 * sysdeps/unix/sysv/linux/kernel-features.h
29381 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29383 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29384 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29386 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29387 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29389 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29390 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29392 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29393 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29395 * sysdeps/unix/sysv/linux/kernel-features.h
29396 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29397 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29399 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29400 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29401 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29402 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29403 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29404 Make code unconditional.
29405 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29406 (__mmap64) [!__NR_mmap2]: Likewise.
29407 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29408 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29409 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29410 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29411 [__NR_mmap2]: Make code unconditional.
29412 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29413 (__mmap64) [!__NR_mmap2]: Likewise.
29415 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29417 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29419 2012-08-18 Andreas Jaeger <aj@suse.de>
29421 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29423 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29425 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29426 * include/unistd.h (__have_sock_cloexec): Likewise.
29427 (__have_pipe2): Likewise.
29428 (__have_dup3): Likewise.
29430 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29433 * include/unistd.h (__have_pipe2): Change define into an extern int.
29434 (__have_dup3): Likewise.
29435 * socket/have_sock_cloexec.c: Include fcntl.h.
29436 (__have_pipe2): New variable.
29437 (__have_dup3): Likewise.
29439 2012-08-17 Mike Frysinger <vapier@gentoo.org>
29441 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29443 2012-08-17 Marek Polacek <polacek@redhat.com>
29445 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29446 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29448 2012-08-17 Roland McGrath <roland@hack.frob.com>
29450 * configure.in: Add AC_SUBST for sysheaders.
29451 * configure: Regenerated.
29452 * config.make.in (sysheaders): New substituted variable.
29454 * sysdeps/unix/mkfifo.c: Moved ...
29455 * sysdeps/posix/mkfifo.c: ... here.
29456 * sysdeps/unix/mkfifoat.c: Moved ...
29457 * sysdeps/posix/mkfifoat.c: ... here.
29459 * sysdeps/unix/utime.c: Moved ...
29460 * sysdeps/posix/utime.c: ... here.
29462 * sysdeps/unix/time.c: Moved ...
29463 * sysdeps/posix/time.c: ... here.
29464 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29465 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29467 * sysdeps/unix/nice.c: Moved ...
29468 * sysdeps/posix/nice.c: ... here.
29470 * sysdeps/unix/alarm.c: Moved ...
29471 * sysdeps/posix/alarm.c: ... here.
29473 * intl/Makefile ($(codeset_mo)): Depend on the input file.
29475 2012-08-17 Jeff Law <law@redhat.com>
29477 * intl/Makefile (codeset_mo): New variable.
29478 ($(codeset_mo)): New target.
29479 (tst-codeset.out): Depend on that. Remove explicit rule.
29480 (tst-gettext3.out, tst-gettext5.out): Likewise.
29481 (LOCPATH-ENV, tst-codeset-ENV): New variables.
29482 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29483 * intl/tst-codeset.sh: Remove.
29484 * intl/tst-gettext3.sh: Likewise.
29485 * intl/tst-gettext5.sh: Likewise.
29487 2012-08-17 Roland McGrath <roland@hack.frob.com>
29489 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
29490 * sysdeps/unix/syscalls.list: ... here.
29492 * sysdeps/posix/getaddrinfo.c
29493 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29494 (gaiconf_init, gaiconf_reload): Use them.
29495 [!_STATBUF_ST_NSEC]
29496 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29497 Define using time_t rather than struct timespec.
29499 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29500 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29502 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29504 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29505 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29508 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29509 __libc_cleanup_push argument.
29511 * bits/param.h: New file.
29512 * misc/sys/param.h: New file.
29513 * include/sys/param.h: New file.
29514 * misc/Makefile (headers): Add bits/param.h.
29515 * sysdeps/generic/sys/param.h: File removed.
29516 * sysdeps/unix/sysv/linux/bits/param.h: New file.
29517 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29518 * sysdeps/mach/hurd/bits/param.h: New file.
29519 * sysdeps/mach/hurd/sys/param.h: File removed.
29521 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29524 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29526 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29527 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29530 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29531 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29532 rather than -D_IO_MTSAFE_IO conditionally.
29533 * stdio-common/Makefile (CPPFLAGS): Likewise.
29534 * wcsmbs/Makefile (CPPFLAGS): Likewise.
29535 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29536 Use $(libio-mtsafe).
29537 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29538 of -D_IO_MTSAFE_IO.
29539 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29540 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29541 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29542 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29543 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29544 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29545 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29546 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29547 (CFLAGS-fread_u_chk.c): Likewise.
29548 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29549 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29550 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29551 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29552 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29553 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29554 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29555 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29556 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29558 * libio/Makefile: Test [$(libc-reentrant) = yes]
29559 instead of [$(filter %REENTRANT, $(defines)) nonempty].
29562 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29563 * sysdeps/pthread/configure: File removed.
29564 * sysdeps/pthread/Makeconfig: New file.
29565 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29566 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29568 2012-08-16 Gary Benson <gbenson@redhat.com>
29570 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29571 unmapping the first object in a namespace.
29573 2012-08-16 Roland McGrath <roland@hack.frob.com>
29575 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29576 (__internal_setnetgrent): ... this. Add internal_function to
29577 definition. Add libc_hidden_def.
29578 (setnetgrent): Update caller.
29579 (internal_endnetgrent): Renamed to ...
29580 (__internal_endnetgrent): ... this. Add internal_function to
29581 definition. Add libc_hidden_def.
29582 (endnetgrent): Update caller.
29583 (internal_getnetgrent_r): Renamed to ...
29584 (__internal_getnetgrent_r): ... this. Add internal_function to
29585 definition. Add libc_hidden_def.
29586 (__getnetgrent_r): Update caller.
29587 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
29589 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29591 * stdlib/longlong.h: Update from GCC.
29593 2012-08-16 Roland McGrath <roland@hack.frob.com>
29595 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29596 on _QL, which is set by umul_ppmm but never used.
29597 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29598 variables, which are set by GMP macros but never used.
29599 * stdio-common/_itowa.c (_itowa): Likewise.
29600 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29601 * stdlib/mod_1.c (mpn_mod_1): Likewise.
29603 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
29605 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29606 struct La_sh_regs is not constant.
29607 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29608 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29609 and struct La_sparc64_regs are not constant.
29611 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29613 * sysdeps/unix/sysv/linux/kernel-features.h
29614 (__ASSUME_POSIX_TIMERS): Remove.
29615 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29616 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29617 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29618 Make code unconditional.
29619 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29620 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29621 Make code unconditional.
29622 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29623 * sysdeps/unix/sysv/linux/clock_nanosleep.c
29624 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29625 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29626 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29627 Make code unconditional.
29628 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29629 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29630 (__libc_missing_posix_timers): Remove.
29632 2012-08-15 Roland McGrath <roland@hack.frob.com>
29634 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29635 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29637 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29639 * elf/dl-sym.c: Include <stdlib.h>.
29641 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29642 constants, which avoids warnings in 32-bit builds.
29644 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29645 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29647 * misc/lseek.c: File moved to ...
29648 * io/lseek.c: ... here.
29650 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29652 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29653 shifting LEN more than 31 bits at once.
29655 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29658 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29659 segmentation fault for a case of two empty input strings.
29660 * string/test-strncasecmp.c (check1): Renamed to...
29661 (bz12205): ...this.
29662 (bz14195): Add new testcase for two empty input strings and N > 0.
29663 (test_main): Call new testcase, adapt for renamed function.
29665 2012-08-15 Andreas Jaeger <aj@suse.de>
29668 * crypt/md5test2.c: New test, based on test supplied by Serge
29669 Belyshev <belyshev@depni.sinp.msu.ru>.
29670 * crypt/Makefile (xtests): Add md5test-giant..
29671 * crypt/Makefile ($(objpfx)md5test-giant): Add.
29673 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
29676 * crypt/md5.c (md5_process_block): Don't assume the buffer
29677 length is less than 2**32.
29678 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29679 length is less than 2**64.
29681 2012-08-15 Roland McGrath <roland@hack.frob.com>
29683 * string/str-two-way.h: Include <sys/param.h>.
29684 (MAX): Macro removed.
29686 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29687 Move #define and #undef of memmove to just before and after
29688 including <string.h>.
29690 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29691 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29692 and after including <string.h>. Move declarations of
29693 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29694 to before #include "string/memmove.c".
29696 * include/dirent.h: Declare __getdirentries.
29698 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29699 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29701 2012-08-14 Mike Frysinger <vapier@gentoo.org>
29703 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29704 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29705 * sysdeps/i386/configure: Regenerated.
29706 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29707 STABS_CURRENT_FILE, and STABS_FUN.
29708 (END): Remove call to STABS_FUN_END.
29709 (STABS_CURRENT_FILE1): Delete.
29710 (STABS_CURRENT_FILE): Likewise.
29711 (STABS_FUN): Likewise.
29712 (STABS_FUN_END): Likewise.
29713 (STABS_FUN2): Likewise.
29714 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29715 * sysdeps/x86_64/configure: Regenerated.
29717 2012-08-14 Roland McGrath <roland@hack.frob.com>
29719 * elf/dl-open.c: Include <atomic.h>.
29720 * elf/dl-lookup.c: Likewise.
29722 2012-08-14 Joseph Myers <joseph@codesourcery.com>
29724 * sysdeps/unix/sysv/linux/kernel-features.h
29725 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29726 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29728 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29730 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29731 condition on __ASSUME_CLONE_THREAD_FLAGS.
29733 2012-08-14 Andreas Jaeger <aj@suse.de>
29735 * sysdeps/i386/fpu/libm-test-ulps: Update.
29737 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
29739 * include/atomic.h (atomic_exchange_and_add): Split into ...
29740 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29743 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
29745 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29747 2012-08-13 Jeff Law <law@redhat.com>
29749 * manual/stdio.texi (snprintf): Clarify handling of the trailing
29750 null byte in the output string.
29752 2012-08-10 Joseph Myers <joseph@codesourcery.com>
29754 * sysdeps/unix/sysv/linux/kernel-features.h
29755 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29756 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29757 (__ASSUME_ARG_MAX_STACK_BASED): Define.
29758 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29759 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29760 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
29761 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29763 2012-08-09 Jeff Law <law@redhat.com>
29766 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29767 When avoid_arena is set, don't retry in the that arena. Pick the
29768 next one, whatever it might be.
29769 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29770 (arena_lock): Pass in new parameter to arena_get2.
29771 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29773 (__libc_malloc): Unify retrying after main arena failure with
29774 __libc_memalign version.
29775 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29777 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
29780 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29781 to __redirect_strstr.
29782 (__strstr_sse42): Use typeof __redirect_strstr.
29783 (__strstr_ia32): Likewise.
29784 (__libc_strstr): New prototype.
29785 (strstr): Renamed to ...
29786 (__libc_strstr): This.
29787 (strstr): New strong alias of __libc_strstr.
29788 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29789 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29792 (__libc_time): New prototype.
29793 (time_ifunc): Replace time with __libc_time.
29794 (time): New strong alias and hidden definition of __libc_time.
29795 (__GI_time): Remove strong alias.
29796 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29797 Include <stddef.h>.
29798 (memmove): Redefined to __redirect_memmove.
29799 (__memmove_sse2): Use typeof __redirect_memmove.
29800 (__memmove_ssse3): Likewise.
29801 (__memmove_ssse3_back): Likewise.
29802 (__libc_memmove): New prototype.
29803 (memmove): Renamed to ...
29804 (__libc_memmove): This.
29805 (memmove): New strong alias of __libc_memmove.
29807 2012-08-08 Mark Salter <msalter@redhat.com>
29810 (R_MN10300_TLS_GD): Define.
29811 (R_MN10300_TLS_LD): Likewise.
29812 (R_MN10300_TLS_LDO): Likewise.
29813 (R_MN10300_TLS_GOTIE): Likewise.
29814 (R_MN10300_TLS_IE): Likewise.
29815 (R_MN10300_TLS_LE): Likewise.
29816 (R_MN10300_TLS_DTPMOD): Likewise.
29817 (R_MN10300_TLS_DTPOFF): Likewise.
29818 (R_MN10300_TLS_TPOFF): Likewise.
29819 (R_MN10300_SYM_DIFF): Likewise.
29820 (R_MN10300_ALIGN): Likewise.
29821 (R_MN10300_NUM): Update.
29823 2012-08-08 Joseph Myers <joseph@codesourcery.com>
29825 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29828 2012-08-08 Roland McGrath <roland@hack.frob.com>
29830 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29832 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29833 sysdeps/unix -> sysdeps/posix move.
29834 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29836 2012-08-07 Allan McRae <allan@archlinux.org>
29839 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29840 (SUNOS_CPP): Likewise.
29841 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29843 (open_input): Call CPP using execvp.
29845 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29847 * sysdeps/unix/sysv/linux/kernel-features.h
29848 (__ASSUME_PROT_GROWSUPDOWN): Remove.
29849 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29850 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29851 (__ASSUME_WAITID_SYSCALL): Likewise.
29852 * sysdeps/unix/sysv/linux/dl-execstack.c
29853 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29854 code unconditional.
29855 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29857 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29858 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29859 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29861 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29863 [__ASSUME_WAITID_SYSCALL]: Likewise.
29864 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29866 2012-08-07 Roland McGrath <roland@hack.frob.com>
29868 * sysdeps/unix/closedir.c: Renamed to ...
29869 * sysdeps/posix/closedir.c: ... here.
29870 * sysdeps/unix/dirfd.c: Renamed to ...
29871 * sysdeps/posix/dirfd.c: ... here.
29872 * sysdeps/unix/dirstream.h: Renamed to ...
29873 * sysdeps/posix/dirstream.h: ... here.
29874 * sysdeps/unix/fdopendir.c: Renamed to ...
29875 * sysdeps/posix/fdopendir.c: ... here.
29876 * sysdeps/unix/opendir.c: Renamed to ...
29877 * sysdeps/posix/opendir.c: ... here.
29878 * sysdeps/unix/readdir.c: Renamed to ...
29879 * sysdeps/posix/readdir.c: ... here.
29880 * sysdeps/unix/readdir_r.c: Renamed to ...
29881 * sysdeps/posix/readdir_r.c: ... here.
29882 * sysdeps/unix/rewinddir.c: Renamed to ...
29883 * sysdeps/posix/rewinddir.c: ... here.
29884 * sysdeps/unix/seekdir.c: Renamed to ...
29885 * sysdeps/posix/seekdir.c: ... here.
29886 * sysdeps/unix/telldir.c: Renamed to ...
29887 * sysdeps/posix/telldir.c: ... here.
29888 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29889 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29890 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29891 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29893 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29894 * bits/fcntl.h: ... here.
29896 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29898 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29899 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29900 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29901 (struct flock): Move l_start, l_len to the beginning.
29902 Use __pid_t for l_pid.
29903 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29904 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29905 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29906 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29907 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29908 [__USE_LARGEFILE64] (struct flock64): New type.
29909 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29911 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29912 * bits/dirent.h: ... here.
29914 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29915 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29917 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29919 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29920 Change from 2.6.0 to 2.6.16.
29921 * sysdeps/unix/sysv/linux/configure: Regenerated.
29922 * sysdeps/unix/sysv/linux/kernel-features.h
29923 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29924 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29926 (__ASSUME_UTIMES): Likewise.
29927 (__ASSUME_CLONE_STOPPED): Remove.
29928 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29929 architectures, not kernel version.
29930 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29931 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29932 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29933 (__ASSUME_WAITID_SYSCALL): Likewise.
29934 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29935 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29936 * README: State 2.6.16 as minimum Linux kernel version. Do not
29937 refer to older versions.
29939 2012-08-06 Roland McGrath <roland@hack.frob.com>
29941 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29942 Define alphasort64 as an alias.
29943 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29944 Define versionsort64 as an alias.
29945 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29946 Define scandir64 as an alias.
29947 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29948 Define scandirat64 as an alias.
29949 * dirent/alphasort64.c (alphasort64):
29950 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29951 * dirent/versionsort64.c: Likewise.
29952 * dirent/scandir64.c: Likewise.
29953 * dirent/scandirat64.c: Likewise.
29954 * sysdeps/wordsize-64/alphasort.c: File removed.
29955 * sysdeps/wordsize-64/alphasort64.c: File removed.
29956 * sysdeps/wordsize-64/scandir.c: File removed.
29957 * sysdeps/wordsize-64/scandir64.c: File removed.
29958 * sysdeps/wordsize-64/scandirat.c: File removed.
29959 * sysdeps/wordsize-64/scandirat64.c: File removed.
29960 * sysdeps/wordsize-64/versionsort.c: File removed.
29961 * sysdeps/wordsize-64/versionsort64.c: File removed.
29962 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29963 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29964 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29965 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29966 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29967 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29968 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29969 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29971 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29972 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29973 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29974 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29975 [defined __arch64__ || defined __sparcv9]
29976 (__INO_T_MATCHES_INO64_T): New macro.
29977 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29978 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29979 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29980 * sysdeps/unix/sysv/linux/bits/dirent.h
29981 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29982 (_DIRENT_MATCHES_DIRENT64): New macro.
29984 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29985 Define lockf64 as an alias.
29986 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29987 Define fseeko64 as an alias.
29988 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29989 Define ftello64 as an alias.
29990 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29991 Define _IO_fgetpos64 and fgetpos64 as aliases.
29992 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29993 Define _IO_fsetpos64 and fsetpos64 as aliases.
29994 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29995 Conditionalize body on this.
29996 * libio/fseeko64.c: Likewise.
29997 * libio/ftello64.c: Likewise.
29998 * libio/iofgetpos64.c: Likewise.
29999 * libio/iofsetpos64.c: Likewise.
30000 * sysdeps/wordsize-64/lockf.c: File removed.
30001 * sysdeps/wordsize-64/lockf64.c: File removed.
30002 * sysdeps/wordsize-64/fseeko.c: File removed.
30003 * sysdeps/wordsize-64/fseeko64.c: File removed.
30004 * sysdeps/wordsize-64/ftello.c: File removed.
30005 * sysdeps/wordsize-64/ftello64.c: File removed.
30006 * sysdeps/wordsize-64/iofgetpos.c: File removed.
30007 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30008 * sysdeps/wordsize-64/iofsetpos.c: File removed.
30009 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30010 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30011 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30012 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30013 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30014 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30015 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30016 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30017 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30018 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30019 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30021 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30022 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30023 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30024 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30025 [defined __arch64__ || defined __sparcv9]
30026 (__OFF_T_MATCHES_OFF64_T): New macro.
30027 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30028 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30029 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30030 (__OFF_T_MATCHES_OFF64_T): New macro.
30032 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30034 * stdlib/secure-getenv.c (__secure_getenv): Replace
30035 GLIBC_2_16 with GLIBC_2_17.
30037 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30039 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30040 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30042 2012-08-03 David S. Miller <davem@davemloft.net>
30044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30046 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30048 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30050 (__ASSUME_CORRECT_SI_PID): Likewise.
30051 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30052 (__ASSUME_TMPFS_NAME): Likewise.
30053 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30054 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30055 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30056 (HAVE_AUX_SECURE): Make definition unconditional.
30057 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30058 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30060 2012-08-03 Roland McGrath <roland@hack.frob.com>
30062 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30063 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30064 * sysdeps/mach/hurd/eloop-threshold.h: New file.
30065 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30066 __eloop_threshold instead of SYMLOOP_MAX.
30068 * sysdeps/generic/eloop-threshold.h: New file.
30069 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30071 * elf/chroot_canon.c (chroot_canon): Likewise.
30073 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30076 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30077 Change to 2.6.0 everywhere.
30078 * sysdeps/unix/sysv/linux/configure: Regenerated.
30079 * sysdeps/unix/sysv/linux/kernel-features.h
30080 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30081 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30083 (__ASSUME_POSIX_TIMERS): Define unconditionally.
30084 (__ASSUME_FUTEX_REQUEUE): Remove.
30085 (__ASSUME_STATFS64): Define unconditionally.
30086 (__ASSUME_AT_SECURE): Likewise.
30087 (__ASSUME_CORRECT_SI_PID): Likewise.
30088 (__ASSUME_TGKILL): Define without depending on kernel version for
30090 (__ASSUME_UTIMES): Likewise.
30091 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30093 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30094 (__ASSUME_TMPFS_NAME): Likewise.
30095 * README: Update reference to Linux kernel versions.
30097 2012-08-02 Marek Polacek <polacek@redhat.com>
30100 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
30101 libc_cv_asm_type_prefix with %.
30102 * configure: Regenerated.
30103 * include/libc-symbols.h: Remove comment about
30104 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30105 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30106 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30107 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30108 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30109 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30110 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30111 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30112 * elf/tst-unique2mod1.c: Likewise.
30113 * elf/tst-unique1mod2.c: Likewise.
30114 * elf/tst-unique1mod1.c: Likewise.
30115 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30116 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30117 Replace ASM_TYPE_DIRECTIVE with .type.
30118 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30119 * sysdeps/i386/sysdep.h: Likewise.
30120 * sysdeps/x86_64/sysdep.h: Likewise.
30121 * sysdeps/sh/sysdep.h: Likewise.
30122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30123 Do not define ASM_TYPE_DIRECTIVE.
30124 * sysdeps/powerpc/sysdep.h: Likewise.
30125 * sysdeps/powerpc/powerpc32/sysdep.h:
30126 Replace ASM_TYPE_DIRECTIVE with .type.
30127 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30128 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30129 * sysdeps/i386/fpu/e_powf.S: Likewise.
30130 * sysdeps/i386/fpu/e_expl.S: Likewise.
30131 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30132 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30133 * sysdeps/i386/fpu/e_pow.S: Likewise.
30134 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30135 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30136 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30137 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30138 * sysdeps/i386/fpu/e_log2.S: Likewise.
30139 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30140 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30141 * sysdeps/i386/fpu/e_powl.S: Likewise.
30142 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30143 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30144 * sysdeps/i386/fpu/e_logl.S: Likewise.
30145 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30146 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30147 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30148 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30149 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30150 * sysdeps/i386/fpu/e_log.S: Likewise.
30151 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30152 * sysdeps/i386/fpu/e_logf.S: Likewise.
30153 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30154 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30155 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30156 * sysdeps/i386/fpu/e_log10.S: Likewise.
30157 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30158 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30159 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30160 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30161 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30162 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30163 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30164 * sysdeps/i386/i686/strtok.S: Likewise.
30165 * sysdeps/i386/i386-mcount.S: Likewise.
30166 * sysdeps/i386/strtok.S: Likewise.
30167 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30168 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30169 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30170 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30171 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30172 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30173 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30174 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30175 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30176 * sysdeps/x86_64/_mcount.S: Likewise.
30177 * sysdeps/x86_64/strtok.S: Likewise.
30178 * sysdeps/sh/_mcount.S: Likewise.
30180 2012-08-01 Roland McGrath <roland@hack.frob.com>
30182 * libio/iofopen.c: Include <fcntl.h>.
30183 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30184 (_IO_fopen64, fopen64): Define as aliases.
30185 * libio/iofopen64.c: Include <fcntl.h>.
30186 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30187 Conditionalize body on this.
30188 * sysdeps/wordsize-64/iofopen.c: File removed.
30189 * sysdeps/wordsize-64/iofopen64.c: File removed.
30191 2012-08-01 Marek Polacek <polacek@redhat.com>
30193 * libc/Makeconfig: Use elf in place of binfmt-subdir.
30194 Use dlfcn directly instead of a variable.
30195 (binfmt-subdir): Do not define.
30198 2012-08-01 Joseph Myers <joseph@codesourcery.com>
30200 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30201 Remove all definitions.
30202 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30203 <kernel-features.h>.
30204 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30205 (miss_F_GETOWN_EX): Remove all definitions.
30206 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30208 [!__ASSUME_FCNTL64]: Remove conditional code.
30209 [__ASSUME_FCNTL64]: Make code unconditional.
30210 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30211 <kernel-features.h>.
30212 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30213 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30214 (lockf64) [__NR_fcntl64]: Make code unconditional.
30215 (lockf64) [__ASSUME_FCNTL64]: Likewise.
30217 * sysdeps/unix/sysv/linux/kernel-features.h
30218 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30219 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30220 Make code unconditional.
30221 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30222 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30224 [__NR_vfork]: Make code unconditional.
30225 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30226 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30228 [__NR_vfork]: Make code unconditional.
30229 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30230 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30232 2012-08-01 Roland McGrath <roland@hack.frob.com>
30234 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30235 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30237 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30238 Define mkstemp64 as an alias.
30239 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30240 Define mkstemps64 as an alias.
30241 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30242 Define mkostemp64 as an alias.
30243 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30244 Define mkostemps64 as an alias.
30245 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30246 Conditionalize body on this.
30247 * misc/mkostemp64.c: Likewise.
30248 * misc/mkostemps64.c: Likewise.
30249 * misc/mkstemps64.c: Likewise.
30250 * sysdeps/wordsize-64/mkstemp64.c: File removed.
30251 * sysdeps/wordsize-64/mkostemp64.c: File removed.
30252 * sysdeps/wordsize-64/mkostemp.c: File removed.
30253 * sysdeps/wordsize-64/mkstemp.c: File removed.
30254 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30255 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30256 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30257 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30260 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30261 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30262 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30263 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30265 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30266 compat_symbol macros from <shlib-compat.h> rather than the underlying
30267 default_symbol_version and symbol_version macros, so that DEFAULT
30268 lines in shlib-versions are respected.
30269 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30271 2012-08-01 Florian Weimer <fweimer@redhat.com>
30273 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30274 Declare with warn_unused_result.
30275 (setgid, setregid, setegid, setresgid): Likewise.
30276 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30278 * WUR-REPORT: Remove set*id functions.
30280 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30282 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30284 2012-07-31 Roland McGrath <roland@hack.frob.com>
30287 * include/sys/socket.h (__libc_accept, __libc_accept4):
30288 Add attribute_hidden.
30289 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30291 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30293 * inet/getnetgrent_r.c (setup): Likewise.
30295 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30297 2012-07-31 David S. Miller <davem@davemloft.net>
30299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30301 2012-07-31 Joseph Myers <joseph@codesourcery.com>
30304 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30305 value between 1.0 and 2.0 and smaller part has absolute value less
30307 * math/s_clog10.c (__clog10): Likewise.
30308 * math/s_clog10f.c (__clog10f): Likewise.
30309 * math/s_clog10l.c (__clog10l): Likewise.
30310 * math/s_clogf.c (__clogf): Likewise.
30311 * math/s_clogl.c (__clogl): Likewise.
30312 * math/libm-test.inc (clog_test): Add more tests.
30313 (clog10_test): Likewise.
30314 * sysdeps/i386/fpu/libm-test-ulps: Update.
30315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30317 2012-07-31 Florian Weimer <fweimer@redhat.com>
30319 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30320 Exit with zero in case no suitable GID is found, and write a
30321 message to standard error.
30323 2012-07-30 Roland McGrath <roland@hack.frob.com>
30325 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30327 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30328 (MAXPATHLEN): Removed.
30329 (NOGROUP, NODEV): New macros.
30330 (setbit, clrbit, isset, isclr): New macros.
30331 (howmany, roundup, powerof2): New macros.
30332 (DEV_BSIZE): New macro.
30334 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30335 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30337 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30338 definition on [!__NO_LONG_DOUBLE_MATH].
30340 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30341 PTR_MANGLE and PTR_DEMANGLE.
30343 * socket/accept4.c (accept4): Rename to __libc_accept4.
30344 Define accept4 as a weak alias.
30346 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30347 on [_DIRENT_HAVE_D_TYPE].
30348 * io/ftw.c (ftw_dir): Likewise.
30350 * io/xmknod.c (__xmknod): Don't check PATH for being null.
30352 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30354 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30355 Use the BSD numbers rather than the arbitrary ones we had.
30356 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30357 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30358 (SIGXCPU, SIGXFSZ): New macros.
30361 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30362 initializer on [_LIBC_REENTRANT].
30364 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30365 definitions inside [_POSIX_MAPPED_FILES].
30367 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30369 * dirent/opendir.c: Include <fcntl.h>.
30371 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30372 (__libc_getspecific): Likewise.
30373 (__libc_key_create): Likewise.
30375 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30376 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30377 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30378 (tmpfile64): Define as alias.
30379 * sysdeps/wordsize-64/tmpfile.c: File removed.
30380 * sysdeps/wordsize-64/tmpfile64.c: File removed.
30381 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30382 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30384 * stdio-common/vfscanf.c: Include <stdbool.h>.
30385 * nss/makedb.c: Likewise.
30386 * stdio-common/_i18n_number.h: Likewise.
30387 * argp/argp-help.c: Likewise.
30388 * posix/wordexp.c: Likewise.
30389 * sysdeps/posix/spawni.c: Likewise.
30390 * nss/nss_files/files-initgroups.c: Likewise.
30391 * stdio-common/reg-modifier.c: Include <stdlib.h>.
30392 * nss/nss_files/files-initgroups.c: Likewise.
30393 * nss/nss_db/db-netgrp.c: Likewise.
30394 * nss/nss_db/db-initgroups.c: Likewise.
30395 * io/fchmodat.c: Include <sys/stat.h>.
30397 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30398 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30400 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30403 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30404 Add multiple inclusion protection.
30406 2012-07-27 David S. Miller <davem@davemloft.net>
30408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30410 2012-07-27 Gary Benson <gbenson@redhat.com>
30413 * elf/rtld.c: Include <stap-probe.h>.
30414 (dl_main): Added static probes "init_start" and "init_complete".
30415 * elf/dl-load.c: Include <stap-probe.h>.
30416 (lose): Take new parameter "nsid".
30417 Added static probe "map_failed".
30418 (_dl_map_object_from_fd): Pass namespace id to lose.
30419 Added static probe "map_start".
30420 (open_verify): Pass namespace id to lose.
30421 * elf/dl-open.c: Include <stap-probe.h>.
30422 (dl_open_worker) Added static probes "map_complete", "reloc_start"
30423 and "reloc_complete".
30424 * elf/dl-close.c: Include <stap-probe.h>.
30425 (_dl_close_worker): Added static probes "unmap_start" and
30427 * elf/rtld-debugger-interface.txt: New file documenting the above.
30429 2012-07-26 Roland McGrath <roland@hack.frob.com>
30431 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30432 rather than a string variable.
30433 * sunrpc/rpc_main.c (h_output): Likewise.
30434 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30436 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
30438 * inet/check_native.c: New file.
30440 2012-07-26 Joseph Myers <joseph@codesourcery.com>
30443 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30444 if larger part has absolute value 1.0.
30445 * math/s_clog10.c (__clog10): Likewise.
30446 * math/s_clog10f.c (__clog10f): Likewise.
30447 * math/s_clog10l.c (__clog10l): Likewise.
30448 * math/s_clogf.c (__clogf): Likewise.
30449 * math/s_clogl.c (__clogl): Likewise.
30450 * math/libm-test.inc (clog_test): Add more tests.
30451 (clog10_test): Likewise.
30452 * sysdeps/i386/fpu/libm-test-ulps: Update.
30453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30455 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30456 (pltexit): Likewise.
30457 (La_regs): Likewise.
30458 (La_retval): Likewise.
30459 (int_retval): Likewise.
30460 Update #error for removed macros to refer only to definitions in
30462 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30464 (pltexit): Likewise.
30465 (La_regs): Likewise.
30466 (La_retval): Likewise.
30467 (int_retval): Likewise.
30468 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30470 (pltexit): Likewise.
30471 (La_regs): Likewise.
30472 (La_retval): Likewise.
30473 (int_retval): Likewise.
30474 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30476 (pltexit): Likewise.
30477 (La_regs): Likewise.
30478 (La_retval): Likewise.
30479 (int_retval): Likewise.
30480 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30482 (pltexit): Likewise.
30483 (La_regs): Likewise.
30484 (La_retval): Likewise.
30485 (int_retval): Likewise.
30486 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30488 (pltexit): Likewise.
30489 (La_regs): Likewise.
30490 (La_retval): Likewise.
30491 (int_retval): Likewise.
30492 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30494 (pltexit): Likewise.
30495 (La_regs): Likewise.
30496 (La_retval): Likewise.
30497 (int_retval): Likewise.
30498 * sysdeps/generic/tst-audit.h: Update comment to refer only to
30499 macro definitions in tst-audit.h.
30500 * sysdeps/i386/tst-audit.h: New file.
30501 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30502 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30503 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30504 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30505 * sysdeps/sh/tst-audit.h: Likewise.
30506 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30507 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30508 * sysdeps/x86_64/tst-audit.h: Likewise.
30510 2012-07-26 Andreas Jaeger <aj@suse.de>
30512 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30515 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30516 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30517 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30519 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30520 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30521 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30523 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30526 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30528 (si_call_addr, si_syscall, si_arch): Define new macro.
30529 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30531 (si_call_addr, si_syscall, si_arch): Define new marcro.
30532 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30534 (si_call_addr, si_syscall, si_arch): Define new macro.
30535 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30537 (si_call_addr, si_syscall, si_arch): Define new macro.
30539 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30542 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30543 Change to 2.4.21 where previously 2.4.1.
30544 * sysdeps/unix/sysv/linux/configure: Regenerated.
30545 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30546 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30547 Linux kernel version.
30548 (__ASSUME_STD_AUXV): Remove.
30549 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30551 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30552 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30553 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30554 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30555 (__ASSUME_NETLINK_SUPPORT): Likewise.
30556 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30557 (__no_netlink_support): Remove conditional definition.
30558 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30560 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30561 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30562 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30563 (if_nameindex_ioctl): Remove.
30564 (if_nameindex_netlink): Do not handle __no_netlink_support.
30565 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30567 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30568 Remove conditional code.
30569 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30571 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30573 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30574 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30575 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30577 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30578 [!__ASSUME_STD_AUXV]: Remove conditional code.
30579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30580 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30581 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30583 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30584 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30586 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30588 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30589 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30591 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30593 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30596 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30599 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30600 code unconditional.
30601 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30603 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30605 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30608 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30610 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30613 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30614 code unconditional.
30615 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30617 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30619 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30622 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30623 code unconditional.
30624 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30626 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30628 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30631 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
30633 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30634 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30635 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30636 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30637 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30638 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30639 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30640 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30641 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30642 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30643 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30644 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30645 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30646 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30647 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30648 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30649 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30650 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30651 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30652 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30653 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30654 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30655 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30657 2012-07-25 Florian Weimer <fweimer@redhat.com>
30659 * Versions.def: Add GLIBC_2.17.
30660 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30661 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30662 Introduce __libc_secure_getenv.
30663 * stdlib/Versions (2.17): Add secure_getenv
30664 (GLIBC_PRIVATE): Add __libc_secure_getenv.
30665 * stdlib/secure-getenv.c: Rename __secure_getenv to
30666 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
30667 symbol __secure_getenv for GLIBC_2.0.
30668 * stdlib/tst-secure-getenv.c: New.
30669 * stdlib/Makefile (tests): Add testcase.
30670 * manual/startup.texi (Environment Access): Document
30672 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30673 __libc_secure_getenv.
30674 * inet/ruserpass.c (ruserpass): Likewise.
30675 * malloc/mtrace.c (mtrace): Likewise.
30676 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30677 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30678 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30679 * sysdeps/posix/tempname.c: Likewise. Evaluate
30680 HAVE_SECURE_GETENV.
30681 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30682 __secure_getenv to __libc_secure_getenv.
30683 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30690 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30694 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30696 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30698 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30699 (struct La_i86_retval): Likewise.
30700 (struct La_x86_64_regs): Likewise.
30701 (struct La_x86_64_retval): Likewise.
30702 (struct La_x32_regs): Likewise.
30703 (struct La_x32_retval): Likewise.
30704 (struct La_ppc32_regs): Likewise.
30705 (struct La_ppc32_retval): Likewise.
30706 (struct La_ppc64_regs): Likewise.
30707 (struct La_ppc64_retval): Likewise.
30708 (struct La_sh_regs): Likewise.
30709 (struct La_sh_retval): Likewise.
30710 (struct La_s390_32_regs): Likewise.
30711 (struct La_s390_32_retval): Likewise.
30712 (struct La_s390_64_regs): Likewise.
30713 (struct La_s390_64_retval): Likewise.
30714 (struct La_sparc32_regs): Likewise.
30715 (struct La_sparc32_retval): Likewise.
30716 (struct La_sparc64_regs): Likewise.
30717 (struct La_sparc64_retval): Likewise.
30718 (struct audit_ifaces): Remove architecture-specific pltenter and
30720 * sysdeps/i386/ldsodefs.h: New file.
30721 * sysdeps/powerpc/ldsodefs.h: Likewise.
30722 * sysdeps/s390/ldsodefs.h: Likewise.
30723 * sysdeps/sh/ldsodefs.h: Likewise.
30724 * sysdeps/sparc/ldsodefs.h: Likewise.
30725 * sysdeps/x86_64/ldsodefs.h: Likewise.
30727 2012-07-25 Marek Polacek <polacek@redhat.com>
30730 * math/libm-test.inc (yn_test): Add another test.
30731 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30732 to ERANGE when the result is +-Inf.
30733 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30734 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30735 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30736 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30738 2012-07-24 Joseph Myers <joseph@codesourcery.com>
30740 * conform/data/time.h-data (NULL): Use macro-constant. Require
30742 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
30744 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
30746 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
30748 * configure.in <sysdeps resolving>: Correct printing
30750 * configure: Regenerate.
30752 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
30754 * math/w_ilogb.c: Include <limits.h>.
30755 * math/w_ilogbl.c: Likewise.
30757 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30759 * manual/lang.texi (__va_copy): Document primarily as ISO C99
30760 va_copy. Document allowing for unavailable va_copy only as
30761 pre-C99 compatibility.
30762 * manual/string.texi (Copying and Concatenation): Use va_copy
30763 instead of __va_copy in concat example.
30765 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
30767 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30768 (__sendto): Use create_address_port. Initialize APORT and deallocate
30771 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30772 with O_NOLINK passed to __file_name_lookup.
30774 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30775 with O_NOLINK passed to __file_name_lookup.
30777 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30778 negative N or less than NGIDS.
30780 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30781 type to string_t. Set ERANGE as errno and return it if NAME is not big
30782 enough. Use memcpy instead of strncpy.
30784 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30786 * elf/Makefile (check-data): Remove.
30787 (localplt.data): New vpath directive.
30788 ($(objpfx)check-localplt.out): Use localplt.data from vpath
30789 instead of $(check-data).
30790 * scripts/data/localplt-generic.data: Move to ...
30791 * sysdeps/generic/localplt.data: ... here.
30792 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30793 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30794 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30797 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30800 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30803 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30806 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30807 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30809 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30813 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30815 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30816 PPC32 and PPC64 files.
30817 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30818 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30820 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30822 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30823 __makecontext_ret to ...
30824 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30825 ... here and call exit if uc_link is NULL. New file.
30826 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30827 __makecontext_ret.S.
30828 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30829 __makecontext_ret to ...
30830 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30831 ... here and call exit if uc_link is NULL. New file.
30832 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30833 __makecontext_ret.S.
30835 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30837 * elf/elf.h (R_390_IRELATIVE): New definition.
30838 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30839 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
30840 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30841 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30842 (elf_machine_lazy_rel): Likewise.
30843 * sysdeps/s390/dl-irel.h: New file.
30844 * sysdeps/s390/s390-64/memcpy.S: New asm code.
30845 * sysdeps/s390/s390-64/memset.S: New asm code.
30846 * sysdeps/s390/s390-64/memcmp.S: New asm code.
30847 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30848 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30849 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30850 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30851 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30852 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30853 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30854 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30855 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30856 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30857 * sysdeps/s390/s390-32/memcpy.S: New asm code.
30858 * sysdeps/s390/s390-32/memset.S: New asm code.
30859 * sysdeps/s390/s390-32/memcmp.S: New asm code.
30861 2012-07-17 Marek Polacek <polacek@redhat.com>
30864 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30865 * sysdeps/s390/s390-64/configure.in: Likewise.
30866 * sysdeps/sparc/configure.in: Likewise.
30867 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30868 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30869 * sysdeps/i386/configure.in: Likewise.
30870 * sysdeps/x86_64/configure.in: Likewise.
30871 * sysdeps/sh/configure.in: Likewise.
30872 * sysdeps/s390/s390-32/configure: Regenerated.
30873 * sysdeps/s390/s390-64/configure: Likewise.
30874 * sysdeps/x86_64/configure: Likewise.
30875 * sysdeps/sh/configure: Likewise.
30876 * sysdeps/powerpc/powerpc64/configure: Likewise.
30877 * sysdeps/powerpc/powerpc32/configure: Likewise.
30878 * sysdeps/sparc/configure: Likwise.
30879 * sysdeps/i386/configure: Likewise.
30881 * elf/dl-open.c: Comment fixes.
30883 2012-07-17 Joseph Myers <joseph@codesourcery.com>
30885 * Makefile [CXX] (check-data): Remove.
30886 [CXX] (c++-types.data): New vpath directive.
30887 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30888 vpath. Do not allow for C++ type data being missing.
30889 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30890 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30891 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30892 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30893 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30894 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30895 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30898 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30901 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30904 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30907 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30908 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30910 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30911 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30913 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30916 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30917 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30919 * elf/tls-macros.h (TLS_LE): Move architecture-specific
30920 definitions to architecture-specific files.
30921 (TLS_IE): Likewise.
30922 (TLS_LD): Likewise.
30923 (TLS_GD): Likewise.
30924 * sysdeps/i386/tls-macros.h: New file.
30925 * sysdeps/powerpc/tls-macros.h: Likewise.
30926 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30927 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30928 * sysdeps/sh/tls-macros.h: Likewise.
30929 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30930 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30931 * sysdeps/x86_64/tls-macros.h: Likewise.
30933 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30935 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30936 zero value for regular exit case.
30938 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30939 (__start_context): Preserve zero value for regular exit case.
30941 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30942 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30944 * manual/setjmp.texi (setcontext): Clarify normal process
30945 termination when uc_link is the null pointer.
30946 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30949 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
30951 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30952 preprocessor. Test for each exception mask separately.
30954 2012-07-16 Andreas Jaeger <aj@suse.de>
30956 * po/ru.po: Update from translation team.
30958 2012-07-15 Joseph Myers <joseph@codesourcery.com>
30960 * conform/data/string.h-data (NULL): Use macro-constant. Require
30962 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30963 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30964 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30965 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30966 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30968 2012-07-13 Andreas Jaeger <aj@suse.de>
30970 * po/fr.po: Update from translation team.
30972 2012-07-12 Marek Polacek <polacek@redhat.com>
30975 * math/libm-test.inc (yn_test): Add test for BZ #14173.
30976 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30979 2012-07-12 Joseph Myers <joseph@codesourcery.com>
30982 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30983 Change to 2.4.1 where previously 2.4.0.
30984 * sysdeps/unix/sysv/linux/configure: Regenerated.
30985 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30986 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30988 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30989 (__ASSUME_AT_CLKTCK): Remove.
30990 (__ASSUME_AT_PAGESIZE): Likewise.
30991 (__ASSUME_AT_XID): Likewise.
30992 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30993 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30994 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30996 (HAVE_AUX_PAGESIZE): Likewise.
30997 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30998 [__ASSUME_AT_CLKTCK]: Make code unconditional.
30999 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31001 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
31004 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31005 the temporary buffer used to invoke __gethostbyname2_r,
31006 __gethostbyaddr_r and gethostbyname4_r to make room for struct
31007 host_data / struct gaih_addrtuple.
31008 * resolv/nss_dns/dns-host.c (global scope): Move definition of
31009 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31010 header file nss/nsswitch.h.
31011 * nss/nsswitch.h (global scope): Add definition of implementation
31012 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31013 resolv/nss_dns/dns-host.c).
31015 2012-07-11 Andreas Jaeger <aj@suse.de>
31017 * po/fr.po: Update from translation team.
31019 * po/sv.po: Update from translation team
31020 * po/fr.po: Another update from translation team.
31022 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31024 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31025 for subnormals or multiply small sinh result by itself.
31026 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31027 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31029 2012-07-11 David S. Miller <davem@davemloft.net>
31031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31033 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
31036 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31037 (INTERNAL_MARK): Shift it here.
31039 2012-07-10 Marek Polacek <polacek@redhat.com>
31042 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
31043 libc_cv_asm_global_directive with .globl.
31044 * configure: Regenerated.
31045 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31047 * sysdeps/i386/configure: Regenerated.
31048 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31050 * sysdeps/x86_64/configure: Regenerated.
31051 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31052 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31053 * elf/tst-unique2mod2.c: Likewise.
31054 * elf/tst-unique2mod1.c: Likewise.
31055 * elf/tst-unique1mod2.c: Likewise.
31056 * elf/tst-unique1mod1.c: Likewise.
31057 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31058 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31059 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31060 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31061 * sysdeps/mach/sysdep.h: Likewise.
31062 * sysdeps/i386/sysdep.h: Likewise.
31063 * sysdeps/i386/i386-mcount.S: Likewise.
31064 * sysdeps/x86_64/_mcount.S: Likewise.
31065 * sysdeps/x86_64/sysdep.h: Likewise.
31066 * sysdeps/sh/_mcount.S: Likewise.
31067 * sysdeps/sh/sysdep.h: Likewise.
31068 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31069 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31070 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31071 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31072 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31073 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31074 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31075 * locale/localeinfo.h: Likewise.
31076 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31077 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31079 2012-07-09 Roland McGrath <roland@hack.frob.com>
31082 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31084 * manual/message.texi (The Uniforum approach): Likewise.
31085 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31086 (glibc iconv Implementation): Likewise.
31088 2012-07-09 Joseph Myers <joseph@codesourcery.com>
31091 * math/s_clog.c (__clog): Avoid scaling a value down where that
31092 could result in underflow.
31093 * math/s_clog10.c (__clog10): Likewise.
31094 * math/s_clog10f.c (__clog10f): Likewise.
31095 * math/s_clog10l.c (__clog10l): Likewise.
31096 * math/s_clogf.c (__clogf): Likewise.
31097 * math/s_clogl.c (__clogl): Likewise.
31098 * math/libm-test.inc (clog_test): Add more tests.
31099 (clog10_test): Likewise.
31100 * sysdeps/i386/fpu/libm-test-ulps: Update.
31101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31103 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
31106 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31107 by 7 not 8 to examine high bit of fractional part.
31110 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31111 for call to __mcount_internal.
31112 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31113 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31114 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31116 2012-07-06 Joseph Myers <joseph@codesourcery.com>
31119 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31120 approximation for values within 0x1p-13f of an odd multiple of
31122 * math/libm-test.inc (tan_test): Do not allow spurious underflow
31123 exception. Add more tests.
31124 * sysdeps/i386/fpu/libm-test-ulps: Update.
31127 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31128 inputs and return -1 for them. Do not check for +Inf in case not
31129 reachable for +Inf.
31130 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31131 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31132 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31133 and return -1 for them. Do not check for +Inf in case not
31134 reachable for +Inf.
31135 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31137 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31138 and return -1 for them. Do not check for +Inf in case not
31139 reachable for +Inf.
31140 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
31141 spurious underflow.
31142 * sysdeps/i386/fpu/libm-test-ulps: Update.
31143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31145 2012-07-06 Mike Frysinger <vapier@gentoo.org>
31147 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31149 2012-07-05 Joseph Myers <joseph@codesourcery.com>
31153 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31154 could result in spurious underflow. Scale down values above
31155 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31156 * math/s_csqrtf.c (__csqrtf): Likewise.
31157 * math/s_csqrtl.c (__csqrtl): Likewise.
31158 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
31159 spurious underflow.
31160 * sysdeps/i386/fpu/libm-test-ulps: Update.
31161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31163 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
31165 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31167 * catgets/xopen-msg.awk: New file.
31168 * catgets/xopen-msg.sed: Removed.
31170 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31172 * intl/po2test.awk: New file.
31173 * intl/po2test.sed: Removed.
31175 2012-07-04 Joseph Myers <joseph@codesourcery.com>
31178 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31179 or multiply small sinh result by itself.
31180 * math/s_ctanf.c (__ctanf): Likewise.
31181 * math/s_ctanh.c (__ctanh): Likewise.
31182 * math/s_ctanhf.c (__ctanhf): Likewise.
31183 * math/s_ctanhl.c (__ctanhl): Likewise.
31184 * math/s_ctanl.c (__ctanl): Likewise.
31185 * math/libm-test.inc (ctan_test_tonearest): New function.
31186 (ctan_test_towardzero): Likewise.
31187 (ctan_test_downward): Likewise.
31188 (ctan_test_upward): Likewise.
31189 (ctanh_test_tonearest): Likewise.
31190 (ctanh_test_towardzero): Likewise.
31191 (ctanh_test_downward): Likewise.
31192 (ctanh_test_upward): Likewise.
31193 (main): Call these new functions.
31194 * sysdeps/i386/fpu/libm-test-ulps: Update.
31195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31197 2012-07-03 Mike Frysinger <vapier@gentoo.org>
31199 * .gitignore: Delete /ports entry.
31201 2012-07-03 Andreas Jaeger <aj@suse.de>
31203 * po/bg.po: Update from translation team.
31204 * po/cs.po: Likewise.
31205 * po/de.po: Likewise.
31206 * po/hr.po: Likewise.
31207 * po/nl.pl: Likewise.
31208 * po/pl.po: Likewise.
31209 * po/vi.po: Likewise.
31211 2012-07-03 Joseph Myers <joseph@codesourcery.com>
31213 * Makeconfig [!+link] (+link-before-libc): New variable.
31214 [!+link] (+link-after-libc): Likewise.
31215 [!+link] (+link-tests): Likewise.
31216 [!+link] (+link): Define in terms of $(+link-before-libc) and
31217 $(+link-after-libc).
31218 [!+link-static] (+link-static-before-libc): New variable.
31219 [!+link-static] (+link-static-after-libc): Likewise.
31220 [!+link-static] (+link-static-tests): Likewise.
31221 [!+link-static] (+link-static): Define in terms of
31222 $(+link-static-before-libc) and $(+link-static-after-libc).
31223 [build-shared] (link-libc-before-gnulib): New variable.
31224 [build-shared] (link-libc-tests): Likewise.
31225 [build-shared] (link-libc): Define in terms of
31226 $(link-libc-before-gnulib).
31227 [!build-shared] (link-libc-tests): New variable.
31228 (link-libc-static-tests): New variable.
31229 [!gnulib] (gnulib-arch): New variable.
31230 [!gnulib] (gnulib-tests): Likewise.
31231 [!gnulib] (static-gnulib-arch): Likewise.
31232 [!gnulib] (static-gnulib-tests): Likewise.
31233 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
31234 Define with "=" instead of ":=".
31235 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
31236 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
31237 * Rules (binaries-all-notests): New variable.
31238 (binaries-all-tests): Likewise.
31239 (binaries-static-notests): Likewise.
31240 (binaries-static-tests): Likewise.
31241 (binaries-all): Define using $(binaries-all-notests) and
31242 $(binaries-all-tests).
31243 (binaries-static): Define using $(binaries-static-notests) and
31244 $(binaries-static-tests).
31245 (binaries-shared-tests): New variable.
31246 (binaries-shared-notests): Likewise.
31247 (binaries-shared): Remove variable.
31248 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31249 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31250 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31251 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31252 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31253 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31254 * elf/Makefile (sln-modules): New variable.
31255 (extra-objs): Add $(sln-modules:=.o).
31256 (ldconfig-modules): Add static-stubs.
31257 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31258 * elf/static-stubs.c: New file.
31261 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31262 by 7 not 8 to examine high bit of fractional part. Use volatile
31263 variables when splitting into final array of floats if
31264 __FLT_EVAL_METHOD__ != 0.
31265 * math/libm-test.inc (cos_test): Add another test.
31266 (sin_test): Likewise.
31267 * sysdeps/i386/fpu/libm-test-ulps: Update.
31270 * math/libm-test.inc (cosh_test): Add more tests.
31272 * version.h (RELEASE): Set to "development".
31273 (VERSION): Set to "2.16.90".
31275 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31277 * NEWS: Update copyright. Remove last-updated date.
31278 Mention math library bug fixes and timezone data changes.
31279 * README: Mention GNU/Hurd, x32, and HPPA support status.
31281 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31283 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31285 2012-06-27 Andreas Jaeger <aj@suse.de>
31287 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31289 2012-06-25 Andreas Jaeger <aj@suse.de>
31291 * sysdeps/s390/fpu/libm-test-ulps: Update.
31293 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31294 Thomas Schwinge <thomas@codesourcery.com>
31296 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31297 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31298 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31301 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31303 * sysdeps/mach/start.c: Remove file.
31304 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31305 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31306 * sysdeps/sh/init-first.c: Likewise.
31308 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31309 registers for frame unwinding purposes, add CFI directives.
31310 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31311 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31312 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31315 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31316 __fortify_fail returning.
31317 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31319 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31320 sysdeps/sh/____longjmp_chk.S.
31321 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31322 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31323 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31324 (gen-as-const-headers): Append sigaltstack-offsets.sym.
31326 * sysdeps/sh/abort-instr.h: New file.
31327 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31328 process in case exit returns.
31330 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31331 initialize the GOT register before use.
31333 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31334 calculation of ARGC > 4.
31336 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31337 meaningful names to some local labels.
31339 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31340 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31342 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31343 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31344 (__arch_compare_and_exchange_val_16_acq): Likewise.
31345 (__arch_compare_and_exchange_val_32_acq): Likewise.
31346 (atomic_exchange_and_add): Fix gUSA sequence.
31347 (atomic_add): Likewise.
31348 (atomic_add_negative): Likewise.
31349 (atomic_add_zero): Likewise.
31350 (atomic_bit_test_set): Likewise.
31352 2012-06-22 Andreas Schwab <schwab@redhat.com>
31355 * include/link.h (struct link_map): Add l_free_initfini.
31356 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31358 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31359 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31360 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31363 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
31365 * configure.in: Use AC_LANG_SOURCE.
31366 * configure: Regenerate.
31368 2012-06-22 Roland McGrath <roland@hack.frob.com>
31370 * configure.in (libc_cv_localstatedir): New substituted variable.
31371 * configure: Regenerated.
31372 * config.make.in (localstatedir): New variable, substituted from
31373 libc_cv_localstatedir.
31374 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31375 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31376 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31377 * sysdeps/gnu/configure: Regenerated.
31379 2012-06-21 Jeff Law <law@redhat.com>
31382 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31383 free. Simplify list management for _LIBC case.
31385 2012-06-21 Joseph Myers <joseph@codesourcery.com>
31388 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31389 Clear sign bit of 64-bit integer value before comparing against
31392 * sysdeps/mach/configure: Regenerated.
31394 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
31397 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31399 2012-06-21 Jeff Law <law@redhat.com>
31402 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
31403 uint16_t for elements in the "seen" array to avoid char overflows.
31404 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31405 * elf/dl-open.c (dl_open_worker): Likewise.
31407 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
31409 * scripts/list-sources.sh: Scan PORTS for translations.
31410 * po/libc.pot: Regenerated.
31412 2012-06-21 Andreas Jaeger <aj@suse.de>
31415 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31417 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31418 * bits/byteswap-16.h (__bswap_16): Likewise.
31419 * bits/byteswap.h (__bswap_constant_16): Likewise.
31421 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
31424 * sysdeps/i386/fpu_control.h: Removed.
31425 * sysdeps/x86_64/fpu_control.h: Moved to ...
31426 * sysdeps/x86/fpu_control.h: Here.
31428 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31429 (_FPU_SETCW): Likewise.
31431 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
31434 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31435 * sysdeps/x86/fpu/bits/mathinline.h: This.
31436 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31440 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31441 functions if __x86_64__ is defined.
31443 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
31445 * string/endian.h: Add !__ASSEMBLER__ condition for including
31446 conversion interfaces.
31448 2012-06-15 Joseph Myers <joseph@codesourcery.com>
31451 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31452 of ABS(x) in calculating zero to negative powers other than odd
31454 * math/libm-test.inc (pow_test): Add more tests.
31456 2012-06-15 Andreas Jaeger <aj@suse.de>
31458 * manual/contrib.texi (Contributors): Update entry of Liubov
31459 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31462 2012-06-15 Cyril Hrubis <metan@ucw.cz>
31464 * string/string.h: Add __wur to GNU version of strerror_r.
31466 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
31469 * string/Makefile (tests): Add tst-strtok_r.
31470 * string/tst-strtok_r.c: New file.
31471 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31472 RAX_LP/RDX_LP on SAVE_PTR.
31474 2012-06-14 Roland McGrath <roland@hack.frob.com>
31476 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31478 2012-06-14 Joseph Myers <joseph@codesourcery.com>
31480 * libm_test.inc (csqrt_test): Allow more spurious underflow
31482 (j0_test): Likewise.
31483 (j1_test): Likewise.
31484 (y0_test): Likewise.
31485 (y1_test): Likewise.
31487 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
31489 * po/Makefile (libc.pot): Use UTF-8 charset.
31491 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
31494 Suppress sign-conversion warning from FD_SET.
31495 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31496 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31497 not unsigned long int.
31498 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31500 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
31504 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31505 __extern_always_inline instead of __extern_inline.
31506 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31507 (__signbit): Likewise.
31508 (__signbitl): Support C++ namespace.
31509 (lrintf): New inline function.
31511 (llrintf): Likewise.
31512 (llrint): Likewise.
31522 (floorf): Likewise.
31523 (nearbyint): Likewise.
31524 (nearbyintf): Likewise.
31526 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
31528 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31529 non-default versions.
31531 2012-06-11 Roland McGrath <roland@hack.frob.com>
31534 * manual/argp.texi (Argp): Reword argp_parse description slightly.
31536 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
31538 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31539 (FE_UPWARD, FE_DOWNWARD): Don't define.
31540 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31541 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31543 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31545 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31546 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31548 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31550 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31551 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31552 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31553 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31555 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
31558 * sysdeps/i386/fpu/bits/fenv.h: Removed.
31559 * sysdeps/i386/fpu/Implies: New file.
31560 * sysdeps/x86_64/fpu/Implies: Likewise.
31561 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31562 * sysdeps/x86/fpu/bits/fenv.h: This.
31564 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31567 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31570 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31571 character 0xffff that matches the last element of the
31574 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31576 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31579 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31581 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31582 values higher than 25.6283.
31584 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31586 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31587 subnormal exponent extraction and add some __builtin_expect.
31588 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31589 Fix for subnormal mantissa calculation.
31591 2012-06-04 Mike Frysinger <vapier@gentoo.org>
31593 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31594 cpu2 is -1 and errno is not ENOSYS.
31596 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
31599 * sysdeps/i386/i486/bits/string.h: Renamed to ...
31600 * sysdeps/x86/bits/string.h: This.
31601 * sysdeps/x86_64/bits/string.h: Removed.
31603 * sysdeps/i386/i486/bits/string.h: Define inline functions only
31604 if not compiling for x86-64, but compiling for >= i486.
31606 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31607 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31609 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31610 New macro from Linux kernel 3.4.0.
31611 (FP_XSTATE_MAGIC2): Likewise.
31612 (FP_XSTATE_MAGIC2_SIZE): Likewise.
31613 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31614 (struct _fpx_sw_bytes): New struct.
31615 (struct _xsave_hdr): Likewise.
31616 (struct _ymmh_state): Likewise.
31617 (struct _xstate): Likewise.
31619 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31620 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31621 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31622 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31623 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31624 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31626 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31627 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31628 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31629 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31630 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31631 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31633 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31636 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31637 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31638 (sysdep_headers): Include sys/platform/ppc.h.
31639 * sysdeps/powerpc/test-gettimebase.c: Test for
31640 __ppc_get_timebase() to catch future ISA opcode/insn changes.
31641 * manual/Makefile (appendices): Include platform.texi.
31642 * manual/contrib.texi (Contributors): Update @node pointers.
31643 * manual/maint.texi (Maintenance): Likewise.
31644 (Platform): New node.
31645 * manual/platform.texi: New file. Document the new features.
31647 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31648 Jakub Jelinek <jakub@redhat.com>
31651 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31652 where __builtin_expect is unavailable.
31654 2012-06-03 David S. Miller <davem@davemloft.net>
31656 * stdlib/longlong.h: Updated from GCC.
31658 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
31661 * sysdeps/powerpc/powerpc32/mcount.c: New file.
31662 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31665 (GLIBC_2.16): Likewise.
31667 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31669 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31671 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31674 (default-abi): New variable.
31675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31676 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31678 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31680 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31682 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31685 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31686 definition. Document in comment.
31688 2012-06-01 David S. Miller <davem@davemloft.net>
31690 * stdlib/longlong.h: Updated from GCC.
31692 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31695 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31696 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31697 sys/debugreg.h sys/io.h here.
31698 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31699 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31701 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31702 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31703 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31704 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31705 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31706 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31708 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31709 Define only if __x86_64__ is defined.
31711 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31714 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31715 Use int64_t for variable i.
31716 * math/libm-test.inc (fmod_test): Add more tests.
31718 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31719 z computation is not scheduled after fetestexcept.
31720 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31721 Use math_force_eval instead of asm to ensure calculation scheduled
31722 before exception test.
31723 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31724 Ensure a1 + u.d computation is not scheduled after fetestexcept.
31726 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
31728 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31729 computation is not scheduled after fetestexcept.
31731 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31734 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31735 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31737 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31739 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31740 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31742 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31745 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31747 (__WCHAR_MIN): Support __WORDSIZE == 64.
31748 (__WCHAR_MAX): Likewise.
31750 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31751 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31754 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31755 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31758 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31759 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31761 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31762 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31764 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31765 Defined to 1 if __x86_64__ isn't defined.
31766 (_STAT_VER_LINUX_OLD): New.
31767 (st_atime): Remove duplicate.
31768 (st_mtime): Likewise.
31769 (st_ctime): Likewise.
31771 2012-05-31 David S. Miller <davem@davemloft.net>
31773 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31776 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
31778 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31782 * elf/dl-reloc.c: Include <_itoa.h>.
31783 (_dl_reloc_bad_type): Remove use of INTUSE.
31784 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31785 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31786 * stdio-common/psiginfo.c (psiginfo): Likewise.
31787 * stdio-common/psignal.c (psignal): Likewise.
31788 * string/strsignal.c (strsignal): Likewise.
31789 * include/signal.h (_sys_siglist): Declare hidden proto.
31790 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
31791 INTVARDEF with libc_hidden_data_def.
31792 * stdio-common/itoa-udigits.c: Likewise.
31793 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31794 (_itoa_lower_digits_internal): Remove declaration.
31795 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31796 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31797 (_sys_sigabbrev_internal): Remove aliases.
31798 (_sys_siglist): Define hidden alias.
31800 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
31802 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31805 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31808 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31809 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31811 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31812 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31813 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31814 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31815 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31816 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31818 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31819 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31820 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31822 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31830 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31831 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31832 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31834 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31835 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31836 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31837 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31838 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31839 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31841 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31842 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31844 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31845 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31847 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31848 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31849 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31851 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31852 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31854 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31856 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31857 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31858 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31860 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31862 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31864 2012-05-31 Joseph Myers <joseph@codesourcery.com>
31866 * math/math.h (M_El): Use two more decimal places.
31867 (M_LOG2El): Likewise.
31868 (M_LOG10El): Likewise.
31869 (M_LN2l): Likewise.
31870 (M_LN10l): Likewise.
31872 (M_PI_2l): Likewise.
31873 (M_PI_4l): Likewise.
31874 (M_1_PIl): Likewise.
31875 (M_2_PIl): Likewise.
31876 (M_2_SQRTPIl): Likewise.
31877 (M_SQRT2l): Likewise.
31878 (M_SQRT1_2l): Likewise.
31880 2012-05-31 David S. Miller <davem@davemloft.net>
31882 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31883 values between float registers.
31884 * sysdeps/sparc/sparc64/memset.S: Likewise.
31885 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31887 2012-05-31 Mike Frysinger <vapier@gentoo.org>
31889 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31890 -D_FORTIFY_SOURCE=1.
31891 (CPPFLAGS-tst-longjmp_chk.c): Define.
31892 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31893 (CPPFLAGS-tst-longjmp_chk2.c): Define.
31894 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31895 CFLAGS-tst-wchar-h.c.
31897 2012-05-31 Marek Polacek <polacek@redhat.com>
31900 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31901 __endmntent_internal): Remove declaration.
31902 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31903 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31904 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31906 2012-05-30 David S. Miller <davem@davemloft.net>
31908 * sysdeps/sparc/sparc32/soft-fp/q_util.c
31909 (___Q_simulate_exceptions): Use real FP ops rather than writing
31911 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31914 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31917 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31918 * sysdeps/x86/bits/xtitypes.h: This.
31920 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31921 * sysdeps/x86/bits/wordsize.h: This.
31923 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31924 * sysdeps/x86/bits/huge_vall.h: This.
31926 * sysdeps/i386/bits/select.h: Removed.
31927 * sysdeps/x86_64/bits/select.h: Renamed to ...
31928 * sysdeps/x86/bits/select.h: This.
31930 * sysdeps/i386/bits/setjmp.h: Removed.
31931 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31932 * sysdeps/x86/bits/setjmp.h: This.
31934 * sysdeps/i386/bits/mathdef.h: Removed.
31935 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31936 * sysdeps/x86/bits/mathdef.h: This.
31938 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
31941 * include/sys/socket.h (__connect_internal)
31942 (__libc_sa_len_internal): Remove declaration.
31943 (__connect, __libc_sa_len): Declare hidden_proto.
31944 (SA_LEN): Remove use of INTUSE.
31945 * socket/connect.c: Add libc_hidden_def.
31946 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31947 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31948 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31950 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31951 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31952 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31953 of adding _internal alias.
31955 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31958 * sysdeps/i386/bits/link.h: Removed.
31959 * sysdeps/i386/bits/linkmap.h: Likewise.
31960 * sysdeps/x86_64/bits/link.h: Renamed to ...
31961 * sysdeps/x86/bits/link.h: This.
31962 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31963 * sysdeps/x86/bits/linkmap.h: This.
31965 * sysdeps/i386/bits/endian.h: Removed.
31966 * sysdeps/x86_64/bits/endian.h: Renamed to ...
31967 * sysdeps/x86/bits/endian.h: This.
31969 * sysdeps/i386/bits/byteswap.h: Removed.
31970 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31971 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31972 * sysdeps/x86/bits/byteswap.h: This.
31973 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31974 * sysdeps/x86/bits/byteswap-16.h: This.
31975 * sysdeps/i386/Implies: Add x86.
31976 * sysdeps/x86_64/Implies: Likewise.
31978 2012-05-30 David S. Miller <davem@davemloft.net>
31980 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31981 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31982 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31983 (FP_TRAPPING_EXCEPTIONS): Define.
31984 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31985 (FP_TRAPPING_EXCEPTIONS): Define.
31986 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31987 subnormals only when inexact has been signalled or underflow
31988 exceptions are enabled.
31989 (_FP_PACK_CANONICAL): Likewise.
31991 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31994 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31995 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31997 2012-05-30 Richard Henderson <rth@twiddle.net>
31999 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32000 with #ifndef NOT_IN_libc.
32002 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
32003 marked to avoid plt entry.
32005 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32008 * Makeconfig (default-abi): New macro.
32009 (abi-includes): Likewise.
32010 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
32011 $(abi-$(default-abi)-lib-soname) for soname if defined.
32012 ($(common-objpfx)gnu/lib-names.stmp): Generate from
32014 * Makefile (installed-stubs): Likewise.
32015 * include/stubs-biarch.h: Removed.
32016 * scripts/lib-names.awk: Only handle one library at a time.
32017 * scripts/soversions.awk: Remove WORDSIZE support.
32018 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32020 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32022 (syscall-list-default-condition): Likewise.
32023 (syscall-list-default-condition): Likewise.
32024 (syscall-list-includes): Likewise.
32025 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32026 syscall-list-* with abi-*. Handle undefined abi-variants.
32027 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32028 * sysdeps/unix/sysv/linux/i386/Implies: New file.
32029 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32030 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32031 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32032 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32034 (syscall-list-32-options): Likewise.
32035 (syscall-list-32-condition): Likewise.
32036 (syscall-list-64-options): Likewise.
32037 (syscall-list-64-condition): Likewise.
32038 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32040 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32043 (abi-64-ld-soname): New macro.
32044 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32045 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32048 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32049 * sysdeps/x86_64/x32/shlib-versions: Likewise.
32051 2012-05-30 Joseph Myers <joseph@codesourcery.com>
32053 * sysdeps/unix/sysv/linux/kernel-features.h
32054 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32055 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32056 include <kernel-features.h>.
32057 [!__NR_ftruncate64]: Remove conditional code.
32058 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32059 [__NR_ftruncate64]: Make code unconditional.
32060 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32061 * sysdeps/unix/sysv/linux/truncate64.c: Do not
32062 include <kernel-features.h>.
32063 [!__NR_ftruncate64]: Remove conditional code.
32064 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32065 [__NR_ftruncate64]: Make code unconditional.
32066 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32068 include <kernel-features.h>.
32069 [!__NR_ftruncate64]: Remove conditional code.
32070 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32071 [__NR_ftruncate64]: Make code unconditional.
32072 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32074 include <kernel-features.h>.
32075 [!__NR_ftruncate64]: Remove conditional code.
32076 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32077 [__NR_ftruncate64]: Make code unconditional.
32078 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32080 * configure.in (libc_cv_fpie): Weaken to a compile test using
32081 LIBC_TRY_CC_OPTION.
32082 * configure: Regenerated.
32084 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32093 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32099 2012-05-27 David S. Miller <davem@davemloft.net>
32101 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32103 (__Q_simulate_exceptions): Return void. Change to simulate
32104 exceptions by writing into the %fsr.
32105 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32106 (__Qp_handle_exceptions): Likewise.
32108 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32109 __Qp_handle_exceptions.
32110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32111 __Qp_handle_exceptions.
32112 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32113 as unused and give dummy FP_RND_NEAREST initializer.
32114 (FP_INHIBIT_RESULTS): Define.
32115 (___Q_simulate_exceptions): Update declaration.
32116 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32118 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32119 as unused and give dummy FP_RND_NEAREST initializer.
32120 (__Qp_handle_exceptions): Update declaration.
32121 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32124 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
32126 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32127 the temporary FPU control word.
32128 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32129 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32130 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32131 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32132 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32133 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32134 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32135 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32136 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32137 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32138 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32140 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32142 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32145 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
32147 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32148 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32149 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32150 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32152 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32153 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32156 2012-05-27 Ulrich Drepper <drepper@gmail.com>
32158 * po/h.po: Update from translation team.
32160 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
32162 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32164 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32165 handling of denormals.
32166 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32167 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32168 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32169 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32170 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32171 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32172 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32175 2012-05-26 Marek Polacek <polacek@redhat.com>
32178 * math/libm-test.inc (fma_test): Don't always expect underflow
32181 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32184 * elf/tst-execstack.c: Include stackinfo.h.
32185 (do_test): Adjust test case to ensure that pthread_getattr_np
32186 behaviour remains the same after marking stack executable.
32188 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32190 * sysdeps/unix/sysv/linux/kernel-features.h
32191 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32192 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32194 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32195 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32196 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32198 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32199 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32201 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
32203 * configure.in: Define the default includes to being none.
32204 * configure: Regenerated.
32206 2012-05-25 Roland McGrath <roland@hack.frob.com>
32208 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32209 * sysdeps/x86_64/setjmp.S: Likewise.
32210 * sysdeps/i386/bsd-setjmp.S: Likewise.
32211 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32212 * sysdeps/i386/setjmp.S: Likewise.
32213 * sysdeps/i386/__longjmp.S: Likewise.
32214 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32215 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32217 * include/stap-probe.h: New file.
32218 * configure.in: Handle --enable-systemtap.
32219 * configure: Regenerated.
32220 * config.h.in (USE_STAP_PROBE): New #undef.
32221 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32222 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32223 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32225 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32228 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32229 to 2.4.0 where earlier.
32230 * sysdeps/unix/sysv/linux/configure: Regenerated.
32231 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32232 <kernel-features.h>.
32233 [__ASSUME_32BITUIDS]: Make code unconditional.
32234 [!__ASSUME_32BITUIDS]: Remove conditional code.
32235 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32236 <kernel-features.h>.
32237 [__ASSUME_32BITUIDS]: Make code unconditional.
32238 [!__ASSUME_32BITUIDS]: Remove conditional code.
32239 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32240 [__ASSUME_32BITUIDS]: Make code unconditional.
32241 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32242 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32243 <kernel-features.h>.
32244 [__ASSUME_32BITUIDS]: Make code unconditional.
32245 [!__ASSUME_32BITUIDS]: Remove conditional code.
32246 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32247 <kernel-features.h>.
32248 [__ASSUME_32BITUIDS]: Make code unconditional.
32249 [!__ASSUME_32BITUIDS]: Remove conditional code.
32250 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32251 <kernel-features.h>.
32252 [__ASSUME_32BITUIDS]: Make code unconditional.
32253 [!__ASSUME_32BITUIDS]: Remove conditional code.
32254 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32255 <kernel-features.h>.
32256 [__ASSUME_32BITUIDS]: Make code unconditional.
32257 [!__ASSUME_32BITUIDS]: Remove conditional code.
32258 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32259 <kernel-features.h>.
32260 [__ASSUME_32BITUIDS]: Make code unconditional.
32261 [!__ASSUME_32BITUIDS]: Remove conditional code.
32262 * sysdeps/unix/sysv/linux/i386/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
32283 <kernel-features.h>.
32284 [__NR_setresgid] (__setresgid): Do not declare.
32285 [__ASSUME_32BITUIDS]: Make code unconditional.
32286 [!__ASSUME_32BITUIDS]: Remove conditional code.
32287 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32288 <kernel-features.h>.
32289 [__NR_setresuid] (__setresuid): Do not declare.
32290 [__ASSUME_32BITUIDS]: Make code unconditional.
32291 [!__ASSUME_32BITUIDS]: Remove conditional code.
32292 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32293 <kernel-features.h>.
32294 [__ASSUME_32BITUIDS]: Make code unconditional.
32295 [!__ASSUME_32BITUIDS]: Remove conditional code.
32296 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32297 <kernel-features.h>.
32298 [__ASSUME_32BITUIDS]: Make code unconditional.
32299 [!__ASSUME_32BITUIDS]: Remove conditional code.
32300 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32301 <kernel-features.h>.
32302 [__ASSUME_32BITUIDS]: Make code unconditional.
32303 [!__ASSUME_32BITUIDS]: Remove conditional code.
32304 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32305 <kernel-features.h>.
32306 [__ASSUME_32BITUIDS]: Make code unconditional.
32307 [!__ASSUME_32BITUIDS]: Remove conditional code.
32308 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32309 <kernel-features.h>.
32310 [__ASSUME_32BITUIDS]: Make code unconditional.
32311 [!__ASSUME_32BITUIDS]: Remove conditional code.
32312 * sysdeps/unix/sysv/linux/i386/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
32333 (__ASSUME_SETRESUID_SYSCALL): Remove.
32334 (__ASSUME_SETRESGID_SYSCALL): Likewise.
32335 (__ASSUME_32BITUIDS): Likewise.
32336 (__ASSUME_LDT_WORKS): Likewise.
32337 (__ASSUME_O_DIRECTORY): Likewise.
32338 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32339 architecture but not kernel version.
32340 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32341 (__ASSUME_MMAP2_SYSCALL): Likewise.
32342 (__ASSUME_STAT64_SYSCALL): Likewise.
32343 (__ASSUME_IPC64): Likewise.
32344 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32345 <kernel-features.h>.
32346 [__ASSUME_32BITUIDS]: Make code unconditional.
32347 [!__ASSUME_32BITUIDS]: Remove conditional code.
32348 * sysdeps/unix/sysv/linux/opendir.c: Do not include
32349 <kernel-features.h>.
32350 [__ASSUME_O_DIRECTORY]: Make code unconditional.
32351 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32352 132096]: Remove conditional code.
32353 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32354 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32355 <kernel-features.h>.
32356 [__ASSUME_32BITUIDS]: Make code unconditional.
32357 [!__ASSUME_32BITUIDS]: Remove conditional code.
32358 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32359 <kernel-features.h>.
32360 [__ASSUME_32BITUIDS]: Make code unconditional.
32361 [!__ASSUME_32BITUIDS]: Remove conditional code.
32362 * sysdeps/unix/sysv/linux/setegid.c: Do not include
32363 <kernel-features.h>.
32364 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32366 (__setresgid): Do not declare.
32367 [__ASSUME_32BITUIDS]: Make code unconditional.
32368 [!__ASSUME_32BITUIDS]: Remove conditional code.
32369 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32370 <kernel-features.h>.
32371 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32373 (__setresuid): Do not declare.
32374 [__ASSUME_32BITUIDS]: Make code unconditional.
32375 [!__ASSUME_32BITUIDS]: Remove conditional code.
32376 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32377 <kernel-features.h>.
32378 [__ASSUME_32BITUIDS]: Make code unconditional.
32379 [!__ASSUME_32BITUIDS]: Remove conditional code.
32380 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32381 <kernel-features.h>.
32382 [__ASSUME_32BITUIDS]: Make code unconditional.
32383 [!__ASSUME_32BITUIDS]: Remove conditional code.
32385 2012-05-25 Richard Henderson <rth@twiddle.net>
32387 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32388 dl_hwcap to ifunc resolver.
32389 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32391 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32392 dl_hwcap to ifunc resolver.
32393 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32395 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32398 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32399 for |x| <= 2**-26, not 2**-57.
32400 * math/libm-test.inc (acos_test): Do not allow spurious underflow
32403 2012-05-24 Jeff Law <law@redhat.com>
32405 * stdio-common/Makefile (tests): Add bug25.
32406 * stdio-common/bug25.c: New test.
32408 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32411 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32412 multiple of MALLOC_ALIGNMENT in size.
32413 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32415 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32417 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32419 (FILENAME_MAX): Use macro-int-constant.
32420 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
32421 (_IOFBF): Use macro-int-constant.
32422 (_IOLBF): Likewise.
32423 (_IONBF): Likewise.
32424 (SEEK_CUR): Likewise.
32425 (SEEK_END): Likewise.
32426 (SEEK_SET): Likewise.
32427 (TMP_MAX): Likewise.
32428 (EOF): Use macro-int-constant. Require < 0.
32429 (NULL): Use macro-constant. Require == 0.
32430 (stdin): Require type to be FILE *.
32431 (stdout): Likewise.
32432 (stderr): Likewise.
32433 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32434 macro-int-constant.
32435 (EXIT_SUCCESS): Likewise.
32436 (NULL): Use macro-constant. Require == 0.
32437 (RAND_MAX): Use macro-int-constant.
32438 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32439 [C99-based standards] (strtof): Require function.
32440 [C99-based standards] (strtold): Likewise.
32441 [C99-based standards] (strtoll): Likewise.
32442 [C99-based standards] (strtoull): Likewise.
32443 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32444 [ISO || ISO99 || ISO11] (limits.h): Likewise.
32445 [ISO || ISO99 || ISO11] (math.h): Likewise.
32446 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32447 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32448 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32450 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
32453 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32454 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32455 * intl/dgettext.c (DCGETTEXT): Likewise.
32456 * intl/gettext.c (DCGETTEXT): Likewise.
32457 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32458 * posix/regex_internal.h (gettext): Likewise.
32459 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32460 Remove declaration.
32461 * include/argz.h (__argz_count_internal)
32462 (__argz_stringify_internal): Remove declaration.
32463 (__argz_count, __argz_stringify): Declare hidden proto.
32464 * intl/dcgettext.c: Remove use of INTDEF.
32465 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32466 * string/argz-stringify.c: Likewise.
32467 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32468 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32469 Declare hidden proto.
32470 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32471 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32472 Declare hidden proto.
32473 * include/stdio.h (__asprintf_internal): Don't declare.
32474 (__asprintf): Don't define as macro. Declare hidden proto.
32475 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32476 (__fsetlocking): Declare hidden proto.
32477 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32478 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32480 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32481 (_IO_setlinebuf): Remove use of INTUSE.
32482 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32483 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32484 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32485 Remove declaration.
32486 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32487 (_IO_do_flush): Remove use of INTUSE.
32488 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32489 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32490 (_IO_adjust_column, _IO_least_wmarker)
32491 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32492 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32493 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32494 (_IO_default_doallocate, _IO_wdefault_doallocate)
32495 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32496 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32497 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32498 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32499 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32500 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32501 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32502 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32503 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32504 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32505 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32506 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32507 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32509 (_IO_flush_all_internal, _IO_adjust_column_internal)
32510 (_IO_default_uflow_internal, _IO_default_finish_internal)
32511 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32512 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32513 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32514 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32515 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32516 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32517 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32518 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32519 (_IO_file_close_internal, _IO_file_close_it_internal)
32520 (_IO_file_underflow_internal, _IO_file_overflow_internal)
32521 (_IO_file_init_internal, _IO_file_attach_internal)
32522 (_IO_file_fopen_internal, _IO_file_read_internal)
32523 (_IO_file_sync_internal, _IO_file_seek_internal)
32524 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32525 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32526 (_IO_str_underflow_internal, _IO_str_overflow_internal)
32527 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32528 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32529 (_IO_list_all_internal, _IO_link_in_internal)
32530 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32531 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32532 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32533 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32534 (_IO_do_write_internal, _IO_padn_internal)
32535 (_IO_getline_info_internal, _IO_getline_internal)
32536 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32537 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32538 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32539 (_IO_vfscanf_internal, _IO_vfprintf_internal)
32540 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32541 (_IO_init_internal, _IO_un_link_internal): Don't declare.
32542 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32543 with libc_hidden_ver, remove use of INTUSE.
32544 * libio/genops.c: Likewise.
32545 * libio/freopen.c: Likewise.
32546 * libio/freopen64.c: Likewise.
32547 * libio/iofclose.c: Likewise.
32548 * libio/iofdopen.c: Likewise.
32549 * libio/iofflush.c: Likewise.
32550 * libio/iofflush_u.c: Likewise.
32551 * libio/iofgets.c: Likewise.
32552 * libio/iofgets_u.c: Likewise.
32553 * libio/iofopen.c: Likewise.
32554 * libio/iofopncook.c: Likewise.
32555 * libio/iofread.c: Likewise.
32556 * libio/iofread_u.c: Likewise.
32557 * libio/ioftell.c: Likewise.
32558 * libio/iofwrite.c: Likewise.
32559 * libio/iogetline.c: Likewise.
32560 * libio/iogets.c: Likewise.
32561 * libio/iogetwline.c: Likewise.
32562 * libio/iopadn.c: Likewise.
32563 * libio/iopopen.c: Likewise.
32564 * libio/ioseekoff.c: Likewise.
32565 * libio/ioseekpos.c: Likewise.
32566 * libio/iosetbuffer.c: Likewise.
32567 * libio/iosetvbuf.c: Likewise.
32568 * libio/ioungetc.c: Likewise.
32569 * libio/ioungetwc.c: Likewise.
32570 * libio/iovdprintf.c: Likewise.
32571 * libio/iovsprintf.c: Likewise.
32572 * libio/iovsscanf.c: Likewise.
32573 * libio/memstream.c: Likewise.
32574 * libio/obprintf.c: Likewise.
32575 * libio/oldfileops.c: Likewise.
32576 * libio/oldiofclose.c: Likewise.
32577 * libio/oldiofdopen.c: Likewise.
32578 * libio/oldiofopen.c: Likewise.
32579 * libio/oldiopopen.c: Likewise.
32580 * libio/oldstdfiles.c: Likewise.
32581 * libio/putc.c: Likewise.
32582 * libio/setbuf.c: Likewise.
32583 * libio/setlinebuf.c: Likewise.
32584 * libio/stdfiles.c: Likewise.
32585 * libio/strops.c: Likewise.
32586 * libio/vasprintf.c: Likewise.
32587 * libio/vscanf.c: Likewise.
32588 * libio/vsnprintf.c: Likewise.
32589 * libio/vswprintf.c: Likewise.
32590 * libio/wfiledoalloc.c: Likewise.
32591 * libio/wfileops.c: Likewise.
32592 * libio/wgenops.c: Likewise.
32593 * libio/wmemstream.c: Likewise.
32594 * libio/wstrops.c: Likewise.
32595 * libio/__fpurge.c: Likewise.
32596 * libio/__fsetlocking.c: Likewise.
32597 * assert/assert.c: Likewise.
32598 * debug/fgets_chk.c: Likewise.
32599 * debug/fgets_u_chk.c: Likewise.
32600 * debug/fread_chk.c: Likewise.
32601 * debug/fread_u_chk.c: Likewise.
32602 * debug/gets_chk.c: Likewise.
32603 * debug/obprintf_chk.c: Likewise.
32604 * debug/vasprintf_chk.c: Likewise.
32605 * debug/vdprintf_chk.c: Likewise.
32606 * debug/vsnprintf_chk.c: Likewise.
32607 * debug/vsprintf_chk.c: Likewise.
32608 * malloc/mtrace.c: Likewise.
32609 * misc/error.c: Likewise.
32610 * misc/syslog.c: Likewise.
32611 * stdio-common/asprintf.c: Likewise.
32612 * stdio-common/fxprintf.c: Likewise.
32613 * stdio-common/getw.c: Likewise.
32614 * stdio-common/isoc99_fscanf.c: Likewise.
32615 * stdio-common/isoc99_scanf.c: Likewise.
32616 * stdio-common/isoc99_vfscanf.c: Likewise.
32617 * stdio-common/isoc99_vscanf.c: Likewise.
32618 * stdio-common/isoc99_vsscanf.c: Likewise.
32619 * stdio-common/printf-prs.c: Likewise.
32620 * stdio-common/printf_fp.c: Likewise.
32621 * stdio-common/printf_fphex.c: Likewise.
32622 * stdio-common/printf_size.c: Likewise.
32623 * stdio-common/putw.c: Likewise.
32624 * stdio-common/scanf.c: Likewise.
32625 * stdio-common/sprintf.c: Likewise.
32626 * stdio-common/tmpfile.c: Likewise.
32627 * stdio-common/vfprintf.c: Likewise.
32628 * stdio-common/vfscanf.c: Likewise.
32629 * stdlib/strfmon_l.c: Likewise.
32630 * sunrpc/openchild.c: Likewise.
32631 * sunrpc/xdr_stdio.c: Likewise.
32632 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32633 * sysdeps/mach/hurd/tmpfile.c: Likewise.
32635 2012-05-24 Roland McGrath <roland@hack.frob.com>
32637 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32639 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32640 in the third column, to generate for the shared library an IFUNC
32641 that uses _dl_vdso_vsym.
32642 * Makerules (COMPILE.c, compile-stdin.c): New variables.
32643 * Makeconfig (object-suffixes-noshared): New variable.
32645 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32646 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32647 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32648 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32651 * include/sys/time.h (__gettimeofday): Remove macro.
32652 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32653 * time/gettimeofday.c (__gettimeofday): Remove #undef.
32655 (__gettimeofday): Add libc_hidden_def.
32656 (gettimeofday): Add libc_hidden_weak.
32657 * sysdeps/mach/gettimeofday.c: Likewise.
32658 * sysdeps/posix/gettimeofday.c: Likewise.
32659 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32660 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32661 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32662 (__gettimeofday_internal): Remove strong_alias.
32663 (__gettimeofday): Add libc_hidden_def.
32664 (gettimeofday): Add libc_hidden_weak.
32665 * sysdeps/unix/syscalls.list (gettimeofday):
32666 Remove __gettimeofday_internal alias.
32668 2012-05-24 Daniel Jacobowitz <drow@false.org>
32669 H.J. Lu <hongjiu.lu@intel.com>
32672 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32673 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32674 (largebin_index_32_big): New.
32675 (largebin_index): Use it for 16-byte alignment.
32676 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
32677 correction with front_misalign.
32679 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32681 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32682 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32684 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32686 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32688 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32690 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32692 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32694 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32696 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32698 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32700 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32707 * scripts/data/c++-types-x32-linux-gnu.data: New file.
32708 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32710 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32714 * math/libm-test.inc (exp_test): Add test from bug 14036.
32715 (pow_test): Add test from bug 10846.
32717 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32719 (special_function): Do not include flags in test name.
32720 (parse_args): Likewise.
32721 * sysdeps/i386/fpu/libm-test-ulps: Update.
32722 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32723 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32724 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32727 * math/gen-libm-test.pl (%beautify): Add entries for underflow
32729 * math/libm-test.inc ("Philosophy"): Update comment about
32731 (UNDERFLOW_EXCEPTION): New macro.
32732 (UNDERFLOW_EXCEPTION_OK): Likewise.
32733 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32734 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32735 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32736 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32737 (INVALID_EXCEPTION_OK): Update value.
32738 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32739 (OVERFLOW_EXCEPTION_OK): Likewise.
32740 (IGNORE_ZERO_INF_SIGN): Likewise.
32741 (test_exceptions): Handle underflow exceptions.
32742 (acos_test): Update for underflow exception expectations.
32743 (cexp_test): Likewise.
32744 (clog_test): Likewise.
32745 (clog10_test): Likewise.
32746 (csqrt_test): Likewise.
32747 (ctan_test): Likewise.
32748 (ctanh_test): Likewise.
32749 (exp_test): Likewise.
32750 (exp10_test): Likewise.
32751 (exp2_test): Likewise.
32752 (expm1_test): Likewise.
32753 (fma_test): Likewise.
32754 (j0_test): Likewise.
32755 (jn_test): Likewise.
32756 (nexttoward_test): Likewise.
32757 (pow_test): Likewise.
32758 (scalbn_test): Likewise.
32759 (scalbln_test): Likewise.
32760 (tan_test): Likewise.
32761 (y1_test): Likewise.
32762 * sysdeps/i386/fpu/libm-test-ulps: Update.
32763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32765 2012-05-23 David S. Miller <davem@davemloft.net>
32767 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32768 (__libc_sigaction): Remove unused local variables.
32770 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32772 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32774 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
32776 mktime: avoid signed integer overflow
32777 * time/mktime.c (__mktime_internal): Do not mishandle the case
32778 where diff == INT_MIN.
32780 mktime: simplify computation of average
32781 * time/mktime.c (ranged_convert): Use new time_t_avg function
32782 instead of rolling our own (probably-slower) code.
32784 mktime: do not assume signed right shift propagates sign bit
32785 * time/mktime.c (isdst_differ): New static function.
32786 (__mktime_internal): No need to normalize tm_isdst now.
32787 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32790 mktime: merge another wrapv change from gnulib
32791 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32792 from some compilers.
32794 mktime: remove incorrect attempt at unusual arithmetics
32795 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32796 The code didn't really work on such machines anyway.
32797 (TYPE_MINIMUM): Assume two's complement.
32798 (twos_complement_arithmetic): Verify that long_int and time_t
32799 are two's complement (or unsigned, in the latter case).
32801 mktime: check signed shifts on long_int and time_t, too
32802 * time/mktime.c (SHR): Check that shifts work as desired
32803 on the types long_int and time_t too, as SHR is used on
32806 mktime: do not assume 'long' is wide enough
32807 * time/mktime.c (verify): Move decl up.
32808 (long_int): New type.
32809 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32810 to remove assumption in the code that 'long' is wide enough to
32811 store year values. This assumption is not true on x32 and on
32812 some non-glibc platforms.
32814 mktime: merge wrapv change from gnulib
32815 * time/mktime.c (WRAPV): New macro.
32816 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32817 (guess_time_tm, __mktime_internal): Do not assume that signed
32818 integer overflow wraps around; modern compilers generate code
32819 where this assumption is no longer valid.
32821 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32823 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32824 Replace "jmp L(pseudo_end)" with "ret".
32825 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32828 2012-05-23 Andreas Jaeger <aj@suse.de>
32830 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32831 * sysdeps/unix/sysv/linux/poll.c: Remove file.
32833 2012-05-23 Andreas Jaeger <aj@suse.de>
32834 Maximilian Attems <max@stro.at>
32836 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32839 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32841 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32842 code so that pseudo_end is just ret and the stack pointer is
32843 correct also for static library in error case.
32845 2012-05-23 Joseph Myers <joseph@codesourcery.com>
32847 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32848 move to syscalls.list.
32849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32854 * manual/install.texi (Running make install): Do not mention Linux
32855 kernel version for which pt_chown is not needed.
32856 (Linux): Do not mention problems with nscd with 2.0 kernels.
32857 * INSTALL: Regenerated.
32859 2012-05-23 Andreas Jaeger <aj@suse.de>
32861 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32862 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32864 * sysdeps/unix/sysv/linux/s390/bits/mman.h
32865 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32866 * sysdeps/unix/sysv/linux/sh/bits/mman.h
32867 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32868 * sysdeps/unix/sysv/linux/i386/bits/mman.h
32869 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32870 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32871 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32872 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32873 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32874 * sysdeps/unix/sysv/linux/bits/in.h
32875 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32877 2012-05-22 Roland McGrath <roland@hack.frob.com>
32879 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32880 (PREPARE_VERSION): Just use assert instead, it will be elided
32881 under [NDEBUG] anyway.
32883 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32885 * sysdeps/unix/sysv/linux/Makefile: Include
32886 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32887 (sysdep_routines): Remove sysctl.
32888 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32889 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32890 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32891 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32892 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32894 2012-05-22 Andreas Jaeger <aj@suse.de>
32896 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32897 that pseudo_end is just ret and the stack pointer is correct also
32898 for static library in error case.
32900 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
32903 * nss/nsswitch.c (defconfig_entries): New variable.
32904 (__nss_database_lookup): Don't leak defconfig entries.
32905 (nss_parse_service_list): Don't leak on error paths.
32906 (free_database_entries): New function.
32907 (free_defconfig): New function.
32908 (free_mem): Move common code to free_database_entries.
32910 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32912 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32914 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32916 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32917 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32918 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32920 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32921 (INTERNAL_SYSCALL_TYPES): Likewise.
32922 (LOAD_ARGS_TYPES_[1-6]): Likewise.
32923 (LOAD_REGS_TYPES_[1-6]): Likewise.
32924 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32925 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32927 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32929 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32930 copysignl for GLIBC_2_0.
32931 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32932 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32933 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32934 logbl for GLIBC_2_0.
32935 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32936 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32938 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32940 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32941 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32943 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32946 * time/mktime.c: Update copyright years.
32948 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
32950 mktime: merge comment-quoting-style change from gnulib
32951 * time/mktime.c: Quote 'like this' in comments.
32952 The GNU coding standards suggest that we no longer quote `like this',
32953 as "`" and "'" are typically rendered asymmetrically nowadays.
32954 The typical gnulib style is to quote 'like this' when quoting
32955 code, and "like this" when quoting English.
32957 * time/mktime.c (compile-command): Add "-I.".
32959 mktime: merge mktime-internal.h change from gnulib
32960 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32962 mktime: merge time_r change from gnulib
32963 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32965 mktime: merge DEBUG change from gnulib
32966 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32967 case system <time.h> has a #define.
32969 mktime: merge <sys/types.h> change from gnulib
32970 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32971 since <time.t> is now guaranteed to define time_t.
32973 mktime: merge HAVE_CONFIG_H change from gnulib
32974 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32976 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32978 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32981 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32983 (struct rusage): Use anonymous union to pad each field to
32986 2012-05-21 David S. Miller <davem@davemloft.net>
32988 * Makefules (o-iterator): Remove .s cases.
32989 (compile-command.s): Delete.
32990 (COMPILE.s): Delete.
32991 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32993 2012-05-21 Joseph Myers <joseph@codesourcery.com>
32995 * configure.in (libc_cv_predef_stack_protector): Only consider
32996 "foobar" and "__stack_chk_fail" lines in libc_undefs.
32997 * configure: Regenerated.
32999 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33001 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33002 New macro. Use R*LP on int and pointer.
33003 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33004 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33005 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33006 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33008 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33009 [__WORDSIZE_TIME64_COMPAT32] instead of
33010 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33011 (struct utmp): Likewise.
33012 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33013 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33015 (__WORDSIZE_TIME64_COMPAT32): This.
33016 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33017 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33018 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33019 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33020 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33021 (__WORDSIZE_TIME64_COMPAT32): New macro.
33023 2012-05-21 Andreas Jaeger <aj@suse.de>
33025 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33026 only if [SHARED]. Add prototype for __wcschr_ia32.
33028 2012-05-21 Roland McGrath <roland@hack.frob.com>
33030 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33031 of %rbp unmolested in the jmp_buf while mangling the low bits.
33032 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33033 unmolested high bits of %rbp while demangling the low bits.
33034 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33036 2012-05-21 Andreas Jaeger <aj@suse.de>
33038 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33039 * sunrpc/svc_simple.c: Use it for registerrpc.
33040 * sunrpc/xcrypt.c: Use it for passwd2des.
33042 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33044 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33046 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33047 Don't define if [__SYSCALL_WORDSIZE != 32].
33048 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33051 2012-05-21 Bruno Haible <bruno@clisp.org>
33052 Andreas Jaeger <aj@suse.de>
33054 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33055 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33056 inptr and inend for must_buffer_ch.
33057 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33058 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33059 * stdio-common/Makefile (tests): Remove bug15.
33060 (bug15-ENV): Remove macro.
33061 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33064 2012-05-19 Andreas Jaeger <aj@suse.de>
33065 Roland McGrath <roland@hack.frob.com>
33067 * manual/contrib.texi: Completely rewritten. It contains now an
33068 alphabetical list of contributors and their contributions.
33070 2012-05-21 Richard Henderson <rth@twiddle.net>
33072 * misc/getauxval.c (__getauxval): Use unsigned long int.
33073 * misc/sys/auxv.h: Include <sys/cdefs.h>.
33074 (getauxval): Use unsigned long int.
33076 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33078 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33080 2012-05-21 Roland McGrath <roland@hack.frob.com>
33082 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33083 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33084 __alignof__ (long double).
33086 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33090 2012-05-20 Richard Henderson <rth@twiddle.net>
33092 * misc/getauxval.c: New file.
33093 * misc/sys/auxv.h: New file.
33094 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33095 (routines): Add getauxval.
33096 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33097 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33098 * elf/dl-sysdep.c (_dl_auxv): Remove.
33099 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33100 * elf/dl-support.c (_dl_auxv): New variable.
33101 (_dl_aux_init): Initialize it.
33102 * manual/startup.texi (Auxiliary Vector): New node.
33103 * sysdeps/generic/bits/hwcap.h: New file.
33104 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33105 * sysdeps/powerpc/sysdep.h: ... here. Include it.
33106 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33107 * sysdeps/sparc/sysdep.h: ... here. Include it.
33108 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33109 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33115 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33121 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33123 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33125 2012-05-19 David S. Miller <davem@davemloft.net>
33127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33129 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33132 * math/s_ccosh.c: Include <float.h>
33133 (__ccosh): Avoid internal overflow calculating sinh and cosh
33134 values before multiplying by sin and cos values.
33135 * math/s_ccoshf.c: Likewise.
33136 * math/s_ccoshl.c: Likewise.
33137 * math/s_csin.c: Likewise.
33138 * math/s_csinf.c: Likewise.
33139 * math/s_csinl.c: Likewise.
33140 * math/s_csinh.c: Likewise.
33141 * math/s_csinhf.c: Likewise.
33142 * math/s_csinhl.c: Likewise.
33143 * math/libm-test.inc (ccos_test): Add more tests.
33144 (ccosh_test): Likewise.
33145 (csin_test): Likewise.
33146 (csinh_test): Likewise.
33147 * sysdeps/i386/fpu/libm-test-ulps: Update.
33148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33150 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
33152 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33153 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33155 * sysdeps/x86_64/x32/_itoa.h: Add comment.
33157 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33159 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33160 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33161 * sysdeps/powerpc/soft-fp/Versions: Likewise.
33162 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33163 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33164 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33165 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33166 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33167 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33168 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33169 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33170 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33171 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33172 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33173 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33174 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33175 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33176 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33177 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33178 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33179 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33180 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33181 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33182 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33183 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33184 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33185 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33186 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33187 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33188 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33189 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33191 2012-05-18 Andreas Jaeger <aj@suse.de>
33193 * csu/.gitignore: Delete.
33195 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33197 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33198 (timex): Use __syscall_slong_t.
33200 2012-05-18 Andreas Jaeger <aj@suse.de>
33201 Carlos O'Donell <carlos_odonell@mentor.com>
33203 * manual/install.texi (Configuring and compiling): Update
33204 description about files modified in the source directory.
33205 * INSTALL: Regenerated.
33207 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33209 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33210 value. Use "or" to set return value to -1.
33211 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33212 negate return value.
33214 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33216 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33217 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33218 failure if the compiler has Graphite support disabled.
33219 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33221 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33222 (CFLAGS-memmove.c): Likewise.
33223 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33226 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33228 * sysdeps/x86_64/x32/_itoa.h: New file.
33230 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33231 getdents system call only if kernel and user dirents have the
33232 same d_ino and d_off.
33234 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33235 LLONG_MAX != LONG_MAX.
33236 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33237 (_fitoa_word): Likewise.
33239 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33241 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33242 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33243 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33245 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33246 include <bits/wordsize.h>. Check __x86_64__ instead of
33248 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33249 if __x86_64__ is defined. Use anonymous union on fpstate.
33251 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33254 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33256 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33257 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33258 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33259 Refer to _rtld_local_ro instead of _rtld_global_ro.
33260 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33262 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33264 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33266 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33267 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33268 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33270 * sysdeps/powerpc/powerpc32/dl-machine.c
33271 (__elf_machine_runtime_setup) [PROF]: Don't reference
33274 2012-05-18 Andreas Jaeger <aj@suse.de>
33276 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33277 function only available for GCCs before 3.4 since GCC 3.4
33278 introduced a builtin.
33280 (llrintf): Likewise.
33281 (llrint): Likewise.
33288 (nearbyint): Likewise.
33289 (nearbyintf): Likewise.
33293 (floorf): Likewise.
33295 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33297 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33298 on both fields and cast pointer to __syscall_ulong_t.
33300 * bits/types.h (__fsword_t): New type.
33301 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33302 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33303 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33304 (__FSWORD_T_TYPE): Likewise.
33305 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33306 (__FSWORD_T_TYPE): Likewise.
33307 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33308 (__FSWORD_T_TYPE): Likewise.
33309 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33310 (__FSWORD_T_TYPE): Likewise.
33311 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33312 __SWORD_TYPE with __fsword_t.
33313 (statfs64): Likewise.
33315 2012-05-17 David S. Miller <davem@davemloft.net>
33317 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33319 2012-05-17 Andreas Jaeger <aj@suse.de>
33321 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33324 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33326 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33328 2012-05-17 Andreas Jaeger <aj@suse.de>
33330 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33333 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33335 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33337 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33339 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33340 * sysdeps/x86_64/tst-mallocalign1.c: New file.
33342 2012-05-17 Andreas Jaeger <aj@suse.de>
33343 Carlos O'Donell <carlos_odonell@mentor.com>
33346 * sysdeps/x86_64/multiarch/init-arch.h
33347 (bit_YMM_Usable): Rename to...
33348 (bit_AVX_Usable): ... this.
33349 (bit_FMA4_Usable): New macro.
33350 (bit_XMM_state): New macro.
33351 (bit_YMM_state): New macro.
33352 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33353 [__ASSEMBLER__] (index_AVX_Usable): ... this.
33354 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33355 (CPUID_OSXSAVE): New macro.
33356 (CPUID_AVX): New macro.
33357 (CPUID_FMA4): New macro.
33358 (index_YMM_Usable): Rename to...
33359 (index_AVX_Usable): ... this.
33360 (HAS_AVX): Use HAS_ARCH_FEATURE.
33361 (HAS_FMA4): Likewise.
33362 (HAS_YMM_USABLE): Remove.
33363 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33364 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33366 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33367 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33368 * sysdeps/x86_64/multiarch/Makefile: Likewise.
33369 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33370 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33372 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33374 * math/libm-test.c: Support platforms without multiple rounding modes.
33375 * math/bug-nextafter.c: Support platforms without FP exceptions.
33376 * math/bug-nexttoward.c: Likewise.
33377 * math/test-fenv.c: Likewise.
33378 * math/test-misc.c: Likewise.
33379 * stdlib/bug-getcontext.c: Likewise.
33381 2012-05-17 Andreas Jaeger <aj@suse.de>
33383 * manual/examples/search.c (critter_cmp): Change signature to
33385 * manual/string.texi (Collation Functions): Likewise.
33387 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33389 * bits/types.h: Fold copyright years.
33390 * bits/typesizes.h: Likewise.
33391 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33392 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33393 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33394 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33395 * time/time.h: Likewise.
33397 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
33400 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33401 in instead of returning them. Return void.
33402 (__libc_mallinfo): Accumulate over all arenas.
33403 (__malloc_stats): Adjust for change in int_mallinfo interface.
33405 2012-05-16 Roland McGrath <roland@hack.frob.com>
33408 * configure.in (NM): Add AC_CHECK_TOOL for it.
33409 (libc_extra_cflags): New substituted variable.
33410 Check for -fstack-protector being used implicitly.
33411 * configure: Regenerated.
33412 * config.make.in (config-extra-cflags): New variable,
33413 gets @libc_extra_cflags@.
33414 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33417 * configure.in: Check for _FORTIFY_SOURCE being predefined.
33418 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33419 * configure: Regenerated.
33420 * config.make.in (CPPUNDEFS): New substituted variable.
33421 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33422 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33423 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33425 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33427 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33428 (mq_attr): Use __syscall_slong_t.
33430 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33432 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33433 Check __x86_64__ instead of __WORDSIZE.
33434 (_STAT_VER_LINUX): Likewise.
33435 (stat): Check __x86_64__ instead of __WORDSIZE. Use
33436 __syscall_ulong_t and __syscall_slong_t.
33437 (stat64): Likewise.
33439 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33441 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33443 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33445 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33447 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33449 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33452 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33453 include <bits/wordsize.h>. Check __x86_64__ instead of
33455 (greg_t): Use "__extension__ long long int" if __x86_64__ is
33457 (mcontext_t): Replace "unsigned long" with "unsigned long long".
33459 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33460 include <bits/wordsize.h>. Check __x86_64__ instead of
33462 (user_regs_struct): Use "__extension__ unsigned long long"
33463 instead of "unsigned long" if __x86_64__ is defined.
33464 (user): Likewise. Pad after pointer field if __ILP32__ is
33467 2012-05-16 Joseph Myers <joseph@codesourcery.com>
33469 * configure.in (makeinfo): Require version 4.5 or later. Allow
33471 * configure: Regenerated.
33472 * manual/install.texi (texinfo): Increase version requirement to
33474 * INSTALL: Regenerated.
33476 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33478 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33480 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33482 * sysdeps/x86_64/x32/ffs.c: New file.
33484 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33486 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33487 defined. Use __syscall_ulong_t.
33488 (shminfo): Use __syscall_ulong_t.
33489 (shm_info): Likewise.
33491 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33494 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33496 (msgqnum_t): Use __syscall_ulong_t.
33497 (msglen_t): Likewise.
33498 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
33501 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33502 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33504 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33506 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33507 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33509 * sysvipc/sys/msg.h (msgbuf): Replace long int with
33512 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33513 include <bits/wordsize.h>. Check __x86_64__ instead of
33516 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33517 "unsigned long long int" if __x86_64__ is defined.
33518 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33520 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33521 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33522 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33524 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33526 (GET_PC): Cast to uintptr_t first.
33527 (GET_FRAME): Likewise.
33528 (GET_STACK): Likewise.
33530 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33531 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33532 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33533 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33534 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33535 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33536 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33537 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33538 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33539 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33540 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33541 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33542 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33543 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33544 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33545 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33546 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33547 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33548 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33549 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33550 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33551 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33552 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33553 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33554 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33555 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33556 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33557 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33558 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33560 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
33562 * Makerules (+depfiles): Also collect depfiles from .oS in
33564 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33565 .oS, $(libnldbl-routines)).
33567 * Makerules (native-compile-mkdep-flags): Define.
33568 * sunrpc/Makefile (extra-objs): Add $(addprefix
33569 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33570 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33571 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
33572 calling $(make-target-directory).
33574 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33576 * bits/types.h (__snseconds_t): Removed.
33577 * time/time.h (struct timespec): Replace __snseconds_t with
33579 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33580 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33582 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33583 (__SNSECONDS_T_TYPE): Likewise.
33584 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33585 (__SNSECONDS_T_TYPE): Likewise.
33586 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33587 (__SNSECONDS_T_TYPE): Likewise.
33589 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33591 * sysdeps/mach/hurd/bits/typesizes.h
33592 (__SYSCALL_SLONG_TYPE): New macro.
33593 (__SYSCALL_ULONG_TYPE): Likewise.
33595 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33597 * bits/types.h (__syscall_slong_t): New type.
33598 (__syscall_ulong_t): Likewise.
33600 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33601 (__SYSCALL_ULONG_TYPE): Likewise.
33602 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33603 (__SYSCALL_SLONG_TYPE): Likewise.
33604 (__SYSCALL_ULONG_TYPE): Likewise.
33605 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33606 (__SYSCALL_SLONG_TYPE): Likewise.
33607 (__SYSCALL_ULONG_TYPE): Likewise.
33608 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33609 (__SYSCALL_SLONG_TYPE): Likewise.
33610 (__SYSCALL_ULONG_TYPE): Likewise.
33612 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33614 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33615 Add sigaltstack-offsets.sym.
33616 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33617 <sigaltstack-offsets.h>.
33618 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
33619 longjmp_msg pointer.
33620 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
33621 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33623 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33625 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33627 * elf/stackguard-macros.h: Remove file.
33628 * sysdeps/generic/stackguard-macros.h: New file.
33629 * sysdeps/i386/stackguard-macros.h: Likewise.
33630 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33631 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33632 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33633 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33634 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33635 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33636 * sysdeps/x86_64/stackguard-macros.h: Likewise.
33637 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33638 <elf/stackguard-macros.h>.
33641 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33642 __aligned__ in attribute.
33643 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33644 (gregset_t): Likewise.
33646 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33648 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33649 * sysdeps/x86_64/64/Implies-after: Here. New file.
33650 * sysdeps/x86_64/x32/Implies-after: New file.
33652 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33654 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33655 and access return value for _dl_profile_fixup. Use R10_LP to
33658 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33660 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33662 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33664 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33665 * sysdeps/x86_64/x32/sysdep.h: New file.
33667 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33669 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33670 * sysdeps/x86_64/setjmp.S: Likewise.
33672 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33674 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33675 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33676 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33677 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33678 remove unused global constant.
33680 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
33682 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33683 include of <not-cancel.h>.
33685 2012-05-15 Roland McGrath <roland@hack.frob.com>
33687 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33689 2012-05-15 Jeff Law <law@redhat.com>
33690 Andreas Jaeger <aj@suse.de>
33693 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33695 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33696 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33697 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33698 code changing __hst_map_handle.map.
33700 2012-05-15 Roland McGrath <roland@hack.frob.com>
33702 * configure.in (sysnames): Look for Implies-before and Implies-after
33704 * configure: Regenerated.
33706 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33708 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33709 8-byte data alignment with LP_SIZE alignment.
33711 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33713 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33716 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33718 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33720 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33722 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33723 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33724 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33726 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33728 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33730 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33731 (stackinfo_sub_sp): Likewise.
33733 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33735 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33738 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33740 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33743 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33745 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33748 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33750 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33752 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33754 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33755 into R11_LP and load __x86_64_shared_cache_size_half into
33758 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33760 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33763 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33765 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33767 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33769 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33771 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33772 powerpc32/power7/fpu/s_logb.c via #include.
33773 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33774 powerpc32/power7/fpu/s_logbf.c via #include.
33775 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33776 powerpc32/power7/fpu/s_logbl.c via #include.
33778 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33780 * README.libm: Remove file.
33782 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33784 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33785 count for x32. Use R*_LP and omit operand-size suffix.
33787 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33789 * shlib-versions: Move x86_64-.*-linux.* entries to ...
33790 * sysdeps/x86_64/64/shlib-versions: Here. New file.
33791 * sysdeps/x86_64/x32/shlib-versions: New file.
33793 2012-05-14 Roland McGrath <roland@hack.frob.com>
33795 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33796 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33797 Use _dl_fatal_printf instead.
33799 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33801 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33802 set if not set by the user. Do not allow for being unset.
33803 * sysdeps/unix/sysv/linux/configure: Regenerated.
33805 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33807 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33808 the `q' suffix from lea and replace .quad with ASM_ADDR.
33810 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33812 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33813 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
33815 (PTR_DEMANGLE): Likewise.
33817 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33819 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33821 (ASM_ADDR): Likewise.
33822 (RAX_LP): Likewise.
33823 (RBP_LP): Likewise.
33824 (RBX_LP): Likewise.
33825 (RCX_LP): Likewise.
33826 (RDI_LP): Likewise.
33827 (RSI_LP): Likewise.
33828 (RSP_LP): Likewise.
33831 (R10_LP): Likewise.
33832 (R10_LP): Likewise.
33833 (R11_LP): Likewise.
33834 (R12_LP): Likewise.
33835 (R13_LP): Likewise.
33836 (R14_LP): Likewise.
33837 (R15_LP): Likewise.
33839 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33841 * sysdeps/x86_64/x32/dl-machine.h: New file.
33843 2012-05-14 Andreas Jaeger <aj@suse.de>
33845 * manual/Makefile (subdir): Remove export of subdir.
33846 (all): Remove target.
33847 (.PHONY): Remove all from list.
33848 (mkinstalldirs): Remove.
33849 (.PHONY): Remove installdirs from list.
33850 ($(inst_infodir)/libc.info): Use make-target-directory.
33851 (installdirs): Remove.
33852 (subdir_%): Remove.
33853 (glibc-targets): Remove.
33856 ($(objpfx)stubs ../po/manual.pot): Remove.
33857 ($(objpfx)stamp%): Remove.
33858 (make-target-directory): Remove.
33859 (subdir_install): Remove.
33860 (routines): Remove.
33867 * manual/.gitignore: Remove, it's not needed anymore.
33868 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33870 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33872 (texis): Renamed to $(objpfx)texis.
33873 (texis-path): New, contains path to generated files.
33874 (chapters.%): Use texis-path for complete path, add extra argument
33876 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33877 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33878 (summary,texi, stamp-summary): Use complete path of
33879 files. Generate files in build dir.
33880 (dir-add.texi): Build in build dir.
33881 (libm-err.texi,stamp-libm-err): Likewise.
33882 (version.texi, stamp-version): Likewise.
33883 (.%c.texi): Likewise.
33884 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33885 (mostlyclean): Remove target.
33886 (realclean): Remove target.
33887 (generated): Add new variable with contents from mostlyclean and
33888 realclean, remove entries duplicated in common-mostlyclean, add
33889 stamp-libm-err and stamp-version.
33890 (generated-dirs): Add libc directory.
33891 ($(inst_infodir)/libc.info): Install files from build dir.
33893 * manual/install.texi (Configuring and compiling): Adjust since
33894 the info files are not part of the tar ball anymore.
33896 2012-05-14 Andreas Jaeger <aj@suse.de>
33898 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33901 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33904 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33905 to 2.2.0 where earlier.
33906 * sysdeps/unix/sysv/linux/configure: Regenerated.
33907 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33908 Remove conditional code.
33909 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33910 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33911 Remove conditional code.
33912 [!__NR_lchown]: Likewise.
33913 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33914 [__NR_lchown]: Likewise.
33915 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33916 comment referencing __ASSUME_LCHOWN_SYSCALL.
33917 * sysdeps/unix/sysv/linux/i386/sigaction.c
33918 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33919 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33920 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33921 Remove conditional code.
33922 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33923 (__protocol_available): Remove #if 0 code.
33924 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33926 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33927 * sysdeps/unix/sysv/linux/kernel-features.h
33928 (__ASSUME_GETCWD_SYSCALL): Don't define.
33929 (__ASSUME_REALTIME_SIGNALS): Likewise.
33930 (__ASSUME_PREAD_SYSCALL): Likewise.
33931 (__ASSUME_PWRITE_SYSCALL): Likewise.
33932 (__ASSUME_POLL_SYSCALL): Likewise.
33933 (__ASSUME_LCHOWN_SYSCALL): Likewise.
33934 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33936 (__ASSUME_SIOCGIFNAME): Don't define.
33937 (__ASSUME_MSG_NOSIGNAL): Likewise.
33938 (__ASSUME_SENDFILE): Define unconditionally.
33939 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33940 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33942 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33943 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33944 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33945 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33946 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33947 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33948 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33950 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33951 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33953 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33954 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33956 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33957 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33959 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33960 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33962 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33963 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33965 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33966 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33968 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33969 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33971 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33972 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33973 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33974 Remove conditional code.
33975 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33976 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33977 Remove conditional code.
33978 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33979 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33980 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33981 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33982 Remove conditional code.
33983 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33984 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33985 Remove conditional code.
33986 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33987 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33988 Remove conditional code.
33989 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33990 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33991 Remove conditional code.
33992 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33993 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33994 Remove conditional code.
33995 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33996 * sysdeps/unix/sysv/linux/sh/pwrite64.c
33997 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33998 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33999 * sysdeps/unix/sysv/linux/sigaction.c
34000 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34001 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34002 * sysdeps/unix/sysv/linux/sigpending.c
34003 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34004 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34005 * sysdeps/unix/sysv/linux/sigprocmask.c
34006 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34007 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34008 * sysdeps/unix/sysv/linux/sigsuspend.c
34009 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34010 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34011 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34012 (__libc_missing_rt_sigs): Remove.
34013 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34014 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34015 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34016 Remove conditional code.
34017 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34018 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34020 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34021 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34022 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34023 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34025 2012-05-14 Andreas Jaeger <aj@suse.de>
34027 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34028 it's not used in glibc.
34029 (__coshm1): Likewise.
34030 (__acosh1p): Likewise.
34033 * manual/string.texi (Copying and Concatenation): Add missing
34034 variable in concat example.
34035 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34037 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34040 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34041 __builtin_clzl with __builtin_clzll.
34043 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34046 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34049 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34051 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34052 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34053 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34054 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34056 2012-05-14 Mike Frysinger <vapier@gentoo.org>
34058 * NEWS: Update ia64 info.
34060 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34062 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34065 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
34067 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34068 * sysdeps/unix/syscalls.list (dup3): Likewise.
34069 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34070 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34072 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34074 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34075 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34077 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34079 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34081 (TLS_IE): Use mov/add instead of movq/addq to load thread
34083 (TLS_GD_PREFIX): New.
34086 2012-05-11 David S. Miller <davem@davemloft.net>
34088 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34089 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34090 (_FPU_SETCW): Likewise.
34092 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34094 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34095 is 32-byte aligned.
34097 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34100 * iconvdata/gb18030.c: Update tables.
34101 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
34102 characters specially.
34103 (BODY for TO_LOOP): Add encoding of missing ranges.
34105 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
34108 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34109 * sysdeps/mach/hurd/dup3.c: Likewise.
34110 * sysdeps/mach/hurd/readlinkat.c: Likewise.
34111 * sysdeps/powerpc/memmove.c:: Likewise.
34113 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34115 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34116 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34118 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34120 * elf/elf.h (R_X86_64_RELATIVE64): New.
34121 (R_X86_64_NUM): Updated.
34122 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34123 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
34124 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34125 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34126 tst-quad1pie tst-quad2pie
34127 (modules-names): Add tst-quadmod1 tst-quadmod2.
34128 ($(objpfx)tst-quad1): New dependency.
34129 ($(objpfx)tst-quad2): Likewise.
34130 ($(objpfx)tst-quad1pie): Likewise.
34131 ($(objpfx)tst-quad2pie): Likewise.
34132 * sysdeps/x86_64/tst-quad1.c: New file.
34133 * sysdeps/x86_64/tst-quad1pie.c: New file.
34134 * sysdeps/x86_64/tst-quad2.c: Likewise.
34135 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34136 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34137 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34138 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34139 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34141 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34143 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34144 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34145 * streams/stropts.h (t_scalar_t): Define type.
34147 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34148 (_PATH_PRESERVE): Set to "/var/lib".
34149 (_PATH_RWHODIR): Set to "/var/spool/rwho".
34151 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34154 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34155 if __dir_mkfile succeeded.
34157 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34158 checking for _hurd_dtablesize. Unlock it right after having
34159 finished _hurd_dtable allocation.
34161 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34163 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34164 * sysdeps/mach/hurd/configure: Regenerated.
34165 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34166 special-casing to...
34167 * sysdeps/gnu/configure.in: ... this new file.
34168 * sysdeps/unix/sysv/linux/configure: Regenerated.
34169 * sysdeps/gnu/configure: New generated file.
34171 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34172 for Linux: use nsec instead of usec, as well as:
34173 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34174 members of type struct timespec.
34175 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34177 (struct stat64): Likewise.
34178 (_STATBUF_ST_NSEC): New macro.
34179 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34181 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34182 __strtoul_internal rather than strtoul.
34184 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34186 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34189 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34191 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34192 which preserves existing values.
34193 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34195 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34197 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34198 TIMEOUT values. Return EINVAL for NFDS values either negative or
34199 greater than FD_SETSIZE.
34201 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34203 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34204 allocated, call __vm_protect to finish enabling the existing space, and
34205 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34206 allocate the remainder.
34208 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34210 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34211 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34213 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34215 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34216 sysdeps/mach/hurd/readlink.c.
34218 * posix/tst-sysconf.c (posix_options): Only use
34219 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34220 _POSIX_SYNCHRONIZED_IO when they are defined
34221 * sysdeps/mach/hurd/bits/posix_opt.h:
34222 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34223 (_XOPEN_REALTIME): Undefine macro.
34224 (_XOPEN_REALTIME_THREADS): Undefine macro.
34225 (_XOPEN_SHM): Undefine macro.
34226 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34228 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34230 (_POSIX_ASYNC_IO): Undefine macro.
34231 (_POSIX_PRIORITIZED_IO): Undefine macro.
34232 (_POSIX_SPIN_LOCKS): Define macro to -1.
34234 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34235 SA_NODEFER, SA_RESETHAND.
34236 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34237 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34240 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34242 * elf/Makefile (pldd-modules): Define unconditionally.
34244 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34246 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34248 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34250 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34251 Return ENOENT when name is empty.
34252 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34254 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34256 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34258 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34260 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34262 Fix mlock in all cases except non-readable pages.
34263 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34264 instead of VM_PROT_ALL as parameter to __vm_wire function.
34266 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34267 (__mkdir): When path is `/', just fail with EEXIST.
34268 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34270 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34272 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34273 <sys/uio.h> (for writev).
34274 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34275 and <sys/param.h> (for MIN).
34277 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34279 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34280 REQUESTED_TIME. Properly set the remaining time and return EINTR
34283 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34285 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34286 Depend on against $(link-rpcuserlibs).
34288 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34290 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34291 (__libc_stack_end): Do not use attribute_relro.
34292 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34293 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34294 to libthread-provided value.
34295 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34298 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34301 * bits/libc-lock.h (__libc_once_get): New macro.
34302 * sysdeps/mach/bits/libc-lock.h: Likewise.
34303 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34304 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34305 instead of using implementation details.
34307 * libio/fileops.c: Unconditionally include <kernel-features.h>.
34308 * libio/freopen.c: Likewise.
34309 * libio/freopen64.c: Likewise.
34310 * misc/syslog.c: Likewise.
34311 * nscd/connections.c: Likewise.
34312 * nscd/netgroupcache.c: Likewise.
34313 * sysdeps/posix/getcwd.c: Likewise.
34315 2012-05-10 Roland McGrath <roland@hack.frob.com>
34317 * math/w_ilogbf.c: Add #include <limits.h>.
34319 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34321 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34322 path instead of returning without unlocking.
34324 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34325 immediate-write ioctls.
34326 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34328 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34330 * sysdeps/mach/hurd/i386/init-first.c (init): Use
34331 __builtin_frame_address instead of making assumptions about the
34332 location of the return address relative to DATA. Force early load of
34333 the return address.
34334 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34335 __builtin_frame_address.
34338 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34339 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
34340 implement dup3 and do some further code clean-ups.
34341 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34342 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34344 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34346 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34348 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34349 HURD_CRITICAL_END around holding _hurd_dtable_lock.
34350 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34351 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34352 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34355 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34356 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
34357 when handler == SIG_ERR, not when handler != SIG_ERR.
34359 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34361 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34362 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34365 accept4 for GNU Hurd.
34366 * include/sys/socket.h (__libc_accept4): New prototype.
34367 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
34368 to implement __libc_accept4.
34369 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34371 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34373 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34374 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34375 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34376 signal-defines.sym.
34378 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34380 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34382 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34384 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34385 assertion on O_CLOEXEC flag.
34386 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34387 * hurd/intern-fd.c: Likewise.
34388 * hurd/port2fd.c: Likewise.
34390 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34393 * bits/in.h (IPV6_PKTINFO): Define new macro.
34394 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34396 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34401 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34402 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34403 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34404 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34405 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34406 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34407 * math/libm-test.inc (logb_test) : Additional logb tests.
34409 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
34410 Andreas Jaeger <aj@suse.de>
34412 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34413 * configure: Regenerated.
34414 * config.h.in (LINK_OBSOLETE_RPC): New macro.
34415 * config.make.in (link-obsolete-rpc): New substituted variable.
34416 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34417 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34418 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34419 (shared-only-routines): Don't set it under [link-obsolete-rpc],
34420 so that libc.a contains the symbols.
34421 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34422 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34423 * sunrpc/auth_none.c: Likewise.
34424 * sunrpc/auth_unix.c: Likewise.
34425 * sunrpc/authdes_prot.c: Likewise.
34426 * sunrpc/authuxprot.c: Likewise.
34427 * sunrpc/clnt_gen.c: Likewise.
34428 * sunrpc/clnt_perr.c: Likewise.
34429 * sunrpc/clnt_raw.c: Likewise.
34430 * sunrpc/clnt_simp.c: Likewise.
34431 * sunrpc/clnt_tcp.c: Likewise.
34432 * sunrpc/clnt_udp.c: Likewise.
34433 * sunrpc/clnt_unix.c: Likewise.
34434 * sunrpc/des_crypt.c: Likewise.
34435 * sunrpc/des_soft.c: Likewise.
34436 * sunrpc/get_myaddr.c: Likewise.
34437 * sunrpc/key_call.c: Likewise.
34438 * sunrpc/key_prot.c: Likewise.
34439 * sunrpc/netname.c: Likewise.
34440 * sunrpc/pm_getmaps.c: Likewise.
34441 * sunrpc/pm_getport.c: Likewise.
34442 * sunrpc/pmap_clnt.c: Likewise.
34443 * sunrpc/pmap_prot.c: Likewise.
34444 * sunrpc/pmap_prot2.c: Likewise.
34445 * sunrpc/pmap_rmt.c: Likewise.
34446 * sunrpc/publickey.c: Likewise.
34447 * sunrpc/rpc_cmsg.c: Likewise.
34448 * sunrpc/rpc_common.c: Likewise.
34449 * sunrpc/rpc_dtable.c: Likewise.
34450 * sunrpc/rpc_prot.c: Likewise.
34451 * sunrpc/rpc_thread.c: Likewise.
34452 * sunrpc/rtime.c: Likewise.
34453 * sunrpc/svc.c: Likewise.
34454 * sunrpc/svc_auth.c: Likewise.
34455 * sunrpc/svc_raw.c: Likewise.
34456 * sunrpc/svc_run.c: Likewise.
34457 * sunrpc/svc_tcp.c: Likewise.
34458 * sunrpc/svc_udp.c: Likewise.
34459 * sunrpc/svc_unix.c: Likewise.
34460 * sunrpc/svcauth_des.c: Likewise.
34461 * sunrpc/xcrypt.c: Likewise.
34462 * sunrpc/xdr.c: Likewise.
34463 * sunrpc/xdr_array.c: Likewise.
34464 * sunrpc/xdr_float.c: Likewise.
34465 * sunrpc/xdr_intXX_t.c: Likewise.
34466 * sunrpc/xdr_mem.c: Likewise.
34467 * sunrpc/xdr_rec.c: Likewise.
34468 * sunrpc/xdr_ref.c: Likewise.
34469 * sunrpc/xdr_sizeof.c: Likewise.
34470 * sunrpc/xdr_stdio.c: Likewise.
34472 2012-05-10 Roland McGrath <roland@hack.frob.com>
34474 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34475 change. Update copyright years.
34477 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34479 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34481 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
34482 Joseph Myers <joseph@codesourcery.com>
34483 Paul Pluzhnikov <ppluzhnikov@google.com>
34486 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34488 [cross-compiling] (extra-libs): Likewise.
34489 [cross-compiling] (extra-libs-others): Likewise.
34490 [cross-compiling] (librpcsvc-routines): Likewise.
34491 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34492 [cross-compiling] (omit-deps): Likewise.
34493 (sunrpc-CPPFLAGS): New variable.
34494 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34495 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34496 (cross-rpcgen-objs): New variable.
34497 (extra-objs): Append $(cross-rpcgen-objs).
34498 ($(cross-rpcgen-objs)): New rule.
34499 ($(objpfx)cross-rpcgen): Likewise.
34500 (rpcgen-cmd): Define to use $(built-program-file). Expand
34502 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34503 ($(objpfx)x%.stmp): Likewise.
34504 * sunrpc/proto.h [IS_IN_build] (_): Define.
34505 [IS_IN_build] (_libc_intl_domainname): Likewise.
34507 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34509 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34510 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34511 and R_X86_64_TPOFF64.
34513 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34515 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34516 sysdeps/unix/sysv/syscalls.list.
34519 * sysdeps/unix/sysv/syscalls.list: Remove file.
34521 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
34524 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34525 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34526 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34527 (__LC_IDENTIFICATION): Make these macros useful in #if
34528 expressions, as required by C99.
34530 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
34532 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34533 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
34536 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
34538 * stdlib/longlong.h: Updated from GCC.
34540 2012-05-09 Andreas Jaeger <aj@suse.de>
34542 * nscd/nscd.c (run_modes): Make named enum, reorder so that
34543 default is first entry.
34544 (run_mode): Set type.
34545 (main): Remove informal message about syslog.
34546 (options): Fix typo.
34549 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34552 (llrintf): Likewise.
34553 (llrint): Likewise.
34556 (nearbyint): Likewise.
34557 (nearbyintf): Likewise.
34559 2012-05-09 Andreas Jaeger <aj@suse.de>
34560 Pedro Alves <palves@redhat.com>
34562 * nscd/nscd.c (run_mode): Use enum.
34563 (main): Cleanup coding style issue.
34565 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
34566 Andreas Jaeger <aj@suse.de>
34568 * nscd/nscd.c (go_background): Replaced with...
34569 (run_mode): ... this.
34570 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34571 (options): Add -F --foreground.
34572 (main): Implement it.
34573 (parse_opt): Parse it.
34575 2012-05-09 Andreas Jaeger <aj@suse.de>
34578 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34579 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34580 -Wconversion warning.
34581 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34584 2012-05-09 Joseph Myers <joseph@codesourcery.com>
34586 * conform/data/locale.h-data (NULL): Use macro-constant. Require
34588 (LC_ALL): Use macro-int-constant.
34589 (LC_COLLATE): Likewise.
34590 (LC_CTYPE): Likewise.
34591 (LC_MESSAGES): Likewise.
34592 (LC_MONETARY): Likewise.
34593 (LC_NUMERIC): Likewise.
34594 (LC_TIME): Likewise.
34595 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34596 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34597 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34598 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34600 [C99-based standards] (float_t): Expect type.
34601 [C99-based standards] (double_t): Expect type.
34602 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
34604 [C99-based standards] (HUGE_VALL): Likewise.
34605 [C99-based standards] (INFINITY): Likewise.
34606 [C99-based standards] (NAN): Likewise.
34607 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34608 [C99-based standards] (FP_NAN): Likewise.
34609 [C99-based standards] (FP_NORMAL): Likewise.
34610 [C99-based standards] (FP_SUBNORMAL): Likewise.
34611 [C99-based standards] (FP_ZERO): Likewise.
34612 [C99-based standards] (FP_FAST_FMA): Use
34613 optional-macro-int-constant. Specify type. Require == 1.
34614 [C99-based standards] (FP_FAST_FMAF): Likewise.
34615 [C99-based standards] (FP_FAST_FMAL): Likewise.
34616 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34617 [C99-based standards] (FP_ILOGBNAN): Likewise.
34618 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34620 [C99-based standards] (MATH_ERREXCEPT): Likewise.
34621 [C99-based standards] (math_errhandling): Specify type.
34622 [ISO99 || ISO11] (signgam): Do not allow.
34623 [non-C99-based standards] (copysignf): Do not allow.
34624 [non-C99-based standards] (exp2f): Likewise.
34625 [non-C99-based standards] (log2f): Likewise.
34626 [non-C99-based standards] (modff): Allow.
34627 [non-C99-based standards] (erff): Do not allow.
34628 [non-C99-based standards] (erfcf): Likewise.
34629 [non-C99-based standards] (gammaf): Likewise.
34630 [non-C99-based standards] (hypotf): Likewise.
34631 [non-C99-based standards] (j0f): Likewise.
34632 [non-C99-based standards] (j1f): Likewise.
34633 [non-C99-based standards] (jnf): Likewise.
34634 [non-C99-based standards] (lgammaf): Likewise.
34635 [non-C99-based standards] (tgammaf): Likewise.
34636 [non-C99-based standards] (y0f): Likewise.
34637 [non-C99-based standards] (y1f): Likewise.
34638 [non-C99-based standards] (ynf): Likewise.
34639 [non-C99-based standards] (isnanf): Likewise.
34640 [non-C99-based standards] (acoshf): Likewise.
34641 [non-C99-based standards] (asinhf): Likewise.
34642 [non-C99-based standards] (atanhf): Likewise.
34643 [non-C99-based standards] (cbrtf): Likewise.
34644 [non-C99-based standards] (expm1f): Likewise.
34645 [non-C99-based standards] (ilogbf): Likewise.
34646 [non-C99-based standards] (log1pf): Likewise.
34647 [non-C99-based standards] (logbf): Likewise.
34648 [non-C99-based standards] (nextafterf): Likewise.
34649 [non-C99-based standards] (remainderf): Likewise.
34650 [non-C99-based standards] (rintf): Likewise.
34651 [non-C99-based standards] (scalbf): Likewise.
34652 [non-C99-based standards] (copysignl): Likewise.
34653 [non-C99-based standards] (exp2l): Likewise.
34654 [non-C99-based standards] (log2l): Likewise.
34655 [non-C99-based standards] (modfl): Allow.
34656 [non-C99-based standards] (erfl): Do not allow.
34657 [non-C99-based standards] (erfcl): Likewise.
34658 [non-C99-based standards] (gammal): Likewise.
34659 [non-C99-based standards] (hypotl): Likewise.
34660 [non-C99-based standards] (j0l): Likewise.
34661 [non-C99-based standards] (j1l): Likewise.
34662 [non-C99-based standards] (jnl): Likewise.
34663 [non-C99-based standards] (lgammal): Likewise.
34664 [non-C99-based standards] (tgammal): Likewise.
34665 [non-C99-based standards] (y0l): Likewise.
34666 [non-C99-based standards] (y1l): Likewise.
34667 [non-C99-based standards] (ynl): Likewise.
34668 [non-C99-based standards] (isnanl): Likewise.
34669 [non-C99-based standards] (acoshl): Likewise.
34670 [non-C99-based standards] (asinhl): Likewise.
34671 [non-C99-based standards] (atanhl): Likewise.
34672 [non-C99-based standards] (cbrtl): Likewise.
34673 [non-C99-based standards] (expm1l): Likewise.
34674 [non-C99-based standards] (ilogbl): Likewise.
34675 [non-C99-based standards] (log1pl): Likewise.
34676 [non-C99-based standards] (logbl): Likewise.
34677 [non-C99-based standards] (nextafterl): Likewise.
34678 [non-C99-based standards] (remainderl): Likewise.
34679 [non-C99-based standards] (rintl): Likewise.
34680 [non-C99-based standards] (scalbl): Likewise.
34681 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34682 [non-C99-based standards] (FP_*): Do not allow.
34683 [C99-based standards] (FP_*): Change to
34684 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34685 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34687 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34688 (SIG_ERR): Likewise.
34689 [X/Open-based standards] (SIG_HOLD): Likewise.
34690 (SIG_IGN): Likewise.
34691 (SIGABRT): Use macro-int-constant. Specify type. Require
34693 (SIGFPE): Likewise.
34694 (SIGILL): Likewise.
34695 (SIGINT): Likewise.
34696 (SIGSEGV): Likewise.
34697 (SIGTER): Likewise.
34698 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34699 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34700 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34701 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34702 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34703 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34704 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34705 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34706 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34707 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34708 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34709 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34710 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34711 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34712 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34713 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34714 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34715 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34716 [X/Open-based standards] (SIGTRAP): Likewise.
34717 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34718 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34719 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34720 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34721 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34724 2012-05-08 Ian Wienand <ianw@vmware.com>
34727 * time/tzset.c (__tzset_parse_tz): Update default rules for
34728 daylight time changes in the Energy Policy Act of 2005.
34730 2012-05-09 Andreas Jaeger <aj@suse.de>
34733 * elf/ldconfig.c (parse_conf): Change string to make clear that
34734 ldconfig only issued a warning if ld.so.conf does not exist.
34736 2012-05-08 David S. Miller <davem@davemloft.net>
34738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34739 movxtod instead of popping the value on the stack.
34741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34743 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
34745 * config.h.in: Add HAVE_ARM_PCS_VFP.
34747 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
34750 * include/features.h: Warn if user requests __FORTIFY_SOURCE
34751 checking but the checks are disabled for any reason.
34753 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
34755 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34756 and ELF64_R_TYPE with ELFW(R_TYPE).
34758 2012-05-08 Joseph Myers <joseph@codesourcery.com>
34760 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34761 (ulimit): Likewise.
34763 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34764 (settimeofday): Likewise.
34766 2012-05-08 Mike Frysinger <vapier@gentoo.org>
34768 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
34769 a struct th_u2 inside the union, and move tu_block/tu_code into
34770 a new th_u3 union of tu_block/tu_code inside of that. Move
34771 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
34772 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
34773 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34774 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34775 (th_stuff): Change to th_u1.tu_stuff.
34777 (th_msg): Change to th_u1.th_u2.tu_data.
34779 2012-05-07 David S. Miller <davem@davemloft.net>
34781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34784 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34785 (SETUP_PIC_REG): Use it.
34786 (SETUP_PIC_REG_LEAF): Use it.
34788 2012-05-07 Joseph Myers <joseph@codesourcery.com>
34792 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34794 (EXPL_FINITE): Likewise.
34795 (FLDLOG): Likewise.
34796 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34797 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34799 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34801 (EXPL_FINITE): Likewise.
34802 (FLDLOG): Likewise.
34803 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34804 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34806 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
34807 test of -max_value argument for long double.
34808 * sysdeps/i386/fpu/libm-test-ulps: Update.
34809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34811 2012-05-06 David S. Miller <davem@davemloft.net>
34813 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34814 quad soft-float symbols whose references which are compiler
34816 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34818 2012-05-06 Joseph Myers <joseph@codesourcery.com>
34822 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34824 (EXPL_FINITE): Likewise.
34825 (FLDLOG): Likewise.
34828 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34829 Adjust comments for base varying.
34830 (__expl_finite): Change alias to EXPL_FINITE.
34831 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34833 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34834 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34835 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34836 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34837 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34839 (EXPL_FINITE): Likewise.
34840 (FLDLOG): Likewise.
34843 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34844 Adjust comments for base varying.
34845 (__expl_finite): Change alias to EXPL_FINITE.
34846 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
34848 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34851 * math/libm-test.inc (check_float_internal): Correct ulp
34852 calculation for subnormal expected results.
34854 2012-05-06 Andreas Jaeger <aj@suse.de>
34856 * Makeconfig (+math-flags): New, set to -frounding-math.
34857 (+cflags): Add +math-flags so that all of glibc gets compiled with
34860 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34862 2012-05-05 Joseph Myers <joseph@codesourcery.com>
34864 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34870 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34871 (__ieee754_expl): Allow for and saturate large arguments.
34872 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34873 (u_threshold): Likewise.
34874 (__exp): Call __ieee754_exp before checking for overflow and
34876 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34877 (u_threshold): Likewise.
34878 (__expf): Call __ieee754_expf before checking for overflow and
34880 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34881 (u_threshold): Likewise.
34882 (__expl): Call __ieee754_expl before checking for overflow and
34884 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34885 (__ieee754_expl): Allow for and saturate large arguments.
34886 * math/libm-test.inc (exp_test): Add another test. Do not allow
34887 missing overflow exception on overflow.
34888 (expm1_test): Do not allow missing overflow exception on overflow.
34890 * sysdeps/i386/fpu/e_expl.c: Move to ...
34891 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
34892 rather than using inline asm.
34893 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34894 * sysdeps/x86_64/fpu/e_expl.S: Copy from
34895 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34897 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34900 (signal): Likewise.
34904 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34906 * sysdeps/unix/syscalls.list (adjtime): Add entry from
34907 sysdeps/unix/common/syscalls.list.
34908 (fchmod): Likewise.
34909 (fchown): Likewise.
34910 (ftruncate): Likewise.
34911 (getrusage): Likewise.
34912 (gettimeofday): Likewise.
34913 (setpgid): Likewise.
34914 (setregid): Likewise.
34915 (setreuid): Likewise.
34916 (sigaction): Likewise.
34917 (truncate): Likewise.
34918 (vhangup): Likewise.
34919 * sysdeps/unix/common/syscalls.list: Remove file.
34920 * sysdeps/unix/bsd/Implies: Don't include unix/common.
34921 * sysdeps/unix/sysv/linux/Implies: Likewise.
34923 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
34925 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34926 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34927 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34931 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34933 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34934 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34936 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34937 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34939 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34940 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34942 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34943 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34946 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34948 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34949 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34951 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34953 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34955 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34957 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34959 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34960 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34962 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34964 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34968 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34970 * sysdeps/unix/common/bits/dirent.h: Remove file.
34971 * sysdeps/unix/common/bits/fcntl.h: Likewise.
34973 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34974 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34975 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34976 * sysdeps/unix/bsd/isatty.c: Likewise.
34977 * sysdeps/unix/bsd/tcdrain.c: Likewise.
34978 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34979 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34981 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34984 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34985 long double comparison inaccuracies.
34986 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34989 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
34991 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34992 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34994 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34997 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34998 nonzero digits before rounding a hex value.
34999 * stdlib/tst-strtod.c (tests): Add another test.
35001 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35003 * sysdeps/s390/fpu/libm-test-ulps: Update.
35005 2012-05-03 Andreas Jaeger <aj@suse.de>
35007 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35008 does not get optimized out.
35009 (malloc_opt_barrier): New.
35011 2012-05-03 Andreas Jaeger <aj@suse.de>
35012 Roland McGrath <roland@hack.frob.com>
35014 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35015 intermediate file deletion.
35016 (generated): Add .symlist files.
35018 2012-05-03 Joseph Myers <joseph@codesourcery.com>
35021 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35022 Redirect under this condition.
35023 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35024 [__USE_GNU] (__dprintf_chk): Not under this condition.
35025 [__USE_GNU] (__vdprintf_chk): Likewise.
35026 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35027 under this condition.
35028 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35029 [__USE_XOPEN2K8] (dprintf): Define under this condition.
35030 [__USE_XOPEN2K8] (vdprintf): Likewise.
35031 [__USE_GNU] (__dprintf_chk): Not under this condition.
35032 [__USE_GNU] (__vdprintf_chk): Likewise.
35033 [__USE_GNU] (dprintf): Likewise.
35034 [__USE_GNU] (vdprintf): Likewise.
35036 2012-05-03 Roland McGrath <roland@hack.frob.com>
35038 * elf/Makefile (common-generated): Set this instead of generated for
35039 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
35040 $(all-built-dso)-derived lists.
35042 2012-05-03 Andreas Jaeger <aj@suse.de>
35044 * sysdeps/i386/fpu/libm-test-ulps: Update.
35047 * FAQ.in: Likewise.
35048 * scripts/gen-FAQ.pl: Likewise.
35049 * manual/install.texi (Installation): Point to online location of
35051 * Makefile (files-for-dist): Remove FAQ.
35054 2012-05-02 Allan McRae <allan@archlinux.org>
35056 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35057 (LDFLAGS-reldepmod5.so): Likewise.
35058 (LDFLAGS-reldep6mod1.so): Likewise.
35059 (LDFLAGS-reldep6mod4.so): Likewise.
35060 (LDFLAGS-reldep8mod3.so): Likewise.
35061 (LDFLAGS-unload4mod1.so): Likewise.
35062 (LDFLAGS-unload4mod2.so): Likewise.
35063 (LDFLAGS-tst-initorder): Likewise.
35064 (LDFLAGS-tst-initordera2.so): Likewise.
35065 (LDFLAGS-tst-initordera3.so): Likewise.
35066 (LDFLAGS-tst-initordera4.so): Likewise.
35067 (LDFLAGS-tst-initorderb2.so): Likewise.
35068 (LDFLAGS-noload): Likewise.
35069 (LDFLAGS-next): Likewise.
35070 (LDFLAGS-order2mod1.so): Likewise.
35071 (LDFLAGS-order2mod2.so): Likewise.
35072 (LDFLAGS-tst-initorder2): Likewise.
35073 (LDFLAGS-tst-initorder2a.so): Likewise.
35074 (LDFLAGS-tst-initorder2b.so): Likewise.
35075 (LDFLAGS-tst-initorder2c.so): Likewise.
35076 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35078 2012-05-02 David S. Miller <davem@davemloft.net>
35080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35082 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35085 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35087 2012-05-02 Andreas Jaeger <aj@suse.de>
35089 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35090 since we manipulate rounding mode.
35091 (CPPFLAGS-test-idouble.c): Likewise.
35092 (CPPFLAGS-test-ifloat.c): Likewise.
35093 (CFLAGS-test-ldouble.c): Likewise.
35094 (CFLAGS-test-double.c): Likewise.
35095 (CFLAGS-test-float.c): Likewise.
35096 (CFLAGS-test-misc.c): Likewise.
35097 (CFLAGS-test-test-fenv.c): Likewise.
35099 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35103 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35104 comparisons to determine direction to adjust input.
35106 2012-05-01 Roland McGrath <roland@hack.frob.com>
35108 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35109 output to the target.
35111 * scripts/localplt.awk: New file.
35112 * elf/Makefile ($(objpfx)check-localplt): Target removed.
35113 (check-localplt-CFLAGS): Variable removed.
35114 ($(all-built-dso:=.jmprel)): New static pattern rule.
35115 (generated): Add those targets.
35116 (localplt-built-dso): New variable.
35117 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35119 * elf/check-localplt.c: File removed.
35121 * scripts/check-execstack.awk: New file.
35122 * elf/Makefile ($(objpfx)check-execstack): Target removed.
35123 (check-execstack-CFLAGS): Variable removed.
35124 ($(objpfx)check-execstack.h): Target removed.
35125 ($(objpfx)execstack-default): New target.
35126 (generated): Add that instead of check-execstack.h.
35127 ($(all-built-dso:=.phdr)): New static pattern rule.
35128 (generated): Add those targets.
35129 * elf/check-execstack.c: File removed.
35131 * scripts/check-textrel.awk: New file.
35132 * elf/Makefile ($(objpfx)check-textrel): Target removed.
35133 (check-textrel-CFLAGS): Variable removed.
35134 (all-built-dso): Use := to define.o
35135 ($(all-built-dso:=.dyn)): New static pattern rule.
35136 (generated): Add those targets.
35137 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35138 * config.make.in (READELF): New substituted variable.
35139 * elf/check-textrel.c: File removed.
35141 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35143 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35145 * conform/data/ctype.h-data [C99-based standards] (isblank):
35147 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35148 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35149 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35150 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35151 Specify type. Require positive value.
35152 (EILSEQ): Likewise.
35153 (ERANGE): Likewise.
35154 [ISO || POSIX] (EILSEQ): Do not expect.
35155 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35156 Specify type. Require positive value.
35157 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35158 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35159 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35160 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35161 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35162 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35163 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35164 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35165 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35166 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35167 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35168 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35169 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35170 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35171 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35172 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35173 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35174 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35175 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35176 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35177 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35178 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35179 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35180 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35181 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35182 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35183 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35184 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35185 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35186 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35187 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35188 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35189 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35190 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35191 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35192 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35193 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35194 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35195 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35196 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35197 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35198 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35199 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35200 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35201 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35202 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35203 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35204 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35205 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35206 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35207 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35208 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35209 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35210 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35211 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35212 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35213 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35214 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35215 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35216 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35217 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35218 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35219 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35220 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35221 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35222 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35223 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35224 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35225 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35226 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35227 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35228 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35229 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35230 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35231 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35232 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35233 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35235 (FLT_ROUNDS): Expect as macro, not constant.
35236 (FLT_MANT_DIG): Use macro-int-constant.
35237 (DBL_MANT_DIG): Likewise.
35238 (LDBL_MANT_DIG): Likewise.
35239 (FLT_DIG): Likewise.
35240 (DBL_DIG): Likewise.
35241 (LDBL_DIG): Likewise.
35242 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
35243 (DBL_MIN_EXP): Likewise.
35244 (LDBL_MIN_EXP): Likewise.
35245 (FLT_MAX_EXP): Use macro-int-constant.
35246 (DBL_MAX_EXP): Likewise.
35247 (LDBL_MAX_EXP): Likewise.
35248 (FLT_MAX_10_EXP): Likewise.
35249 (DBL_MAX_10_EXP): Likewise.
35250 (LDBL_MAX_10_EXP): Likewise.
35251 (FLT_MAX): Use macro-constant.
35252 (DBL_MAX): Likewise.
35253 (LDBL_MAX): Likewise.
35254 (FLT_EPSILON): Use macro-constant. Give upper bound.
35255 (DBL_EPSILON): Likewise.
35256 (LDBL_EPSILON): Likewise.
35257 (FLT_MIN): Likewise.
35258 (DBL_MIN): Likewise.
35259 (LDBL_MIN): Likewise.
35260 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35261 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35262 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35263 [ISO11] (FLT_HAS_SUBNORM): Likewise.
35264 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35265 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35266 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35267 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35268 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35269 [ISO11] (FLT_TRUE_MIN): Likewise.
35270 [ISO11] (LDBL_TRUE_MIN): Likewise.
35271 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35272 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35273 (SCHAR_MIN): Use macro-int-constant. Specify type.
35274 (SCHAR_MAX): Likewise.
35275 (UCHAR_MAX): Likewise.
35276 (CHAR_MIN): Likewise.
35277 (CHAR_MAX): Likewise.
35278 (MB_LEN_MAX): Use macro-int-constant.
35279 (SHRT_MIN): Use macro-int-constant. Specify type.
35280 (SHRT_MAX): Likewise.
35281 (USHRT_MAX): Likewise.
35282 (INT_MAX): Likewise.
35283 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35285 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35287 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35289 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35290 bound negative. Suffix upper bound with "L".
35291 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35293 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35295 [C99-based standards] (LLONG_MAX): Likewise.
35296 [C99-based standards] (ULLONG_MAX): Likewise.
35297 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35299 [ISO11] (max_align_t): Require type.
35300 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35302 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35303 from $CFLAGS, without defining away __attribute__ calls.
35304 (checknamespace): Use $CFLAGS_namespace.
35306 * conform/conformtest.pl (@keywords): Only include C99 keywords
35307 for standards based on C99 or C11.
35309 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35311 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35314 * conform/conformtest.pl: Handle "macro-int-constant" and test for
35315 usability of symbols in #if.
35317 * conform/conformtest.pl: If macro or constant types start
35318 "promoted:", expect the symbol to be of the following type
35319 promoted by the integer promotions.
35321 * conform/conformtest.pl: Parse all "constant" and "macro" lines
35322 in one place. Also handle "macro-constant".
35324 * conform/conformtest.pl: Only accept expected macro values with
35325 "==". Parse all "macro" lines in one place.
35326 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35328 * conform/conformtest.pl: Handle braced types on "constant" lines
35329 instead of handling "typed-constant".
35330 * conform/data/signal.h-data: Use "constant" instead of
35333 * conform/conformtest.pl: Handle "optional-" at start of lines in
35334 one place rather than duplicating several cases. Handle each
35335 format of "macro" line with initial "optional-".
35337 * conform/conformtest.pl: Only accept expected constant or
35338 optional-constant values with "==". Parse all "constant" lines in
35339 one place. Parse all "optional-constant" lines in one place.
35340 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35341 * conform/data/fmtmsg.h-data: Likewise.
35342 * conform/data/netinet/in.h-data: Likewise.
35343 * conform/data/tar.h-data: Likewise.
35344 * conform/data/limits.h-data: Use "==" form on "constant" and
35345 "optional-constant" lines.
35347 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35348 Use -std=c99 for XOPEN2K.
35349 (@knownproblems): Remove.
35350 (newtoken): Don't check %isknown.
35352 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35353 Do not expect macro.
35354 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35355 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35356 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35357 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35358 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35359 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35360 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35361 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35362 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35363 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35364 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35365 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35366 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35367 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35368 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35369 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35370 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35371 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35372 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35373 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35374 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35375 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35376 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35377 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35378 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35379 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35380 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35381 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35382 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35383 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35384 [XPG3] (acosh): Likewise.
35385 [XPG3] (asinh): Likewise.
35386 [XPG3] (atanh): Likewise.
35387 [XPG3] (cbrt): Likewise.
35388 [XPG3] (expm1): Likewise.
35389 [XPG3] (ilogb): Likewise.
35390 [XPG3] (log1p): Likewise.
35391 [XPG3] (logb): Likewise.
35392 [XPG3] (nextafter): Likewise.
35393 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35394 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35395 [XPG3] (remainder): Likewise.
35396 [XPG3] (rint): Likewise.
35397 [XPG3 || XPG4 || UNIX98] (round): Likewise.
35398 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35399 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35400 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35401 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35402 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35403 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35404 [UNIX98 || XOPEN2K] (scalb): Expect.
35405 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35406 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35407 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35408 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35409 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35410 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35411 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35412 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35413 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35414 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35415 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35416 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35417 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35418 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35419 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35420 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35421 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35422 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35423 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35424 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35425 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35426 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35427 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35428 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35429 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35430 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35431 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35432 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35433 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35434 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35435 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35436 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35437 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35438 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35439 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35440 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35441 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35442 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35443 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35444 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35445 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35446 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35447 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35448 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35449 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35450 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35451 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35452 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35453 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35454 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35455 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35456 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35457 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35458 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35459 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35460 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35461 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35462 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35463 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35464 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35465 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35466 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35467 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35468 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35469 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35470 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35471 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35472 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35473 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35474 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35475 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35476 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35477 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35478 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35479 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35480 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35481 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35482 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35483 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35484 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35485 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35486 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35487 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35488 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35489 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35490 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35491 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35492 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35493 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35494 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35495 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35496 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35497 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35498 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35499 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35500 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35501 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35502 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35503 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35504 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35505 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35506 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35507 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35508 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35509 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35510 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35511 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35512 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35513 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35514 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35515 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35516 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35517 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35518 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35519 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35520 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35521 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35522 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35523 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35524 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35525 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35526 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35527 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35528 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35529 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35530 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35531 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35532 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35533 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35534 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35535 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35536 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35537 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35538 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35539 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35540 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35541 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35543 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35544 _XOPEN_SOURCE_EXTENDED for XPG4.
35546 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35548 * Makeconfig (localtime): Remove variable.
35549 (inst_localtime-file): Likewise.
35551 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35572 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35576 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35577 comparisons to determine direction to adjust input.
35578 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35579 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35580 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35582 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35584 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35586 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35587 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35589 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35591 * math/libm-test.inc (nexttoward_test): Add more tests.
35593 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35596 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35597 in version GLIBC_2.1, not GLIBC_2.0.
35598 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35601 2012-04-30 Joseph Myers <joseph@codesourcery.com>
35604 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35606 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35607 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35608 * math/libm-test.inc (acos_test): Add more tests.
35609 (asin_test): Likewise.
35610 * sysdeps/i386/fpu/libm-test-ulps: Update.
35611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35614 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35616 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35617 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35618 * math/libm-test.inc (acos_test_tonearest): New function.
35619 (acos_test_towardzero): Likewise.
35620 (acos_test_downward): Likewise.
35621 (acos_test_upward): Likewise.
35622 (asin_test_tonearest): Likewise.
35623 (asin_test_towardzero): Likewise.
35624 (asin_test_downward): Likewise.
35625 (asin_test_upward): Likewise.
35626 (main): Call the new functions.
35627 * sysdeps/i386/fpu/libm-test-ulps: Update.
35628 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35632 * math/e_exp10.c: Include <float.h>.
35633 (__ieee754_exp10): Handle underflow here rather than multiplying
35634 large negative argument by M_LN10.
35635 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35637 * math/e_exp10l.c: Include <float.h>.
35638 (__ieee754_exp10l): Handle underflow here rather than multiplying
35639 large negative argument by M_LN10l.
35640 * math/libm-test.inc (exp10_test): Add another test. Do not allow
35641 spurious overflow exception on underflow.
35643 2012-04-29 Marek Polacek <polacek@redhat.com>
35645 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35646 (__fortify_function): New macro.
35647 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35648 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35649 __extern_always_inline.
35650 * libio/bits/stdio2.h: Likewise.
35651 * libio/bits/stdio.h: Likewise.
35652 * string/string.h: Likewise.
35653 * string/bits/string3.h: Likewise.
35654 * include/stdio.h: Likewise.
35655 * stdlib/bits/stdlib.h: Likewise.
35656 * stdlib/stdlib.h: Likewise.
35657 * rt/bits/mqueue2.h: Likewise.
35658 * rt/mqueue.h: Likewise.
35659 * posix/bits/unistd.h: Likewise.
35660 * posix/unistd.h: Likewise.
35661 * io/bits/poll2.h: Likewise.
35662 * io/bits/fcntl2.h: Likewise.
35663 * io/fcntl.h: Likewise.
35664 * io/sys/poll.h: Likewise.
35665 * misc/bits/syslog.h: Likewise.
35666 * misc/bits/syslog-ldbl.h: Likewise.
35667 * misc/sys/syslog.h: Likewise.
35668 * socket/bits/socket2.h: Likewise.
35669 * socket/sys/socket.h: Likewise.
35670 * debug/tst-chk1.c: Likewise.
35671 * wcsmbs/bits/wchar2.h: Likewise.
35672 * wcsmbs/bits/wchar-ldbl.h: Likewise.
35673 * wcsmbs/wchar.h: Likewise.
35675 2012-04-29 Andreas Jaeger <aj@suse.de>
35677 * Makerules (tests): Remove enable-check-abi protection.
35678 (check-abi-warn): Remove.
35679 (check-abi-%): Remove check-abi-warn usage.
35681 * configure.in: Remove check-abi configure option.
35682 * configure: Regenerated.
35683 * config.make.in (enable-check-abi): Remove.
35685 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
35688 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35689 double functions to double *_finite functions.
35692 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35693 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35695 * stdio-common/Makefile (tests): Add tst-sprintf3.
35696 * stdio-common/tst-sprintf3.c: New file.
35698 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35699 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35701 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35703 * conform/conformtest.pl: Remove duplicate typed-constant
35706 2012-04-28 David S. Miller <davem@davemloft.net>
35708 * Makerules (%.abilist): Add vpath on sysdep_dirs.
35709 (check-abi-%): Remove AWK script prerequisite and explicit
35711 (check-abi): Rewrite to just diff the symlist with the abilist.
35712 (config-tls, config-abi-config): Delete, no longer used.
35713 (update-abi-%): Remove AWK script and explicit abilist directory.
35714 (update-abi): Rewrite to simply compare and conditionally copy the
35715 symlist and the sysdep abilist file. Remove update-abi-config
35717 * abilist/ld.abilist: Remove.
35718 * abilist/libBrokenLocale.abilist: Remove.
35719 * abilist/libanl.abilist: Remove.
35720 * abilist/libcrypt.abilist: Remove.
35721 * abilist/libdl.abilist: Remove.
35722 * abilist/librt.abilist: Remove.
35723 * abilist/libthread_db.abilist: Remove.
35724 * abilist/libutil.abilist: Remove.
35725 * scripts/extract-abilist.awk: Remove.
35726 * scripts/merge-abilist.awk: Remove.
35727 * sysdeps/generic/libcidn.abilist: New file.
35728 * sysdeps/generic/libnss_compat.abilist: New file.
35729 * sysdeps/generic/libnss_db.abilist: New file.
35730 * sysdeps/generic/libnss_dns.abilist: New file.
35731 * sysdeps/generic/libnss_files.abilist: New file.
35732 * sysdeps/generic/libnss_hesiod.abilist: New file.
35733 * sysdeps/generic/libnss_nis.abilist: New file.
35734 * sysdeps/generic/libnss_nisplus.abilist: New file.
35735 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35736 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35737 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35739 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35740 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35741 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35742 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35743 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35744 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35745 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35746 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35747 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35749 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35750 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35751 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35752 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35754 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35755 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35756 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35757 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35758 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35759 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35761 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35762 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35763 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35765 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35766 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35768 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35770 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35772 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35774 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35776 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35778 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35780 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35782 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35784 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35786 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35788 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35790 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35818 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35833 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35835 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35843 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35848 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35850 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35854 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35858 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35868 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35869 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35870 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35872 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35873 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35874 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35875 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35876 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35877 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35878 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35879 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35880 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35881 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35882 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35883 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35885 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35891 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35893 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35895 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35897 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35899 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35901 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35907 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35908 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35910 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35914 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35916 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35918 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35920 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35922 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35924 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35926 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35933 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35935 * conform/conformtest.pl: Fix typo in handling typed-constant from
35938 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35940 * README: Cut down references to pre-2.6 Linux kernels and
35941 Linuxthreads. Update lists of configurations in libc and ports
35942 and sort alphabetically. Say "or newer" with Linux kernel version
35945 * config.h.in [IS_IN_build]: Allow compiling without optimization.
35947 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35950 * math/libm-test.inc (logb_test_downward): New test to expose
35951 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35954 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35957 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35959 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35960 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35962 2012-04-26 Joseph Myers <joseph@codesourcery.com>
35964 * sysdeps/unix/i386/brk.S: Remove file.
35965 * sysdeps/unix/i386/dl-brk.S: Likewise.
35966 * sysdeps/unix/i386/pipe.S: Likewise.
35967 * sysdeps/unix/i386/sigreturn.S: Likewise.
35968 * sysdeps/unix/i386/syscall.S: Likewise.
35969 * sysdeps/unix/i386/vfork.S: Likewise.
35970 * sysdeps/unix/i386/wait.S: Likewise.
35972 * sysdeps/unix/common/tcsendbrk.c: Move to ...
35973 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35975 * configure.in (arm*-none*): Do not allow without
35976 --enable-hacker-mode.
35977 (netbsd*): Remove case setting base_os.
35978 (386bsd*): Likewise.
35979 (freebsd*): Likewise.
35982 (sunos*): Likewise.
35983 (ultrix*): Likewise.
35984 (newsos*): Likewise.
35985 (dynix*): Likewise.
35991 (minix*): Likewise.
35992 (irix4*): Likewise.
35993 (irix6*): Likewise.
35994 (solaris[2-9]*): Likewise.
35996 * configure: Regenerated.
35998 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36001 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36002 overflow or cancellation in calculating denominator.
36003 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36004 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36005 down expression to avoid unexpected rounding in newer GCCs.
36006 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36008 2012-04-26 David S. Miller <davem@davemloft.net>
36010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36011 long-double compat symbols.
36012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36026 2012-04-25 David S. Miller <davem@davemloft.net>
36028 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36029 HWCAP_* values only after the memory barriers have been defined.
36030 (atomic_full_barrier): Define.
36031 (atomic_read_barrier): Define.
36032 (atomic_write_barrier): Define.
36034 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36036 * shlib-versions: Add libgcc_s version information.
36037 * sysdeps/generic/libgcc_s.h: Remove.
36038 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36040 * sysdeps/gnu/unwind-resume.c: Likewise.
36041 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36043 2012-04-25 David S. Miller <davem@davemloft.net>
36045 * sysdeps/unix/sparc/brk.S: Delete.
36046 * sysdeps/unix/sparc/dl-brk.S: Delete.
36047 * sysdeps/unix/sparc/pipe.S: Delete.
36048 * sysdeps/unix/sparc/sysdep.S: Delete.
36049 * sysdeps/unix/sparc/sysdep.h: Delete.
36050 * sysdeps/unix/sparc/vfork.S: Delete.
36051 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36052 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36053 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36054 (ret_ERRVAL, r0, r1, MOVE): Define.
36055 (JUMPTARGET): Remove.
36056 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36057 sysdeps/unix/sparc/sysdep.h
36058 (ENTRY, END): Remove.
36059 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36061 2012-04-25 Joseph Myers <joseph@codesourcery.com>
36063 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36064 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36067 * timezone/README: Update upstream location and email address for
36069 * timezone/zdump.c: Update from tzcode 2012b.
36070 * timezone/zic.c: Likewise.
36072 * configure.in (libc_cv_as_needed): Remove test.
36073 * configure: Regenerated.
36074 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36075 conditional definition.
36076 [$(have-as-needed) != yes] (no-as-needed): Likewise.
36077 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36078 * config.make.in (have-as-needed): Remove variable.
36080 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36081 Paul Pluzhnikov <ppluzhnikov@google.com>
36083 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36086 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
36088 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36089 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36090 * sysdeps/sh/strlen.S: Likewise.
36092 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36094 * sysdeps/unix/fork.S: Remove file.
36095 * sysdeps/unix/i386/fork.S: Likewise.
36096 * sysdeps/unix/sparc/fork.S: Likewise.
36098 * sysdeps/unix/system.c: Remove file.
36099 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36101 * sysdeps/unix/getegid.S: Remove file.
36102 * sysdeps/unix/geteuid.S: Likewise.
36104 2012-04-24 Roland McGrath <roland@hack.frob.com>
36106 * scripts/check-localplt.awk: New file.
36107 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36109 * scripts/data/localplt-generic.data: Add a comment.
36111 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36112 NODE when __dir_mkfile failed.
36113 * sysdeps/mach/hurd/symlinkat.c: Likewise.
36114 Reported by Ludovic Courtès <ludo@gnu.org>.
36116 2012-04-24 Andreas Jaeger <aj@suse.de>
36118 * Makerules (common-clean): Also remove gen-as-const-headers
36121 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36123 * Makerules (native-compile): Do not change working directory for
36124 build. Use $(OUTPUT_OPTION) in command.
36125 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36127 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36130 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36131 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36132 * math/libm-test.inc (floor_test): Add more tests.
36133 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36135 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36137 * sysdeps/unix/getdents.c: Remove file.
36138 * sysdeps/unix/sysv/getdents.c: Likewise.
36139 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36141 * sysdeps/unix/syscalls.list (madvise): Add syscall from
36142 sysdeps/unix/mman/syscalls.list.
36144 (mprotect): Likewise.
36146 (munmap): Likewise.
36147 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36148 * sysdeps/unix/mman/syscalls.list: Remove.
36149 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36151 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36152 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36153 * configure: Regenerated.
36154 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36155 $(libgcc_s_suffix).
36156 * config.make.in (libgcc_s_suffix): Remove variable.
36158 2012-04-23 Joseph Myers <joseph@codesourcery.com>
36160 * sysdeps/unix/sysv/gethostname.c: Move to ...
36161 * sysdeps/posix/gethostname.c: ... here.
36163 * sysdeps/unix/execve.S: Remove file.
36165 * sysdeps/unix/_exit.S: Remove file.
36167 2012-04-23 Andreas Jaeger <aj@suse.de>
36170 * manual/Makefile: Remove make dist support, there's no
36171 need for a stand-alone documentation tar ball.
36172 (TEXI2DVI): Define always, it's not in Makeconfig.
36175 (edition): Removed.
36176 (glibc-doc-$(edition).tar): Removed
36180 (ETAGS): Remove, it's in Makeconfig.
36181 (move-if-change): Remove, it's in Makeconfig.
36183 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
36186 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36187 (strtod, strtof, strtold, strtol, strtoul, strtoq)
36188 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36189 (strtod_l, strtof_l, strtold_l): Remove __wur.
36190 It is not necessarily an error to ignore strtol's return value.
36191 One can reliably look at the stored endptr to decide whether
36192 the number had valid syntax.
36194 2012-04-21 Andreas Jaeger <aj@suse.de>
36197 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36199 2012-04-21 Joseph Myers <joseph@codesourcery.com>
36201 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36202 * sysdeps/unix/sysv/Versions: Remove file.
36204 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
36207 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36209 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
36212 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36213 version from __vm86.
36215 2012-04-20 Joseph Myers <joseph@codesourcery.com>
36217 * sysdeps/unix/common/lxstat.c: Remove file.
36218 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36220 * sysdeps/unix/sysv/Makefile: Remove file.
36222 * sysdeps/unix/sysv/direct.h: Remove file.
36224 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36225 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36226 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36227 * sysdeps/unix/sysv/bits/signum.h: Likewise.
36228 * sysdeps/unix/sysv/bits/stat.h: Likewise.
36229 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36230 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36232 * sysdeps/unix/sysv/setrlimit.c: Remove file.
36234 * sysdeps/unix/xmknod.c: Remove file.
36235 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36237 * sysdeps/unix/sysv/settimeofday.c: Remove file.
36239 * sysdeps/unix/sysv/i386/time.S: Remove file.
36241 * sysdeps/unix/fxstat.c: Remove file.
36242 * sysdeps/unix/xstat.c: Likewise.
36243 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36245 * sysdeps/unix/sysv/sigaction.c: Remove file.
36247 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36248 (sysdep_headers): Remove variable.
36249 [termio.h not in sysdep_headers] (generated): Likewise.
36250 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36251 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36252 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36253 * sysdeps/unix/sysv/tcflow.c: Likewise.
36254 * sysdeps/unix/sysv/tcflush.c: Likewise.
36255 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36256 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36257 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36258 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36259 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36261 * sysdeps/unix/siglist.c: Remove file.
36263 * sysdeps/unix/getppid.S: Remove file.
36265 * sysdeps/unix/mkdir.c: Remove file.
36266 * sysdeps/unix/rmdir.c: Likewise.
36268 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36270 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36272 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36273 errlist-compat value.
36275 2012-04-18 David S. Miller <davem@davemloft.net>
36277 * sysdeps/generic/memcopy.h (reg_char): Delete.
36278 * debug/strcat_chk.c: Use char, not reg_char.
36279 * debug/strcpy_chk.c: Likewise.
36280 * debug/strncat_chk.c: Likewise.
36281 * debug/strncpy_chk.c: Likewise.
36282 * string/memchr.c: Likewise.
36283 * string/memrchr.c: Likewise.
36284 * string/rawmemchr.c: Likewise.
36285 * string/strcat.c: Likewise.
36286 * string/strchr.c: Likewise.
36287 * string/strchrnul.c: Likewise.
36288 * string/strcmp.c: Likewise.
36289 * string/strcpy.c: Likewise.
36290 * string/strncat.c: Likewise.
36291 * string/strncmp.c: Likewise.
36292 * string/strncpy.c: Likewise.
36294 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36296 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36297 __builtin_memcopy is called when src and dest ranges are known to not
36300 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36302 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36303 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36304 fwd_align_merge macro call.
36305 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36306 bwd_align_merge macro call.
36307 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36309 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36311 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36312 bwd_align_merge macros.
36313 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36314 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36315 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36317 2012-04-18 David S. Miller <davem@davemloft.net>
36319 * sysdeps/sparc/sparc64/memcopy.h: Delete.
36321 2012-04-18 Andreas Jaeger <aj@suse.de>
36324 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36325 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36326 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36328 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36329 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36330 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36332 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36333 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36334 Adjust for changed ldbl-128 files.
36336 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36337 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36338 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36340 2012-04-17 David S. Miller <davem@davemloft.net>
36342 * sysdeps/sparc/sparc32/memcopy.h: Delete.
36344 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
36346 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36347 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36348 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36349 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36350 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36351 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36353 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36356 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36357 * math/libm-test.inc: Add ilogb errno and exception tests.
36358 * math/w_ilogb.c: New file: ilogb wrapper.
36359 * math/w_ilogbf.c: New file: ilogbf wrapper.
36360 * math/w_ilogbl.c: New file: ilogbl wrapper.
36361 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36362 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36363 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36364 exception being thrown with 0.0 as argument.
36365 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36366 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36367 exception being thrown with 0.0 as argument.
36368 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36369 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36370 exception being thrown with 0.0 as argument.
36371 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36372 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36373 exception being thrown with 0.0 as argument.
36374 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36375 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36376 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36377 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36378 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36379 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36380 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36381 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36382 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36384 2012-04-17 Petr Baudis <pasky@ucw.cz>
36386 * include/sys/uio.h: Change __vector to __iovec to avoid clash
36389 2012-04-16 Marek Polacek <polacek@redhat.com>
36391 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36393 2012-04-16 Marek Polacek <polacek@redhat.com>
36395 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36396 operands of fdivp instruction.
36398 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36400 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36401 * elf/tst-auditmod3b.c: Likewise.
36402 * elf/tst-auditmod4b.c: Likewise.
36403 * elf/tst-auditmod5b.c: Likewise.
36404 * elf/tst-auditmod6b.c: Likewise.
36405 * elf/tst-auditmod6c.c: Likewise.
36406 * elf/tst-auditmod7b.c: Likewise.
36407 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36408 * sysdeps/x86_64/preconfigure.in: Likewise.
36409 * sysdeps/x86_64/preconfigure: Regenerated.
36411 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36413 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36416 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
36418 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36419 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36421 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
36424 * locale/iso-639.def: Fix gl language name. Spotted by
36427 2012-04-12 Roland McGrath <roland@hack.frob.com>
36430 * libio/libio.h (__io_write_fn): Update comment.
36432 2012-04-12 Petr Baudis <pasky@ucw.cz>
36435 * stdio.texi (Hook Functions): The user provided writer function
36436 is not allowed to return -1.
36438 2012-04-11 David S. Miller <davem@davemloft.net>
36440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36442 2012-04-11 Mike Frysinger <vapier@gentoo.org>
36444 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36445 Add a leading slash to rtkaio.
36447 2012-04-11 Jim Meyering <meyering@redhat.com>
36450 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36451 It is not necessarily an error to ignore fwrite's return
36452 value. One can reliably use ferror to test for errors after
36455 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36457 * bits/types.h (__snseconds_t): New type.
36458 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36460 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36461 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36462 (__SNSECONDS_T_TYPE): Likewise.
36463 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36464 (__SNSECONDS_T_TYPE): Likewise.
36465 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36466 (__SNSECONDS_T_TYPE): Likewise.
36468 2012-04-10 Andreas Jaeger <aj@suse.de>
36471 * manual/time.texi (Processor Time): Return type of times is
36472 elapsed real time since an arbitrary point in the past.
36473 (CPU Time): Move CLK_TCK from here...
36474 (Processor Time): ...to here. Correct description.
36475 * manual/conf.texi (Constants for Sysconf): Correct description of
36478 2012-04-10 David S. Miller <davem@davemloft.net>
36481 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36482 where the is a gap between DT_REL(A) and DT_JMPREL.
36484 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36486 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36487 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36488 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36490 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36492 * elf/dl-support.c (_dl_inhibit_cache): New variable.
36493 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36494 (dl_main): Handle --inhibit-cache.
36495 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36497 * elf/dl-load.c (_dl_map_object): Use it.
36498 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36500 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36503 * sysdeps/i386/fpu/e_powl.S (p78): New object.
36504 (__ieee754_powl): Saturate large exponents rather than testing for
36505 overflow of y*log2(x).
36506 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36507 * math/libm-test.inc (pow_test): Do not permit spurious overflow
36511 * math/s_ctan.c: Include <float.h>.
36512 (__ctan): Avoid internal overflow or cancellation in calculating
36514 * math/s_ctanf.c: Likewise.
36515 * math/s_ctanl.c: Likewise.
36516 * math/s_ctanh.c: Likewise.
36517 * math/s_ctanhf.c: Likewise.
36518 * math/s_ctanhl.c: Likewise.
36519 * math/libm-test.inc (ctan_test): Add more tests.
36520 (ctanh_test): Likewise.
36521 * sysdeps/i386/fpu/libm-test-ulps: Update.
36522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36524 2012-04-09 Andreas Jaeger <aj@suse.de>
36527 * manual/filesys.texi (Directory Entries): Mention that d_namlen
36528 is an optional BSD extension.
36531 * manual/stdio.texi (Opening Streams): Document additional fopen
36534 2012-04-09 Roland McGrath <roland@hack.frob.com>
36536 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36537 %eax without telling the compiler.
36539 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
36542 * manual/install.texi: Use sourceware.org.
36544 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36547 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36548 (__ieee754_pow): Generate overflow and underflow using huge*huge
36549 and tiny*tiny rather than just returning constant infinity or zero
36550 for large exponents.
36551 * math/libm-test.inc (pow_test): Require overflow exceptions for
36552 applicable cases of large exponents.
36555 * sysdeps/i386/fpu/e_pow.S (p10): New object.
36556 (__ieee754_pow): Use iterative multiplication algorithm only for
36557 integer exponents with absolute value below 1024. Check for odd
36558 integer exponents when using algorithm for real exponents.
36559 * math/libm-test.inc (pow_test): Add more tests.
36560 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36562 2012-04-08 Joseph Myers <joseph@codesourcery.com>
36565 * math/libm-test.inc (exp_test): Do not allow overflow exception
36568 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
36571 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36572 instead of __kernel_standard_f.
36574 2012-04-08 Mike Frysinger <vapier@gentoo.org>
36576 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36577 * sysdeps/x86_64/memset_chk.S: Likewise.
36579 2012-04-08 Andreas Jaeger <aj@suse.de>
36582 * manual/startup.texi (Environment Access): Describe return value
36583 for putenv and setenv.
36586 * manual/filesys.texi (Directory Entries): Add description for
36590 * manual/filesys.texi (Directory Entries): Clarify that it's file
36591 system not operating system in the description of DT_UNKNOWN.
36594 * manual/syslog.texi (closelog): Fix reference, it's openlog.
36596 2012-04-08 Stephen Compall <s11@member.fsf.org>
36599 * manual/llio.texi (Opening and Closing Files): Add cross
36600 reference to explain mode argument.
36602 2012-04-07 Mike Frysinger <vapier@gentoo.org>
36604 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36605 * sysdeps/x86_64/memset_chk.S: Likewise.
36607 2012-04-07 David S. Miller <davem@davemloft.net>
36609 * elf/elf.h (R_SPARC_WDISP10): Define.
36610 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36612 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36613 R_SPARC_SIZE64 and R_SPARC_H34.
36615 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
36617 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36618 conditions and remove no longer applicable assertion.
36620 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36622 * bits/byteswap.h: Include <features.h>.
36623 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36624 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36626 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36628 * bits/byteswap.h (__bswap_16): Removed.
36629 Include <bits/byteswap-16.h> to get __bswap_16.
36630 * sysdeps/i386/bits/byteswap.h: Likewise.
36631 * sysdeps/s390/bits/byteswap.h: Likewise.
36632 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36633 * bits/byteswap-16.h: New file.
36634 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36635 * sysdeps/s390/bits/byteswap-16.h: Likewise.
36636 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36637 * string/Makefile (headers): Add bits/byteswap-16.h.
36639 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36642 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36644 * nss/Makefile (tests-static, tests): Add tst-nss-static.
36645 * nss/tst-nss-static.c: New.
36647 2012-04-06 Robert Millan <rmh@gnu.org>
36650 * manual/llio.texi (File Position Primitive): lseek
36651 refers to WHENCE when it really means OFFSET.
36653 2012-04-06 Andreas Jaeger <aj@suse.de>
36655 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36656 strncmp declarations.
36658 * abilist/libc.abilist: Add __poll and __ppoll.
36660 2012-04-05 David S. Miller <davem@davemloft.net>
36662 * scripts/check-local-headers.sh: Accept a host triplet in the
36663 path matched by the exclude regexp.
36665 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36667 * sysdeps/powerpc/powerpc32/dl-machine.h
36668 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36669 * sysdeps/s390/s390-32/dl-machine.h
36670 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36671 * sysdeps/sparc/sparc32/dl-machine.h
36672 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36673 * sysdeps/sparc/sparc64/dl-machine.h
36674 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36676 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36678 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36679 undefined symbol errors.
36681 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36684 2012-04-05 Michael Matz <matz@suse.de>
36687 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36689 2012-04-05 Andreas Jaeger <aj@suse.de>
36692 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36695 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36697 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36698 which ROUND is no valid rounding mode.
36700 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36702 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36704 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36706 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36708 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36709 an exception using FPU order intentionally.
36711 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36713 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36714 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36715 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36716 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36718 2012-04-05 Simon Josefsson <simon@josefsson.org>
36721 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36722 EINVAL when BUFLEN is too smal.
36724 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
36727 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36728 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36730 2012-04-03 Andreas Jaeger <aj@suse.de>
36733 * manual/setjmp.texi (System V contexts): Fix sentence.
36736 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36737 New macro for this case.
36738 [!__GNUC__] (__bswap_64): New inline function for this case.
36739 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36740 * bits/byteswap.h: Likewise.
36741 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36742 ull, guard with __GLIBC_HAVE_LONG_LONG.
36744 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36745 __GLIBC_HAVE_LONG_LONG.
36747 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36748 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36750 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36753 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36754 inptr and inend, rather than using last_ch.
36756 2012-04-02 David S. Miller <davem@davemloft.net>
36758 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36759 * stdio-common/printf-parse.h (read_int): Change return type to
36760 'int', return -1 on INT_MAX overflow.
36761 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36762 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
36763 overflows INT_MAX. Check for overflow of in-format-string precision
36764 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
36765 SIZE_MAX not INT_MAX for integer overflow test.
36766 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36767 skip the construct in the format string but do not record anything.
36768 * stdio-common/bug22.c: Adjust to test both width/prevision
36769 INT_MAX overflow as well as total length INT_MAX overflow. Check
36770 explicitly for proper errno values.
36772 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
36774 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36776 * string/test-strcmp.c [! WIDE]: Likewise.
36777 * time/tst-mktime2.c: Likewise for INT_MAX.
36778 * string/test-string.h: #include <sys/param.h> for MIN.
36780 * csu/init-first.c (__libc_init_first): Call __ctype_init.
36781 * sysdeps/i386/init-first.c (init): Likewise.
36782 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36783 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36784 * sysdeps/sh/init-first.c (init): Likewise.
36786 2012-04-01 Ulrich Drepper <drepper@gmail.com>
36788 * po/ru.po: Update from translation team.
36789 * po/vi.po: Likewise.
36791 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36793 * resolv/nss_dns/dns-host.c: Merge copyright years.
36795 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36797 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36798 Optimize memcpy with prefetch if
36799 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
36800 src, dst pointers have unequal 16 byte alignments.
36802 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36805 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36806 from a CNAME entry and return the minimum ttl for the query.
36807 (gaih_getanswer_slice): Likewise.
36809 2012-03-30 Jeff Law <law@redhat.com>
36811 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36813 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36814 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36816 * resolv/nss_dns/dns-host.c: Update copyright year.
36818 2012-03-30 Ulrich Drepper <drepper@gmail.com>
36820 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36821 requests to save a system call. Fix check that all bytes are sent.
36823 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36824 comments for sendmmsg.
36826 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36829 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36830 with only 1 character between 0x0041 and 0x01b0.
36831 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36832 * wcsmbs/tst-mbsnrtowcs.c: New file.
36834 2012-03-29 David S. Miller <davem@davemloft.net>
36836 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36837 small copies by hand.
36839 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36842 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36843 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36846 2012-03-28 David S. Miller <davem@davemloft.net>
36848 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36849 that branches into memcpy.
36850 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36851 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36852 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36853 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36854 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36856 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36857 implementation too.
36858 * sysdeps/sparc/mempcpy.S: New file.
36860 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36861 the IFUNC routine in the libc case.
36862 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36864 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36865 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36866 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36867 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36868 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36869 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36870 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36871 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36873 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36874 loop to 256 bytes instead of 64 bytes and fix test signedness.
36876 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36877 * sysdeps/sparc/sparc32/Makefile: rather than here...
36878 * sysdeps/sparc/sparc64/Makefile: and here.
36880 2012-03-28 Ulrich Drepper <drepper@gmail.com>
36882 * malloc/mallocbug.c: Avoid warnings about unused variables.
36884 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36887 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36888 in the right place. Discard and retry query if response is
36889 larger than input buffer size.
36891 2012-03-28 Joseph Myers <joseph@codesourcery.com>
36896 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36897 x for large integer exponent.
36898 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36899 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
36900 sign of result as needed afterwards.
36901 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36902 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36903 result for underflowing pow the same as for overflow.
36904 (__kernel_standard_l): Handle powl overflow and underflow here
36905 rather than calling __kernel_standard.
36906 * math/libm-test.inc (pow_test): Add more tests.
36921 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36922 * sysdeps/ieee754/k_standard.c: Include <float.h>.
36923 (__kernel_standard_l): New function.
36924 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36926 * math/w_acosl.c (__acosl): Likewise.
36927 * math/w_asinl.c (__asinl): Likewise.
36928 * math/w_atan2l.c (__atan2l): Likewise.
36929 * math/w_atanhl.c (__atanhl): Likewise.
36930 * math/w_coshl.c (__coshl): Likewise.
36931 * math/w_exp10l.c (__exp10l): Likewise.
36932 * math/w_exp2l.c (__exp2l): Likewise.
36933 * math/w_fmodl.c (__fmodl): Likewise.
36934 * math/w_hypotl.c (__hypotl): Likewise.
36935 * math/w_j0l.c (__j0l, __y0l): Likewise.
36936 * math/w_j1l.c (__j1l, __y1l): Likewise.
36937 * math/w_jnl.c (__jnl, __ynl): Likewise.
36938 * math/w_lgammal.c (__lgammal): Likewise.
36939 * math/w_log10l.c (__log10l): Likewise.
36940 * math/w_log2l.c (__log2l): Likewise.
36941 * math/w_logl.c (__logl): Likewise.
36942 * math/w_powl.c (__powl): Likewise.
36943 * math/w_remainderl.c (__remainderl): Likewise.
36944 * math/w_scalbl.c (sysv_scalbl): Likewise.
36945 * math/w_sinhl.c (__sinhl): Likewise.
36946 * math/w_sqrtl.c (__sqrtl): Likewise.
36947 * math/w_tgammal.c (__tgammal): Likewise.
36948 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36949 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36950 * math/libm-test.inc (acos_test): Add more tests.
36951 (acosh_test): Likewise.
36952 (asin_test): Likewise.
36953 (atanh_test): Likewise.
36954 (exp_test): Likewise.
36955 (exp10_test): Likewise.
36956 (exp2_test): Likewise.
36957 (expm1_test): Likewise.
36958 (lgamma_test): Likewise.
36959 (log_test): Likewise.
36960 (log10_test): Likewise.
36961 (log1p_test): Likewise.
36962 (log2_test): Likewise.
36963 (pow_test): Do not allow some spurious overflow exceptions.
36964 (sqrt_test): Add more tests.
36965 (tgamma_test): Likewise.
36966 (y0_test): Likewise.
36967 (y1_test): Likewise.
36968 (yn_test): Likewise.
36970 2012-03-27 Anton Blanchard <anton@samba.org>
36972 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36974 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36975 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36976 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36978 2012-03-27 David S. Miller <davem@davemloft.net>
36980 * conform/Makefile: Run run-conformtest.sh using $(BASH).
36982 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36983 have-as-vis3 check.
36985 2012-03-27 Andreas Jaeger <aj@suse.de>
36987 * sysdeps/x86_64/elf/configure.in: Moved to ...
36988 * sysdeps/x86_64/configure.in: ... here.
36989 * sysdeps/x86_64/elf/start.S: Moved to ...
36990 * sysdeps/x86_64/start.S: ... here.
36991 * sysdeps/x86_64/elf/configure: Delete.
36993 * sysdeps/x86_64/configure.in: Merge contents from
36994 sysdeps/i386/configure.in (without i686 check).
36996 * sysdeps/i386/elf/Versions: Merge into ...
36997 * sysdeps/i386/Versions: ... this.
36998 * sysdeps/i386/elf/Versions: Delete file.
36999 * sysdeps/i386/elf/start.S: Moved to ...
37000 * sysdeps/i386/start.S: ...here.
37001 * sysdeps/i386/elf/configure.in: Merge into...
37002 * sysdeps/i386/configure.in: ...here.
37003 * sysdeps/i386/elf/configure.in: Delete file.
37004 * sysdeps/i386/elf/configure: Delete file.
37006 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37007 * debug/backtracesyms.c: ... here.
37008 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37009 * debug/backtracesymsfd.c: ... here.
37010 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37011 * sysdeps/generic/ifunc-sel.h: ... here.
37013 * sysdeps/unix/i386/start.c: Delete file.
37014 * sysdeps/unix/sparc/start.c: Delete file.
37015 * sysdeps/unix/start.c: Delete file.
37017 * sysdeps/sh/elf/configure.in: Moved to ...
37018 * sysdeps/sh/configure.in: ... here.
37019 * sysdeps/sh/elf/start.S: Moved to ...
37020 * sysdeps/sh/start.S: ... here.
37021 * sysdeps/sh/elf/configure: Delete file.
37023 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37024 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37025 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37026 * sysdeps/powerpc/powerpc64/entry.h: ... here.
37027 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37028 * sysdeps/powerpc/powerpc64/start.S: here.
37029 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37030 * sysdeps/powerpc/powerpc64/Makefile: ... this.
37031 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37032 * sysdeps/powerpc/powerpc64/configure.in: ... this.
37033 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37035 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37036 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37037 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37038 * sysdeps/powerpc/powerpc32/start.S: ... here.
37039 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37040 * sysdeps/powerpc/powerpc32/configure.in: ... this.
37041 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37043 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37044 * sysdeps/powerpc/ifunc-sel.h: ... here.
37045 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37046 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37048 * sysdeps/sparc/elf/configure.in: Moved to ...
37049 * sysdeps/sparc/configure.in: ... here.
37050 * sysdeps/sparc/elf/configure: Delete file.
37051 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37052 * sysdeps/sparc/sparc32/start.S: ... here.
37053 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37054 * sysdeps/sparc/sparc64/start.S: ... here.
37055 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37056 * sysdeps/sparc/sparc32/Makefile: ... this.
37057 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37058 * sysdeps/sparc/sparc64/Makefile: ... this.
37060 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37061 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37062 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37063 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37064 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37065 * sysdeps/s390/s390-32/setjmp.S: ... here.
37066 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37067 * sysdeps/s390/s390-32/configure.in: ... here.
37068 * sysdeps/s390/s390-32/elf/configure: Delete file.
37069 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37070 * sysdeps/s390/s390-32/start.S: ... here.
37072 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37073 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37074 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37075 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37076 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37077 * sysdeps/s390/s390-64/setjmp.S: ... here.
37078 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37079 * sysdeps/s390/s390-64/configure.in: ... here
37080 * sysdeps/s390/s390-64/elf/configure: Delete file.
37081 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37082 * sysdeps/s390/s390-64/start.S: ... here.
37083 * sysdeps/s390/s390-64/elf/configure: Delete.
37085 * configure.in: Remove support for elf directories in sysdeps.
37087 * configure: Regenerated.
37088 * sysdeps/i386/configure: Regenerated.
37089 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37090 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37091 * sysdeps/s390/s390-32/configure: Regenerated.
37092 * sysdeps/s390/s390-64/configure: Regenerated.
37093 * sysdeps/sh/configure: Regenerated.
37094 * sysdeps/sparc/configure: Regenerated.
37095 * sysdeps/x86_64/configure: Regenerated.
37097 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
37099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37101 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37102 denormal result into account.
37104 2012-03-25 Roland McGrath <roland@hack.frob.com>
37106 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37107 Reported by Allan McRae <allan@archlinux.org>.
37109 2012-03-23 Jeff Law <law@redhat.com>
37111 * nss/getnssent.c (__nss_getent): Fix typo.
37113 2012-03-23 David S. Miller <davem@davemloft.net>
37115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37117 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
37119 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37120 to pad to uint64_t for each field.
37121 (dl_tls_index): Replace unsigned long with uint64_t.
37123 2012-03-23 Daniel Jacobowitz <dmj@google.com>
37124 Paul Pluzhnikov <ppluzhnikov@google.com>
37127 * grp/Makefile (otherlibs): Don't set it.
37128 * inet/Makefile (otherlibs): Likewise.
37129 * login/Makefile (otherlibs): Likewise.
37130 * nscd/Makefile (otherlibs): Likewise.
37131 * posix/Makefile (otherlibs): Likewise.
37132 * pwd/Makefile (otherlibs): Likewise.
37133 * rt/Makefile (otherlibs): Likewise.
37134 * sunrpc/Makefile (otherlibs): Likewise.
37135 * nss/Makefile (otherlibs): Likewise.
37136 Add libnss_files to routines and static-only-routines.
37137 ($(objpfx)getent): Remove rule.
37138 * resolv/Makefile: Add libnss_dns and libresolv to routines and
37139 static-only-routines.
37141 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37144 * math/s_cexp.c: Include <float.h>.
37145 (__cexp): Handle exp result overflowing not necessarily
37146 overflowing both real and imaginary parts of result.
37147 * math/s_cexpf.c: Likewise.
37148 * math/s_cexpl.c: Likewise.
37149 * math/libm-test.inc (cexp_test): Add more tests.
37150 * sysdeps/i386/fpu/libm-test-ulps: Update.
37151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37153 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37155 * include/link.h (ELFW): New macro.
37156 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37157 Replace ELF64_R_TYPE with ELFW(R_TYPE).
37159 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37161 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37164 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37166 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37168 (struct La_x32_retval): Likewise.
37170 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37172 * sysdeps/x86_64/preconfigure.in: New file.
37173 * sysdeps/x86_64/preconfigure: New generated file.
37175 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37178 * math/e_exp2l.c: Include <float.h>.
37179 (__ieee754_exp2l): Handle overflow and underflow cases
37180 separately. Only pass fractional part of argument to
37182 * math/libm-test.inc (exp2_test): Add more tests.
37184 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37185 negating x to take absolute value.
37186 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37188 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37189 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37191 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37192 computing low part if x was negated.
37193 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37195 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37197 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37198 la_x32_gnu_pltexit.
37199 (pltexit): Cast int_retval to ptrdiff_t.
37200 * elf/tst-auditmod3b.c: Likewise.
37201 * elf/tst-auditmod4b.c: Likewise.
37202 * elf/tst-auditmod5b.c: Likewise.
37203 * elf/tst-auditmod6b.c: Likewise.
37204 * elf/tst-auditmod6c.c: Likewise.
37205 * elf/tst-auditmod7b.c: Likewise.
37207 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37208 and x32_gnu_pltexit.
37210 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37211 __ELF_NATIVE_CLASS.
37212 (La_x32_regs): New macro.
37213 (La_x32_retval): Likewise.
37214 (la_x32_gnu_pltenter): New function prototype.
37215 (la_x32_gnu_pltexit): Likewise.
37217 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
37219 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37224 * configure.in (libc_cv_cc_nofma): Check for option to disable
37225 generation of FMA instructions.
37226 * configure: Regenerate.
37227 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37228 * sysdeps/ieee754/dbl-64/Makefile: New file.
37229 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37230 Remove brandred-fma4.
37231 (CFLAGS-brandred-fma4.c): Remove.
37232 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37233 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37235 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37238 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37240 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37241 LLONG_MAX != LONG_MAX.
37242 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37243 (_fitoa_word): Likewise.
37244 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37245 LLONG_MAX != LONG_MAX.
37246 * stdio-common/_itowa.h: Include <_itoa.h>.
37247 (_itowa_word): Use _ITOA_WORD_TYPE on value.
37248 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
37249 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
37250 only if not defined.
37251 (_ITOA_WORD_TYPE): Likewise.
37252 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37253 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37255 2012-03-21 David S. Miller <davem@davemloft.net>
37257 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37259 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37261 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37262 of x86_64 when setting libc_cv_slibdir, libdir and
37264 * sysdeps/unix/sysv/linux/configure: Regenerated.
37266 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37268 * manual/lang.texi (Old Varargs): Remove section.
37269 (How Variadic): Update menu.
37270 (va_start): Do not mention varargs.h.
37272 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37273 Joseph Myers <joseph@codesourcery.com>
37275 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37277 * configure: Regenerated.
37279 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37281 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37282 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37285 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37288 * Makefile (files-for-dist): Remove NOTES.
37289 (NOTES): Remove rule.
37290 * README: Don't refer to NOTES.
37291 * manual/creature.texi: Don't include macros.texi.
37292 * manual/intro.texi (creature.texi): Remove comment referring to
37295 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37296 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37297 * configure: Regenerated.
37298 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37299 LIBC_TRY_CC_OPTION.
37300 (libc_cv_as_i686): Likewise.
37301 (libc_cv_cc_avx): Likewise.
37302 (libc_cv_cc_sse2avx): Likewise.
37303 (libc_cv_cc_fma4): Likewise.
37304 (libc_cv_cc_novzeroupper): Likewise.
37305 * sysdeps/i386/configure: Regenerated.
37308 * sysdeps/i386/fpu/s_cexp.S: Remove.
37309 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37310 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37311 * math/libm-test.inc (cexp_test): Add more tests.
37312 * sysdeps/i386/fpu/libm-test-ulps: Update.
37313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37315 2012-03-21 Allan McRae <allan@archlinux.org>
37317 * timezone/Makefile: Do not install iso3166.tab and zone.tab
37319 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37322 * math/w_exp2.c: Do not include <float.h>.
37323 (o_threshold, u_threshold): Remove.
37324 (__exp2): Calculate result before checking finiteness and calling
37326 * math/w_exp2f.c: Likewise.
37327 * math/w_exp2l.c: Likewise.
37328 * math/libm-test.inc (exp2_test): Require overflow exception for
37332 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37333 range of signed 64-bit integers before using fistpll. Remove
37334 checks for whether integers fit in mantissa bits.
37335 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37336 the range of signed 32-bit integers before using fistpl. Remove
37337 checks for whether integers fit in mantissa bits.
37338 * sysdeps/i386/fpu/e_powl.S (p64): New object.
37339 (__ieee754_powl): Test for y outside the range of signed 64-bit
37340 integers before using fistpll. Reduce 64-bit values to 63-bit
37342 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37343 divide-by-zero is raised for zero to large negative powers.
37344 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37345 (__ieee754_powl): Test for y outside the range of signed 64-bit
37346 integers before using fistpll. Reduce 64-bit values to 63-bit
37348 * math/libm-test.inc (pow_test): Add more tests.
37350 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37352 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37353 <stdio-common/_itoa.h>.
37354 * debug/segfault.c: Likewise.
37355 * elf/dl-cache.c: Likewise.
37356 * elf/dl-minimal.c: Likewise.
37357 * elf/dl-misc.c: Likewise.
37358 * elf/dl-sysdep.c: Likewise.
37359 * elf/dl-version.c: Likewise.
37360 * elf/rtld.c: Likewise.
37361 * hurd/hurdsock.c: Likewise.
37362 * hurd/lookup-retry.c: Likewise.
37363 * malloc/malloc.c: Likewise.
37364 * malloc/mtrace.c: Likewise.
37365 * nscd/nscd_getgr_r.c: Likewise.
37366 * nscd/nscd_getpw_r.c: Likewise.
37367 * nscd/nscd_getserv_r.c: Likewise.
37368 * posix/getopt_init.c: Likewise.
37369 * posix/wordexp.c: Likewise.
37370 * stdio-common/_itoa.c: Likewise.
37371 * stdio-common/printf_fphex.c: Likewise.
37372 * stdio-common/vfprintf.c: Likewise.
37373 * string/_strerror.c: Likewise.
37374 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37375 * sysdeps/i386/i686/hp-timing.h: Likewise.
37376 * sysdeps/mach/_strerror.c: Likewise.
37377 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37378 * sysdeps/mach/hurd/sethostid.c: Likewise.
37379 * sysdeps/mach/hurd/xmknodat.c: Likewise.
37380 * sysdeps/mach/xpg-strerror.c: Likewise.
37381 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37382 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37383 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37384 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37385 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37386 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37387 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37388 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37389 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37390 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37391 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37392 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37393 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37394 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37395 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37396 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37397 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37398 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37399 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37400 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37401 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37403 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37405 * stdio-common/_itoa.h: Moved to ...
37406 * sysdeps/generic/_itoa.h: Here.
37408 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37410 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37411 instead of "_itoa.h" and "_itowa.h".
37412 * stdio-common/vfprintf.: Likewise.
37414 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37416 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37418 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37419 (__signbit): Likwise.
37420 (llrintf): Likwise.
37423 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37425 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37428 2012-03-20 Joseph Myers <joseph@codesourcery.com>
37430 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37431 OVERFLOW_EXCEPTION_OK.
37432 * math/libm-test.inc ("Philosophy"): Update comment about
37434 (OVERFLOW_EXCEPTION): Define.
37435 (OVERFLOW_EXCEPTION_OK): Likewise.
37436 (INVALID_EXCEPTION_OK): Renumber.
37437 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37438 (IGNORE_ZERO_INF_SIGN): Likewise.
37439 (test_exceptions): Handle FE_OVERFLOW.
37440 (exp10_test): Expect overflow exceptions.
37441 (exp2_test): Likewise.
37442 (expm1_test): Likewise.
37443 (nextafter_test): Likewise.
37444 (pow_test): Likewise.
37445 (scalbn_test): Likewise.
37446 (scalbln_test): Likewise.
37448 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37450 * sysdeps/x86_64/bits/atomic.h
37451 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37453 (atomic_exchange_acq): Likewise.
37454 (__arch_exchange_and_add_body): Likewise.
37455 (__arch_add_body): Likewise.
37456 (atomic_add_negative): Likewise.
37457 (atomic_add_zero): Likewise.
37459 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37461 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37462 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37464 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37466 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37467 Check __x86_64__ instead of __WORDSIZE.
37469 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37471 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37473 2012-03-19 David S. Miller <davem@davemloft.net>
37475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37477 * sysdeps/sparc/fpu/fenv_private.h: New file.
37478 * sysdeps/sparc/fpu/math_private.h: Use it.
37479 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37481 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37482 (libc_feholdexcept_setroundl): Remove.
37483 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37485 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37486 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37488 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37490 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37491 int64_t instead of long int.
37492 (INSERT_WORDS64): Likwise.
37494 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37496 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37497 _Unwind_GetCFA return to _Unwind_Ptr first.
37499 2012-03-19 Joseph Myers <joseph@codesourcery.com>
37502 * math/s_clog.c: Include <float.h>.
37503 (__clog): Scale large or subnormal inputs.
37504 * math/s_clogf.c: Likewise.
37505 * math/s_clogl.c: Likewise.
37506 * math/s_clog10.c: Include <float.h>.
37507 (M_LOG10_2): Define.
37508 (__clog10): Scale large or subnormal inputs.
37509 * math/s_clog10f.c: Likewise.
37510 * math/s_clog10l.c: Likewise.
37511 * math/libm-test.inc (clog_test): Add more tests.
37512 (clog10_test): Likewise.
37513 * sysdeps/i386/fpu/libm-test-ulps: Update.
37514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37517 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37519 * math/libm-test.inc (atan2_test): Add another test.
37521 * Makerules (common-objdir-compile): Remove.
37522 * sysdeps/unix/Makefile (config-generated): Do not add
37523 $(unix-generated) to variable.
37524 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37525 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37527 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37529 [generic bits/local_lim.h] (before-compile): Do not append to
37531 [generic bits/local_lim.h] (common-generated): Likewise.
37532 [generic sys/param.h] (before-compile): Do not append to variable.
37533 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37534 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37535 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37536 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37538 [generic sys/param.h] (sys/param.h-includes): Remove variable.
37539 [generic sys/param.h] (sys/param.h-includes): Remove rule.
37540 [generic sys/param.h] ($(addprefix
37541 $(common-objpfx),$(sys/param.h-includes))): Likewise.
37542 [generic sys/param.h] (common-generated): Do not append to
37544 [generic sys/param.h] (sysdep_headers): Likewise.
37545 [generic bits/errno.h] (before-compile): Do not append to
37547 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37549 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37550 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37551 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37552 [generic bits/errno.h] (common-generated): Do not append to
37554 [generic bits/ioctls.h] (before-compile): Do not append to
37556 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37558 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37559 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37560 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37562 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37563 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37564 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37565 [generic bits/ioctls.h] (common-generated): Do not append to
37567 [generic sys/syscall.h] (syscall.h): Remove variable.
37568 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37570 [generic sys/syscall.h] (before-compile): Do not append to
37572 [generic sys/syscall.h] (common-generated): Likewise.
37573 * sysdeps/unix/errnos-tmpl.c: Remove file.
37574 * sysdeps/unix/errnos.awk: Likewise.
37575 * sysdeps/unix/ioctls-tmpl.c: Likewise.
37576 * sysdeps/unix/ioctls.awk: Likewise.
37577 * sysdeps/unix/mk-local_lim.c: Likewise.
37578 * sysdeps/unix/snarf-ioctls: Likewise.
37580 2012-03-19 Richard Henderson <rth@twiddle.net>
37582 * sysdeps/i386/fpu/fenv_private.h: New file.
37583 * sysdeps/i386/fpu/math_private.h: Use it.
37584 (math_opt_barrier, math_force_eval): Remove.
37585 (libc_feholdexcept_setround_53bit): Remove.
37586 (libc_feupdateenv_53bit): Remove.
37587 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37588 (math_opt_barrier, math_force_eval): Remove.
37589 (libc_feholdexcept): Remove.
37590 (libc_feholdexcept_setround): Remove.
37591 (libc_fetestexcept, libc_fesetenv): Remove.
37592 (libc_feupdateenv_test): Remove.
37593 (libc_feupdateenv, libc_feholdsetround): Remove.
37594 (libc_feresetround): Remove.
37596 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37597 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37599 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37600 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37601 (libc_feupdateenv_testl): New.
37602 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37603 (libc_feupdateenv_testf): New.
37604 (libc_feupdateenv): Use libc_feupdateenv_test.
37605 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37606 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37608 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37609 (libc_feholdsetroundf, libc_feholdsetroundl): New.
37610 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37611 (libc_feresetround_noex): New.
37612 (libc_feresetround_noexf): New.
37613 (libc_feresetround_noexl): New.
37614 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37615 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37616 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37617 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37619 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37620 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37622 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37623 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37624 SET_RESTORE_ROUND_NOEX.
37625 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37626 SET_RESTORE_ROUND_NOEXF.
37627 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37628 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37629 (libc_feholdsetroundf): New.
37630 (libc_feresetround, libc_feresetroundf): New.
37632 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37633 (libc_feholdexcept_setround_53bit): Convert from macro to function.
37634 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
37636 * sysdeps/generic/math_private.h: Include <fenv.h>.
37637 (default_libc_feholdexcept): New.
37638 (default_libc_feholdexcept_setround): New.
37639 (default_libc_fesetenv, default_libc_feupdateenv): New.
37640 (libc_feholdexcept): Only define if undefined.
37641 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37642 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37643 (libc_feholdexcept_setroundl): Likewise.
37644 (libc_feholdexcept_setround_53bit): Likewise.
37645 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37646 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37647 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37648 (libc_feupdateenv_53bit): Likewise.
37649 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37650 (libc_feholdexcept): Convert from macro to inline function.
37651 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37652 (libc_fesetenv, libc_feupdateenv): Likewise.
37654 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37655 not previously defined.
37656 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37657 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37658 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37659 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37660 * sysdeps/ieee754/flt-32/math_private.h: New file.
37661 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37662 math_private.h below SET_FLOAT_WORD.
37663 (__isnan, __isinf_ns, __finite): Remove.
37664 (__isnanf, __isinf_nsf, __finitef): Remove.
37666 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
37668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37670 2012-03-17 David S. Miller <davem@davemloft.net>
37673 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37676 2012-03-16 David S. Miller <davem@davemloft.net>
37678 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37682 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37684 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37685 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37686 sysdep_routines when subdir is sysvipc.
37687 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37688 __getshmlba helper.
37690 * sysdeps/sparc/fpu/libm-test/ulps: Update.
37692 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37694 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37697 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37699 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37700 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37701 (__lround): Renamed to ...
37702 (__llround): This. Replace long int with long long int.
37703 Define lround functions as aliases of llround functions.
37704 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37706 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37708 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37709 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
37710 adresses to uintptr_t. Replace "long int" and "unsigned long
37711 int" with "greg_t" on va_arg.
37713 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37715 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37716 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37718 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37719 Move e_machine check before EI_CLASS check. Handle x32
37720 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37721 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37722 SKIP_EM_IA_64 and include
37723 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37725 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37726 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37727 (add_system_dir): New macro.
37729 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37730 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37732 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37743 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37745 * math/w_j0f.c (j0f): Likewise.
37747 * math/w_j0l.c (__j0l): Likewise.
37749 * math/w_j1.c (j1): Likewise.
37751 * math/w_j1f.c (j1f): Likewise.
37753 * math/w_j1l.c (__j1l): Likewise.
37755 * math/w_jn.c (jn): Likewise.
37757 * math/w_jnf.c (jnf): Likewise.
37759 * math/w_jnl.c (__jnl): Likewise.
37761 * math/libm-test.inc (j0_test): Add more tests.
37762 (j1_test): Likewise.
37763 (jn_test): Likewise. Add trailing semicolon to existing test.
37764 (y0_test): Likewise.
37765 (y1_test): Likewise.
37766 * sysdeps/i386/fpu/libm-test-ulps: Update.
37767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37771 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37772 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37773 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37774 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37775 (__tanl): Set errno for infinite argument.
37776 * sysdeps/i386/fpu/mptan.c: Remove.
37777 * sysdeps/i386/fpu/s_tan.S: Likewise.
37778 * sysdeps/i386/fpu/s_tanl.S: Likewise.
37779 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37780 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37781 * math/libm-test.inc (tan_test): Add more tests and enable more
37782 tests for double and long double.
37783 * sysdeps/i386/fpu/libm-test-ulps: Update.
37784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37786 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
37788 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37789 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37791 2012-03-16 Roland McGrath <roland@hack.frob.com>
37793 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37794 * configure.in: Use it for both main tree and add-ons.
37795 * configure: Regenerated.
37797 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37799 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37801 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37803 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37807 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37808 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37809 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37810 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37811 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37813 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37814 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37815 != 0 for prec == 2.
37816 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37817 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37818 * sysdeps/i386/fpu/s_cosl.S: Likewise.
37819 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37820 * sysdeps/i386/fpu/s_sinl.S: Likewise.
37821 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37822 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37823 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37824 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37825 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37826 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37827 * math/libm-test.inc (cos_test): Add more tests and enable more
37828 tests for long double.
37829 (sin_test): Likewise.
37830 (sincos_test): Likewise.
37831 * sysdeps/i386/fpu/libm-test-ulps: Update.
37832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37834 2012-03-16 David S. Miller <davem@davemloft.net>
37836 * sysdeps/sparc/fpu/math_private.h: New file.
37838 2012-03-15 David S. Miller <davem@davemloft.net>
37840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37846 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37847 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37848 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37849 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37850 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37854 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37855 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37857 * sysdeps/sparc/sparc-ifunc.h: New file.
37858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37882 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37883 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37884 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37885 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37886 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37887 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37888 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37889 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37890 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37891 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37892 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37893 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37894 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37895 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37896 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37897 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37898 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37899 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37900 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37901 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37903 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37905 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37909 2012-03-15 Andreas Jaeger <aj@suse.de>
37912 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37913 ieee754/flt-32 implementation for sin, cos and sincos.
37914 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37915 * sysdeps/i386/fpu/s_cosf.S: Likewise.
37916 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37917 * sysdeps/i386/fpu/s_sinf.S: Likewise.
37918 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37919 ieee754/flt-32 implementation for tan.
37921 * math/libm-test.inc (cos_test): Enable some large input tests for
37923 (sin_test): Likewise.
37924 (sincos_test): Likewise.
37925 (tan_test): Add tests for large input.
37927 * sysdeps/i386/fpu/libm-test-ulps: Update.
37929 2012-03-15 Andreas Jaeger <aj@suse.de>
37932 * math/libm-test.inc (cos_test): Add more test cases.
37933 (sin_test): Likewise.
37934 (sincos_test): Likewise.
37936 2012-03-15 Andreas Jaeger <aj@suse.de>
37939 * math/libm-test.inc (cos_test): Add a test case for large input
37941 (sin_test): Likewise.
37942 (sincos_test): Likewise.
37944 2012-03-15 Andreas Jaeger <aj@suse.de>
37945 Joseph Myers <joseph@codesourcery.com>
37948 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
37949 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37950 * sysdeps/i386/fpu/branred.c: Likewise.
37951 * sysdeps/i386/fpu/dosincos.c: Likewise.
37952 * sysdeps/i386/fpu/mpa.c: Likewise.
37953 * sysdeps/i386/fpu/s_cos.S: Likewise.
37954 * sysdeps/i386/fpu/s_sin.S: Likewise.
37955 * sysdeps/i386/fpu/s_sincos.S: Likewise.
37956 * sysdeps/i386/fpu/sincos32.c: Likewise.
37958 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37960 (libc_feupdateenv_53bit): Define.
37961 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37963 (libc_feupdateenv_53bit): Define.
37965 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37966 53 bit (without extend i386 double precision).
37968 * math/libm-test.inc (sincos_test): Add tests for large input.
37972 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37974 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37978 2012-03-15 David S. Miller <davem@davemloft.net>
37980 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37981 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37982 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37983 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37988 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37989 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37990 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37991 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37992 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37993 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37994 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
37995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
37998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38007 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38008 fmin/fmax sysdep routines.
38009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38011 2012-03-14 David S. Miller <davem@davemloft.net>
38013 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38014 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38015 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38016 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38017 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38018 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38019 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38020 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38021 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38022 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38023 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38024 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38025 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38026 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38027 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38028 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38029 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38030 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38031 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38032 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38033 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38034 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38035 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38036 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38037 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38038 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38039 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38040 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38041 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38085 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38090 * sysdeps/sparc/configure.in: New file.
38091 * sysdeps/sparc/configure: Generate.
38092 * configure.in (libc_cv_sparc_as_vis3): Substitute.
38093 * configure: Regenerate.
38094 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38095 * config.make.in (have-as-vis3): New.
38096 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38097 available use -Av9d instead of -Av9a.
38098 * sysdeps/sparc/sparc64/Makefile: Likewise.
38099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38108 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38109 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38110 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38111 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38112 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38114 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38115 fzeros/fnegs to load 0x80000000 into a float register instead of
38117 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38119 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38121 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38123 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38124 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38125 ($(inst_includedir)/bits/syscall.h): Remove rule.
38126 ($(objpfx)bits/syscall.d): Include instead of
38127 $(objpfx)syscall-list.d.
38128 (generated): Change syscall-list.h and syscall-list.d to
38129 bits/syscall.h and bits/syscall.d.
38131 2012-03-14 Roland McGrath <roland@hack.frob.com>
38134 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38136 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38139 * math/s_csqrt.c: Include <float.h>.
38140 (__csqrt): Scale large or subnormal inputs.
38141 * math/s_csqrtf.c: Likewise.
38142 * math/s_csqrtl.c: Likewise.
38143 * math/libm-test.inc (csqrt_test): Add more tests.
38144 * sysdeps/i386/fpu/libm-test-ulps: Update.
38145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38148 * math/libm-test.inc (hypot_test): Add more tests.
38150 2012-03-13 David S. Miller <davem@davemloft.net>
38153 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38154 double-precision for the calculation instead of scaling.
38156 2012-03-13 Joseph Myers <joseph@codesourcery.com>
38158 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38159 manipulate bits before adding and subtracting TWO52[sx].
38160 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38161 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38163 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38165 2012-03-13 David S. Miller <davem@davemloft.net>
38167 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38168 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38169 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38170 rtld-global-offsets.h
38171 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38173 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38176 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38178 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38179 'err' in the ifdef scope in which it is actually used.
38181 * nss/nss_db/db-init.c: Include string.h
38183 2012-03-12 David S. Miller <davem@davemloft.net>
38185 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38186 masking out of the most significant byte of random value used.
38187 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38188 Fix coding style in previous change.
38190 * sysdeps/unix/sysv/linux/kernel-features.h
38191 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38192 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38194 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38197 2012-03-11 David S. Miller <davem@davemloft.net>
38199 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38200 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38201 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38202 for 'resultvar' otherwise things get truncated on 64-bit.
38204 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38205 Fix masking out of the most significant byte of random value used.
38207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38209 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
38211 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38213 2012-03-09 David S. Miller <davem@davemloft.net>
38215 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38216 variables with appropriate CPP guards.
38217 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38218 from the frame pointer, not the stack pointer. Correct layout
38219 comments. Fix test on resulting framesize and the management of
38220 the outregs buffer for pltexit. Preserve floating point return
38221 values across _dl_call_pltexit call.
38222 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38223 framesize and the management of the outregs buffer for pltexit.
38224 Preserve floating point return values across _dl_call_pltexit
38226 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38227 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38228 (la_sparc64_gnu_pltexit): New functions.
38229 (print_exit): Fix format string for return register value.
38231 2012-03-10 Joseph Myers <joseph@codesourcery.com>
38233 * sunrpc/Makefile (others): Add rpcgen.
38234 ($(objpfx)rpcgen): Remove special build rule and dependency on
38236 * sunrpc/rpcgen.c: New file.
38238 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
38241 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38242 * stdio-common/bug-vfprintf-nargs.c: Likewise.
38243 * sysdeps/i386/crti.S: Likewise.
38244 * sysdeps/i386/crtn.S: Likewise.
38245 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38246 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38247 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38248 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38249 * sysdeps/sh/crti.S: Likewise.
38250 * sysdeps/sh/crtn.S: Likewise.
38251 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38254 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38256 * locale/programs/locfile-kw.gperf: Likewise.
38257 * locale/programs/charmap-kw.h: Regenerated.
38258 * locale/programs/locfile-kw.h: Likewise.
38261 * intl/plural.y: Replace FSF snail mail address with URL.
38262 * intl/plural.c: Regenerated.
38264 2012-03-09 Richard Henderson <rth@twiddle.net>
38266 * include/math_private.h: Remove file.
38267 * math/math_private.h: Move file ...
38268 * sysdeps/generic/math_private.h: ... here.
38270 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38271 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38272 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38274 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38275 and <math_private.h>.
38276 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38277 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38278 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38279 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38280 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38281 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38282 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38283 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38284 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38285 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38286 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38287 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38288 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38289 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38290 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38291 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38292 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38293 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38294 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38295 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38296 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38297 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38298 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38299 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38300 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38301 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38302 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38303 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38304 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38305 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38306 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38307 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38308 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38309 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38310 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38311 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38312 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38313 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38314 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38315 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38316 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38317 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38318 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38319 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38320 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38321 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38322 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38323 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38324 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38325 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38326 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38327 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38328 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38329 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38330 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38331 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38332 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38333 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38334 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38335 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38336 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38337 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38338 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38339 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38340 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38341 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38342 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38343 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38344 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38345 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38346 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38347 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38348 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38349 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38350 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38351 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38352 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38353 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38354 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38355 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38356 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38357 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38358 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38359 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38360 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38361 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38362 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38363 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38364 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38365 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38366 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38367 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38368 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38369 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38370 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38371 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38372 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38373 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38374 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38375 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38376 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38377 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38378 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38379 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38380 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38381 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38382 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38383 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38384 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38385 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38386 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38387 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38388 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38389 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38390 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38391 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38392 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38393 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38394 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38395 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38396 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38397 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38398 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38399 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38400 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38401 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38402 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38403 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38404 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38405 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38406 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38407 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38408 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38409 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38410 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38411 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38412 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38413 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38414 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38415 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38416 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38417 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38418 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38419 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38420 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38421 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38422 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38423 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38424 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38425 * sysdeps/ieee754/k_standard.c: Likewise.
38426 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38427 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38428 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38429 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38430 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38431 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38432 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38433 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38434 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38435 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38436 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38437 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38438 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38439 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38440 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38441 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38442 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38443 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38444 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38445 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38446 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38447 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38448 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38449 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38450 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38451 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38452 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38453 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38454 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38455 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38456 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38457 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38458 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38459 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38460 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38461 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38462 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38463 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38464 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38465 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38466 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38467 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38468 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38469 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38470 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38471 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38472 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38473 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38474 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38475 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38476 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38477 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38478 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38479 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38480 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38481 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38482 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38483 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38484 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38485 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38486 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38487 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38488 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38489 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38490 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38491 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38492 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38493 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38494 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38495 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38496 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38497 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38498 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38499 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38500 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38501 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38502 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38503 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38504 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38505 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38506 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38507 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38508 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38509 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38510 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38511 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38512 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38513 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38514 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38515 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38516 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38517 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38518 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38519 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38520 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38521 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38522 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38523 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38524 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38525 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38526 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38527 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38528 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38529 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38530 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38531 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38532 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38533 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38534 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38535 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38536 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38537 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38538 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38539 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38540 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38541 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38542 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38543 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38544 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38545 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38546 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38547 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38548 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38549 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38550 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38551 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38552 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38553 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38554 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38555 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38556 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38557 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38558 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38559 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38560 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38561 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38562 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38563 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38564 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38565 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38566 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38567 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38568 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38569 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38570 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38571 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38572 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38573 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38574 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38575 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38576 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38577 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38578 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38579 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38580 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38581 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38582 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38583 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38584 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38585 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38586 * sysdeps/ieee754/s_lib_version.c: Likewise.
38587 * sysdeps/ieee754/s_matherr.c: Likewise.
38588 * sysdeps/ieee754/s_signgam.c: Likewise.
38589 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38590 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38591 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38592 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38593 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38594 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38595 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38596 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38597 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38598 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38599 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38600 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38601 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38602 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38603 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38604 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38605 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38606 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38607 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38608 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38609 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38611 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38613 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38614 * sunrpc/rpc_main.c: Likewise.
38615 * sunrpc/rpc_svcout.c: Likewise.
38617 2012-03-09 David S. Miller <davem@davemloft.net>
38619 * include/math_private.h: New file.
38621 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38623 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38624 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38625 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38626 from <bits/socket_type.h>.
38627 (enum __socket_type): Don't define here.
38628 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38629 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38630 bits/socket_type.h.
38633 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38634 checking __USE_GNU.
38636 * Makerules ($(inst_includedir)/%.h): New rule.
38637 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38638 (install-others): Remove variable setting.
38639 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38641 2012-03-08 Richard Henderson <rth@twiddle.net>
38643 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38644 from macro to inline function; merge with the
38645 !__LIBC_INTERNAL_MATH_INLINES version.
38646 (__ieee754_sqrtf): Likewise.
38648 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38649 to inline function.
38650 (__rintf, __floor, __floorf): Likewise.
38652 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38653 macro to inline function.
38654 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38656 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38657 not <math/math_private.h>.
38659 2012-03-08 David S. Miller <davem@davemloft.net>
38661 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38663 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38665 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
38667 * resolv/gai_misc.c (handle_requests): Fix struct timespec
38669 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38670 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38672 2012-03-08 Ulrich Drepper <drepper@gmail.com>
38674 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
38675 be defined individually, they must be defined as a block. Define
38676 S for printing a string instead of hidint the different by using a
38677 macro for adding the 'l'.
38678 * stdio-common/tst-fphex-wide.c: Adjust.
38680 2012-03-07 Marek Polacek <polacek@redhat.com>
38682 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38684 2012-03-08 Marek Polacek <polacek@redhat.com>
38687 * stdio-common/Makefile (tests): Add tst-fphex-wide.
38688 * stdio-common/tst-fphex.c: Define a few macros to make the
38689 test reusable. Use them.
38690 * stdio-common/tst-fphex-wide.c: New file.
38692 2012-03-08 Joseph Myers <joseph@codesourcery.com>
38695 * manual/macros.texi (gnusystems): New macro.
38696 (nongnusystems): Likewise.
38697 (gnulinuxhurdsystems): Likewise.
38698 (gnuhurdsystems): Likewise..
38699 (gnulinuxsystems): Likewise.
38700 * manual/charset.texi: Use new macros or @theglibc{} to refer to
38701 variants of the GNU system, not "GNU system".
38702 * manual/conf.texi: Likewise.
38703 * manual/errno.texi: Likewise. Update example of errno macro
38705 * manual/filesys.texi: Likewise.
38706 (getumask): Document as specific to GNU/Hurd.
38707 * manual/install.texi: Likewise. Reword some references to
38709 * manual/intro.texi: Likewise.
38710 * manual/io.texi: Likewise.
38711 (File Name Portability): Detail which constraints are inapplicable
38712 to all GNU systems and which are only inapplicable to GNU/Hurd.
38713 * manual/job.texi: Likewise.
38714 * manual/llio.texi: Likewise.
38715 (O_NOCTTY): Document as present on GNU/Linux.
38716 * manual/maint.texi: Likewise.
38717 * manual/memory.texi: Likewise.
38718 * manual/pattern.texi: Likewise.
38719 * manual/pipe.texi: Likewise.
38720 * manual/process.texi: Likewise.
38721 * manual/resource.texi: Likewise.
38722 (RUSAGE_CHILDREN): Remove statement about specifying a particular
38724 * manual/setjmp.texi: Likewise.
38725 * manual/signal.texi: Likewise.
38726 * manual/startup.texi: Likewise.
38727 * manual/stdio.texi: Likewise.
38728 * manual/terminal.texi: Likewise.
38729 (ONLCR): Document as POSIX.
38730 (OXTABS): Document availability on GNU/Linux as XTABS.
38731 (ONOEOT): Document availability separately from other bits.
38732 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38733 * manual/time.texi: Likewise.
38734 * manual/users.texi: Likewise.
38735 * INSTALL: Regenerated.
38736 * sysdeps/gnu/errlist.c: Regenerated.
38738 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38739 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38740 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
38742 * configure: Regenerated.
38744 2012-03-07 Joseph Myers <joseph@codesourcery.com>
38746 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38747 default includes instead of AC_HEADER_CHECK.
38748 * sysdeps/i386/configure: Regenerated.
38751 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38752 * math/s_cacoshf.c (__cacoshf): Likewise.
38753 * math/s_cacoshl.c (__cacoshl): Likewise.
38754 * math/s_casinh.c (__casinh): Set signs of result from argument.
38755 * math/s_casinhf.c (__casinhf): Likewise.
38756 * math/s_casinhl.c (__casinhl): Likewise.
38757 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38758 (casinh_test): Add more tests.
38759 * sysdeps/i386/fpu/libm-test-ulps: Update.
38760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38762 2012-03-07 Ulrich Drepper <drepper@gmail.com>
38764 * po/zh_TW.po: Update from translation team.
38766 * login/Makefile (distribute): Remove variable.
38767 * catgets/Makefile: Likewise.
38768 * mach/Makefile: Likewise.
38769 * malloc/Makefile: Likewise.
38770 * misc/Makefile: Likewise.
38771 * iconv/Makefile: Likewise.
38772 * nscd/Makefile: Likewise.
38773 * hurd/Makefile: Likewise.
38774 * manual/Makefile: Likewise.
38775 * locale/Makefile: Likewise.
38776 * intl/Makefile: Likewise.
38777 * conform/Makefile: Likewise.
38778 * nss/Makefile: Likewise.
38779 * time/Makefile: Likewise.
38780 * soft-fp/Makefile: Likewise.
38781 * dirent/Makefile: Likewise.
38782 * gmon/Makefile: Likewise.
38783 * po/Makefile: Likewise.
38784 * rt/Makefile: Likewise.
38785 * socket/Makefile: Likewise.
38786 * math/Makefile: Likewise.
38787 * signal/Makefile: Likewise.
38788 * debug/Makefile: Likewise.
38789 * elf/Makefile: Likewise.
38790 * timezone/Makefile: Likewise.
38791 * stdlib/Makefile: Likewise.
38792 * iconvdata/Makefile: Likewise.
38793 * sunrpc/Makefile: Likewise.
38794 * io/Makefile: Likewise.
38795 * argp/Makefile: Likewise.
38796 * inet/Makefile: Likewise.
38797 * hesiod/Makefile: Likewise.
38798 * grp/Makefile: Likewise.
38799 * csu/Makefile: Likewise.
38800 * wctype/Makefile: Likewise.
38801 * crypt/Makefile: Likewise.
38802 * libio/Makefile: Likewise.
38803 * string/Makefile: Likewise.
38804 * nis/Makefile: Likewise.
38805 * resolv/Makefile: Likewise.
38806 * stdio-common/Makefile: Likewise.
38807 * wcsmbs/Makefile: Likewise.
38808 * dlfcn/Makefile: Likewise.
38809 * posix/Makefile: Likewise.
38812 * timezone/Makefile: Don't install timezone files, just the programs
38815 2012-03-06 Ulrich Drepper <drepper@gmail.com>
38817 * nss/databases.def: Add missing gshadow entry.
38819 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
38821 2012-03-06 Marek Polacek <polacek@redhat.com>
38824 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38825 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38826 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38827 * stdio-common/tst-long-dbl-fphex.c: New file.
38829 2012-03-06 David S. Miller <davem@davemloft.net>
38831 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38832 (set_obp_int): New function.
38833 (get_obp_int): New function.
38834 (__get_clockfreq_via_dev_openprom): Likewise.
38835 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38836 Avoid unused variable warnings on 'val' and use builtin_expect.
38837 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38839 (INLINE_CLONE_SYSCALL): Likewise.
38841 2012-03-05 David S. Miller <davem@davemloft.net>
38843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38845 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
38847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38849 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38850 only for |x| >= 40.
38851 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38853 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
38855 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38856 Replace gettimeofday with __vdso_gettimeofday.
38858 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38859 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38860 __vdso_clock_gettime and __vdso_getcpu.
38862 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38863 time with __vdso_time.
38865 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38867 * manual/lang.texi (size_t): Note types to which size_t may be
38868 equivalent with the GNU C Library, but do not describe when
38869 differences between them are significant.
38871 2012-03-05 Andreas Jaeger <aj@suse.de>
38873 * sysdeps/i386/fpu/libm-test-ulps: Update.
38875 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38878 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38879 (__ieee754_pow): Save and restore rounding mode and use
38880 round-to-nearest for main computations.
38881 * math/libm-test.inc (pow_test_tonearest): New function.
38882 (pow_test_towardzero): Likewise.
38883 (pow_test_downward): Likewise.
38884 (pow_test_upward): Likewise.
38885 (main): Call the new functions.
38886 * sysdeps/i386/fpu/libm-test-ulps: Update.
38887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38890 * math/libm-test.inc (cosh_test_tonearest): New function.
38891 (cosh_test_towardzero): Likewise.
38892 (cosh_test_downward): Likewise.
38893 (cosh_test_upward): Likewise.
38894 (sinh_test_tonearest): Likewise.
38895 (sinh_test_towardzero): Likewise.
38896 (sinh_test_downward): Likewise.
38897 (sinh_test_upward): Likewise.
38898 (main): Call the new functions.
38899 * sysdeps/i386/fpu/libm-test-ulps: Update.
38900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38902 2012-03-05 Tom de Vries <tom@codesourcery.com>
38904 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38905 default stack guard is set in last bytes.
38906 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38908 2012-03-05 Kees Cook <keescook@chromium.org>
38910 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38913 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38914 possibly allocate from heap instead of stack.
38915 * stdio-common/bug-vfprintf-nargs.c: New file.
38916 * stdio-common/Makefile (tests): Add nargs overflow test.
38918 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
38920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38922 2012-03-03 Marek Polacek <polacek@redhat.com>
38924 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38925 * math/math_private.h: Likewise.
38926 * stdlib/tst-strtod.c: Likewise.
38927 * sysdeps/i386/i486/bits/atomic.h: Likewise.
38928 * sysdeps/x86_64/bits/atomic.h: Likewise.
38930 2012-03-02 David S. Miller <davem@davemloft.net>
38932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38936 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38937 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38938 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38939 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38941 2012-03-02 Roland McGrath <roland@hack.frob.com>
38944 * manual/examples/README: New file, says the example source files
38945 can be used under GPL>=2.
38946 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38947 line containing just "*/".
38948 * manual/examples/add.c: Add copyright header (GPL>=2).
38949 * manual/examples/argp-ex1.c: Likewise.
38950 * manual/examples/argp-ex2.c: Likewise.
38951 * manual/examples/argp-ex3.c: Likewise.
38952 * manual/examples/argp-ex4.c: Likewise.
38953 * manual/examples/atexit.c: Likewise.
38954 * manual/examples/db.c: Likewise.
38955 * manual/examples/dir.c: Likewise.
38956 * manual/examples/dir2.c: Likewise.
38957 * manual/examples/execinfo.c: Likewise.
38958 * manual/examples/filecli.c: Likewise.
38959 * manual/examples/filesrv.c: Likewise.
38960 * manual/examples/fmtmsgexpl.c: Likewise.
38961 * manual/examples/genpass.c: Likewise.
38962 * manual/examples/inetcli.c: Likewise.
38963 * manual/examples/inetsrv.c: Likewise.
38964 * manual/examples/isockad.c: Likewise.
38965 * manual/examples/longopt.c: Likewise.
38966 * manual/examples/memopen.c: Likewise.
38967 * manual/examples/memstrm.c: Likewise.
38968 * manual/examples/mkfsock.c: Likewise.
38969 * manual/examples/mkisock.c: Likewise.
38970 * manual/examples/mygetpass.c: Likewise.
38971 * manual/examples/pipe.c: Likewise.
38972 * manual/examples/popen.c: Likewise.
38973 * manual/examples/rprintf.c: Likewise.
38974 * manual/examples/search.c: Likewise.
38975 * manual/examples/select.c: Likewise.
38976 * manual/examples/setjmp.c: Likewise.
38977 * manual/examples/sigh1.c: Likewise.
38978 * manual/examples/sigusr.c: Likewise.
38979 * manual/examples/stpcpy.c: Likewise.
38980 * manual/examples/strdupa.c: Likewise.
38981 * manual/examples/strftim.c: Likewise.
38982 * manual/examples/strncat.c: Likewise.
38983 * manual/examples/subopt.c: Likewise.
38984 * manual/examples/swapcontext.c: Likewise.
38985 * manual/examples/termios.c: Likewise.
38986 * manual/examples/testopt.c: Likewise.
38987 * manual/examples/testpass.c: Likewise.
38988 * manual/examples/timeval_subtract.c: Likewise.
38991 * manual/time.texi (Elapsed Time): Move timeval_subtract example
38993 * manual/timeval_subtract.c.texi: ... here, new file.
38995 2012-03-02 David S. Miller <davem@davemloft.net>
38997 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38999 2012-03-02 Joseph Myers <joseph@codesourcery.com>
39002 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39003 (__sin): Save and restore rounding mode and use round-to-nearest
39004 for all computations.
39005 (__cos): Save and restore rounding mode and use round-to-nearest
39006 for all computations.
39007 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39009 (tan): Save and restore rounding mode and use round-to-nearest for
39011 * math/libm-test.inc (cos_test_tonearest): New function.
39012 (cos_test_towardzero): Likewise.
39013 (cos_test_downward): Likewise.
39014 (cos_test_upward): Likewise.
39015 (sin_test_tonearest): Likewise.
39016 (sin_test_towardzero): Likewise.
39017 (sin_test_downward): Likewise.
39018 (sin_test_upward): Likewise.
39019 (tan_test_tonearest): Likewise.
39020 (tan_test_towardzero): Likewise.
39021 (tan_test_downward): Likewise.
39022 (tan_test_upward): Likewise.
39023 (main): Call the new functions.
39024 * sysdeps/i386/fpu/libm-test-ulps: Update.
39025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39028 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39029 small n, then large n, before computing and testing k+n.
39030 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39031 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39033 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39035 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39036 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39037 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39038 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39039 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39040 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39041 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39042 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39043 * math/libm-test.inc (scalbn_test): Add more tests.
39044 (scalbln_test): Likewise.
39046 * manual/filesys.texi (mode_t): Describe constraints on size and
39047 signedness, not exact equivalence to a particular type.
39049 (ino64_t): Likewise.
39051 (nlink_t): Likewise.
39052 (blkcnt_t): Likewise.
39053 (blkcnt64_t): Likewise.
39054 * manual/llio.texi (off_t): Likewise.
39057 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39058 (__ieee754_exp): Save and restore rounding mode and use
39059 round-to-nearest for all computations.
39060 * math/libm-test.inc (exp_test_tonearest): New function.
39061 (exp_test_towardzero): Likewise.
39062 (exp_test_downward): Likewise.
39063 (exp_test_upward): Likewise.
39064 (main): Call the new functions.
39065 * sysdeps/i386/fpu/libm-test-ulps: Update.
39066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39068 2012-03-01 Chris Demetriou <cgd@google.com>
39070 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39071 have predictable order.
39073 2012-03-01 David S. Miller <davem@davemloft.net>
39075 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39077 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39078 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39079 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39080 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39082 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39083 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39084 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39086 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39087 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39088 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39089 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39090 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39094 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39095 * sysdeps/sparc/fpu/libm-test-ulps: to here.
39096 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39098 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39099 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39100 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39101 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39102 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39103 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39104 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39105 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39106 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39107 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39108 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39109 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39110 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39111 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39112 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39113 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39114 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39115 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39116 * sysdeps/sparc/elf/configure: Regenerated.
39118 2012-03-01 Joseph Myers <joseph@codesourcery.com>
39120 * configure.in (AS, LD): Require binutils 2.20 or later.
39121 * configure: Regenerated.
39122 * manual/install.texi (Tools for Compilation): Give binutils 2.20
39123 as required minimum version.
39124 * INSTALL: Regenerated.
39128 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39129 before squaring exponent.
39130 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39131 bottom long double and 27 bits of top long double before squaring
39133 * math/libm-test.inc (erfc_test): Add more tests.
39134 * sysdeps/i386/fpu/libm-test-ulps: Update.
39135 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39138 2012-03-01 Kai Tietz <ktietz@redhat.com>
39140 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39141 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39142 containing bit-fields.
39143 * soft-fp/extended.h (_FP_UNION_E): Likewise.
39144 * soft-fp/single.h (_FP_UNION_S): Likewise.
39145 * soft-fp/double.h (_FP_UNION_D): Likewise.
39147 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39150 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39151 not include ../strcmp.S.
39152 [USE_AS_STRNCASECMP_L]: Likewise.
39153 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39154 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39155 * sysdeps/i386/i686/multiarch/strncase_l-c.c
39156 (__strncasecmp_l_ia32): Define as alias to
39157 __strncasecmp_l_nonascii.
39160 * math/libm-test.inc (expm1_test): Add test for bug 5794.
39161 * sysdeps/i386/fpu/libm-test-ulps: Update.
39162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39164 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39167 2012-02-29 Jeff Law <law@redhat.com>
39169 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39170 out of bounds read.
39172 2012-02-29 Marek Polacek <polacek@redhat.com>
39175 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39176 * elf/Makefile: Add rules to run tst-unused-dep.out.
39178 2012-02-28 David S. Miller <davem@davemloft.net>
39180 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39181 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39182 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39183 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39184 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39185 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39187 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39189 * math/libm-test.inc (llround_test): Move one test from
39190 lround_test. Use TEST_f_L in moved test.
39191 (lround_test): Move misplaced test to llround_test. Add testcase
39194 2012-02-28 Ulrich Drepper <drepper@gmail.com>
39196 * sysdeps/x86_64/fpu/e_expf.S: New file.
39197 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39199 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
39202 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39203 of remain_len that may cause incomplete multi-byte character and
39205 * posix/bug-regex33.c: New file.
39206 * posix/Makefile (tests): Add bug-regex33.
39208 2012-02-28 Joseph Myers <joseph@codesourcery.com>
39210 * manual/macros.texi: New file.
39211 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39212 * manual/libc.texinfo: Include macros.texi.
39213 * manual/creatute.texi: Likewise.
39214 * manual/install.texi: Likewise.
39215 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39216 @glibcadj{} in references to the GNU C Library.
39217 * manual/charset.texi: Likewise.
39218 * manual/conf.texi: Likewise.
39219 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
39220 when not using those macros.
39221 * manual/creature.texi: Likewise.
39222 * manual/crypt.texi: Likewise.
39223 * manual/errno.texi: Likewise.
39224 * manual/filesys.texi: Likewise.
39225 * manual/header.texi: Likewise.
39226 * manual/install.texi: Likewise.
39227 * manual/intro.texi: Likewise.
39228 * manual/io.texi: Likewise.
39229 * manual/job.texi: Likewise.
39230 * manual/lang.texi: Likewise.
39231 * manual/libc.texiinfo: Likewise.
39232 * manual/llio.texi: Likewise.
39233 * manual/locale.texi: Likewise.
39234 * manual/maint.texi: Likewise.
39235 * manual/math.texi: Likewise.
39236 * manual/memory.texi: Likewise.
39237 * manual/message.texi: Likewise.
39238 * manual/nss.texi: Likewise.
39239 * manual/pattern.texi: Likewise.
39240 * manual/process.texi: Likewise.
39241 * manual/resource.texi: Likewise.
39242 * manual/search.texi: Likewise.
39243 * manual/setjmp.texi: Likewise.
39244 * manual/signal.texi: Likewise.
39245 * manual/socket.texi: Likewise.
39246 * manual/startup.texi: Likewise.
39247 * manual/stdio.texi: Likewise.
39248 * manual/string.texi: Likewise.
39249 * manual/sysinfo.texi: Likewise.
39250 * manual/syslog.texi: Likewise.
39251 * manual/terminal.texi: Likewise.
39252 * manual/time.texi: Likewise.
39253 * manual/users.texi: Likewise.
39254 * INSTALL: Regenerated.
39255 * NOTES: Regenerated.
39256 * sysdeps/gnu/errlist.c: Regenerated.
39258 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
39260 * include/dirent.h: Include <dirstream.h> before
39263 2012-02-28 David S. Miller <davem@davemloft.net>
39265 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39266 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39267 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39268 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39270 2012-02-27 David S. Miller <davem@davemloft.net>
39272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39274 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39275 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39278 frame pointer instead of stack pointer relative arg slot.
39279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39280 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39281 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39283 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39286 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39288 2012-02-27 David S. Miller <davem@davemloft.net>
39290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39294 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39295 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39296 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39297 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39299 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39301 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39302 later. Allow versions 5-9.
39303 * configure: Regenerated.
39304 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39305 required minimum version and 4.6 as recommended version. Do not
39306 mention bugs in GCC 2.7 and 2.8.
39307 * INSTALL: Regenerated.
39309 2012-02-27 David S. Miller <davem@davemloft.net>
39311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39315 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39316 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39317 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39318 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39320 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39321 manipulate bits before adding and subtracting TWO112[sx].
39322 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39324 2012-02-27 Roland McGrath <roland@hack.frob.com>
39327 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39328 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39329 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39330 being in POSIX, because they are in 1003.1-2008.
39332 * rt/tst-aio.c: Include <fcntl.h>.
39333 * rt/tst-aio7.c: Likewise.
39334 * rt/tst-aio64.c: Likewise.
39336 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39338 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39340 * manual/install.texi (--with-headers): Describe headers as
39341 interface headers, not private headers.
39342 (Specific advice for GNU/Linux systems): Describe use of headers
39343 from "make headers_install", not private headers from older
39345 * INSTALL: Regenerated.
39346 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39348 * sysdeps/unix/sysv/linux/configure: Regenerated.
39350 * manual/llio.texi (fclean): Remove documentation.
39352 * manual/Makefile (libc-texi-generated): New variable. Include
39354 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39355 $(libc-texi-generated), not duplicated list of files.
39356 (version.texi, stamp-version): New rules.
39357 (realclean): Remove $(libc-texi-generated), not individual files
39358 from that list. Do not remove dir-add.texinfo.
39359 * manual/libc.texinfo: Comment out uses of edition numbers and
39360 references to printed manual. Remove last-updated dates.
39361 (EDITION): Comment out.
39363 (VERSION, UPDATED): Remove.
39364 (version.texi): Include.
39366 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
39368 * sysdeps/posix/spawni.c: Include <signal.h>.
39369 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39370 * sysdeps/pthread/aio_fsync.c: Likewise.
39372 2012-02-26 Ulrich Drepper <drepper@gmail.com>
39374 * conform/Makefile (tests): Run only when not cross-compiling and
39375 when fast-check is not defined.
39377 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39378 * conform/data/limits.h-data: Fixes for POSIX2008.
39379 * conform/run-conformtest.sh: Run all tests.
39380 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39382 * include/bits/dlfcn.h: Likewise.
39383 * include/langinfo.h: Likewise.
39384 * include/monetary.h: Likewise.
39385 * include/sys/poll.h: Likewise.
39387 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39389 * posix/spawn.h: Define __need_sigset_t.
39390 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39391 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39392 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
39393 to get sigevent_t only.
39394 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39395 only for __USE_GNU.
39396 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39397 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39398 process_vm_writev only for __USE_GNU.
39399 * termios/termios.h: Declare tcgetsid also for POSIX2008.
39401 * conform/Makefile: For now ignore errors from run-conformtest.
39402 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
39403 POSIX to avoid namespace pollution. Don't prepend headers.
39404 * conform/data/aio.h-data: Fixes for POSIX testing.
39405 * conform/data/fcntl.h-data: Likewise.
39406 * conform/data/glob.h-data: Likewise.
39407 * conform/data/grp.h-data: Likewise.
39408 * conform/data/pthread.h-data: Likewise.
39409 * conform/data/pwd.h-data: Likewise.
39410 * conform/data/signal.h-data: Likewise.
39411 * conform/data/spawn.h-data: Likewise.
39412 * conform/data/stdio.h-data: Likewise.
39413 * conform/data/stdlib.h-data: Likewise.
39414 * conform/data/stropts.h-data: Likewise.
39415 * conform/data/sys/mman.h-data: Likewise.
39416 * conform/data/sys/stat.h-data: Likewise.
39417 * conform/data/sys/types.h-data: Likewise.
39418 * conform/data/sys/wait.h-data: Likewise.
39419 * conform/data/time.h-data: Likewise.
39420 * conform/data/unistd.h-data: Likewise.
39421 * conform/data/utime.h-data: Likewise.
39423 * io/sys/stat.h: fchmod was always in POSIX.
39424 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39425 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39426 * rt/aio.h: Define __need_timespec before including <time.h>.
39427 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39428 struct. Add forward declaration of pthread_attr_t and use it in
39430 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39431 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39432 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39433 always remove CLK_TCK definition.
39435 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
39437 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39439 2012-02-25 Ulrich Drepper <drepper@gmail.com>
39441 * conform/run-conformtest.sh: New file.
39442 * conform/Makefile: Run run-conformtest for tests.
39443 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
39446 * conform/data/uchar.h-data: New file.
39447 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39448 * conform/data/arpa/inet.h-data: Likewise.
39449 * conform/data/assert.h-data: Likewise.
39450 * conform/data/complex.h-data: Likewise.
39451 * conform/data/cpio.h-data: Likewise.
39452 * conform/data/ctype.h-data: Likewise.
39453 * conform/data/dirent.h-data: Likewise.
39454 * conform/data/dlfcn.h-data: Likewise.
39455 * conform/data/errno.h-data: Likewise.
39456 * conform/data/fcntl.h-data: Likewise.
39457 * conform/data/float.h-data: Likewise.
39458 * conform/data/fmtmsg.h-data: Likewise.
39459 * conform/data/fnmatch.h-data: Likewise.
39460 * conform/data/ftw.h-data: Likewise.
39461 * conform/data/glob.h-data: Likewise.
39462 * conform/data/grp.h-data: Likewise.
39463 * conform/data/iconv.h-data: Likewise.
39464 * conform/data/inttypes.h-data: Likewise.
39465 * conform/data/langinfo.h-data: Likewise.
39466 * conform/data/libgen.h-data: Likewise.
39467 * conform/data/limits.h-data: Likewise.
39468 * conform/data/locale.h-data: Likewise.
39469 * conform/data/math.h-data: Likewise.
39470 * conform/data/monetary.h-data: Likewise.
39471 * conform/data/mqueue.h-data: Likewise.
39472 * conform/data/ndbm.h-data: Likewise.
39473 * conform/data/net/if.h-data: Likewise.
39474 * conform/data/netdb.h-data: Likewise.
39475 * conform/data/netinet/in.h-data: Likewise.
39476 * conform/data/nl_types.h-data: Likewise.
39477 * conform/data/poll.h-data: Likewise.
39478 * conform/data/pthread.h-data: Likewise.
39479 * conform/data/pwd.h-data: Likewise.
39480 * conform/data/regex.h-data: Likewise.
39481 * conform/data/sched.h-data: Likewise.
39482 * conform/data/search.h-data: Likewise.
39483 * conform/data/semaphore.h-data: Likewise.
39484 * conform/data/setjmp.h-data: Likewise.
39485 * conform/data/signal.h-data: Likewise.
39486 * conform/data/spawn.h-data: Likewise.
39487 * conform/data/stdarg.h-data: Likewise.
39488 * conform/data/stdio.h-data: Likewise.
39489 * conform/data/stdlib.h-data: Likewise.
39490 * conform/data/string.h-data: Likewise.
39491 * conform/data/strings.h-data: Likewise.
39492 * conform/data/stropts.h-data: Likewise.
39493 * conform/data/sys/ipc.h-data: Likewise.
39494 * conform/data/sys/mman.h-data: Likewise.
39495 * conform/data/sys/msg.h-data: Likewise.
39496 * conform/data/sys/resource.h-data: Likewise.
39497 * conform/data/sys/select.h-data: Likewise.
39498 * conform/data/sys/sem.h-data: Likewise.
39499 * conform/data/sys/shm.h-data: Likewise.
39500 * conform/data/sys/socket.h-data: Likewise.
39501 * conform/data/sys/stat.h-data: Likewise.
39502 * conform/data/sys/statvfs.h-data: Likewise.
39503 * conform/data/sys/time.h-data: Likewise.
39504 * conform/data/sys/timeb.h-data: Likewise.
39505 * conform/data/sys/times.h-data: Likewise.
39506 * conform/data/sys/types.h-data: Likewise.
39507 * conform/data/sys/uio.h-data: Likewise.
39508 * conform/data/sys/un.h-data: Likewise.
39509 * conform/data/sys/utsname.h-data: Likewise.
39510 * conform/data/sys/wait.h-data: Likewise.
39511 * conform/data/syslog.h-data: Likewise.
39512 * conform/data/tar.h-data: Likewise.
39513 * conform/data/termios.h-data: Likewise.
39514 * conform/data/utime.h-data: Likewise.
39515 * conform/data/utmpx.h-data: Likewise.
39516 * conform/data/varargs.h-data: Likewise.
39517 * conform/data/wchar.h-data: Likewise.
39518 * conform/data/wctype.h-data: Likewise.
39519 * conform/data/wordexp.h-data: Likewise.
39521 * include/stropts.h: New file.
39522 * include/uchar.h: New file.
39523 * include/aio.h: Changes to allow conformtest.pl to use the headers.
39524 * include/assert.h: Likewise.
39525 * include/ctype.h: Likewise.
39526 * include/dirent.h: Likewise.
39527 * include/dlfcn.h: Likewise.
39528 * include/fcntl.h: Likewise.
39529 * include/fnmatch.h: Likewise.
39530 * include/glob.h: Likewise.
39531 * include/grp.h: Likewise.
39532 * include/libio.h: Likewise.
39533 * include/locale.h: Likewise.
39534 * include/math.h: Likewise.
39535 * include/net/if.h: Likewise.
39536 * include/netdb.h: Likewise.
39537 * include/netinet/in.h: Likewise.
39538 * include/pthread.h: Likewise.
39539 * include/pwd.h: Likewise.
39540 * include/regex.h: Likewise.
39541 * include/sched.h: Likewise.
39542 * include/search.h: Likewise.
39543 * include/setjmp.h: Likewise.
39544 * include/signal.h: Likewise.
39545 * include/stdio.h: Likewise.
39546 * include/stdlib.h: Likewise.
39547 * include/string.h: Likewise.
39548 * include/sys/cdefs.h: Likewise.
39549 * include/sys/mman.h: Likewise.
39550 * include/sys/msg.h: Likewise.
39551 * include/sys/resource.h: Likewise.
39552 * include/sys/select.h: Likewise.
39553 * include/sys/socket.h: Likewise.
39554 * include/sys/stat.h: Likewise.
39555 * include/sys/statvfs.h: Likewise.
39556 * include/sys/time.h: Likewise.
39557 * include/sys/times.h: Likewise.
39558 * include/sys/uio.h: Likewise.
39559 * include/sys/utsname.h: Likewise.
39560 * include/sys/wait.h: Likewise.
39561 * include/termios.h: Likewise.
39562 * include/time.h: Likewise.
39563 * include/ulimit.h: Likewise.
39564 * include/unistd.h: Likewise.
39565 * include/utime.h: Likewise.
39566 * include/wchar.h: Likewise.
39567 * include/wctype.h: Likewise.
39568 * include/wordexp.h: Likewise.
39570 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39572 * time/time.h: TIME_UTC must be a macro.
39573 Make timespec_get available for ISO C11 only as well.
39575 2012-02-24 Ulrich Drepper <drepper@gmail.com>
39577 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39578 Reported by Peng Haitao <penght@cn.fujitsu.com>.
39580 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39582 * configure.in: Use -o not -a in test for unsupported multi-arch.
39584 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39586 * manual/texinfo.tex: Update to version 2012-01-19.16.
39588 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39590 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39592 2012-02-24 Roland McGrath <roland@hack.frob.com>
39595 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39596 * manual/fdl-1.3.texi: New file.
39597 * manual/fdl-1.1.texi: File removed.
39600 * manual/libc.texinfo (FDL_VERSION): New @set.
39601 Use it for mention of FDL in cover text.
39602 (Documentation License): Use it in @include file name.
39604 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39605 Roland McGrath <roland@hack.frob.com>
39608 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39609 (not LONG_LONG_MAX and LONG_LONG_MIN.
39610 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39611 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
39613 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39615 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39619 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39620 manipulate bits before adding and subtracting TWO23[sx].
39621 * math/libm-test.inc (nearbyint_test): Add more tests.
39623 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39626 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39627 bits before adding and subtracting TWO23[sx].
39628 * math/libm-test.inc (rint_test): Add more tests.
39629 (rint_test_tonearest): Likewise.
39630 (rint_test_towardzero): Likewise.
39631 (rint_test_downward): Likewise.
39632 (rint_test_upward: Likewise.
39634 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39637 * include/stdc-predef.h: New file. Extracted from features.h.
39638 * include/features.h: Include stdc-predef.h.
39639 * Makefile (headers): Add stdc-predef.h.
39640 * CONFORMANCE (Compiler limitations): Update.
39642 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39644 * manual/libc.texinfo (VERSION, UPDATED): Revert.
39646 2012-02-21 David S. Miller <davem@davemloft.net>
39648 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39649 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39651 2012-02-20 David S. Miller <davem@davemloft.net>
39653 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39654 using a normal save/restore sequence, rather than allocating a
39655 dummy stack frame just to store a frame pointer and restore.
39656 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39658 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39660 * manual/install.texi: Fix stray word in line-wrapped comment.
39662 2012-02-20 David S. Miller <davem@davemloft.net>
39664 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39665 both binutils and gcc support GOTDATA.
39667 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39668 "rd %pc" in the PIC register setup sequences.
39670 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39671 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39672 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39673 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39674 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39675 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39676 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39677 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39678 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39679 (SYSCALL_ERROR_HANDLER): Likewise.
39680 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39681 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39682 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39683 (SYSCALL_ERROR_HANDLER): Likewise.
39685 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39686 (HAVE_GCC_GOTDATA): New.
39687 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39688 relocation support in both binutils and gcc.
39689 * sysdeps/sparc/elf/configure: Regenerate.
39691 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39692 * sysdeps/sparc/sparc32/elf/configure: Delete.
39693 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39694 * sysdeps/sparc/sparc64/elf/configure: Delete.
39695 * sysdeps/sparc/elf/configure.in: New file.
39696 * sysdeps/sparc/elf/configure: Generate.
39698 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39699 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39700 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39701 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39702 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39704 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39706 * manual/install.texi: Do not mention specific glibc version
39708 * manual/libc.texinfo (VERSION, UPDATED): Update.
39709 (@copying): Use @copyright{} and range of years.
39711 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39714 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39715 [crti.S not in sysdirs] (generated): Do not append.
39716 [crti.S not in sysdirs] (omit-deps): Likewise.
39717 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39718 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39719 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39720 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39721 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39723 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39724 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39725 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39726 * csu/defs.awk: Remove file.
39727 * sysdeps/generic/initfini.c: Likewise.
39728 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39730 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39733 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39735 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39736 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39737 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39738 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39739 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39740 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39742 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39743 (__EPOLL_PACKED): Define to empty if not defined by
39745 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39746 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39749 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39751 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39752 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39753 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39754 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39756 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39757 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39760 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39762 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39764 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39765 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39766 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39769 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
39771 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39772 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39774 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
39776 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39777 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39779 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39781 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39784 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
39786 * math/w_acos.c: Use non-signaling floating-point comparisons.
39787 * math/w_acosf.c: Likewise.
39788 * math/w_acosh.c: Likewise.
39789 * math/w_acoshf.c: Likewise.
39790 * math/w_acoshl.c: Likewise.
39791 * math/w_acosl.c: Likewise.
39792 * math/w_asin.c: Likewise.
39793 * math/w_asinf.c: Likewise.
39794 * math/w_asinl.c: Likewise.
39795 * math/w_atanh.c: Likewise.
39796 * math/w_atanhf.c: Likewise.
39797 * math/w_atanhl.c: Likewise.
39798 * math/w_exp2.c: Likewise.
39799 * math/w_exp2f.c: Likewise.
39800 * math/w_exp2l.c: Likewise.
39801 * math/w_j0.c: Likewise.
39802 * math/w_j0f.c: Likewise.
39803 * math/w_j0l.c: Likewise.
39804 * math/w_j1.c: Likewise.
39805 * math/w_j1f.c: Likewise.
39806 * math/w_j1l.c: Likewise.
39807 * math/w_jn.c: Likewise.
39808 * math/w_jnf.c: Likewise.
39809 * math/w_log.c: Likewise.
39810 * math/w_log10.c: Likewise.
39811 * math/w_log10f.c: Likewise.
39812 * math/w_log10l.c: Likewise.
39813 * math/w_log2.c: Likewise.
39814 * math/w_log2f.c: Likewise.
39815 * math/w_log2l.c: Likewise.
39816 * math/w_logf.c: Likewise.
39817 * math/w_logl.c: Likewise.
39818 * math/w_sqrt.c: Likewise.
39819 * math/w_sqrtf.c: Likewise.
39820 * math/w_sqrtl.c: Likewise.
39821 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39822 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39823 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39824 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39825 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39827 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39830 * manual/string.texi (strnlen): Use correct parameter name in
39831 equivalent expression.
39833 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39836 * manual/users.texi (seteuid): Consistently use neweuid for
39839 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39842 * manual/nss.texi (Services in the NSS configuration): Correct
39843 list of services in example configuration file.
39845 2012-02-19 Nick Bowler <nbowler@draconx.ca>
39848 * manual/arith.texi: Remove statements about negative zero
39849 behaving identically to zero.
39851 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39854 * manual/install.texi: Do not document upgrading from libc5.
39856 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39859 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39861 2012-02-18 David S. Miller <davem@davemloft.net>
39863 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39864 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39865 %o7 across the call.
39866 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39868 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39869 SETUP_PIC_REG_LEAF.
39870 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39871 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39872 * sysdeps/sparc/crtn.S: Likewise.
39874 2012-02-17 Ulrich Drepper <drepper@gmail.com>
39876 * aout/Makefile: Remove.
39878 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
39881 * manual/examples/argp-ex1.c (main): Format definition in GNU
39883 * manual/examples/argp-ex2.c (main): Likewise.
39884 * manual/examples/argp-ex3.c (main): Likewise.
39885 * manual/examples/argp-ex4.c (main): Likewise.
39886 * manual/examples/longopt.c (main): Use new-style prototype
39888 * manual/examples/strncat.c (main): Specify return type and use
39889 (void) for arguments.
39890 * manual/examples/subopt.c (main): Use char **argv argument.
39892 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39895 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39898 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
39901 * manual/string.texi (strchr): Change when strchrnul is
39904 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
39907 * manual/locale.texi (setlocale): Document LOCPATH.
39909 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39912 * manual/process.texi (execle): Move @dots{} before last argument.
39914 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
39917 * manual/charset.texi (Generic Charset Conversion): Fix typo
39918 (LC_TYPE -> LC_CTYPE).
39920 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
39923 * manual/arith.texi (scalbn): Use @var{} on parameter names.
39924 (scalbnf): Likewise.
39925 (scalbnl): Likewise.
39926 (scalbln): Likewise.
39927 (scalblnf): Likewise.
39928 (scalblnl): Likewise.
39929 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39930 (vwarnx): Likewise.
39933 * manual/filesys.texi (telldir): Use braces around return type.
39934 * manual/llio.texi (mmap): Add space after comma.
39935 (mmap64): Likewise.
39936 * manual/math.texi (jn): Use @var{} on parameter names.
39942 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39944 * manual/resource.texi (ulimit): Use @dots{} instead of literal
39946 (sched_get_priority_min): Remove semicolon on @deftypefun line.
39947 (sched_get_priority_max): Likewise.
39948 * manual/signal.texi (sigvec): Add space after comma.
39949 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39951 (if_indextoname): Likewise.
39952 (if_freenameindex): Likewise.
39953 (sendto): Use ',' instead of '.' in prototype.
39954 * manual/startup.texi (syscall): Use @dots{} instead of literal
39956 * manual/stdio.texi (__fpending): Separate initial words of
39957 paragraph from @deftypefun line.
39958 * manual/syslog.texi (syslog): Use @dots{} instead of literal
39960 (vsyslog): Use @var{} on parameter names.
39961 * manual/terminal.texi (stty): Use @var{} on parameter names.
39962 * manual/users.texi (getutmp): Use @var{} on parameter names.
39963 (getutmpx): Likewise.
39965 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39968 * manual/stdio.texi (fopen): Fix typos in description of
39971 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
39974 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39975 get clock_id definition.
39977 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
39980 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39981 (madvise): Cast every argument to void on its own.
39983 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39986 * manual/startup.texi (Exit Status): Fix typo.
39988 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39991 * manual/examples/argp-ex1.c: Include <stdlib.h>.
39992 * manual/examples/argp-ex2.c: Likewise.
39993 * manual/examples/argp-ex3.c: Likewise.
39995 2012-02-16 Richard Henderson <rth@redhat.com>
39997 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39998 * sysdeps/s390/s390-32/initfini.c: Remove.
39999 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40000 * sysdeps/s390/s390-64/initfini.c: Remove.
40002 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40004 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40005 compiler output for sysdeps/generic/initfini.c.
40006 * sysdeps/sh/elf/initfini.c: Remove file.
40008 2012-02-16 David S. Miller <davem@davemloft.net>
40011 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40013 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40014 * sysdeps/sparc/crti.S: New file.
40015 * sysdeps/sparc/crtn.S: New file.
40016 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40017 * sysdeps/sparc/sparc64/Makefile: Likewise.
40019 2012-02-15 Mike Frysinger <vapier@gentoo.org>
40022 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40024 2012-02-15 Roland McGrath <roland@hack.frob.com>
40027 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40029 * mach/devstream.c (cookie_io_functions_t): Macro removed.
40030 (write, read, close): Likewise.
40031 Patch by Aurelien Jarno <aurelien@aurel32.net>.
40033 2012-02-15 Joseph Myers <joseph@codesourcery.com>
40035 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40036 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40037 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40038 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40040 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40041 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40044 2012-02-14 Marek Polacek <polacek@redhat.com>
40046 * sysdeps/x86_64/crti.S: New file.
40047 * sysdeps/x86_64/crtn.S: New file.
40048 * sysdeps/x86_64/elf/initfini.c: Remove file.
40050 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40052 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40053 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40054 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40055 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40057 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40058 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40061 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40063 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40064 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40065 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40066 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40068 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40069 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40072 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
40074 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40075 __feraiseexcept instead of feraiseexcept.
40077 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40078 nanosleep invocations.
40079 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40080 strings, and add error checking for a nanosleep invocations.
40082 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
40084 Replace FSF snail mail address with URLs, as per GNU coding standards.
40085 Most of the snail mail addresses were wrong anyway, and omitting
40086 them makes the source code easier to maintain. Almost all of the
40087 changes are to license notices and to locale LC_IDENTIFICATION
40088 addresses, except for this one:
40089 * manual/libc.texinfo: In "Published by", give the FSF's URL,
40090 not its snail mail address.
40092 2012-02-09 Richard Henderson <rth@twiddle.net>
40094 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40095 of kernel-features.h.
40097 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40099 2012-02-08 Marek Polacek <polacek@redhat.com>
40101 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40102 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40103 * sysdeps/gnu/_G_config.h: Likewise.
40104 * sysdeps/generic/_G_config.h: Likewise.
40106 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
40108 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40112 * sysdeps/powerpc/powerpc32/crti.S: New file.
40113 * sysdeps/powerpc/powerpc32/crtn.S: New file.
40114 * sysdeps/powerpc/powerpc64/crti.S: New file.
40115 * sysdeps/powerpc/powerpc64/crtn.S: New file.
40117 * Makeconfig (have-initfini): Don't set.
40118 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40119 * configure.in (nopic_initfini): Don't substitute.
40120 * config.h.in (HAVE_INITFINI): Don't #undef.
40121 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40122 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40124 2012-02-08 Joseph Myers <joseph@codesourcery.com>
40126 Support crti.S and crtn.S provided directly by architectures.
40127 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40128 [crti.S in sysdirs] (omit-deps): Likewise.
40129 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40130 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40131 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40132 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40133 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40134 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40135 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40136 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40137 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40138 compiler output for sysdeps/generic/initfini.c.
40139 * sysdeps/i386/elf/Makefile: Remove file.
40140 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40142 2012-02-07 Marek Polacek <polacek@redhat.com>
40144 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40145 * sysdeps/gnu/_G_config.h: Likewise.
40146 * sysdeps/mach/hurd/_G_config.h: Likewise.
40148 2012-02-07 Marek Polacek <polacek@redhat.com>
40150 * math/Makefile (tests): Add tst-CMPLX2.
40151 * math/tst-CMPLX2.c: New file.
40153 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
40155 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40157 * math/libm-test.inc (jn_test): Add missing L suffix.
40159 2012-02-06 Marek Polacek <polacek@redhat.com>
40161 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40162 * sysdeps/i386/fpu/e_powf.S: Likewise.
40163 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40164 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40165 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40166 * sysdeps/i386/fpu/e_pow.S: Likewise.
40167 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40168 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40169 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40170 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40171 * sysdeps/i386/fpu/e_log2.S: Likewise.
40172 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40173 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40174 * sysdeps/i386/fpu/e_powl.S: Likewise.
40175 * sysdeps/i386/fpu/s_log1p.S: Likewise.
40176 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40177 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40178 * sysdeps/i386/fpu/e_logl.S: Likewise.
40179 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40180 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40181 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40182 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40183 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40184 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40185 * sysdeps/i386/fpu/e_log.S: Likewise.
40186 * sysdeps/i386/fpu/s_cexp.S: Likewise.
40187 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40188 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40189 * sysdeps/i386/fpu/e_logf.S: Likewise.
40190 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40191 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40192 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40193 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40194 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40195 * sysdeps/i386/fpu/e_log10.S: Likewise.
40196 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40197 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40198 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40199 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40200 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40201 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40202 * sysdeps/i386/asm-syntax.h: Likewise.
40203 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40204 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40205 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40206 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40207 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40208 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40209 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40210 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40211 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40212 * sysdeps/powerpc/sysdep.h: Likewise.
40213 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40214 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40216 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40219 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40221 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40223 * sysdeps/i386/sysdep.h: Include <features.h>.
40224 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40227 2012-02-05 Joseph Myers <joseph@codesourcery.com>
40229 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40231 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40234 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40236 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40237 (SETUP_PIC_REG): Use GET_PC_THUNK.
40238 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40241 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40243 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40244 for non-PIC compilation.
40245 (SETUP_PIC_REG): Add .p2align directive.
40246 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40247 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40248 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40249 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40250 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40251 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40252 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40253 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40254 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40255 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40256 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40257 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40258 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40259 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40260 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40261 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40262 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40263 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40264 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40265 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40266 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40267 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40268 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40269 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40270 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40271 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40272 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40273 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40274 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40275 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40276 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40277 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40278 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40279 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40280 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40281 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40282 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40283 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40284 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40285 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40286 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40288 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40290 * math/tst-CMPLX.c: Include <stdio.h>.
40292 2012-01-31 Joseph Myers <joseph@codesourcery.com>
40294 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40296 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40297 * sysdeps/sparc/bits/mathdef.h: Likewise.
40299 2012-01-31 Marek Polacek <polacek@redhat.com>
40301 * libio/libio.h: Don't define _PARAMS.
40302 * locale/programs/config.h: Don't define PARAMS.
40303 * stdlib/strtol_l.c: Likewise.
40304 (__strtol_l): Remove PARAMS from the prototype.
40306 2012-01-31 Ulrich Drepper <drepper@gmail.com>
40308 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
40309 names. Just use the correct names. Remove unnecessary wrapper
40311 * malloc/arena.c: Likewise.
40312 * malloc/hooks.c: Likewise.
40314 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40315 ARENA_TEST says not to. Simplify test for creation of a new arena.
40316 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40318 2012-01-30 Ulrich Drepper <drepper@gmail.com>
40320 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40322 (update_get_addr): New function.
40323 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40324 GET_ADDR_MODULE parameter.
40326 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40328 * crypt/cert.c: Remove __STDC__ conditionals.
40329 * crypt/crypt-entry.c: Likewise.
40330 * crypt/crypt_util.c: Likewise.
40331 * libio/filedoalloc.c: Likewise.
40332 * libio/fileops.c: Likewise.
40333 * libio/genops.c: Likewise.
40334 * libio/iofclose.c: Likewise.
40335 * libio/iofdopen.c: Likewise.
40336 * libio/iofopen.c: Likewise.
40337 * libio/iofopen64.c: Likewise.
40338 * libio/iogetdelim.c: Likewise.
40339 * libio/iopopen.c: Likewise.
40340 * libio/obprintf.c: Likewise.
40341 * libio/oldfileops.c: Likewise.
40342 * libio/oldiofclose.c: Likewise.
40343 * libio/oldiofdopen.c: Likewise.
40344 * libio/oldiofopen.c: Likewise.
40345 * libio/oldiopopen.c: Likewise.
40346 * libio/wfiledoalloc.c: Likewise.
40347 * libio/wgenops.c: Likewise.
40348 * locale/programs/xmalloc.c: Likewise.
40349 * misc/syslog.c: Likewise.
40350 * stdio-common/xbug.c: Likewise.
40351 * string/memchr.c: Likewise.
40352 * string/memcmp.c: Likewise.
40353 * string/memrchr.c: Likewise.
40354 * string/rawmemchr.c: Likewise.
40355 * sysdeps/posix/getcwd.c: Likewise.
40356 * time/strftime_l.c: Likewise.
40358 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40360 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40361 * config.make.in (config-cflags-sse2avx): Define.
40362 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40365 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
40367 * scripts/config.guess: Update from upstream config git repository.
40368 * scripts/config.sub: Likewise.
40370 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
40372 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40374 (R_TILEPRO_*, R_TILEGX_*): New macros.
40376 * scripts/firstversions.awk: Fix bug in version range handling.
40378 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40380 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40382 * include/sys/epoll.h: New file.
40383 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40386 2012-01-28 Ulrich Drepper <drepper@gmail.com>
40388 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40389 Avoid unnecessary __WORDSIZE == 64 test.
40390 (fmaxf): Use VEX format if possible.
40395 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40396 * math/math_private.h: Remove libc_fegetround* and
40398 * sysdeps/i386/configure.in: Check for -msse2avx.
40399 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40400 also if SSE2AVX is defined.
40401 Remove libc_fegetround* and libc_fesetround*.
40402 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40403 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
40404 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40406 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40407 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40408 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40409 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40410 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40412 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40414 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40416 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40418 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40420 2012-01-27 Ulrich Drepper <drepper@gmail.com>
40423 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40425 * Makeconfig (libm): Define.
40426 * elf/Makefile: Add rules to build and run tst-relsort1.
40427 * elf/tst-relsort1.c: New file.
40428 * elf/tst-relsort1mod1.c: New file.
40429 * elf/tst-relsort1mod2.c: New file.
40431 2012-01-27 Joseph Myers <joseph@codesourcery.com>
40433 * math/s_ldexp.c: Remove __STDC__ conditionals.
40434 * math/s_ldexpf.c: Likewise.
40435 * math/s_ldexpl.c: Likewise.
40436 * math/s_nextafter.c: Likewise.
40437 * math/s_nexttowardf.c: Likewise.
40438 * math/s_significand.c: Likewise.
40439 * math/s_significandf.c: Likewise.
40440 * math/s_significandl.c: Likewise.
40441 * math/w_jnl.c: Likewise.
40442 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40443 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40444 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40445 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40446 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40447 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40448 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40449 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40450 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40451 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40452 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40453 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40454 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40455 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40456 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40457 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40458 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40459 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40460 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40461 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40462 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40463 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40464 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40465 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40466 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40467 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40468 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40469 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40470 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40471 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40472 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40473 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40474 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40475 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40476 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40477 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40478 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40479 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40480 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40481 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40482 * sysdeps/ieee754/k_standard.c: Likewise.
40483 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40484 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40485 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40486 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40487 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40488 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40489 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40490 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40491 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40492 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40493 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40494 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40495 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40496 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40497 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40498 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40499 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40500 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40501 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40502 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40503 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40504 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40505 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40506 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40507 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40508 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40509 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40510 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40511 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40512 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40513 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40514 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40515 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40516 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40517 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40518 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40519 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40520 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40521 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40522 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40523 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40524 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40525 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40526 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40527 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40528 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40529 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40530 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40531 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40532 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40533 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40534 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40535 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40536 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40537 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40538 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40539 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40540 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40541 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40542 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40543 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40544 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40545 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40546 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40547 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40548 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40549 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40550 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40551 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40552 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40553 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40554 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40555 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40556 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40557 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40558 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40559 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40560 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40561 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40562 * sysdeps/ieee754/s_matherr.c: Likewise.
40563 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40564 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40565 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40566 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40568 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40570 * crypt/md5.h: Remove __STDC__ conditionals.
40571 * libio/libioP.h: Likewise.
40572 * locale/programs/config.h: Likewise.
40573 * sysdeps/generic/sysdep.h: Likewise.
40574 * sysdeps/i386/asm-syntax.h: Likewise.
40575 * sysdeps/s390/asm-syntax.h: Likewise.
40576 * sysdeps/unix/sysdep.h: Likewise.
40577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40580 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40582 * libio/libio.h: Remove __STDC__ conditionals.
40583 * malloc/obstack.h: Likewise.
40584 * math/complex.h: Likewise.
40585 * math/math.h: Likewise.
40586 * sysdeps/generic/_G_config.h: Likewise.
40587 * sysdeps/gnu/_G_config.h: Likewise.
40588 * sysdeps/mach/hurd/_G_config.h: Likewise.
40589 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40590 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40591 * sysdeps/sparc/bits/mathdef.h: Likewise.
40593 2012-01-26 Ulrich Drepper <drepper@gmail.com>
40596 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40597 Clean up HAS_* macros.
40598 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40599 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40601 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40603 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40604 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40605 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40606 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40607 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40609 2012-01-25 Joseph Myers <joseph@codesourcery.com>
40611 * elf/tst-unique3.cc (gets): Remove declaration.
40612 * elf/tst-unique3lib.cc (gets): Likewise.
40613 * elf/tst-unique3lib2.cc (gets): Likewise.
40614 * elf/tst-unique4.cc (gets): Likewise.
40616 2012-01-24 Ulrich Drepper <drepper@gmail.com>
40618 * include/stdio.h: Add C++ protection. Add gets declarations and
40620 * debug/tst-chk1.c: Don't declare gets here.
40621 * stdio-common/tst-gets.c: Likewise.
40623 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40625 * posix/glob: Remove directory.
40627 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40629 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40631 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
40633 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40634 of the non-standard EPFNOSUPPORT.
40636 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
40638 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40639 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40640 ANYWHERE set to 1 only on KERN_NO_SPACE error.
40642 2012-01-21 Ulrich Drepper <drepper@gmail.com>
40644 * wcsmbs/uchar.h: Test __STDC_VERSION__.
40646 2012-01-20 Ulrich Drepper <drepper@gmail.com>
40648 * nscd/aicache.c (addhstaiX): Do not cache negative results of
40650 * nscd/grpcache.c (cache_addgr): Likewise.
40651 * nscd/hstcache.c (cache_addhst): Likewise.
40652 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40653 * nscd/pwdcache.c (cache_addpw): Likewise.
40654 * nscd/servicescache.c (cache_addserv): Likewise.
40656 2012-01-16 Ulrich Drepper <drepper@gmail.com>
40658 * malloc/malloc.c: Various cleanups.
40659 * malloc/hooks.c: Likewise.
40661 * stdlib/Makefile (tests): Add bug-fmtmsg1.
40662 * stdlib/bug-fmtmsg1.c: New file.
40664 * stdlib/fmtmsg.c (init): Add missing unlock.
40665 Patch by Peng Haitao <penght@cn.fujitsu.com>.
40667 2012-01-12 Marek Polacek <polacek@redhat.com>
40669 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40672 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40674 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40675 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40676 macro to ensure uniqueness of label name.
40677 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40678 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40680 2012-01-11 Ulrich Drepper <drepper@gmail.com>
40682 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40684 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40685 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40686 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40687 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40689 2012-01-10 Ulrich Drepper <drepper@gmail.com>
40691 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40693 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40694 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40695 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40697 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40699 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40700 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40701 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40702 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40704 * math/bits/math-finite.h: Add ldexp support.
40706 2012-01-10 Marek Polacek <polacek@redhat.com>
40708 * locale/programs/localedef.h (show_archive_content): Add noreturn
40711 2012-01-09 Ulrich Drepper <drepper@gmail.com>
40713 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40715 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40717 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40719 * io/Makefile (headers): Add bits/poll2.h.
40721 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
40723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40724 typo #include statement.
40726 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40728 * include/sys/cdefs.h: Define __attribute_alloc_size.
40729 * catgets/gencat.c: Add alloc_size attribute and apply consistently
40730 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40731 * elf/pldd.c: Likewise.
40732 * iconv/iconv_charmap.c: Likewise.
40733 * iconv/iconvconfig.c: Likewise.
40734 * iconv/strtab.c: Likewise.
40735 * locale/programs/locale.c: Likewise.
40736 * locale/programs/localedef.h: Likewise.
40737 * locale/programs/simple-hash.c: Likewise.
40738 * nscd/nscd.h: Likewise.
40739 * nss/makedb.c: Likewise.
40740 * sysdeps/generic/ldconfig.h: Likewise.
40741 * locale/programs/localedef.c: Remove xmalloc prototype.
40742 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40744 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40746 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40749 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40751 * math/Makefile (tests): Add tst-CMPLX.
40752 * math/tst-CMPLX.c: New file.
40754 * math/complex.h (CMPLXL): Fix typo.
40756 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40757 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40759 * debug/tst-chk1.c: Add poll and ppoll tests.
40760 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40761 * include/sys/poll.h: Add hidden proto for ppoll.
40762 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40763 * sysdeps/mach/hurd/ppoll.c: Likewise.
40764 * io/ppoll.c: Likewise.
40765 * debug/poll_chk.c: New file.
40766 * debug/ppoll_chk.c: New file.
40767 * include/bits/poll2.h: New file.
40768 * io/bits/poll2.h: New file.
40771 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40773 * configure.in: static is always set to yes. Remove.
40774 * config.make.in: Don't set build-static.
40775 * Makeconfig: Remove use of build-static.
40776 * dlfcn/Makefile: Likewise.
40777 * elf/Makefile: Likewise.
40778 * math/Makefile: Likewise.
40779 * misc/Makefile: Likewise.
40780 * nptl/Makefile: Likewise.
40781 * sysdeps/mach/hurd/Makefile: Likewise.
40783 * configure.in: PWD_P is not used anymore.
40784 * config.make.in: Remove PWD_P entry.
40786 * configure.in: Remove last remnants of RANLIB.
40787 No need to check for signed size_t anymore.
40788 Don't set libc_commonpagesize and libc_relro_required here for Alpha
40790 Remove __builtin_expect test because we require at least gcc 3.4.
40791 * aclocal.m4: Likewise.
40793 * wcsmbs/mbrtoc16.c: Implement using towc function.
40794 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40795 * wcsmbs/wcsmbsload.c: Likewise.
40796 * iconv/gconv_simple.c: Likewise.
40797 * iconv/gconv_int.h: Likewise.
40798 * iconv/gconv_builtin.h: Likewise.
40799 * iconv/iconv_prog.c: Remove CHAR16 handling.
40801 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40803 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40805 * configure.in: Remove --with-elf and --enable-bounded options.
40806 Dont set base_machine for ia64. More non-ELF conditions removed.
40807 Remove testing and setting of leading underscore information.
40808 * config.make.in (build-bounded): Set to no.
40809 * config.h.in: Remove NO_UNDERSCORES entry.
40810 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
40812 * csu/start.c: Remove !NO_UNDERSCORE code.
40813 * locale/localeinfo.h: Likewise.
40814 * sysdeps/generic/machine-gmon.h: Likewise.
40815 * sysdeps/generic/sysdep.h: Likewise.
40816 * sysdeps/i386/sysdep.h: Likewise.
40817 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40818 * sysdeps/mach/sysdep.h: Likewise.
40819 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40820 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40821 * sysdeps/sh/sysdep.h: Likewise.
40822 * sysdeps/sparc/sparc32/alloca.S: Likewise.
40823 * sysdeps/unix/i386/sysdep.S: Likewise.
40824 * sysdeps/unix/sparc/start.c: Likewise.
40825 * sysdeps/unix/sparc/sysdep.S: Likewise.
40826 * sysdeps/unix/sparc/sysdep.h: Likewise.
40827 * sysdeps/unix/start.c: Likewise.
40828 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40829 * sysdeps/x86_64/sysdep.h: Likewise.
40831 2012-01-07 Ulrich Drepper <drepper@gmail.com>
40834 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40836 * argp/argp-fmtstream.h: Use const instead __const.
40837 * argp/argp.h: Likewise.
40838 * assert/assert.h: Likewise.
40839 * bits/fenv.h: Likewise.
40840 * bits/sched.h: Likewise.
40841 * bits/sigset.h: Likewise.
40842 * bits/sigthread.h: Likewise.
40843 * catgets/nl_types.h: Likewise.
40844 * conform/data/pthread.h-data: Likewise.
40845 * crypt/crypt-private.h: Likewise.
40846 * crypt/crypt.h: Likewise.
40847 * crypt/crypt_util.c: Likewise.
40848 * ctype/ctype.h: Likewise.
40849 * debug/execinfo.h: Likewise.
40850 * debug/mbsnrtowcs_chk.c: Likewise.
40851 * debug/mbsrtowcs_chk.c: Likewise.
40852 * debug/wcsnrtombs_chk.c: Likewise.
40853 * debug/wcsrtombs_chk.c: Likewise.
40854 * debug/wcstombs_chk.c: Likewise.
40855 * dirent/dirent.h: Likewise.
40856 * dlfcn/dlfcn.h: Likewise.
40857 * elf/neededtest4.c: Likewise.
40858 * grp/grp.h: Likewise.
40859 * gshadow/gshadow.h: Likewise.
40860 * iconv/gconv.h: Likewise.
40861 * iconv/gconv_int.h: Likewise.
40862 * iconv/gconv_simple.c: Likewise.
40863 * iconv/iconv.h: Likewise.
40864 * iconv/loop.c: Likewise.
40865 * iconv/skeleton.c: Likewise.
40866 * include/aio.h: Likewise.
40867 * include/aliases.h: Likewise.
40868 * include/argz.h: Likewise.
40869 * include/arpa/inet.h: Likewise.
40870 * include/assert.h: Likewise.
40871 * include/dirent.h: Likewise.
40872 * include/dlfcn.h: Likewise.
40873 * include/execinfo.h: Likewise.
40874 * include/fcntl.h: Likewise.
40875 * include/fenv.h: Likewise.
40876 * include/glob.h: Likewise.
40877 * include/grp.h: Likewise.
40878 * include/libintl.h: Likewise.
40879 * include/mntent.h: Likewise.
40880 * include/netdb.h: Likewise.
40881 * include/pwd.h: Likewise.
40882 * include/rpc/netdb.h: Likewise.
40883 * include/sched.h: Likewise.
40884 * include/search.h: Likewise.
40885 * include/shadow.h: Likewise.
40886 * include/signal.h: Likewise.
40887 * include/stdio.h: Likewise.
40888 * include/stdlib.h: Likewise.
40889 * include/string.h: Likewise.
40890 * include/sys/socket.h: Likewise.
40891 * include/sys/stat.h: Likewise.
40892 * include/sys/statfs.h: Likewise.
40893 * include/sys/statvfs.h: Likewise.
40894 * include/sys/syslog.h: Likewise.
40895 * include/sys/time.h: Likewise.
40896 * include/sys/uio.h: Likewise.
40897 * include/time.h: Likewise.
40898 * include/unistd.h: Likewise.
40899 * include/utmp.h: Likewise.
40900 * include/wchar.h: Likewise.
40901 * include/wctype.h: Likewise.
40902 * inet/aliases.h: Likewise.
40903 * inet/arpa/inet.h: Likewise.
40904 * inet/netinet/ether.h: Likewise.
40905 * inet/netinet/in.h: Likewise.
40906 * intl/libintl.h: Likewise.
40907 * io/bits/fcntl2.h: Likewise.
40908 * io/fcntl.h: Likewise.
40909 * io/ftw.h: Likewise.
40910 * io/sys/poll.h: Likewise.
40911 * io/sys/stat.h: Likewise.
40912 * io/sys/statfs.h: Likewise.
40913 * io/sys/statvfs.h: Likewise.
40914 * io/utime.h: Likewise.
40915 * libio/bits/stdio.h: Likewise.
40916 * libio/bits/stdio2.h: Likewise.
40917 * libio/libio.h: Likewise.
40918 * libio/libioP.h: Likewise.
40919 * libio/stdio.h: Likewise.
40920 * locale/lc-ctype.c: Likewise.
40921 * locale/locale.h: Likewise.
40922 * login/utmp.h: Likewise.
40923 * malloc/arena.c: Likewise.
40924 * malloc/malloc.c: Likewise.
40925 * malloc/malloc.h: Likewise.
40926 * malloc/mcheck.c: Likewise.
40927 * malloc/mtrace.c: Likewise.
40928 * math/bits/mathcalls.h: Likewise.
40929 * math/fenv.h: Likewise.
40930 * math/math_private.h: Likewise.
40931 * misc/bits/error.h: Likewise.
40932 * misc/bits/syslog.h: Likewise.
40933 * misc/err.h: Likewise.
40934 * misc/error.h: Likewise.
40935 * misc/fstab.h: Likewise.
40936 * misc/mntent.h: Likewise.
40937 * misc/regexp.h: Likewise.
40938 * misc/search.h: Likewise.
40939 * misc/sgtty.h: Likewise.
40940 * misc/sys/mman.h: Likewise.
40941 * misc/sys/syslog.h: Likewise.
40942 * misc/sys/uio.h: Likewise.
40943 * misc/sys/xattr.h: Likewise.
40944 * misc/ttyent.h: Likewise.
40945 * nis/rpcsvc/ypclnt.h: Likewise.
40946 * nss/nss.h: Likewise.
40947 * posix/bits/unistd.h: Likewise.
40948 * posix/fnmatch.h: Likewise.
40949 * posix/glob.h: Likewise.
40950 * posix/sched.h: Likewise.
40951 * posix/spawn.h: Likewise.
40952 * posix/sys/wait.h: Likewise.
40953 * posix/unistd.h: Likewise.
40954 * posix/wordexp.h: Likewise.
40955 * pwd/pwd.h: Likewise.
40956 * resolv/netdb.h: Likewise.
40957 * resource/sys/resource.h: Likewise.
40958 * rt/aio.h: Likewise.
40959 * rt/bits/mqueue2.h: Likewise.
40960 * rt/mqueue.h: Likewise.
40961 * shadow/shadow.h: Likewise.
40962 * signal/signal.h: Likewise.
40963 * socket/send.c: Likewise.
40964 * socket/sendto.c: Likewise.
40965 * socket/sys/socket.h: Likewise.
40966 * stdio-common/printf.h: Likewise.
40967 * stdlib/bits/stdlib.h: Likewise.
40968 * stdlib/fmtmsg.h: Likewise.
40969 * stdlib/monetary.h: Likewise.
40970 * stdlib/stdlib.h: Likewise.
40971 * stdlib/ucontext.h: Likewise.
40972 * streams/stropts.h: Likewise.
40973 * string/argz.h: Likewise.
40974 * string/bits/string2.h: Likewise.
40975 * string/string.h: Likewise.
40976 * string/strings.h: Likewise.
40977 * sunrpc/rpc/auth.h: Likewise.
40978 * sunrpc/rpc/auth_des.h: Likewise.
40979 * sunrpc/rpc/clnt.h: Likewise.
40980 * sunrpc/rpc/netdb.h: Likewise.
40981 * sunrpc/rpc/pmap_clnt.h: Likewise.
40982 * sunrpc/rpc/xdr.h: Likewise.
40983 * sysdeps/generic/inttypes.h: Likewise.
40984 * sysdeps/generic/net/if.h: Likewise.
40985 * sysdeps/generic/sys/swap.h: Likewise.
40986 * sysdeps/gnu/net/if.h: Likewise.
40987 * sysdeps/gnu/utmpx.h: Likewise.
40988 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40989 * sysdeps/i386/i486/bits/string.h: Likewise.
40990 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40991 * sysdeps/s390/bits/string.h: Likewise.
40992 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40993 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40994 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40995 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40996 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40997 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40998 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40999 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41000 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41001 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41002 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41003 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41004 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41005 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41006 * sysdeps/unix/sysv/linux/readv.c: Likewise.
41007 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41008 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41009 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41010 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41011 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41012 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41013 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41014 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41015 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41016 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41017 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41018 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41019 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41020 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41021 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41022 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41023 * sysvipc/sys/ipc.h: Likewise.
41024 * sysvipc/sys/msg.h: Likewise.
41025 * sysvipc/sys/sem.h: Likewise.
41026 * sysvipc/sys/shm.h: Likewise.
41027 * termios/termios.h: Likewise.
41028 * time/sys/time.h: Likewise.
41029 * time/time.h: Likewise.
41030 * wcsmbs/bits/wchar2.h: Likewise.
41031 * wcsmbs/uchar.h: Likewise.
41032 * wcsmbs/wchar.h: Likewise.
41033 * wctype/wctype.h: Likewise.
41036 * Makeconfig: Remove all but ELF support including AIX support.
41037 * Makerules: Likewise.
41038 * config.h.in: Likewise.
41039 * config.make.in: Likewise.
41040 * configure: Likewise.
41041 * configure.in: Likewise.
41042 * csu/Makefile: Likewise.
41043 * csu/version.c: Likewise.
41044 * debug/Makefile: Likewise.
41045 * dlfcn/Makefile: Likewise.
41046 * elf/Makefile: Likewise.
41047 * extra-lib.mk: Likewise.
41048 * iconv/Makefile: Likewise.
41049 * include/libc-symbols.h: Likewise.
41050 * include/shlib-compat.h: Likewise.
41051 * resolv/Makefile: Likewise.
41052 * resolv/res_libc.c: Likewise.
41053 * rt/Makefile: Likewise.
41054 * sysdeps/i386/asm-syntax.h: Likewise.
41055 * sysdeps/i386/sysdep.h: Likewise.
41056 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41057 * sysdeps/mach/sysdep.h: Likewise.
41058 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41059 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41060 * sysdeps/s390/asm-syntax.h: Likewise.
41061 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41062 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41063 * sysdeps/sh/sysdep.h: Likewise.
41064 * sysdeps/unix/sparc/sysdep.h: Likewise.
41065 * sysdeps/wordsize-32/divdi3.c: Likewise.
41066 * sysdeps/x86_64/sysdep.h: Likewise.
41068 * argp/Versions: Remove _argp_unlock_xxx.
41071 * abilist/ld.abilist: Update. Adjust for removal of tls option.
41072 * abilist/libBrokenLocale.abilist: Likewise.
41073 * abilist/libanl.abilist: Likewise.
41074 * abilist/libc.abilist: Likewise.
41075 * abilist/libcrypt.abilist: Likewise.
41076 * abilist/libdl.abilist: Likewise.
41077 * abilist/libm.abilist: Likewise.
41078 * abilist/libnsl.abilist: Likewise.
41079 * abilist/libpthread.abilist: Likewise.
41080 * abilist/libresolv.abilist: Likewise.
41081 * abilist/librt.abilist: Likewise.
41082 * abilist/libthread_db.abilist: Likewise.
41083 * abilist/libutil.abilist: Likewise.
41084 * abilist/libnss_db.abilist: New file.
41086 * scripts/abilist.awk: Add support for indirect functions.
41088 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41090 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41092 * shlib-versions: Remove entries for ports architectures.
41094 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
41096 * elf/stackguard-macros.h: Remove support for IA-64.
41097 * elf/tst-auditmod1.c: Likewise.
41098 * sysdeps/generic/ldsodefs.h: Likewise.
41100 * sysdeps/unix/sysv/linux/configure.in: Ports should define
41101 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41105 * configure.in: Remove --enable-omitfp support.
41107 * config.make.in: Likewise.
41108 * Makeconfig: Likewise.
41109 * manual/install.texi: Likewise.
41111 In case anyone cares, the IA-64 architecture could move to ports.
41112 * sysdeps/ia64/*: Removed.
41113 * sysdeps/unix/sysv/linux/ia64/*: Removed.
41114 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41117 * configure.in: Remove entries for unsupported architectures.
41120 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41121 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
41123 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41124 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41125 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
41126 fall back to using wcrtomb.
41127 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41128 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
41130 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41131 * wcsmbs/tst-c16c32-1.c: New file.
41133 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41136 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41138 * elf/tst-unique3.cc: Add explicit declaration of gets.
41139 * elf/tst-unique3lib.cc: Likewise.
41140 * elf/tst-unique3lib2.cc: Likewise.
41141 * elf/tst-unique4.cc: Likewise.
41143 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41145 2012-01-06 Joseph Myers <joseph@codesourcery.com>
41148 * assert/assert.h (static_assert): Don't define for C++.
41149 * libio/stdio.h (gets): Do declare for C++ <= C++11.
41150 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41152 2012-01-03 Ulrich Drepper <drepper@gmail.com>
41154 * iconv/loop.c (single loop): Fix assertion in storing of
41157 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41159 2012-01-01 Ulrich Drepper <drepper@gmail.com>
41161 * posix/getconf.c: Update copyright year.
41162 * nss/getent.c: Likewise.
41163 * nss/makedb.c: Likewise.
41164 * iconv/iconvconfig.c: Likewise.
41165 * iconv/iconv_prog.c: Likewise.
41166 * elf/ldconfig.c: Likewise.
41167 * elf/pldd.c: Likewise.
41168 * elf/sotruss.ksh: Likewise.
41169 * catgets/gencat.c: Likewise.
41170 * csu/version.c: Likewise.
41171 * elf/ldd.bash.in: Likewise.
41172 * elf/sprof.c (print_version): Likewise.
41173 * locale/programs/locale.c: Likewise.
41174 * locale/programs/localedef.c: Likewise.
41175 * login/programs/pt_chown.c: Likewise.
41176 * nscd/nscd.c (print_version): Likewise.
41177 * debug/xtrace.sh: Likewise.
41178 * malloc/memusage.sh: Likewise.
41179 * malloc/mtrace.pl: Likewise.
41180 * debug/catchsegv.sh: Likewise.
41182 2011-12-30 Jakub Jelinek <jakub@redhat.com>
41184 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41187 2011-12-24 Ulrich Drepper <drepper@gmail.com>
41190 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41191 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41193 * iconv/gconv_int.h: Likewise.
41194 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41195 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41196 from libc for GLIBC_2.16.
41197 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41198 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41199 * wcsmbs/uchar.h: Really define mbstate_t.
41200 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41201 * wcsmbs/c16rtomb.c: New file.
41202 * wcsmbs/mbrtoc16.c: New file.
41203 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41204 for C/POSIX locale.
41205 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41206 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41208 * wcsmbs/wchar.h: Add missing __restrict.
41210 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41213 * time/Makefile (routines): Add timespec_get.
41214 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41215 * time/time.h: Define TIME_UTC and declare timespec_get. Define
41216 timespec for ISO C11.
41217 * time/timespec_get.c: New file.
41218 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41219 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41222 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41223 * stdlib/stdlib.h: Declare aligned_alloc.
41224 * Versions.def: Add GLIBC_2.16 for libc.
41225 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41228 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41231 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41235 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41238 * assert/assert.h (static_assert): Define.
41240 * version.h: Update for 2.16 development version.
41243 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41246 * version.h (RELEASE): Bump for 2.15 release.
41247 * include/features.h (__GLIBC_MINOR__): Bump to 15.
41249 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41250 Patch by Marek Polacek <mpolacek@redhat.com>.
41252 * bits/byteswap.h: Protect long long constants with __extension__.
41253 * sysdeps/i386/bits/byteswap.h: Likewise.
41254 * sysdeps/ia64/bits/byteswap.h: Likewise.
41255 * sysdeps/s390/bits/byteswap.h: Likewise.
41256 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41258 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41261 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41262 destination buffer.
41263 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41265 2011-12-23 Marek Polacek <polacek@redhat.com>
41267 * elf/dl-addr.c (determine_info): Add inline keyword.
41268 * elf/tst-auditmod4b.c (check_avx): Likewise.
41269 * elf/tst-auditmod6b.c (check_avx): Likewise.
41270 * elf/tst-auditmod6c.c (check_avx): Likewise.
41271 * elf/tst-auditmod7b.c (check_avx): Likewise.
41273 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41275 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41278 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41281 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41282 processing for last bytes.
41284 2011-08-06 Bruno Haible <bruno@clisp.org>
41287 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41288 U+0385, not to U+1FEE.
41291 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41292 entry for U+00A5 U+0301.
41294 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41297 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41298 buffer for the output is too small.
41300 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41304 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41305 SSE flags if possible.
41307 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41310 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41311 processing for last bytes.
41313 2011-12-22 Joseph Myers <joseph@codesourcery.com>
41315 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41316 (syscall-list-default-options, syscall-list-default-condition)
41317 (syscall-list-includes): Define.
41318 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41319 list of ABIs and options and #if conditions for each ABI. Do not
41320 handle common syscalls between ABIs specially.
41321 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41323 (syscall-list-variants, syscall-list-32bit-options)
41324 (syscall-list-32bit-condition, syscall-list-64bit-options)
41325 (syscall-list-64bit-condition): Define.
41326 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41327 (syscall-list-variants, syscall-list-32bit-options)
41328 (syscall-list-32bit-condition, syscall-list-64bit-options)
41329 (syscall-list-64bit-condition): Define.
41330 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41332 (syscall-list-variants, syscall-list-32bit-options)
41333 (syscall-list-32bit-condition, syscall-list-64bit-options)
41334 (syscall-list-64bit-condition): Define.
41335 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41337 (syscall-list-variants, syscall-list-32bit-options)
41338 (syscall-list-32bit-condition, syscall-list-64bit-options)
41339 (syscall-list-64bit-condition): Define.
41341 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41343 * locale/iso-639.def: Add brx entry.
41346 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41347 Proposed by Mariusz_Cukr <marcukr@op.pl>.
41349 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41350 __feraiseexcept_renamed.
41352 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41355 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41356 EPOLLET with unsigned values.
41357 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41358 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41360 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41361 to large cancellation.
41362 * math/s_cacoshf.c: Likewise.
41363 * math/s_cacoshl.c: Likewise.
41365 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
41369 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41370 * math/s_cacoshf.c: Likewise.
41371 * math/s_cacoshl.c: Likewise.
41373 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41376 * iconv/gconv.h: Define __GCONV_SWAP.
41377 * iconvdata/unicode.c: The swap bit must be stored in __flags.
41378 * iconvdata/utf-16.c: Likewise.
41379 * iconvdata/utf-32.c: Likewise.
41381 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
41384 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41385 numerator after shifting it by one limb.
41387 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
41389 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41390 under [__USE_EXTERN_INLINES].
41392 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41395 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41397 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41399 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41400 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41402 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41403 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41404 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41405 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41406 for strncasecmp/strncasecmp_l compilation.
41407 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41408 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41410 2011-12-08 Marek Polacek <mpolacek@redhat.com>
41413 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41416 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41419 * time/tzfile.c (__tzfile_read): Check values from file header.
41421 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41423 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41424 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41425 * powerpc/powerpc32/dl-start.S: Likewise.
41426 * powerpc/powerpc32/elf/start.S: Likewise.
41427 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41428 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41429 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41430 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41431 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41432 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41433 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41434 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41435 * powerpc/powerpc32/fpu/s_round.S: Likewise.
41436 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41437 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41438 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41439 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41440 * powerpc/powerpc32/memset.S: Likewise.
41441 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41442 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41443 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41444 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41445 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41446 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41447 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41448 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41449 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41450 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41451 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41452 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41453 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41455 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41457 * math/libm-test.inc: Added more nearbyint tests.
41458 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41459 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41460 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41461 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41463 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
41465 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41468 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41470 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41471 Add wcscpy-ssse3 wcscpy-c.
41472 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41473 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41474 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41475 * sysdeps/x86_64/wcschr.S: New file.
41476 * sysdeps/x86_64/wcsrchr.S: New file.
41477 * string/test-strcmp.c: Remove checking of wcscmp function for
41479 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41480 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41481 wcsrchr-sse2 wcsrchr-c.
41482 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41483 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41484 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41485 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41486 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41487 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41488 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41489 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41490 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41491 * wcsmbc/wcschr.c (WCSCHR): New macro.
41493 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41495 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41496 * wcsmbs/test-wcsrchr.c: New file.
41497 * string/test-strrchr.c: Add wcsrchr support.
41499 * wcsmbs/test-wcscpy.c: New file.
41500 * string/test-strcpy.c: Add wcscpy support.
41503 2011-12-10 Ulrich Drepper <drepper@gmail.com>
41505 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41508 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
41511 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41513 2011-12-04 Ulrich Drepper <drepper@gmail.com>
41515 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41516 Minor optimizations.
41518 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41519 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41520 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41522 2011-12-03 Ulrich Drepper <drepper@gmail.com>
41524 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41525 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41526 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41527 for gcc to avoid warnings.
41528 * inet/Makefile (tests): Add tst-checks.
41529 * inet/tst-checks.c: New file.
41531 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41534 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41537 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41538 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41540 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41542 2011-12-02 Ulrich Drepper <drepper@gmail.com>
41544 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41547 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41549 2011-11-29 Joseph Myers <joseph@codesourcery.com>
41551 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41552 conditional on GCC version.
41553 (__arch_compare_and_exchange_val_8_acq)
41554 (__arch_compare_and_exchange_val_16_acq)
41555 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41556 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41557 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41559 2011-12-02 Joseph Myers <joseph@codesourcery.com>
41561 * sysdeps/sh/backtrace.c: New file.
41563 2011-12-02 Andreas Schwab <schwab@redhat.com>
41565 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
41568 2011-12-01 Andreas Schwab <schwab@redhat.com>
41570 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41571 falling back to utime.
41573 2011-11-30 Andreas Schwab <schwab@redhat.com>
41575 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41576 expectations for float.
41578 2011-11-29 Andreas Schwab <schwab@redhat.com>
41580 * locale/weight.h (findidx): Add parameter len.
41581 * locale/weightwc.h (findidx): Likewise.
41582 * posix/fnmatch_loop.c (FCT): Adjust caller.
41583 * posix/regcomp.c (build_equiv_class): Likewise.
41584 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41585 * posix/regexec.c (check_node_accept_bytes): Likewise.
41586 * string/strcoll_l.c (STRCOLL): Likewise.
41587 * string/strxfrm_l.c (STRXFRM): Likewise.
41589 2011-11-17 Ulrich Drepper <drepper@gmail.com>
41591 * Makefile.in: Remove CVSOPT handling.
41592 * configure.in: Remove use of AC_REVISION.
41593 * iconvdata/Makefile (distribute): No need to filter out CVS.
41594 * scripts/list-sources.sh: Remove CVS, subversion and monotone
41597 2011-11-16 Andreas Schwab <schwab@redhat.com>
41599 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41600 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41601 [USE_AS_STRNCASECMP_L]: Likewise.
41602 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41603 NO_TLS_DIRECT_SEG_REFS.
41604 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41605 Fix argument offsets for non-PIC.
41606 [USE_AS_STRNCASECMP_L]: Likewise.
41607 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41608 NO_TLS_DIRECT_SEG_REFS.
41610 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41612 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41614 * locale/loadlocale.c (_nl_load_locale): Likewise.
41616 2011-11-15 Andreas Schwab <schwab@redhat.com>
41618 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41619 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41620 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41621 (SYSCALL_GETTIME): Set errno on error.
41623 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41624 count references to noai6ai_cached.
41626 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41628 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41630 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41631 FD_CLOEXEC for /proc/self/maps.
41633 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41634 FD_CLOEXEC for /proc/meminfo.
41636 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41639 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
41640 FD_CLOEXEC for given file.
41642 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41644 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41645 FD_CLOEXEC for /etc/hosts.
41646 (_gethtent): Likewise.
41648 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41650 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41651 cancellation and set FD_CLOEXEC for /etc/netgroup.
41653 * nss/nss_files/files-key.c (search): Don't allow cancellation when
41654 reading /etc/publickey.
41656 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41657 allow cancellation when reading /etc/group.
41659 * nss/nss_files/files-alias.c (internal_setent): Don't allow
41661 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
41663 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41664 when using data file.
41666 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41668 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41669 (write_nis_obj): Use "c" and "e" in fopen.
41671 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41673 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41675 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41677 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41679 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41682 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41684 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41686 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41688 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41689 file parsing and set FD_CLOEXEC.
41691 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41693 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41695 2011-11-14 Andreas Schwab <schwab@redhat.com>
41697 * malloc/arena.c (arena_get2): Don't call reused_arena when
41698 _int_new_arena failed.
41700 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41702 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41703 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41704 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41705 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41706 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41707 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41708 to compile strcasecmp and strncasecmp.
41709 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41710 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41712 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41714 2011-11-13 Ulrich Drepper <drepper@gmail.com>
41716 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41717 locale-defines.sym to gen-as-const-headers.
41718 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41719 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41720 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41721 to compile strcasecmp and strncasecmp.
41722 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41723 strcasecmp_l and strncasecmp_l.
41724 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41725 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41726 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41727 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41728 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41729 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41730 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41731 * sysdeps/i386/i686/multiarch/strncase.S: New file.
41732 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41733 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41734 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41736 2011-11-12 Ulrich Drepper <drepper@gmail.com>
41738 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41739 result of SYSDEP_GETTIME_CPU to retval.
41740 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41741 parameter list to macro. Remove trailing semicolon. Adjust users.
41743 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41746 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41748 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41750 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41751 from unused variable.
41753 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41755 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41758 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41761 * sunrpc/rpc_prot.c (rejected): Fix case value.
41763 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41764 unsigned long long int to avoid warnings in shift.
41766 * posix/regex_internal.c (re_string_reconstruct): Actually use result
41768 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41771 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41772 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41773 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41775 * nis/nis_table.c (nis_list): Use variable of correct type for
41776 result of __follow_path call.
41778 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41780 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41781 of math functions ceil, trunc, floor, round, and sqrt, when
41782 avaliable on the platform.
41783 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41785 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41786 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41787 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41789 2011-10-30 Marek Polacek <mpolacek@redhat.com>
41791 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41792 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41794 2011-11-11 Roland McGrath <roland@hack.frob.com>
41796 * include/unistd.h: Fix __readlink return type.
41797 Reported by Chris Metcalf <cmetcalf@tilera.com>.
41799 2011-11-11 Ulrich Drepper <drepper@gmail.com>
41801 * stdlib/ucontext.h: Undo last change for makecontext.
41803 2011-11-11 Andreas Schwab <schwab@redhat.com>
41805 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41807 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41808 * setjmp/setjmp.h: Mark functions as non-leaf.
41809 * setjmp/bits/setjmp2.h: Likewise.
41810 * stdlib/ucontext.h: Likewise.
41812 2011-11-10 Andreas Schwab <schwab@redhat.com>
41814 * malloc/arena.c (_int_new_arena): Don't increment narenas.
41815 (reused_arena): Don't check arena limit.
41816 (arena_get2): Atomically check arena limit.
41818 2011-11-08 Ulrich Drepper <drepper@gmail.com>
41820 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41821 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41823 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41826 2011-11-07 Andreas Schwab <schwab@redhat.com>
41828 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41829 handler when locking.
41831 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41832 Fix size of allocated buffer.
41834 2011-11-04 Andreas Schwab <schwab@redhat.com>
41837 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41838 declarations for long double functions.
41839 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41841 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41843 2011-11-03 Andreas Schwab <schwab@redhat.com>
41845 * nscd/nscd.c (main): Don't start AVC thread until credentials are
41848 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41851 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
41853 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41855 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
41857 * include/alloca.h (stackinfo_alloca_round): Define.
41858 (extend_alloca): Use it.
41859 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41860 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41863 * scripts/check-local-headers.sh: Ignore libaudit.h.
41865 * nscd/Makefile (extra-objs): Make recursively expanded.
41867 2011-11-01 Ulrich Drepper <drepper@gmail.com>
41869 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41870 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41872 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41873 * posix/tst-rfc3484-2.c: Likewise.
41874 * posix/tst-rfc3484-3.c: Likewise.
41876 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41878 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41880 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41881 process_vm_writev from libc using GLIBC_2.15 version.
41883 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41885 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
41887 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41890 2011-10-31 Ulrich Drepper <drepper@gmail.com>
41893 * nss/getent.c (initgroups_keys): Show error message in case no group
41896 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41897 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41898 __bump_nl_timestamp.
41899 * nscd/connections (nscd_init): When host database is served open
41900 netlink socket and request notification about configuration changes.
41901 (main_loop_poll): Track netlink file descriptor and bump timestamp
41902 in case data becomes available.
41903 (main_loop_epoll): Likewise.
41904 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41905 (database_pers_head): Add extra_data fileds.
41906 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41907 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41908 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41910 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41911 in6ai data, call __free_in6ai.
41912 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41913 Add -DHAVE_NETLINK.
41914 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
41915 interface information. Reuse previous data if netlink timestamp
41917 (__bump_nl_timestamp): New function.
41918 (__free_in6ai): New function.
41920 2011-10-30 Ulrich Drepper <drepper@gmail.com>
41922 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41923 close_not_cancel_no_status here.
41924 (__check_pf): Reorganize code a bit to not call close twice if OOM.
41926 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41929 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41932 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41933 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41934 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41936 2011-07-03 Andreas Jaeger <aj@suse.de>
41939 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41940 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41941 * math/libm-test.inc (sin_test): Add test case.
41943 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41946 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41947 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41949 * elf/chroot_canon.c (chroot_canon): Cleanups.
41951 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41954 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41955 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41957 * string/test-strchr.c: Make usable for strchrnul testing.
41958 * string/test-strchrnul.c: New file.
41959 * string/Makefile (strop-tests): Add strchrnul.
41961 * po/it.po: Update from translation team.
41962 * po/es.po: Likewise.
41964 2011-10-28 Ulrich Drepper <drepper@gmail.com>
41966 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41967 the three constants needed as parameters. Drop the others.
41968 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41969 __m128i_strloadu_tolower.
41970 Create and initialize variable zero and use it in all the places
41971 where _mm_setzero_si128 was used.
41973 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41974 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41975 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41976 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41978 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41979 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41980 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41981 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41982 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41983 __mpranred, __mptan.
41984 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41985 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41986 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41987 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41988 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41989 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41990 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41991 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41992 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41994 2011-10-28 Andreas Schwab <schwab@redhat.com>
41996 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41997 redefine if SHARED.
41998 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42000 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42001 wide char related routines to wcsmbs subdir.
42003 2011-10-27 Andreas Schwab <schwab@redhat.com>
42006 * misc/sys/cdefs.h (__THROWNL): Define.
42007 * posix/unistd.h: Use __THREADNL instead of __THREAD
42008 for memory synchronization functions.
42010 2011-10-26 Roland McGrath <roland@hack.frob.com>
42013 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42015 * manual/stdio.texi (Obstack Streams): Node removed.
42017 2011-10-26 Andreas Schwab <schwab@redhat.com>
42019 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42020 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42021 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42023 * math/math_private.h (math_force_eval): Allow non-addressable
42025 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42027 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42029 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42030 file is not needed.
42032 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42033 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42034 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42035 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42036 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42037 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42038 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42039 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42041 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42042 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42043 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42044 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42045 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42046 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42047 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42048 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42049 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42050 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42051 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42052 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42053 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42054 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42055 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42056 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42057 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42058 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42059 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42061 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42062 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42064 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42065 place. Use VEX encoding when compiling for AVX.
42067 2011-10-25 Andreas Schwab <schwab@redhat.com>
42069 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42070 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42072 * string/test-strchr.c (do_test): Don't generate NUL bytes.
42074 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42076 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42077 useless if() expression.
42078 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42079 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42080 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42081 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42082 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42083 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42084 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42085 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42086 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42087 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42088 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42089 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42090 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42091 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42092 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42093 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42094 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42095 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42096 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42098 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42100 2011-10-25 Andreas Schwab <schwab@redhat.com>
42102 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42104 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42106 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42108 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42109 .text section. Avoid duplicate constants.
42110 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42111 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42112 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42113 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42114 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42115 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42116 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42117 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42118 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42119 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42120 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42121 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42122 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42123 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42124 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42125 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42126 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42127 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42128 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42129 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42130 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42131 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42132 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42133 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42134 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42135 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42136 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42137 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42138 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42139 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42140 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42141 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42142 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42143 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42144 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42145 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42146 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42147 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42148 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42149 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42150 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42151 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42152 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42153 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42154 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42156 2011-10-24 Ulrich Drepper <drepper@gmail.com>
42158 * sysdeps/x86_64/dla.h: Move to ...
42159 * sysdeps/x86_64/fpu/dla.h: ...here.
42160 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42161 situations. Use __builtin_fma only for gcc 4.6 and up.
42163 * config.make.in: Add have-mfma4 entry.
42164 * configure.in: Substitute libc_cv_cc_fma4.
42165 * math/Makefile (dbl-only-routines): Add sincostab.
42166 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42167 Use __sincostab not sincos.
42168 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42170 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42171 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42172 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42173 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
42175 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
42176 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
42177 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42178 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42180 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42181 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42183 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
42184 define aliases when function name is a macro.
42185 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42186 sysdeps/ieee754/dbl-64/sincos.tbl.
42187 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42188 fma4-enabled routines.
42189 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42190 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42191 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42192 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42193 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42194 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42195 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42196 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42197 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42198 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42199 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42200 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42201 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42202 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42203 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42204 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42205 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42206 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42207 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42208 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42209 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42210 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42211 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42212 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42213 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42214 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42215 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42216 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42217 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42218 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42220 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42222 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42223 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42224 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42225 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42226 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42227 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42228 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42229 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42231 2011-10-24 Andreas Schwab <schwab@redhat.com>
42233 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42235 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42237 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42239 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42241 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42243 * string/strnlen.c: Don't define STRNLEN, reverse logic.
42244 Remove unused variable magic_bits.
42245 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42247 * string/strnlen.c: Define and use STRNLEN macro.
42248 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42249 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42250 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42251 * wcsmbs/wcslen.c: Define and use WCSLEN.
42252 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42253 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42254 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42255 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42256 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42257 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42258 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42260 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42262 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42263 strnlen-sse2-no-bsf.
42264 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42265 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42266 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42267 Add strnlen support.
42268 (USE_AS_STRNLEN): New macro.
42269 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42270 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42271 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42272 * sysdeps/x86_64/wcslen.S: New file.
42274 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42276 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42277 XMM-moves are used for copying on small sizes.
42279 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42281 * wcsmbs/Makefile (strop-tests): Add wcschr.
42282 * wcsmbs/test-wcschr.c: New file.
42283 * string/test-strchr.c: Update.
42284 Add wcschr support.
42287 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42289 * wcsmbs/Makefile (strop-tests): Add wcslen.
42290 * wcsmbs/test-wcslen.c: New file.
42291 * string/test-strlen.c: Update.
42292 Add wcslen support.
42295 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42297 * po/it.po: Update from translation team.
42299 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42301 * sysdeps/x86_64/wcscmp.S: Update.
42302 Fix wrong comparison semantics.
42303 wcscmp shall use signed comparison not unsigned.
42304 Don't use substraction to avoid overflow bug.
42305 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42306 * wcsmbc/wcscmp.c: Likewise.
42307 * string/test-strcmp.c: Likewise.
42308 Add new tests to check cases with negative values.
42310 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42312 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42313 * sysdeps/x86_64/dla.h: ...here. New file.
42314 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42315 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42316 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42317 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42318 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42319 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42320 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42321 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42322 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42324 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
42326 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42327 __ynl_finite aliases.
42329 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42331 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42333 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42335 [DLA_FMA] (EMULV): Use DLA_FMA.
42336 [DLA_FMA] (MUL12): Use EMULV.
42337 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42338 that are not needed.
42339 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42340 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42341 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42342 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42343 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42344 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42345 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42347 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
42349 * math/s_nan.c: Undef __nan.
42350 * math/s_nanf.c: Undef __nanf.
42351 * math/s_nanl.c: Undef __nanl.
42352 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42355 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42357 * math/s_catan.c: Add branch predictions.
42358 * math/s_catanf.c: Likewise.
42359 * math/s_catanh.c: Likewise.
42360 * math/s_catanhf.c: Likewise.
42361 * math/s_catanhl.c: Likewise.
42362 * math/s_catanl.c: Likewise.
42363 * math/s_cexp.c: Likewise.
42364 * math/s_cexpf.c: Likewise.
42365 * math/s_cexpl.c: Likewise.
42366 * math/s_clog.c: Likewise.
42367 * math/s_clog10.c: Likewise.
42368 * math/s_clog10f.c: Likewise.
42369 * math/s_clog10l.c: Likewise.
42370 * math/s_clogf.c: Likewise.
42371 * math/s_clogl.c: Likewise.
42372 * math/s_csqrt.c: Likewise.
42373 * math/s_csqrtf.c: Likewise.
42374 * math/s_csqrtl.c: Likewise.
42375 * math/s_ctanf.c: Likewise.
42376 * math/s_ctanh.c: Likewise.
42377 * math/s_ctanhf.c: Likewise.
42378 * math/s_ctanhl.c: Likewise.
42379 * math/s_ctanl.c: Likewise.
42381 * math/math_private.h: Define __nan, __nanf, __nanl.
42382 * math/s_cacosh.c: Include <math_private.h>.
42383 * math/s_cacoshl.c: Likewise.
42384 * math/s_casinh.c: Likewise.
42385 * math/s_casinhf.c: Likewise.
42386 * math/s_casinhl.c: Likewise.
42387 * math/s_ccos.c: Rely entire on ccosh.
42388 * math/s_ccosf.c: Rely entire on ccoshf.
42389 * math/s_ccosl.c: Rely entirely on ccoshl.
42390 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
42391 Remove tests for FE_INVALID.
42392 * math/s_ccoshf.c: Likewise.
42393 * math/s_ccoshl.c: Likewise.
42394 * math/s_csin.c: Likewise.
42395 * math/s_csinf.c: Likewise.
42396 * math/s_csinh.c Likewise.
42397 * math/s_csinhf.c: Likewise.
42398 * math/s_csinhl.c: Likewise.
42399 * math/s_csinl.c: Likewise.
42400 * math/s_ctan.c: Likewise.
42401 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42402 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42403 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42405 2011-10-21 Ulrich Drepper <drepper@gmail.com>
42407 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42408 compilation problems.
42410 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42413 2011-10-20 Ulrich Drepper <drepper@gmail.com>
42415 * sysdeps/i386/configure.in: Test for -mfma4 option.
42416 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42417 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42418 COMMON_CPUID_INDEX_80000001.
42419 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42420 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42421 use it if FMA3 is not supported.
42422 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42424 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42425 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42427 2011-10-20 Andreas Schwab <schwab@redhat.com>
42430 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42431 it would create a cycle with a link time dependency.
42433 2011-10-19 Ulrich Drepper <drepper@gmail.com>
42435 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42437 * string/Makefile (strop-tests): Add rawmemchr.
42438 * string/test-rawmemchr.c: New file.
42440 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42441 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
42442 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
42443 when compiling str{,n}casecmp and when AVX is available. Hook up
42444 new optimized code in initializers.
42446 2011-10-19 Andreas Schwab <schwab@redhat.com>
42448 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42449 __feraiseexcept instead of feraiseexcept.
42451 2011-10-18 Ulrich Drepper <drepper@gmail.com>
42453 * math/math_private.h: Define defaults for libc_fetestexcept and
42455 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42456 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42457 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42458 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42459 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42460 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42461 libc_fetestexcept and libc_feupdateenv.
42463 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42464 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42465 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42466 * sysdeps/x86_64/fpu/math_private.h: Define special version of
42467 libc_feholdexcept_setround.
42469 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42470 Add s_nearbyint-c and s_nearbyintf-c.
42471 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42472 nearbyintf inlines.
42473 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42474 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42475 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42476 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42478 * math/math_private.h: Define defaults for libc_fegetround,
42479 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42480 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42481 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42482 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42483 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42484 standard functions.
42485 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42486 Remove comments and hacks for old compiler versions.
42487 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42488 libc_fegetround, libc_fesetround, libc_feholdexcept, and
42489 libc_feholdexceptl.
42491 2011-10-18 Andreas Schwab <schwab@redhat.com>
42493 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42494 (__feraiseexcept_renamed): Add __NTH.
42495 (feraiseexcept): Add __NTH. Rename local variables to fix
42496 namespace violations.
42498 2011-10-17 Ulrich Drepper <drepper@gmail.com>
42500 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42502 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42504 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42505 recently added interfaces.
42506 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42508 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42509 about macro parameter expansion.
42511 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42512 __NO_MATH_INLINES is defined. Cleanups.
42514 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42515 and __floorf is target has SSE4.1.
42516 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42517 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42518 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42519 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42521 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42523 (floorf): Likewise.
42525 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42527 2011-10-17 Andreas Schwab <schwab@redhat.com>
42529 * misc/sys/cdefs.h: Fix last change.
42531 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42534 2011-10-16 Ulrich Drepper <drepper@gmail.com>
42536 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42538 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42539 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42540 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42541 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42542 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42543 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42544 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42545 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42546 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42547 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42548 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42549 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42550 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42551 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42552 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42553 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42554 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42555 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42556 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42557 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42558 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42559 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42561 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42562 ceil, ceilf, floor, floorf.
42564 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42565 Perform IRELATIVE relocations last.
42567 * elf/do-rel.h: Add another parameter nrelative, replacing the
42568 local variable with the same name. Change name of the function
42569 to end in Rel or Rela (uppercase).
42570 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42571 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
42572 elf_dynamic_do_##reloc function.
42574 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42576 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42577 is sufficient, at least on modern CPUs.
42579 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42581 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42582 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42584 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42586 * math/bits/math-finite.h: Add entries for exp.
42587 * math/e_expl.c: Add __*_finite alias.
42588 * sysdeps/i386/fpu/e_exp.S: Likewise.
42589 * sysdeps/i386/fpu/e_expf.S: Likewise.
42590 * sysdeps/i386/fpu/e_expl.c: Likewise.
42591 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42592 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42593 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42594 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42595 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42596 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42597 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42599 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42600 is sufficient, at least on modern CPUs.
42602 * ctype/ctype-info.c (__ctype_init): Define.
42603 * include/ctype.h (__ctype_init): Declare.
42604 (__ctype_b_loc): The variable is always initialized.
42605 (__ctype_toupper_loc): Likewise.
42606 (__ctype_tolower_loc): Likewise.
42607 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42608 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42610 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
42612 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42614 * configure.in: Also look in $cxxmachine/include for C++ system
42617 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42619 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42620 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42621 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42622 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
42623 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42624 (USE_AS_WMEMCMP): New macro.
42626 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42627 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42628 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42629 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42630 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42631 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42632 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42633 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42634 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42635 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42636 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42637 (USE_AS_WMEMCMP): New macro.
42638 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42639 * sysdeps/string/test-memcmp.c: Update.
42640 Fix simple_wmemcmp.
42642 * wcsmbs/wmemcmp.c: Update.
42643 (WMEMCMP): New macro.
42646 2011-10-12 Andreas Jaeger <aj@suse.de>
42649 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42651 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42653 * libio/iofwide.c (do_length): Avoid warning.
42655 * ctype/ctype.h (__isctype_f): Add missing __THROW.
42657 2011-10-14 Ulrich Drepper <drepper@gmail.com>
42659 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42661 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42662 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42663 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42664 * sysdeps/i386/i686/fpu/e_log.S: New file.
42665 * sysdeps/i386/i686/fpu/e_logf.S: New file.
42666 * sysdeps/i386/i686/fpu/e_logl.S: New file.
42668 * ctype/ctype.h: Add support for inlined isXXX functions when
42669 compiling C++ code.
42671 2011-10-14 Andreas Schwab <schwab@redhat.com>
42673 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42675 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42677 2011-10-13 Roland McGrath <roland@hack.frob.com>
42680 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42682 2011-10-13 Andreas Schwab <schwab@redhat.com>
42684 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42685 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42688 * sysdeps/x86_64/memrchr.S: Check for zero size.
42690 * string/stratcliff.c: Add memrchr tests.
42692 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42694 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42695 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42696 rawmemchr-sse2 rawmemchr-sse2-bsf.
42697 * sysdeps/i386/i686/multiarch/memchr.S: New file.
42698 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42699 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42700 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42701 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42702 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42703 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42704 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42705 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42706 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42707 * string/memrchr.c (MEMRCHR): New macro.
42709 2011-10-12 Ulrich Drepper <drepper@gmail.com>
42711 Add integration with gcc's -ffinite-math-only and optimize wrapper
42713 * Versions.def: Define GLIBC_2.15 version for libm.
42714 * math/Makefile (headers): Add bits/math-finite.h.
42715 * math/bits/math-finite.h: New file.
42716 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42717 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42718 * math/e_acoshl.c: Add __*_finite alias.
42719 * math/e_acosl.c: Likewise.
42720 * math/e_asinl.c: Likewise.
42721 * math/e_atan2l.c: Likewise.
42722 * math/e_atanhl.c: Likewise.
42723 * math/e_coshl.c: Likewise.
42724 * math/e_exp10.c: Likewise.
42725 * math/e_exp10f.c: Likewise.
42726 * math/e_exp10l.c: Likewise.
42727 * math/e_exp2l.c: Likewise.
42728 * math/e_fmodl.c: Likewise.
42729 * math/e_gammal_r.c: Likewise.
42730 * math/e_hypotl.c: Likewise.
42731 * math/e_j0l.c: Likewise.
42732 * math/e_j1l.c: Likewise.
42733 * math/e_jnl.c: Likewise.
42734 * math/e_lgammal_r.c: Likewise.
42735 * math/e_log10l.c: Likewise.
42736 * math/e_log2l.c: Likewise.
42737 * math/e_logl.c: Likewise.
42738 * math/e_powl.c: Likewise.
42739 * math/e_sinhl.c: Likewise.
42740 * math/e_sqrtl.c: Likewise.
42741 * math/e_scalb.c: Completely rewritten and optimized.
42742 * math/e_scalbf.c: Likewise.
42743 * math/e_scalbl.c: Likewise.
42744 * math/w_acos.c: Likewise.
42745 * math/w_acosf.c: Likewise.
42746 * math/w_acosl.c: Likewise.
42747 * math/w_acosh.c: Likewise.
42748 * math/w_acoshf.c: Likewise.
42749 * math/w_acoshl.c: Likewise.
42750 * math/w_asin.c: Likewise.
42751 * math/w_asinf.c: Likewise.
42752 * math/w_asinl.c: Likewise.
42753 * math/w_atan2.c: Likewise.
42754 * math/w_atan2f.c: Likewise.
42755 * math/w_atan2l.c: Likewise.
42756 * math/w_atanh.c: Likewise.
42757 * math/w_atanhf.c: Likewise.
42758 * math/w_atanhl.c: Likewise.
42759 * math/w_exp10.c: Likewise.
42760 * math/w_exp10f.c: Likewise.
42761 * math/w_exp10l.c: Likewise.
42762 * math/w_fmod.c: Likewise.
42763 * math/w_fmodf.c: Likewise.
42764 * math/w_fmodl.c: Likewise.
42765 * math/w_j0.c: Likewise.
42766 * math/w_j0f.c: Likewise.
42767 * math/w_j0l.c: Likewise.
42768 * math/w_j1.c: Likewise.
42769 * math/w_j1f.c: Likewise.
42770 * math/w_j1l.c: Likewise.
42771 * math/w_jn.c: Likewise.
42772 * math/w_jnf.c: Likewise.
42773 * math/w_log.c: Likewise.
42774 * math/w_logf.c: Likewise.
42775 * math/w_logl.c: Likewise.
42776 * math/w_log10.c: Likewise.
42777 * math/w_log10f.c: Likewise.
42778 * math/w_log10l.c: Likewise.
42779 * math/w_log2.c: Likewise.
42780 * math/w_log2f.c: Likewise.
42781 * math/w_log2l.c: Likewise.
42782 * math/w_pow.c: Likewise.
42783 * math/w_powf.c: Likewise.
42784 * math/w_powl.c: Likewise.
42785 * math/w_remainder.c: Likewise.
42786 * math/w_remainderf.c: Likewise.
42787 * math/w_remainderl.c: Likewise.
42788 * math/w_scalb.c: Likewise.
42789 * math/w_scalbf.c: Likewise.
42790 * math/w_scalbl.c: Likewise.
42791 * math/w_sqrt.c: Likewise.
42792 * math/w_sqrtf.c: Likewise.
42793 * math/w_sqrtl.c: Likewise.
42794 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42795 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
42797 * math/math_private.h: Declare __kernel_standard_f.
42798 * math/w_cosh.c: Remove cruft and optimize a bit.
42799 * math/w_coshf.c: Likewise.
42800 * math/w_coshl.c: Likewise.
42801 * math/w_exp2.c: Likewise.
42802 * math/w_exp2f.c: Likewise.
42803 * math/w_exp2l.c: Likewise.
42804 * math/w_hypot.c: Likewise.
42805 * math/w_hypotf.c: Likewise.
42806 * math/w_hypotl.c: Likewise.
42807 * math/w_lgamma.c: Likewise.
42808 * math/w_lgamma_r.c: Likewise.
42809 * math/w_lgammaf.c: Likewise.
42810 * math/w_lgammaf_r.c: Likewise.
42811 * math/w_lgammal.c: Likewise.
42812 * math/w_lgammal_r.c: Likewise.
42813 * math/w_sinh.c: Likewise.
42814 * math/w_sinhf.c: Likewise.
42815 * math/w_sinhl.c: Likewise.
42816 * math/w_tgamma.c: Likewise.
42817 * math/w_tgammaf.c: Likewise.
42818 * math/w_tgammal.c: Likewise.
42819 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42820 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42821 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42822 Minor optimizations. Pretty printing. Remove cruft.
42823 * sysdeps/i386/fpu/e_acosf.S: Likewise.
42824 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42825 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42826 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42827 * sysdeps/i386/fpu/e_acosl.c: Likewise.
42828 * sysdeps/i386/fpu/e_asin.S: Likewise.
42829 * sysdeps/i386/fpu/e_asinf.S: Likewise.
42830 * sysdeps/i386/fpu/e_atan2.S: Likewise.
42831 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42832 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42833 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42834 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42835 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42836 * sysdeps/i386/fpu/e_exp10.S: Likewise.
42837 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42838 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42839 * sysdeps/i386/fpu/e_exp2.S: Likewise.
42840 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42841 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42842 * sysdeps/i386/fpu/e_fmod.S: Likewise.
42843 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42844 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42845 * sysdeps/i386/fpu/e_hypot.S: Likewise.
42846 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42847 * sysdeps/i386/fpu/e_log.S: Likewise.
42848 * sysdeps/i386/fpu/e_log10.S: Likewise.
42849 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42850 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42851 * sysdeps/i386/fpu/e_log2.S: Likewise.
42852 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42853 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42854 * sysdeps/i386/fpu/e_logf.S: Likewise.
42855 * sysdeps/i386/fpu/e_logl.S: Likewise.
42856 * sysdeps/i386/fpu/e_pow.S: Likewise.
42857 * sysdeps/i386/fpu/e_powf.S: Likewise.
42858 * sysdeps/i386/fpu/e_powl.S: Likewise.
42859 * sysdeps/i386/fpu/e_remainder.S: Likewise.
42860 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42861 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42862 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42863 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42864 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42865 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42866 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42867 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42868 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42869 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42870 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42871 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42872 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42873 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42874 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42875 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42876 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42877 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42878 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42879 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42880 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42881 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42882 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42883 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42884 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42885 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42886 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42887 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42888 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42889 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42890 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42891 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42892 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42893 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42894 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42895 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42896 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42897 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42898 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42899 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42900 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42901 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42902 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42903 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42904 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42905 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42906 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42907 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42908 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42909 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42910 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42911 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42912 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42913 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42914 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42915 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42916 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42917 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42918 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42919 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42920 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42921 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42922 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42923 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42924 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42925 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42926 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42927 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42928 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42929 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42930 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42931 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42932 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42933 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42934 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42935 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42936 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42937 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42938 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42939 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42940 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42941 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42942 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42943 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42944 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42945 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42946 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42947 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42948 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42949 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42950 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42951 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42952 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42953 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42954 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42955 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42956 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42957 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42958 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42959 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42960 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42961 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42962 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42963 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42964 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42965 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42966 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42967 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42968 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42969 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42970 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42971 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42972 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42973 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42974 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42975 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42976 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42977 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42978 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
42979 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42980 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42981 (__isnanf): Likewise.
42982 (__isinf_ns): Likewise.
42983 (__isinf_nsf): Likewise.
42984 (__finite): Likewise.
42985 (__finitef): Likewise.
42986 (__ieee754_sqrt): Define as macro.
42987 (__ieee754_sqrtf): Define as macro.
42988 (__ieee754_sqrtl): Define as macro.
42989 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42991 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42992 __FINITE_MATH_ONLY__ consistent.
42993 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42995 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
42997 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43000 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43002 2011-10-09 Ulrich Drepper <drepper@gmail.com>
43004 * po/ja.po: Update from translation team.
43006 2011-10-08 Roland McGrath <roland@hack.frob.com>
43008 * locale/programs/locarchive.c (prepare_address_space): New function.
43009 (create_archive, enlarge_archive, open_archive): Use it.
43011 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43012 inside [SHARED], where it is used.
43014 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43016 * nss/getent.c (netgroup_keys): Remove unused variable.
43017 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43019 2011-10-08 Ulrich Drepper <drepper@gmail.com>
43021 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43022 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43023 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43024 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43025 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43026 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43027 * math/Makefile (libm-calls): Add s_isinf_ns.
43028 * math/divtc3.c: Use __isinf_nsl instead of isinf.
43029 * math/multc3.c: Likewise.
43030 * math/s_casin.c: Likewise.
43031 * math/s_casinf.c: Likewise.
43032 * math/s_casinl.c: Likewise.
43033 * math/s_ccos.c: Likewise.
43034 * math/s_ccosf.c: Likewise.
43035 * math/s_ccosl.c: Likewise.
43036 * math/s_ctan.c: Likewise.
43037 * math/s_ctanf.c: Likewise.
43038 * math/s_ctanh.c: Likewise.
43039 * math/s_ctanhf.c: Likewise.
43040 * math/s_ctanhl.c: Likewise.
43041 * math/s_ctanl.c: Likewise.
43042 * math/w_fmod.c: Likewise.
43043 * math/w_fmodf.c: Likewise.
43044 * math/w_fmodl.c: Likewise.
43045 * math/w_remainder.c: Likewise.
43046 * math/w_remainderf.c: Likewise.
43047 * math/w_remainderl.c: Likewise.
43048 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43049 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43050 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43051 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43052 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43053 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43054 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43055 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43057 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43059 * stdio-common/printf_fphex.c: Likewise.
43060 * stdio-common/printf_size.c: Likewise.
43062 * math/e_exp10.c: Include math_private.h using <...> not "...".
43063 * math/e_exp10f.c: Likewise.
43064 * math/e_exp10l.c: Likewise.
43065 * math/e_exp2l.c: Likewise.
43066 * math/e_j0l.c: Likewise.
43067 * math/e_j1l.c: Likewise.
43068 * math/e_jnl.c: Likewise.
43069 * math/e_lgammal_r.c: Likewise.
43070 * math/e_rem_pio2l.c: Likewise.
43071 * math/e_scalb.c: Likewise.
43072 * math/e_scalbf.c: Likewise.
43073 * math/e_scalbl.c: Likewise.
43074 * math/k_cosl.c: Likewise.
43075 * math/k_sinl.c: Likewise.
43076 * math/k_tanl.c: Likewise.
43077 * math/s_cacoshf.c: Likewise.
43078 * math/s_catan.c: Likewise.
43079 * math/s_catanf.c: Likewise.
43080 * math/s_catanh.c: Likewise.
43081 * math/s_catanhf.c: Likewise.
43082 * math/s_catanhl.c: Likewise.
43083 * math/s_catanl.c: Likewise.
43084 * math/s_ccosh.c: Likewise.
43085 * math/s_ccoshf.c: Likewise.
43086 * math/s_ccoshl.c: Likewise.
43087 * math/s_cexp.c: Likewise.
43088 * math/s_cexpf.c: Likewise.
43089 * math/s_cexpl.c: Likewise.
43090 * math/s_clog.c: Likewise.
43091 * math/s_clog10.c: Likewise.
43092 * math/s_clog10f.c: Likewise.
43093 * math/s_clog10l.c: Likewise.
43094 * math/s_clogf.c: Likewise.
43095 * math/s_clogl.c: Likewise.
43096 * math/s_csin.c: Likewise.
43097 * math/s_csinf.c: Likewise.
43098 * math/s_csinh.c: Likewise.
43099 * math/s_csinhf.c: Likewise.
43100 * math/s_csinhl.c: Likewise.
43101 * math/s_csinl.c: Likewise.
43102 * math/s_csqrt.c: Likewise.
43103 * math/s_csqrtf.c: Likewise.
43104 * math/s_csqrtl.c: Likewise.
43105 * math/s_ctan.c: Likewise.
43106 * math/s_ctanf.c: Likewise.
43107 * math/s_ctanh.c: Likewise.
43108 * math/s_ctanhf.c: Likewise.
43109 * math/s_ctanhl.c: Likewise.
43110 * math/s_ctanl.c: Likewise.
43111 * math/s_ldexp.c: Likewise.
43112 * math/s_ldexpf.c: Likewise.
43113 * math/s_ldexpl.c: Likewise.
43114 * math/s_significand.c: Likewise.
43115 * math/s_significandf.c: Likewise.
43116 * math/s_significandl.c: Likewise.
43117 * math/w_acos.c: Likewise.
43118 * math/w_acosf.c: Likewise.
43119 * math/w_acosh.c: Likewise.
43120 * math/w_acoshf.c: Likewise.
43121 * math/w_acoshl.c: Likewise.
43122 * math/w_acosl.c: Likewise.
43123 * math/w_asin.c: Likewise.
43124 * math/w_asinf.c: Likewise.
43125 * math/w_asinl.c: Likewise.
43126 * math/w_atan2.c: Likewise.
43127 * math/w_atan2f.c: Likewise.
43128 * math/w_atan2l.c: Likewise.
43129 * math/w_atanh.c: Likewise.
43130 * math/w_atanhf.c: Likewise.
43131 * math/w_atanhl.c: Likewise.
43132 * math/w_cosh.c: Likewise.
43133 * math/w_coshf.c: Likewise.
43134 * math/w_coshl.c: Likewise.
43135 * math/w_dremf.c: Likewise.
43136 * math/w_exp10.c: Likewise.
43137 * math/w_exp10f.c: Likewise.
43138 * math/w_exp10l.c: Likewise.
43139 * math/w_exp2.c: Likewise.
43140 * math/w_exp2f.c: Likewise.
43141 * math/w_fmod.c: Likewise.
43142 * math/w_fmodf.c: Likewise.
43143 * math/w_fmodl.c: Likewise.
43144 * math/w_hypot.c: Likewise.
43145 * math/w_hypotf.c: Likewise.
43146 * math/w_hypotl.c: Likewise.
43147 * math/w_j0.c: Likewise.
43148 * math/w_j0f.c: Likewise.
43149 * math/w_j0l.c: Likewise.
43150 * math/w_j1.c: Likewise.
43151 * math/w_j1f.c: Likewise.
43152 * math/w_j1l.c: Likewise.
43153 * math/w_jn.c: Likewise.
43154 * math/w_jnf.c: Likewise.
43155 * math/w_jnl.c: Likewise.
43156 * math/w_lgamma.c: Likewise.
43157 * math/w_lgamma_r.c: Likewise.
43158 * math/w_lgammaf.c: Likewise.
43159 * math/w_lgammaf_r.c: Likewise.
43160 * math/w_lgammal.c: Likewise.
43161 * math/w_lgammal_r.c: Likewise.
43162 * math/w_log.c: Likewise.
43163 * math/w_log10.c: Likewise.
43164 * math/w_log10f.c: Likewise.
43165 * math/w_log10l.c: Likewise.
43166 * math/w_log2.c: Likewise.
43167 * math/w_log2f.c: Likewise.
43168 * math/w_log2l.c: Likewise.
43169 * math/w_logf.c: Likewise.
43170 * math/w_logl.c: Likewise.
43171 * math/w_pow.c: Likewise.
43172 * math/w_powf.c: Likewise.
43173 * math/w_powl.c: Likewise.
43174 * math/w_remainder.c: Likewise.
43175 * math/w_remainderf.c: Likewise.
43176 * math/w_remainderl.c: Likewise.
43177 * math/w_scalb.c: Likewise.
43178 * math/w_scalbf.c: Likewise.
43179 * math/w_scalbl.c: Likewise.
43180 * math/w_sinh.c: Likewise.
43181 * math/w_sinhf.c: Likewise.
43182 * math/w_sinhl.c: Likewise.
43183 * math/w_sqrt.c: Likewise.
43184 * math/w_sqrtf.c: Likewise.
43185 * math/w_sqrtl.c: Likewise.
43186 * math/w_tgamma.c: Likewise.
43187 * math/w_tgammaf.c: Likewise.
43188 * math/w_tgammal.c: Likewise.
43190 * po/ja.po: Update from translation team.
43192 2011-09-29 Andreas Jaeger <aj@suse.de>
43195 * sunrpc/netname.c (netname2host): Fix logic.
43199 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43201 * math/w_remainder.c (__remainder): Likewise.
43202 * math/w_remainderf.c (__remainderf): Likewise.
43203 * math/libm-test.inc (remainder_test): Add test cases.
43205 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43207 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
43210 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43212 * string/test-memcmp.c: Avoid unncessary #defines.
43213 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43215 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43217 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43218 Use new sse2 version for core i3 - i7 as it's faster
43219 than sse42 version.
43220 (bit_Prefer_PMINUB_for_stringop): New.
43221 * sysdeps/x86_64/rawmemchr.S: Update.
43222 Replace with faster SSE2 version.
43223 * sysdeps/x86_64/memrchr.S: New file.
43224 * sysdeps/x86_64/memchr.S: Update.
43225 Replace with faster SSE2 version.
43227 2011-09-12 Marek Polacek <mpolacek@redhat.com>
43229 * elf/dl-load.c (lose): Add cast to avoid warning.
43231 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43233 * po/ca.po: Update from translation team.
43235 * inet/getnetgrent_r.c: Hook up nscd.
43236 * nscd/Makefile (routines): Add nscd_netgroup.
43237 (nscd-modules): Add netgroupcache.
43238 (CFLAGS-netgroupcache.c): Define.
43239 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43240 (cache_search): Add const to second parameter.
43241 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43243 (dbs): Add netgrdb entry.
43244 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43245 (verify_persistent_db): Handle netgrdb.
43246 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43247 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43249 (netgroup_response_header): Define.
43250 (innetgroup_response_header): Define.
43251 (datahead): Add netgroup_response_header and innetgroup_response_header
43253 * nscd/nscd.conf: Add entries for netgroup cache.
43254 * nscd/nscd.h (dbtype): Add netgrdb.
43255 (_PATH_NSCD_NETGROUP_DB): Define.
43256 (netgroup_iov_disabled): Declare.
43257 (xmalloc, xcalloc, xrealloc): Move declarations here.
43258 (cache_search): Adjust prototype.
43259 Add netgroup-related prototypes.
43260 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43261 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43262 (__nscd_innetgr): Declare.
43263 * nscd/selinux.c (perms): Use access_vector_t as element type and
43264 add netgroup-related initializers.
43265 * nscd/netgroupcache.c: New file.
43266 * nscd/nscd_netgroup.c: New file.
43267 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43268 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43269 For four parameters use innetgr.
43270 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43271 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43272 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43273 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43275 * nscd/connections.c (register_traced_file): Don't register file
43276 for disabled databases.
43278 2011-10-06 Ulrich Drepper <drepper@gmail.com>
43280 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43282 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43283 from tree and freeing node.
43285 2011-09-25 Jiri Olsa <jolsa@redhat.com>
43287 * nss/nsswitch.c (__nss_database_lookup): Handle
43288 nss_parse_service_list out of memory case.
43290 2011-09-15 Jiri Olsa <jolsa@redhat.com>
43292 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43293 out of memory case.
43295 2011-10-04 Andreas Schwab <schwab@redhat.com>
43297 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43298 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43300 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43301 elf_machine_rela, elf_machine_lazy_rel.
43302 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43303 (ELF_DYNAMIC_DO_REL): Likewise.
43304 (ELF_DYNAMIC_DO_RELA): Likewise.
43305 (ELF_DYNAMIC_RELOCATE): Likewise.
43306 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43307 to ELF_DYNAMIC_DO_REL.
43308 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43309 (dl_main): In trace mode always set __RTLD_NOIFUNC.
43310 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43312 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43313 skip_ifunc, don't call ifunc function if non-zero.
43314 (elf_machine_rela): Likewise.
43315 (elf_machine_lazy_rel): Likewise.
43316 (elf_machine_lazy_rela): Likewise.
43317 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43318 (elf_machine_lazy_rel): Likewise.
43319 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43321 (elf_machine_lazy_rel): Likewise.
43322 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43324 (elf_machine_lazy_rel): Likewise.
43325 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43326 (elf_machine_lazy_rel): Likewise.
43327 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43328 (elf_machine_lazy_rel): Likewise.
43329 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43330 (elf_machine_lazy_rel): Likewise.
43331 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43332 (elf_machine_lazy_rel): Likewise.
43333 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43334 (elf_machine_lazy_rel): Likewise.
43335 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43336 (elf_machine_lazy_rel): Likewise.
43338 2011-09-28 Ulrich Drepper <drepper@gmail.com>
43340 * nss/nss_files/files-init.c (_nss_files_init): Use static
43341 initialization for all the *_traced_file variables.
43343 2011-09-28 Andreas Schwab <schwab@redhat.com>
43345 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43347 2011-09-27 Roland McGrath <roland@hack.frob.com>
43350 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43352 2011-09-27 Andreas Schwab <schwab@redhat.com>
43354 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43355 Reread the line before reparsing it.
43357 2011-09-26 Andreas Schwab <schwab@redhat.com>
43359 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43361 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
43362 Maxim Kuvyrkov <maxim@codesourcery.com>
43363 Joseph Myers <joseph@codesourcery.com>
43365 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43366 if needed for __stack_chk_guard.
43368 2011-09-19 Roland McGrath <roland@hack.frob.com>
43370 * sysdeps/posix/spawni.c (script_execute): Always define it.
43371 It will be optimized away if unused.
43372 (maybe_script_execute): New function.
43373 (__spawni): Call it.
43375 * Makerules: Don't include tls.make.
43376 (config-tls): Always set to thread.
43377 * tls.make.c: File removed.
43379 2011-09-19 Mike Frysinger <vapier@gentoo.org>
43381 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43382 * config.make.in (CPPFLAGS-config): New substituted variable.
43384 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43386 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43389 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43390 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43392 2011-09-15 Roland McGrath <roland@hack.frob.com>
43394 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43395 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43396 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43397 (CALL_FAIL): Likewise.
43398 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43399 (CALL_FAIL): Macro removed.
43400 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43402 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43404 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43405 for __FINITE_MATH_ONLY__ == 1.
43407 2011-09-15 Andreas Schwab <schwab@redhat.com>
43409 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43410 __ieee754_sqrt instead of sqrt.
43411 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43412 __ieee754_sqrtf instead of sqrtf.
43413 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43414 __floorf instead of floorf.
43415 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43416 __floorf, __truncf instead of floorf, truncf.
43418 2011-09-14 Ulrich Drepper <drepper@gmail.com>
43420 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43422 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43423 __extern_always_inline.
43424 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43427 2011-09-14 Andreas Schwab <schwab@redhat.com>
43429 * elf/rtld.c (dl_main): Also relocate in dependency order when
43430 doing symbol dependency testing.
43432 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
43434 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43435 Always define `refsym'.
43437 2011-09-13 Andreas Schwab <schwab@redhat.com>
43439 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43440 (__FD_ELT): Renamed from __FDELT.
43441 * misc/bits/select2.h (__FD_ELT): Likewise.
43442 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43443 __FD_MASK instead of __FDELT, __FDMASK.
43444 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43446 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43449 * elf/Makefile (gen-ldd): Fix pattern.
43451 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43452 (init_tls): Likewise.
43454 2011-09-12 Ulrich Drepper <drepper@gmail.com>
43456 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43458 2011-09-12 Andreas Schwab <schwab@redhat.com>
43460 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43461 `struct cmsghdr *' instead of `void *'.
43462 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43465 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
43467 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43469 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43470 ldd_rewrite_script.
43472 2011-09-11 Ulrich Drepper <drepper@gmail.com>
43474 * configure.in: Remove --with-tls option.
43475 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43476 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43477 out in case it is missing.
43478 * sysdeps/ia64/elf/configure.in: Likewise.
43479 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43480 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43481 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43482 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43483 * sysdeps/sh/elf/configure.in: Likewise.
43484 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43485 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43486 * sysdeps/x86_64/elf/configure.in: Likewise.
43487 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43488 * sysdeps/mach/hurd/tls.h: Likewise.
43491 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43494 * configure.in: Fix use of AC_INIT.
43496 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43498 2011-09-10 Ulrich Drepper <drepper@gmail.com>
43500 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43502 * malloc/hooks.c: Likewise.
43505 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
43506 variables statically.
43507 (narenas): Initialize.
43508 (list_lock): Initialize.
43509 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
43510 initializtion of main_arena and list_lock. Small cleanups.
43511 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43512 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
43513 Add initializers to main_arena and mp_.
43514 (malloc_state): Remove pagesize member. Change all users to use
43517 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43518 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
43519 is always initialized.
43521 * malloc/malloc.c: Removed unused configurations and dead code.
43522 * malloc/arena.c: Likewise.
43523 * malloc/hooks.c: Likewise.
43524 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43526 * include/tls.h: Removed. USE___THREAD must always be defined.
43527 * bits/libc-tsd.h: Don't handle !USE___THREAD.
43528 * elf/dl-libc.c: Likewise.
43529 * elf/dl-tsd.c: Likewise.
43530 * include/errno.h: Likewise.
43531 * include/netdb.h: Likewise.
43532 * include/resolv.h: Likewise.
43533 * inet/herrno-loc.c: Likewise.
43534 * inet/herrno.c: Likewise.
43535 * malloc/arena.c: Likewise.
43536 * malloc/hooks.c: Likewise.
43537 * malloc/malloc.c: Likewise.
43538 * resolv/res-state.c: Likewise.
43539 * resolv/res_libc.c: Likewise.
43540 * sysdeps/i386/dl-machine.h: Likewise.
43541 * sysdeps/ia64/dl-machine.h: Likewise.
43542 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43543 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43544 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43545 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43546 * sysdeps/sh/dl-machine.h: Likewise.
43547 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43548 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43549 * sysdeps/unix/i386/sysdep.S: Likewise.
43550 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43551 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43552 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43553 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43554 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43555 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43556 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43557 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43558 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43559 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43560 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43561 * sysdeps/x86_64/dl-machine.h: Likewise.
43562 * tls.make.c: Likewise.
43564 * configure.in: Remove --with-__thread option. Make tests for
43565 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43566 tls_model attribute fail if no support is available. Remove
43568 * Makeconfig: Adjust for dropped configure option. All features are
43570 * Makerules: Likewise.
43571 * Versions.def: Likewise.
43572 * argp/argp-fmtstream.c: Likewise.
43573 * argp/argp-fmtstream.h: Likewise.
43574 * argp/argp-help.c: Likewise.
43575 * assert/assert.c: Likewise.
43576 * config.h.in: Likewise.
43577 * config.make.in: Likewise.
43578 * configure: Likewise.
43579 * configure.in: Likewise.
43580 * csu/Versions: Likewise.
43581 * csu/init.c: Likewise.
43582 * elf/tst-audit2.c: Likewise.
43583 * elf/tst-tls10.c: Likewise.
43584 * elf/tst-tls10.h: Likewise.
43585 * elf/tst-tls11.c: Likewise.
43586 * elf/tst-tls12.c: Likewise.
43587 * elf/tst-tls14.c: Likewise.
43588 * elf/tst-tlsmod11.c: Likewise.
43589 * elf/tst-tlsmod12.c: Likewise.
43590 * elf/tst-tlsmod13.c: Likewise.
43591 * elf/tst-tlsmod13a.c: Likewise.
43592 * elf/tst-tlsmod14a.c: Likewise.
43593 * elf/tst-tlsmod15b.c: Likewise.
43594 * elf/tst-tlsmod16a.c: Likewise.
43595 * elf/tst-tlsmod16b.c: Likewise.
43596 * elf/tst-tlsmod7.c: Likewise.
43597 * elf/tst-tlsmod8.c: Likewise.
43598 * elf/tst-tlsmod9.c: Likewise.
43599 * gmon/gmon.c: Likewise.
43600 * grp/fgetgrent_r.c: Likewise.
43601 * grp/putgrent.c: Likewise.
43602 * hurd/fopenport.c: Likewise.
43603 * include/libc-symbols.h: Likewise.
43604 * include/tls.h: Likewise.
43605 * intl/gettextP.h: Likewise.
43606 * intl/loadinfo.h: Likewise.
43607 * locale/global-locale.c: Likewise.
43608 * locale/localeinfo.h: Likewise.
43609 * mach/devstream.c: Likewise.
43610 * malloc/arena.c: Likewise.
43611 * malloc/set-freeres.c: Likewise.
43612 * misc/err.c: Likewise.
43613 * misc/getttyent.c: Likewise.
43614 * misc/mntent_r.c: Likewise.
43615 * posix/getopt.c: Likewise.
43616 * posix/wordexp.c: Likewise.
43617 * pwd/fgetpwent_r.c: Likewise.
43618 * resolv/Versions: Likewise.
43619 * resolv/res_hconf.c: Likewise.
43620 * shadow/fgetspent_r.c: Likewise.
43621 * shadow/putspent.c: Likewise.
43622 * stdio-common/printf_fphex.c: Likewise.
43623 * stdio-common/tmpfile.c: Likewise.
43624 * stdlib/abort.c: Likewise.
43625 * stdlib/fmtmsg.c: Likewise.
43626 * sunrpc/auth_unix.c: Likewise.
43627 * sunrpc/clnt_perr.c: Likewise.
43628 * sunrpc/clnt_tcp.c: Likewise.
43629 * sunrpc/clnt_udp.c: Likewise.
43630 * sunrpc/clnt_unix.c: Likewise.
43631 * sunrpc/openchild.c: Likewise.
43632 * sunrpc/svc_simple.c: Likewise.
43633 * sunrpc/svc_tcp.c: Likewise.
43634 * sunrpc/svc_udp.c: Likewise.
43635 * sunrpc/svc_unix.c: Likewise.
43636 * sunrpc/xdr.c: Likewise.
43637 * sunrpc/xdr_array.c: Likewise.
43638 * sunrpc/xdr_rec.c: Likewise.
43639 * sunrpc/xdr_ref.c: Likewise.
43640 * sunrpc/xdr_stdio.c: Likewise.
43642 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43644 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43646 2011-07-03 Andreas Jaeger <aj@suse.de>
43648 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43649 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43650 regenerate with gen-libm-tests.pl.
43652 2010-05-12 Petr Baudis <pasky@suse.cz>
43655 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43656 around j0() zero points by switching to j1().
43657 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43658 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43659 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43660 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43662 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43664 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43666 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
43668 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43669 Patch in part by Pavel Roskin <proski@gnu.org>.
43672 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43674 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
43675 Free memory block if necessary.
43678 * libio/genops.c (INTDEF): For string streams the _lock pointer can
43679 be NULL. Don't lock in this case.
43681 2011-09-09 Roland McGrath <roland@hack.frob.com>
43683 * elf/elf.h (ELFOSABI_GNU): New macro.
43684 (ELFOSABI_LINUX): Define to that.
43686 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
43688 * string/strncat.c (strncat): Undef the symbol in case it has been
43689 defined in bits/string.h.
43691 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43693 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43695 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43698 2011-08-17 Andreas Jaeger <aj@suse.de>
43700 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43702 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
43703 Ian Lance Taylor <iant@google.com>
43705 * math/libm-test.inc (lround_test): New testcase.
43706 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43708 2011-09-08 Ulrich Drepper <drepper@gmail.com>
43710 * Makefile: Remove support for automatic cvs check-ins.
43711 * Makerules: Likewise.
43712 * config.make.in: Likewise.
43713 * configure.in: Likewise.
43714 * intl/Makefile: Likewise.
43715 * locale/Makefile: Likewise.
43716 * po/Makefile: Likewise.
43717 * posix/Makefile: Likewise.
43718 * sysdeps/gnu/Makefile: Likewise.
43719 * sysdeps/mach/hurd/Makefile: Likewise.
43720 * sysdeps/sparc/sparc32/Makefile: Likewise.
43723 * posix/Makefile (bug-regex32-ENV): Define.
43724 Patch by John Stanley <jpsinthemix@verizon.net>.
43726 * misc/Makefile (headers): Add bits/select2.h.
43727 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43728 * misc/bits/select2.h: New file.
43729 * include/bits/select2.h: New file.
43730 * debug/Makefile (routines): Add fdelt_chk.
43731 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43732 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43734 * debug/fdelt_chk.c: New file.
43736 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
43737 * wcsmbs/test-wmemcmp.c: Likewise.
43738 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43739 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43741 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43743 * string/Makefile (strop-tests): Add memcmp.
43744 * string/test-wmemcmp.c: New file.
43745 * string/test-memcmp.c: Add wmemcmp support.
43747 2011-09-08 Roland McGrath <roland@hack.frob.com>
43750 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43753 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43754 garbage value in a __mach_port_mod_refs call in the cases of the
43755 task-self and thread-self ports.
43757 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43759 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43761 2011-09-08 Andreas Schwab <schwab@redhat.com>
43763 * elf/dl-load.c (lose): Check for non-null L.
43765 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43767 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43769 * elf/dl-libc.c (dlerror_run): Pass back error code from
43773 * elf/dl-load.c (lose): Free l_origin if it is valid.
43775 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43777 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43778 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43779 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43780 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43781 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43782 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43784 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43786 * sysdeps/powerpc/fpu/e_hypot.c: New file.
43787 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43788 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43789 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43790 * sysdeps/powerpc/fpu/k_cosf.c: New file.
43791 * sysdeps/powerpc/fpu/k_sinf.c: New file.
43792 * sysdeps/powerpc/fpu/s_cosf.c: New file.
43793 * sysdeps/powerpc/fpu/s_sinf.c: New file.
43794 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43795 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43797 2011-08-15 Alan Modra <amodra@gmail.com>
43800 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43801 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43802 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
43803 ppc_mcount to static-only-routines.
43804 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43806 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43807 __mcount_internal with usual JUMPTARGET. Remove useless nop.
43809 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
43811 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43812 for finite and infinity parameters.
43814 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43816 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43817 and add nop instructions for throughput optimization.
43818 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43820 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
43822 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43823 aligned copy for power7 with vector-scalar instructions.
43824 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43826 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
43828 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43831 2011-09-07 Andreas Schwab <schwab@redhat.com>
43834 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43837 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43839 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43840 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43841 syscall wrapper around clock_gettime in __vdso_clock_gettime.
43842 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43845 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43847 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43848 Forgot to demangle the pointer.
43850 * sysdeps/i386/sysdep.h: Define atom_text_section.
43851 * sysdeps/x86_64/sysdep.h: Likewise.
43852 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43853 section with atom_text_section.
43854 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43855 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43856 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43857 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43858 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43860 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43861 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43862 already be defined. Change to take two parameters and don't assign
43863 result to variable. Adjust all users.
43864 Define INTERNAL_GETTIME if not already defined.
43865 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43867 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43868 HAVE_CLOCK_GETTIME_VSYSCALL.
43869 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43871 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43872 gettimeofday vsyscall, just use time.
43874 2011-09-06 Andreas Schwab <schwab@redhat.com>
43876 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43879 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43881 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43883 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43885 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43886 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43887 syscall if possible.
43889 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43891 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43892 e_ident. Don't pass to find_mapsXX.
43893 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43895 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43897 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43898 strchr-sse2-no-bsf strrchr-sse2-no-bsf
43899 * sysdeps/x86_64/multiarch/strchr.S: Update.
43900 Check bit_slow_BSF bit.
43901 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43902 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43903 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43905 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43908 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43910 (tryshell): Define.
43911 (__spawni): Change last parameter to be flag. Test
43912 SPAWN_XFLAGS_USE_PATH flag to use path or not.
43913 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43914 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43915 * posix/spawni.c: Likewise.
43916 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43917 * posix/spawnp.c: Likewise. Change normal version to use
43918 SPAWN_XFLAGS_USE_PATH.
43919 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43920 SPAWN_XFLAGS_TRY_SHELL.
43923 * posix/glob.h: Remove gcc 1.x support.
43926 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43928 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43930 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43931 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43933 * sysdeps/i386/i686/multiarch/strchr.S: New file.
43934 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43935 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43936 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43937 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43938 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43940 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43942 * sysdeps/x86_64/wcscmp.S: New file.
43944 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43945 wcscmp-c wcscmp-sse2
43946 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43947 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43948 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43949 * wcsmbs/wcscmp.c: Allow renaming.
43951 2011-09-05 David S. Miller <davem@davemloft.net>
43953 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43954 stack slot, rather than the struct return pointer slot.
43955 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43956 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43958 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43960 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43962 * po/ja.po: Update from translation team.
43965 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43966 kernel in 64-bit binaries.
43968 2011-09-01 David S. Miller <davem@davemloft.net>
43970 * elf/elf.h (HWCAP_SPARC_*): Move to..
43971 * sysdeps/sparc/sysdep.h: this new file and add new values.
43972 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43973 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43974 _DL_HWCAP_COUNT to 24.
43975 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43977 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43978 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43979 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43980 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43981 instead of magic constants.
43982 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43984 2011-08-31 David S. Miller <davem@davemloft.net>
43986 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43987 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43988 Reimplement to do errno handling inline.
43989 (SYSCALL_ERROR_HANDLER): New macro.
43990 (__SYSCALL_STRING): Do not do errno handling in asm.
43991 (__CLONE_SYSCALL_STRING): Delete.
43992 (__INTERNAL_SYSCALL_STRING): Delete.
43993 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43994 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43995 (PSEUDO): Reimplement to do errno handling inline.
43996 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
43997 (SYSCALL_ERROR_HANDLER): New macro.
43998 (__SYSCALL_STRING): Do not do errno handling in asm.
43999 (__CLONE_SYSCALL_STRING): Delete.
44000 (__INTERNAL_SYSCALL_STRING): Delete.
44001 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44002 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44004 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44005 (inline_syscall*): Add 'err' argument.
44006 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44007 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44008 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44009 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44011 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44012 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44014 2011-08-30 Andreas Schwab <schwab@redhat.com>
44016 * elf/rtld.c (dl_main): Relocate objects in dependency order.
44018 2011-08-29 Jiri Olsa <jolsa@redhat.com>
44020 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44023 2011-08-24 David S. Miller <davem@davemloft.net>
44025 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44027 2011-08-24 Andreas Schwab <schwab@redhat.com>
44029 * elf/Makefile: Add rules to build and run unload8 test.
44030 * elf/unload8.c: New file.
44031 * elf/unload8mod1.c: New file.
44032 * elf/unload8mod1x.c: New file.
44033 * elf/unload8mod2.c: New file.
44034 * elf/unload8mod3.c: New file.
44036 * elf/dl-close.c (_dl_close_worker): Reset private search list if
44039 2011-08-23 David S. Miller <davem@davemloft.net>
44041 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44042 subtract stack bias.
44043 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44044 %sp not %fp in calculations.
44045 (_JMPBUF_UNWINDS_ADJ): Likewise.
44047 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44048 (aio_suspend): Call it to force an exception region around the
44049 AIO_MISC_WAIT() invocation.
44051 2011-08-23 Andreas Schwab <schwab@redhat.com>
44053 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44056 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44058 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44060 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44061 and <dl-machine.h>.
44062 (Elf64_FuncDesc): Remove.
44064 2011-08-22 David S. Miller <davem@davemloft.net>
44066 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44067 sigaltstack check, add missing cfi directives.
44068 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44069 missing cfi directives, and sigaltstack handling.
44071 2011-08-16 Andreas Schwab <schwab@redhat.com>
44074 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44075 object is seen twice.
44076 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44078 * elf/Makefile (distribute): Add tst-initorder2.c.
44079 (tests): Add tst-initorder2.
44080 (modules-names): Add tst-initorder2a tst-initorder2b
44081 tst-initorder2c tst-initorder2d. Add rules to build them.
44082 ($(objpfx)tst-initorder2.out): New rule.
44083 * elf/tst-initorder2.c: New file.
44084 * elf/tst-initorder2.exp: New file.
44086 2011-08-22 Andreas Schwab <schwab@redhat.com>
44088 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44090 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44091 dependencies back to end of function.
44093 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44094 $(elfobjdir)/ld.so.
44096 2011-08-21 Ulrich Drepper <drepper@gmail.com>
44098 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44099 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44100 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44101 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44102 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44103 of __vdso_gettimeofday.
44104 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44105 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
44107 (_libc_vdso_platform_setup): Remove initialization of
44108 __vdso_gettimeofday and __vdso_time.
44110 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44112 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44113 and fgetc_unlocked.
44114 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44117 * elf/dl-open.c (add_to_global): Report additions to the global scope
44118 for LD_DEBUG=scopes.
44119 (dl_open_worker): Also print scope of newly loaded dependencies.
44120 (_dl_show_scope): Indicate if there is no scope.
44123 * stdio-common/Makefile (tests): Add bug24.
44124 * stdio-common/bug24.c: New file.
44126 2011-08-19 Andreas Jaeger <aj@suse.de>
44129 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44130 non-existant file when using close-on-exec mode.
44132 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44134 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44135 the very first instruction.
44137 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44138 the CFI state in the end.
44139 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44140 inclusion of dl-trampoline.h.
44141 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44143 2011-08-19 Andreas Schwab <schwab@redhat.com>
44145 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44146 expectations for long double.
44148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44149 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44151 2011-08-14 David S. Miller <davem@davemloft.net>
44153 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44154 artificual limit depends upon the system page size.
44156 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44158 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44159 * resolv/Makefile: Define CFLAGS-libresolv.
44161 2011-08-17 Andreas Schwab <schwab@redhat.com>
44163 * nss/makedb.c (compute_tables): Make variables used in nested
44166 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44168 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44169 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44170 if buffer was too small.
44172 * elf/pldd.c (main): Attach to all threads in the process.
44173 Rewrite /proc handling to use *at functions.
44175 2011-08-16 Ulrich Drepper <drepper@gmail.com>
44177 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44178 specifies first scope to show.
44179 (dl_open_worker): Update callers. Move printing scope of new
44180 object to before the relocation.
44181 * elf/rtld.c (dl_main): Update _dl_show_scope call.
44182 * sysdeps/generic/ldsodefs.h: Update declaration.
44184 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44185 string for the scope number.
44187 2011-08-14 Ulrich Drepper <drepper@gmail.com>
44189 * nscd/servicescache.c (cache_addserv): Make sure written is always
44192 2011-08-14 Roland McGrath <roland@hack.frob.com>
44194 * sysdeps/i386/i486/bits/atomic.h
44195 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44196 statement expression, so as to suppress "set but not used" warning.
44197 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44199 * string/strncat.c (STRNCAT): Use prototype definition.
44201 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44202 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44204 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44205 (localedef-modules): Add localedef.
44206 (locale-modules): Add locale.
44208 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44209 * elf/rtld.c (dl_main): Invert order of assignment in last change,
44210 to avoid a warning.
44212 2011-08-14 David S. Miller <davem@davemloft.net>
44214 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44215 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44217 2011-08-13 Ulrich Drepper <drepper@gmail.com>
44219 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44220 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44221 * elf/rtld.c (dl_main): Set l_name of vDSO.
44222 Call _dl_show_scope when DL_DEBUG_SCOPES.
44223 (process_dl_debug): Recognize scopes flag and also set it for all.
44224 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44225 Declare _dl_show_scope.
44227 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44228 (do_dlopen): Pass caller_dlopen to dl_open.
44229 (__libc_dlopen_mode): Initialize caller_dlopen.
44231 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44232 of libc. Make tolower call locale-independent. Optimize a bit by
44233 using isdigit instead of isalnum.
44234 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44236 2011-08-12 Ulrich Drepper <drepper@gmail.com>
44238 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44239 was a dependency or dynamically loaded.
44241 2011-08-11 Ulrich Drepper <drepper@gmail.com>
44243 * intl/l10nflist.c: Allow architecture-specific pop function.
44244 * sysdeps/x86_64/l10nflist.c: New file.
44246 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44249 2011-08-10 Andreas Schwab <schwab@redhat.com>
44251 * include/dirent.h: Add libc_hidden_proto for scandirat and
44252 scandirat64. Don't declare __scandirat64.
44253 * dirent/scandirat.c: Add libc_hidden_def.
44254 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44255 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44257 2011-08-10 David S. Miller <davem@davemloft.net>
44259 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44261 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44262 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44263 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44265 2011-08-09 Ulrich Drepper <drepper@gmail.com>
44267 * Versions.def [libc]: Add GLIBC_2.15.
44268 * dirent/Makefile (routines): Add scandirat and scandirat64.
44269 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44271 * dirent/dirent.h: Declare scandirat and scandirat64.
44272 * dirent/scandirat.c: New file.
44273 * dirent/scandirat64.c: New file.
44274 * sysdeps/wordsize-64/scandirat.c: New file.
44275 * sysdeps/wordsize-64/scandirat64.c: New file.
44276 * dirent/opendir.c: Define opendirat.
44277 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44279 * dirent/scandir64.c: Adjust for scandir.c change.
44280 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44281 __scandirat64, and __scandir_cancel_handler.
44282 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44283 additional parameter and use openat instead of open (outside of ld.so).
44284 Add new __opendir as wrapper around __opendirat.
44285 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44286 here without requiring old scandirat implementation.
44288 2011-08-08 Ulrich Drepper <drepper@gmail.com>
44290 * dirent/scandir.c (cancel_handler): Renamed to
44291 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44292 defined. Adjust users.
44293 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44294 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44296 2011-08-04 Ulrich Drepper <drepper@gmail.com>
44298 * string/test-string.h (IMPL): Use __STRING to expand name and then
44301 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44304 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44306 * string/Makefile: Update.
44307 (strop-tests): Append strncat.
44308 * string/test-wcscmp.c: New file.
44309 New comprehensive test for wcscmp.
44310 * string/test-strcmp.c: Update.
44311 (WIDE): New define.
44313 2011-07-22 Andreas Schwab <schwab@redhat.com>
44315 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44318 2011-07-26 Andreas Schwab <schwab@redhat.com>
44320 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44321 encoding to ACE if AI_IDN.
44323 2011-08-01 Jakub Jelinek <jakub@redhat.com>
44325 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44326 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44328 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44330 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44331 Fix overflow bug in strncat.
44332 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44334 * string/test-strncat.c: Update.
44335 Add new tests for checking overflow bugs.
44337 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44339 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44340 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44341 * sysdeps/i386/i686/multiarch/strcat.S: New file.
44342 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44343 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44344 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44345 * sysdeps/i386/i686/multiarch/strncat.S: New file.
44346 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44347 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44349 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44350 (USE_AS_STRCAT): Define.
44351 Add strcat and strncat support.
44352 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44354 2011-07-25 Andreas Schwab <schwab@redhat.com>
44356 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44357 __n bigger than INT_MAX+1.
44358 (__strncmp_g): Likewise.
44360 2011-07-23 Ulrich Drepper <drepper@gmail.com>
44362 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44363 * libio/stido.h: Likewise.
44365 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44367 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44370 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44371 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44372 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44373 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44374 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44377 * scripts/test-installation.pl: Don't expect libnss_test1 to be
44380 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44382 (_dl_x86_64_save_sse): Likewise.
44384 2011-07-22 Ulrich Drepper <drepper@gmail.com>
44386 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44388 (_dl_x86_64_save_sse): Likewise.
44390 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44392 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44394 2011-07-21 Andreas Schwab <schwab@redhat.com>
44396 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44398 (_dl_x86_64_save_sse): Use correct AVX check.
44400 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44402 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44403 bug in strncpy/strncat.
44404 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44406 2011-07-21 Ulrich Drepper <drepper@gmail.com>
44408 * string/tester.c (test_strcat): Add tests for different alignments
44409 of source and destination.
44410 (test_strncat): Likewise.
44412 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44415 * posix/glob.c (glob): Check passed in values before using them in
44416 expressions to avoid some overflows.
44417 (glob_in_dir): Likewise.
44420 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44421 check for AVX enablement so that we don't crash with old kernels and
44423 * elf/tst-audit4.c: Add same checks here.
44424 * elf/tst-audit6.c: Likewise.
44426 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44428 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
44430 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44432 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44434 * po/cs.po: Update from translation team.
44435 * po/bg.po: Likewise.
44437 2011-07-12 Marek Polacek <mpolacek@redhat.com>
44439 * misc/sys/cdefs.h: Add support for const attribute.
44440 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44441 to gnu_dev_{major,minor,makedev} functions.
44443 2011-07-20 Marek Polacek <mpolacek@redhat.com>
44445 * intl/dcigettext.c (get_output_charset): Add missing bracket.
44447 2011-07-20 Andreas Schwab <schwab@redhat.com>
44449 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44452 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44454 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44455 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44456 register in order to avoid conflicts with the soft frame pointer
44457 being held in r11 when necessary.
44458 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44459 (INTERNAL_VSYSCALL_NCS): Likewise.
44461 2011-07-14 Marek Polacek <mpolacek@redhat.com>
44463 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44464 * elf/dl-fini.c (_dl_fini): Adjust caller.
44465 * elf/dl-close.c (_dl_close_worker): Likewise.
44466 * sysdeps/generic/ldsodefs.h: Adjust declaration.
44468 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44470 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44471 "aux_cache->nlibs < 0".
44473 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44474 in the reload-count case.
44476 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44478 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44479 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44480 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44481 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44482 * sysdeps/x86_64/multiarch/strcat.S: New file.
44483 * sysdeps/x86_64/multiarch/strncat.S: New file.
44484 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44485 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44486 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44487 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44488 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44489 (USE_AS_STRCAT): Define.
44490 Add strcat and strncat support.
44491 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44492 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44493 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44494 * string/strncat.c: Update.
44495 (USE_AS_STRNCAT): Define.
44496 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44497 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44499 * sysdeps/x86_64/multiarch/init-arch.h
44500 (bit_Prefer_PMINUB_for_stringop): New.
44501 (index_Prefer_PMINUB_for_stringop): Likewise.
44502 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44503 bit_Prefer_PMINUB_for_stringop.
44505 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44507 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44509 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44510 of casting of buffer.
44511 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44512 buffer32 and buffer64.
44513 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44514 writes instead of casting of buffer.
44515 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44517 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44520 2011-07-19 Andreas Schwab <schwab@redhat.com>
44522 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44524 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44526 * nscd/nscd.c (termination_handler): Don't do anything for a database
44527 if it has not yet been initialized.
44529 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44531 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44533 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44535 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44537 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44539 * po/nl.po: Update from translation team.
44540 * po/sv.po: Likewise.
44542 2011-07-16 Roland McGrath <roland@hack.frob.com>
44544 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44545 now disallowed by GCC.
44547 * configure.in (use-default-link): Default to yes if a test -shared
44548 link meets our qualifications.
44549 * configure: Regenerated.
44551 * config.make.in (output-format): New variable.
44552 * configure.in: Check for ld --print-output-format support.
44553 * configure: Regenerated.
44554 * Makerules ($(common-objpfx)format.lds)
44555 [$(output-format) != unknown]: Just use $(output-format),
44556 instead of the linker-script munging.
44558 2011-07-14 Roland McGrath <roland@hack.frob.com>
44560 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44561 of $(common-objpfx)shlib.lds.
44562 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44564 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44565 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44567 * configure.in (-z relro check): Adjust test code to add a large
44568 writable data section after it.
44569 * configure: Regenerated.
44571 2011-07-11 Roland McGrath <roland@hack.frob.com>
44573 * configure.in (-z relro check): Fix test code to make the variable
44575 * configure: Regenerated.
44577 2011-07-11 Ulrich Drepper <drepper@gmail.com>
44579 * nscd/nscd.h (struct traced_file): Define.
44580 (struct database_dyn): Remove inotify_descr, reset_res, and filename
44581 elements. Add traced_files.
44582 (inotify_fd): Declare.
44583 (register_traced_file): Declare.
44584 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44585 (inotify_fd): Export.
44586 (resolv_conf_descr): Remove.
44587 (nscd_init): Move inotify descriptor creation to main.
44588 Don't register files for notification here.
44589 (register_traced_file): New function.
44590 (invalidate_cache): Don't use reset_res to determine whether to call
44591 res_init, go through the list of registered files.
44592 (main_loop_poll): The inotify descriptors are now stored in the
44593 structures for the traced files.
44594 (main_loop_epoll): Likewise
44595 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
44596 to __nss_disable_nscd.
44597 * nscd/cache.c (prune_cache): There is no single inotify descriptor
44598 for a database anymore. Check the records for all the registered
44600 * nss/Makefile (libnss_files-routines): Add files-init.
44601 (libnss_db-routines): Add db-init.
44602 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44603 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44604 * nss/nss_db/db-init.c: New file.
44605 * nss/nss_files/files-init.c: New file.
44606 * nss/nsswitch.c (nss_load_library): New function. Broken out of
44607 __nss_lookup_function.
44608 (__nss_lookup_function): Call nss_load_library.
44609 (nss_load_all_libraries): New function.
44610 (__nss_disable_nscd): Take parameter with callback function for files
44611 to register. Set is_nscd. Load all the DSOs for the NSS modules
44612 used for the cached services.
44613 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44614 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44615 options for features to all the files in nscd.
44617 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44619 2011-07-10 Roland McGrath <roland@hack.frob.com>
44621 * csu/elf-init.c (__libc_csu_init): Comment typo.
44623 2011-07-09 Ulrich Drepper <drepper@gmail.com>
44625 * po/pl.po: Update from translation team.
44626 * po/ja.po: Likewise.
44627 * po/ru.po: Likewise.
44628 * po/ko.po: Likewise.
44629 * po/fr.po: Likewise.
44631 2011-07-09 Roland McGrath <roland@hack.frob.com>
44633 * configure.in (.ctors/.dtors header and trailer check):
44634 Use an empirical test on a built program.
44635 * configure: Regenerated.
44637 * configure.in (-z relro check): Use an empirical test on a built DSO.
44638 Detect, but do not require, on ia64.
44639 * configure: Regenerated.
44641 * configure.in (READELF): Find it with AC_CHECK_TOOL.
44642 Update tests that use readelf to use $READELF instead.
44643 * configure: Regenerated.
44645 2011-07-08 Ulrich Drepper <drepper@gmail.com>
44647 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44648 if the result is not used.
44650 2011-07-05 Andreas Jaeger <aj@suse.de>
44653 * stdlib/tst-strtod.c: Add testcase.
44655 2011-07-07 Ulrich Drepper <drepper@gmail.com>
44657 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44658 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
44659 The latter has a higher limit. Take additional parameter to pass to
44661 (__pathconf): Pass file to __statfs_link_max.
44662 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44664 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44668 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44669 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44671 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44672 (__statfs_filesize_max): Likewise.
44673 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44675 2011-07-05 Andreas Jaeger <aj@suse.de>
44677 * resolv/res_comp.c (dn_skipname): Remove unused variable.
44679 2011-07-06 Marek Polacek <mpolacek@redhat.com>
44681 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44683 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44686 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
44688 * Makefile (strop-tests): Add strncat.
44689 * string/test-strncat.c: New file.
44691 2011-06-30 Marek Polacek <mpolacek@redhat.com>
44693 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44695 2011-06-21 Andreas Jaeger <aj@suse.de>
44697 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44698 Copy rule from iconvdata/Makefile.
44700 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44703 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44704 but no long options are defined, just return 'W'.
44706 2011-06-22 Marek Polacek <mpolacek@redhat.com>
44709 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44711 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44713 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44715 (innetgr): Likewise.
44717 2011-07-05 Roland McGrath <roland@hack.frob.com>
44719 * config.make.in (install_root): Default to $(DESTDIR).
44721 2011-07-05 Ulrich Drepper <drepper@gmail.com>
44723 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44725 2011-07-02 Roland McGrath <roland@hack.frob.com>
44727 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44729 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44730 containing directory rather than embedding absolute directory names.
44732 * scripts/check-local-headers.sh: Rewritten using awk.
44733 Match by word, not by line. Print error messages for matches.
44734 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44736 * Makerules [shlib-lds-flags empty]:
44737 ($(common-objpfx)libc_pic.opts): New target.
44738 ($(common-objpfx)libc_pic.os.clean): New target.
44739 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44741 * config.make.in (OBJCOPY): New variable.
44742 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44743 * configure: Regenerated.
44745 * config.make.in (use-default-link): New variable.
44746 * configure.in (use_default_link): Grok --with-default-link to set it.
44747 * configure: Regenerated.
44748 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44749 (shlib-lds, shlib-lds-flags): Define to empty.
44751 * Makerules (shlib-lds): New variable.
44752 (shlib-lds-flags): New variable.
44753 (build-shlib, build-moduile, build-module-asneeded): Use it.
44754 ($(common-objpfx)libc.so): Use $(shlib-lds).
44755 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44756 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44758 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44759 DT_FLAGS/DT_FLAGS_1 with zero flags.
44761 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44762 linker script munging.
44764 2011-07-02 Ulrich Drepper <drepper@gmail.com>
44766 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44768 * crypt/sha512.c (sha512_process_block): Perform total addition using
44769 128-bit if possible.
44770 (__sha512_finish_ctx): Likewise.
44771 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44773 * crypt/sha256.c (SWAP64): Define.
44774 (sha256_process_block): Perform total addition using 64-bit if
44776 (__sha256_finish_ctx): Likewise.
44778 2011-07-01 Ulrich Drepper <drepper@gmail.com>
44780 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
44781 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44782 * nscd/hstcache.c (cache_addhst): Likewise.
44783 * nscd/grpcache.c (cache_addgr): Likewise.
44784 * nscd/aicache.c (addhstaiX): Likewise
44785 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44787 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
44789 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44790 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44791 * nscd/hstcache.c (cache_addhst): Likewise.
44792 * nscd/grpcache.c (cache_addgr): Likewise.
44793 * nscd/aicache.c (addhstaiX): Likewise
44795 2011-07-01 Andreas Schwab <schwab@redhat.com>
44797 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44798 domain only when needed.
44800 2011-06-30 Andreas Schwab <schwab@redhat.com>
44802 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44803 is always restored.
44805 2011-06-29 Ulrich Drepper <drepper@gmail.com>
44807 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44808 are re-adding the entry.
44809 * nscd/servicescache.c (cache_addserv): Likewise.
44811 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
44813 * sysdeps/generic/dl-irel.h: fix protection against multiple
44815 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44817 2011-06-28 Ulrich Drepper <drepper@gmail.com>
44820 * malloc/memusage.sh: Fix quoting in message.
44821 * debug/xtrace.sh: Likewise.
44823 * configure.in: Remove support for --experimental-malloc option, make
44825 * config.make.in: Likewise.
44826 * malloc/Makefile: Likewise.
44828 2011-06-27 Andreas Schwab <schwab@redhat.com>
44830 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44831 two-byte characters.
44833 2011-06-27 Roland McGrath <roland@hack.frob.com>
44835 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44836 AC_CACHE_CHECK invocation.
44837 * configure: Regenerated.
44839 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44841 2011-06-27 Ulrich Drepper <drepper@gmail.com>
44844 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
44845 bit from old_res_options.
44847 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44849 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44850 value type for setfct.
44852 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
44854 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44855 __gettimeofday instead of gettimeofday.
44857 2011-06-26 Ulrich Drepper <drepper@gmail.com>
44859 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44861 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
44863 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44865 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44868 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44870 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44871 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44872 strcpy-sse2-unaligned strncpy-sse2-unaligned
44873 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44874 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44875 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44876 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44877 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44878 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44879 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44880 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44881 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44882 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44883 (STRCPY): Support SSE2 and SSSE3 versions.
44885 2011-06-24 Ulrich Drepper <drepper@gmail.com>
44888 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44889 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44890 kernels which artificially limit size of requests.
44892 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44894 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44895 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44896 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44897 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44898 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44899 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44900 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44901 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44902 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44903 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44904 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44905 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44906 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44907 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44908 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44909 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44910 Enable unaligned load optimization for Intel Core i3, i5 and i7
44912 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44914 (index_Fast_Unaligned_Load): Define.
44915 (HAS_FAST_UNALIGNED_LOAD): Define.
44917 2011-06-23 Marek Polacek <mpolacek@redhat.com>
44919 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44921 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44924 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44925 until it is clear that the information is realy needed.
44926 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44928 2011-06-22 Andreas Schwab <schwab@redhat.com>
44930 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44932 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44934 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44935 /sys/devices/system/cpu/online if it is usable.
44937 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44938 reading the information from the /proc filesystem to once a second.
44940 2011-06-21 Andreas Jaeger <aj@suse.de>
44942 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44943 NULL after inclusion of kernel headers.
44945 2011-06-21 Ulrich Drepper <drepper@gmail.com>
44947 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44948 calls to internal_setent.
44951 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44952 addresses using gethostbyname4_r ignore IPv4 addresses.
44954 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44955 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
44957 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44959 2011-06-20 David S. Miller <davem@davemloft.net>
44961 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44963 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44965 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44966 (elf_irel): Use it.
44967 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44968 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44969 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44970 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44971 * sysdeps/x86_64/dl-irel.h: Likewise.
44973 * elf/dl-runtime.c: Use elf_ifunc_invoke.
44974 * elf/dl-sym.c: Likewise.
44976 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44978 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
44979 need to dereference resplen2.
44981 2011-06-14 Andreas Schwab <schwab@redhat.com>
44983 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44985 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44987 * Makeconfig: Define vardbdir and inst_vardbdir.
44988 * nss/Makefile: Add rules to install db-Makefile.
44990 * nss/nss_db/db-XXX.c: Cleanup.
44992 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44993 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44995 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44996 * nss/makedb.c: Implement -g option to specify that value strings
44997 are generated and should not be added to table iterated over for
44999 * nss/nss_db/db-initgroups.c: New file.
45001 * nss/getent.c: Add support for initgroups lookups through getgrouplist
45004 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45005 (internal_getgrouplist): Adjust to name change.
45006 Update use_initgroups_entry if this is not the first call.
45007 * nss/databases.def: Add initgroups entry.
45009 * nss/makedb.c (compute_tables): Check result of multiple hash table
45010 sizes to minimize maximum chain length.
45012 2011-06-14 Ulrich Drepper <drepper@gmail.com>
45014 * Versions.def: Add entry for libnss_db.
45015 * shlib-versions: Likewise.
45016 * nss/Makefile: Add rules to build libnss_db.
45017 * nss/Versions: Add libnss_db information. Organize libnss_files
45019 * nss/db-Makefile: Add gshadow support. Change rules for the new
45020 makedb progra. Some minor improvements to generate smaller files.
45021 * nss/nss_db/nss_db.h: Move NSS database header data structures to
45023 * nss/makedb.c: ...here.
45024 Improve database format to be smaller and require less memory at
45026 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
45028 * nss/nss_db/db-netgrp.c: Likewise.
45029 * nss/nss_db/db-open.c: Likewise.
45030 * nss/nss_files/flies-XXX.x: Adjust comments.
45031 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45032 * nss/nss_files/files-grp.c: Likewise.
45033 * nss/nss_files/files-hosts.c: Likewise.
45034 * nss/nss_files/files-network.c: Likewise.
45035 * nss/nss_files/files-proto.c: Likewise.
45036 * nss/nss_files/files-pwd.c: Likewise.
45037 * nss/nss_files/files-rpc.c: Likewise.
45038 * nss/nss_files/files-service.c: Likewise.
45039 * nss/nss_files/files-sgrp.c: Likewise.
45040 * nss/nss_files/files-spwd.c: Likewise.
45041 * nss/nss_db/db-alias.c: Removed.
45042 * nss/nss_db/dummy-db.h: Removed.
45044 2011-06-02 Ulrich Drepper <drepper@gmail.com>
45046 * nss/makedb.c: Rewritten to not use database library.
45047 * nss/Makefile: Update to build new makedb program.
45049 2011-06-14 Andreas Jaeger <aj@suse.de>
45051 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45052 memset declaration.
45054 2011-06-10 Andreas Schwab <schwab@redhat.com>
45056 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45059 2011-06-10 Roland McGrath <roland@hack.frob.com>
45061 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45062 * elf/Makefile ($(objpfx)ld.so): Likewise.
45064 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45065 Don't list ld.so twice in dependencies.
45067 * posix/bug-regex31.c: Include <stdlib.h>.
45069 * nscd/hstcache.c (cache_addhst): Remove unused variable.
45071 * nis/nss_compat/compat-spwd.c
45072 (getspent_next_nss_netgr): Remove unused variable.
45073 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45075 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45076 nonmembers" output to use the right array.
45078 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45080 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45082 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45083 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45084 * catgets/gencat.c (read_input_file): Likewise.
45085 * locale/programs/locarchive.c (enlarge_archive): Likewise.
45087 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45088 variable definition inside #if's controlling its use.
45090 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45092 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45094 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45096 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45099 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45101 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45102 * configure: Regenerated.
45104 * Makerules: Revert last change.
45105 * elf/Makefile: Likewise.
45107 2011-06-09 Roland McGrath <roland@hack.frob.com>
45109 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45110 * elf/Makefile ($(objpfx)librtld.os): Likewise.
45111 (reloc-link): Likewise.
45113 2011-06-09 Ulrich Drepper <drepper@gmail.com>
45115 * elf/Makefile: Add rules to build pldd.
45116 * elf/pldd.c: New file.
45117 * elf/pldd-xx.c: New file.
45119 2011-06-07 Ulrich Drepper <drepper@gmail.com>
45121 * version.h: Update for 2.15 development version.
45123 2011-06-07 David S. Miller <davem@davemloft.net>
45125 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45127 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45128 elf_machine_lazy_rel): Likewise.
45129 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45130 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45131 elf_machine_lazy_rel): Likewise.
45132 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45133 dl_hwcap via passed in argument.
45134 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45137 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45139 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
45141 2011-06-06 Roland McGrath <roland@hack.frob.com>
45144 * manual/fdl-1.1.texi: New file, verbatim from:
45145 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45146 * manual/lgpl-2.1.texi: New file, verbatim from:
45147 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45148 * manual/Makefile (licenses): New variable, list those new file names.
45150 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45152 * manual/fdl.texi: File removed.
45153 * manual/lesser.texi: File removed.
45154 * manual/libc.texinfo (Copying, Documentation License):
45155 Use new @include file names, put @appendix directive before @include.
45157 2011-06-04 Jakub Jelinek <jakub@redhat.com>
45160 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45161 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45162 (mq_open): Add __NTH.
45164 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
45166 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45167 Assume Intel Core i3/i5/i7 processor if AVX is available.
45169 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45171 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45174 2011-05-31 Andreas Schwab <schwab@redhat.com>
45176 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45177 memory. Use alloca_account. Fix memory leak when retrying.
45179 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45181 * version.h (RELEASE): Bump for 2.14 release.
45182 * include/features.h (__GLIBC_MINOR__): Bump to 14.
45184 * config.make.in (RANLIB): Remove entry.
45186 2011-05-30 Ulrich Drepper <drepper@gmail.com>
45188 * po/Makefile (po-sed-cmd): Add ksh to extensions.
45189 (libc.pot): Work around missing support for .ksh extension in xgettext.
45192 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45193 if both request failed.
45194 (send_dg): In case of server errors clear resplen or *resplen2.
45197 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45198 when there are multiple maps.
45199 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45200 (_dl_fini): Remove test here.
45202 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45204 2011-05-29 Ulrich Drepper <drepper@gmail.com>
45207 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45208 bit from old_res_options.
45209 (gaih_inet): Likewise.
45212 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45215 * resolv/res_init.c (res_setoptions): Make the code more compact.
45218 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45222 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45224 * malloc/malloc.h: Mark malloc hook variables as deprecated.
45227 * malloc/malloc.h: Declare malloc hook variables as volatile.
45229 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45233 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45234 raise in the comment.
45235 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45236 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45237 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45239 2011-05-28 Ulrich Drepper <drepper@gmail.com>
45242 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45243 grow the buffers more if it already has to be sufficient.
45244 (build_wcs_upper_buffer): Likewise.
45245 * posix/regexec.c (check_matching): Likewise.
45246 (clean_state_log_if_needed): Likewise.
45247 (extend_buffers): Don't enlarge buffers beyond size of the input
45249 Patches mostly by Emil Wojak <emil@wojak.eu>.
45250 * posix/bug-regex32.c: New file.
45251 * posix/Makefile (tests): Add bug-regex32.
45253 * locale/findlocale.c (_nl_find_locale): Return right away if
45254 _nl_explode_name failed.
45255 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45257 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45259 * debug/xtrace.sh: Unify messages.
45260 * malloc/memusage.sh: Likewise.
45263 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45264 time symbol from vDSO. Substitute with vsyscall if not available.
45265 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45268 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45269 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45270 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45271 Add sendmmsg and internal_sendmmsg.
45272 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45273 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45274 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45276 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45277 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45278 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45280 2011-05-27 Ulrich Drepper <drepper@gmail.com>
45283 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45284 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45286 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45290 * iconvdata/Makefile (tests): Add bug-iconv9.
45291 * iconvdata/bug-iconv9.c: New file.
45293 2011-05-27 Andreas Schwab <schwab@redhat.com>
45296 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45298 2011-05-25 Jakub Jelinek <jakub@redhat.com>
45300 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45301 (struct user_regs_struct): Change intcs field back to cs.
45303 2011-05-25 Ulrich Drepper <drepper@gmail.com>
45305 * po/ja.po: Update from translation team.
45307 2011-05-23 Ulrich Drepper <drepper@gmail.com>
45310 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45311 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45313 2011-05-20 Andreas Schwab <schwab@redhat.com>
45315 * stdlib/longlong.h: Update from GCC.
45317 2011-05-23 Andreas Schwab <schwab@redhat.com>
45319 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45321 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45322 Add parameter name.
45323 (__sysconf): Pass it down.
45325 2011-05-22 Ulrich Drepper <drepper@gmail.com>
45328 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45330 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45331 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45332 add in in __libc_use_alloca calls. Adjust callers.
45333 (glob): Use malloc in some situations.
45335 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45336 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45339 2011-05-21 Ulrich Drepper <drepper@gmail.com>
45341 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45342 and CLOCK_BOOTTIME_ALARM.
45345 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45348 * string/_strerror.c (__strerror_r): Print negative errors as signed
45352 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45353 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45354 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45356 * configure.in: Fix typo in redirection and correct removal of test
45357 files in two cases.
45360 * locale/setlocale.c (new_composite_name): Fix test to check for
45361 identical name of all categories.
45364 * libio/filedoalloc.c (local_isatty): New function.
45365 (_IO_file_doallocate): Use local_isatty.
45366 * stdio-common/perror.c (perror): In case a new stream is used
45367 forward the stream error.
45368 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45371 2011-05-20 Ulrich Drepper <drepper@gmail.com>
45374 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45376 * include/alloca.h (extend_alloca_account): Define.
45379 * posix/regex.h: Fix comments with documentation of user-accessible
45380 fields after compilation and describe correct free'ing of pattern
45381 after re_compile_pattern.
45382 Patch by Reuben Thomas <rrt@sc3d.org>.
45384 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
45386 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45387 and -mno-altivec to prevent the compiler from using Altivec and/or
45388 VSX instructions when the corresponding registers are not available.
45390 2011-05-19 Andreas Schwab <schwab@redhat.com>
45392 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45394 2011-05-19 Ulrich Drepper <drepper@gmail.com>
45396 * libio/freopen.c (freopen): Use __dup2, not dup2.
45397 * libio/freopen64.c (freopen64): Likewise.
45399 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
45402 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45403 * math/Makefile (tests): Add test-powl.
45404 (CFLAGS-test-powl.c): Define.
45405 * math/test-powl.c: New file.
45407 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
45409 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45411 2011-05-17 Ulrich Drepper <drepper@gmail.com>
45414 * iconvdata/gb18030.c: Update to GB18020-2005.
45416 2011-05-16 Ulrich Drepper <drepper@gmail.com>
45418 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45419 RE_SYNTAX_POSIX_AWK): Update to match recent development.
45420 Patch by Aharon Robbins <arnold@skeeve.com>.
45423 * stdlib/putenv.c (putenv): Don't always create copy of the variable
45427 * misc/pselect.c (__pselect): Handle timeout value errors hidden
45428 through underflows.
45431 * misc/error.c (error_at_line): Ensure file_name and old_file_name
45432 point to strings before performing equality test for error_one_per_line
45436 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45439 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45440 (struct user_fpregs_struct): Avoid __uint*_t types.
45443 * malloc/mtrace.c (tr_where): Add additional parameter to point to
45444 symbol info. Use it instead of calling _dl_addr locally.
45445 (lock_and_info): New function.
45446 (tr_freehook): Call lock_and_info and pass symbol info as additional
45447 parameter to tr_where.
45448 (tr_mallochook): Likewise.
45449 (tr_reallochook): Likewise.
45450 (tr_memalignhook): Likewise.
45452 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
45453 used and couldn't be at all thread-safe.
45455 2011-05-15 Ulrich Drepper <drepper@gmail.com>
45457 * libio/freopen.c (freopen): Don't close old file descriptor
45458 before the new one is opened. Instead dup the new file descriptor
45459 to the old one after the new stream is created.
45460 * libio/freopen64.c (freopen64): Likewise.
45461 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45462 * libio/fileops.c (_IO_new_file_close_it): Handle new
45463 _IO_FLAGS2_NOCLOSE flag.
45464 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45465 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45466 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45467 _IO_FLAGS2_NOCLOSE flag.
45468 * include/unistd.h: Add hidden_proto for dup3.
45469 Define __have_dup3.
45470 * io/dup3.c: Define hidden symbol.
45471 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45474 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45475 when an incomplete long option is used.
45476 * posix/tst-getopt_long1.c: New file.
45477 * posix/Makefile (tests): Add tst-getopt_long1.
45480 * scripts/config.guess: Update from autoconf-2.68.
45481 * scripts/config.sub: Likewise.
45484 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45486 (has_cpuclock): ...this. New function.
45487 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45488 macro here based on has_cpuclock code.
45491 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45492 First byte (not low byte) is now always NUL.
45493 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45495 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45496 Use non-cancelable interfaces.
45499 * locale/iso-639.def: Add entry for Sorani.
45502 * include/stdlib.h: Move include protection to the right place.
45503 Define abort_msg_s. Declare __abort_msg with it.
45504 * stdlib/abort.c (__abort_msg): Adjust type.
45505 * assert/assert.c (__assert_fail_base): New function. Majority
45506 of code from __assert_fail. Allocate memory for __abort_msg with
45508 (__assert_fail): Now call __assert_fail_base.
45509 * assert/assert-perr.c: Remove bulk of implementation. Use
45510 __assert_fail_base.
45511 * include/assert.hL Declare __assert_fail_base.
45512 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45514 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45516 2011-05-14 Ulrich Drepper <drepper@gmail.com>
45520 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45521 until all modules are registered in the DTV.
45522 * elf/Makefile: Add rules to build and run tst-tls19.
45523 * elf/tst-tls19.c: New file.
45524 * elf/tst-tls19mod1.c: New file.
45525 * elf/tst-tls19mod2.c: New file.
45526 * elf/tst-tls19mod3.c: New file.
45527 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45530 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45534 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45535 two-byte sequence errors.
45536 * iconvdata/Makefile (tests): Add bug-iconv8.
45537 * iconvdata/bug-iconv8.c: New file.
45540 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45543 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45546 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45547 (dummy_getcfa): New function.
45548 (init): Get _Unwind_GetCFA address, use dummy if not found.
45549 (backtrace_helper): In recursion check, also check whether CFA changes.
45550 (__backtrace): Completely initialize arg.
45552 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45553 storing incomplete byte sequence in state object. Avoid testing for
45554 guaranteed too small input if we know there is enough data available.
45556 2011-05-11 Andreas Schwab <schwab@redhat.com>
45558 * Makeconfig (+link-pie): Indent.
45559 * Rules (binaries-pie): Define if $(have-fpie) and
45561 (binaries-shared): Also filter out $(binaries-pie).
45562 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45563 * nscd/Makefile (others-pie): Add nscd.
45564 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45565 ($(objpfx)nscd): Remove command override.
45566 * login/Makefile (others-pie): Add pt_chown.
45567 ($(objpfx)pt_chown): Remove command override.
45568 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45569 remove command overrides.
45571 2011-05-13 Ulrich Drepper <drepper@gmail.com>
45573 * libio/tst_putwc.c: Fix error messages.
45576 * libio/fileops.c (_IO_new_file_close_it): Always flush when
45577 currently writing and seek to current position when not.
45578 * libio/Makefile (tests): Add bug-fclose1.
45579 * libio/bug-fclose1.c: New file.
45581 2011-05-12 Ulrich Drepper <drepper@gmail.com>
45584 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45585 don't set DF_1_NODELETE here.
45586 (do_lookup_x): When entering new entry test for copy relocation
45587 and if necessary set DF_1_NODELETE flag.
45588 * elf/tst-unique4.cc: New file.
45589 * elf/tst-unique4.h: New file.
45590 * elf/tst-unique4lib.cc: New file.
45591 * elf/Makefile: Add rules to build and run tst-unique4.
45592 Patch by Piotr Bury <pbury@goahead.com>.
45594 2011-05-11 Ulrich Drepper <drepper@gmail.com>
45597 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45600 * misc/mntent_r.c (addmntent): Flush the stream after the output
45603 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45604 (is_trusted_path_normalize): Skip initial colon. Append slash
45605 to empty buffer. Duplicate is_trusted_path code but allow
45606 constructed patch to be prefix.
45607 (is_dst): Allow $ORIGIN followed by /.
45608 (_dl_dst_substitute): Correct clearing of check_for_trusted.
45609 Correct testing of result of is_trusted_path_normalize
45610 (decompose_rpath): Fix warning.
45612 2011-05-10 Ulrich Drepper <drepper@gmail.com>
45615 * grp/initgroups.c (internal_getgrouplist): When we found the service
45616 list through the initgroups entry in nsswitch.conf do not always
45617 continue on a successful lookup. Don't always use the
45618 __nss_group_database value if it is set.
45619 * nss/nsswitch.conf (initgroups): Change action for successful db
45620 lookup to continue for compatibility.
45622 2011-05-09 Ulrich Drepper <drepper@gmail.com>
45625 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45627 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45629 * iconvdata/tst-tables.sh: Likewise.
45630 * iconvdata/cp770.c: New file.
45631 * iconvdata/cp771.c: New file.
45632 * iconvdata/cp772.c: New file.
45633 * iconvdata/cp773.c: New file.
45634 * iconvdata/cp774.c: New file.
45635 * iconvdata/testdata/CP770: New file.
45636 * iconvdata/testdata/CP770..UTF8: New file.
45637 * iconvdata/testdata/CP771: New file.
45638 * iconvdata/testdata/CP771..UTF8: New file.
45639 * iconvdata/testdata/CP772: New file.
45640 * iconvdata/testdata/CP772..UTF8: New file.
45641 * iconvdata/testdata/CP773: New file.
45642 * iconvdata/testdata/CP773..UTF8: New file.
45643 * iconvdata/testdata/CP774: New file.
45644 * iconvdata/testdata/CP774..UTF8: New file.
45646 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45648 * iconvdata/gen-8bit-gap.sh: Likewise.
45649 * iconvdata/gen-8bit.sh: Likewise.
45651 * locale/iso-639.def: Add ary entry.
45654 * locale/C-translit.h.in: Add U20A1 transliteration.
45657 * locale/iso-639.def: Add wae entry.
45658 Patch by Kevin Bortis <bortis@translate-wae.ch>.
45661 * locale/programs/localedef.c (construct_output_path): Use ssize_t
45665 * locale/C-translit.h.in: Add entry for U20B9.
45666 Patch by pravin.d.s@gmail.com.
45668 2011-05-08 Ulrich Drepper <drepper@gmail.com>
45671 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45672 ENAMETOOLONG use generic getcwd.
45673 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
45674 in rtld. Use *stat64.
45675 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
45676 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45677 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45678 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45679 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45680 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45681 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45682 __fstatat64 macros.
45683 * include/dirent.h: Add libc_hidden_proto for rewinddir.
45684 * dirent/rewinddir.c: Add libc_hidden_def.
45685 * sysdeps/mach/hurd/rewinddir.c: Likewise.
45686 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
45688 * include/dirent.h (__alloc_dir): Add flags parameter.
45689 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45690 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45692 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
45693 from fdopendir if O_CLOEXEC is already set.
45695 2011-03-15 Alan Modra <amodra@gmail.com>
45697 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45698 l_tls_firstbyte_offset non-zero. Save padding offset in
45699 l_tls_firstbyte_offset for later use.
45700 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45701 freeing static tls block.
45703 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
45705 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45706 where #ifdef was intended. The intent is to prevent ARG_MAX from
45707 being defined by the kernel headers.
45709 2011-05-07 Ulrich Drepper <drepper@gmail.com>
45712 * resolv/resolv.h: Define RES_NOTLDQUERY.
45713 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45714 no-tld-query and set RES_NOTLDQUERY.
45715 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45716 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45717 modern BIND to search name as TLD unless forbidden.
45719 2011-05-07 Petr Baudis <pasky@suse.cz>
45720 Ulrich Drepper <drepper@gmail.com>
45723 * elf/dl-load.c (fillin_rpath): Move trusted path check...
45724 (is_trusted_path): ...to here.
45725 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45726 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45727 using is_trusted_path_normalize() in setuid scripts.
45729 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45731 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45732 __BEGIN/__END_DECLS.
45734 2011-05-06 Ulrich Drepper <drepper@gmail.com>
45736 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45737 NSS_STATUS_NOTFOUND if no record was found.
45739 2011-05-05 Andreas Schwab <schwab@redhat.com>
45741 * sunrpc/Makefile (headers): Add rpc/netdb.h.
45742 (headers-not-in-tirpc): Remove rpc/netdb.h
45743 * resolv/netdb.h: Revert last change.
45745 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45747 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45748 circular dependency between libgcc.a and libc.a.
45750 2011-05-05 Andreas Schwab <schwab@redhat.com>
45752 * resolv/netdb.h: Don't include <rpc/netdb.h>.
45753 * nis/Makefile: Don't install rpcsvc/*.
45754 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45755 instead of <rpc/types.h>.
45756 (MAXHOSTNAMELEN): Define.
45758 2011-05-03 Andreas Schwab <schwab@redhat.com>
45760 * elf/ldconfig.c (add_dir): Don't crash on empty path.
45762 2011-04-28 Maciej Babinski <mbabinski@google.com>
45765 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45766 gethostbyname4_r when IPv6 results are possible.
45768 2011-05-02 Ulrich Drepper <drepper@gmail.com>
45771 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45772 _PC_PIPE_BUF handling.
45774 2011-04-30 Bruno Haible <bruno@clisp.org>
45777 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45778 * resolv/netdb.h (getnameinfo): Change type of flags parameter
45780 * inet/getnameinfo.c (getnameinfo): Likewise.
45782 2011-04-29 Ulrich Drepper <drepper@gmail.com>
45784 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45785 to groups setting in database lookup.
45786 * nss/nsswitch.conf: Add initgroups entry.
45788 2011-04-22 Ulrich Drepper <drepper@gmail.com>
45791 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45793 Patch by Eric Blake <eblake@redhat.com>.
45795 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
45797 * sunrpc/Makefile (need-export-routines): Add svc_run.
45798 (routines): Remove svc_run.
45799 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45800 * sunrpc/clnt_perr.c (clnt_perrno): Export.
45801 * sunrpc/svc_run.c (svc_run): Likewise.
45802 * sunrpc/svc_udp.c (svcudp_create): Likewise.
45804 2011-04-21 Ulrich Drepper <drepper@gmail.com>
45806 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45807 problem in reallocation in last patch.
45809 2011-04-20 Ulrich Drepper <drepper@gmail.com>
45811 * sunrpc/Makefile: Move inclusion of Rules.
45813 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45815 * nss/nss_files/files-initgroups.c: New file.
45816 * nss/Makefile (libnss_files-routines): Add files-initgroups.
45817 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45818 _nss_files_initgroups_dyn.
45820 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
45822 * elf/elf.h (R_ARM_IRELATIVE): Define.
45824 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45826 * po/ru.po: Update from translation team.
45828 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45830 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45833 2011-02-06 Mike Frysinger <vapier@gentoo.org>
45836 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45837 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45838 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45839 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45840 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45842 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
45844 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45846 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45847 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45848 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45850 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45853 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45855 * stdlib/bug-getcontext.c: New file.
45856 * stdlib/Makefile: Add rules to build and run bug-getcontext.
45858 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45860 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45861 instructions into .machine "z9-109".
45862 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45863 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45865 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45867 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45868 between environment variables and auxiliary vector.
45870 2011-04-16 Ulrich Drepper <drepper@gmail.com>
45872 * Makefile: Add rules to build linkobj/libc.so.
45873 * include/libc-symbols.h: Define libc_hidden_nolink.
45874 * include/rpc/auth.h: Mark functions which are to be hidden.
45875 * include/rpc/auth_des.h: Likewise.
45876 * include/rpc/auth_unix.h: Likewise.
45877 * include/rpc/clnt.h: Likewise.
45878 * include/rpc/des_crypt.h: Likewise.
45879 * include/rpc/key_prot.h: Likewise.
45880 * include/rpc/pmap_clnt.h: Likewise.
45881 * include/rpc/pmap_prot.h: Likewise.
45882 * include/rpc/pmap_rmt.h: Likewise.
45883 * include/rpc/rpc_msg.h: Likewise.
45884 * include/rpc/svc.h: Likewise.
45885 * include/rpc/svc_auth.h: Likewise.
45886 * include/rpc/xdr.h: Likewise.
45887 * nis/Makefile: Link all DSOs against linkobj/libc.so.
45888 * nss/Makefile: Likewise.
45889 * sunrpc/Makefile: Don't install headers. Build library with normal
45890 entry points. Don't build rpcinfo. Link RPC tests appropriately.
45891 * sunrpc/auth_des.c: Hide exported symbols by default, export some
45892 for the compat linking library. Remove use of INTDEF/INTUSE.
45893 * sunrpc/auth_none.c: Likewise.
45894 * sunrpc/auth_unix.c: Likewise.
45895 * sunrpc/authdes_prot.c: Likewise.
45896 * sunrpc/authuxprot.c: Likewise.
45897 * sunrpc/clnt_gen.c: Likewise.
45898 * sunrpc/clnt_perr.c: Likewise.
45899 * sunrpc/clnt_raw.c: Likewise.
45900 * sunrpc/clnt_simp.c: Likewise.
45901 * sunrpc/clnt_tcp.c: Likewise.
45902 * sunrpc/clnt_udp.c: Likewise.
45903 * sunrpc/clnt_unix.c: Likewise.
45904 * sunrpc/des_crypt.c: Likewise.
45905 * sunrpc/des_soft.c: Likewise.
45906 * sunrpc/get_myaddr.c: Likewise.
45907 * sunrpc/key_call.c: Likewise.
45908 * sunrpc/key_prot.c: Likewise.
45909 * sunrpc/netname.c: Likewise.
45910 * sunrpc/pm_getmaps.c: Likewise.
45911 * sunrpc/pm_getport.c: Likewise.
45912 * sunrpc/pmap_clnt.c: Likewise.
45913 * sunrpc/pmap_prot.c: Likewise.
45914 * sunrpc/pmap_prot2.c: Likewise.
45915 * sunrpc/pmap_rmt.c: Likewise.
45916 * sunrpc/publickey.c: Likewise.
45917 * sunrpc/rpc_cmsg.c: Likewise.
45918 * sunrpc/rpc_common.c: Likewise.
45919 * sunrpc/rpc_dtable.c: Likewise.
45920 * sunrpc/rpc_prot.c: Likewise.
45921 * sunrpc/rpc_thread.c: Likewise.
45922 * sunrpc/rtime.c: Likewise.
45923 * sunrpc/svc.c: Likewise.
45924 * sunrpc/svc_auth.c: Likewise.
45925 * sunrpc/svc_authux.c: Likewise.
45926 * sunrpc/svc_raw.c: Likewise.
45927 * sunrpc/svc_run.c: Likewise.
45928 * sunrpc/svc_simple.c: Likewise.
45929 * sunrpc/svc_tcp.c: Likewise.
45930 * sunrpc/svc_udp.c: Likewise.
45931 * sunrpc/svc_unix.c: Likewise.
45932 * sunrpc/svcauth_des.c: Likewise.
45933 * sunrpc/xcrypt.c: Likewise.
45934 * sunrpc/xdr.c: Likewise.
45935 * sunrpc/xdr_array.c: Likewise.
45936 * sunrpc/xdr_float.c: Likewise.
45937 * sunrpc/xdr_intXX_t.c: Likewise.
45938 * sunrpc/xdr_mem.c: Likewise.
45939 * sunrpc/xdr_rec.c: Likewise.
45940 * sunrpc/xdr_ref.c: Likewise.
45941 * sunrpc/xdr_sizeof.c: Likewise.
45942 * sunrpc/xdr_stdio.c: Likewise.
45944 2011-04-10 Ulrich Drepper <drepper@gmail.com>
45947 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45948 * sysdeps/ia64/dl-tls.h: Likewise.
45949 * sysdeps/powerpc/dl-tls.h: Likewise.
45950 * sysdeps/s390/dl-tls.h: Likewise.
45951 * sysdeps/sh/dl-tls.h: Likewise.
45952 * sysdeps/sparc/dl-tls.h: Likewise.
45953 * sysdeps/x86_64/dl-tls.h: Likewise.
45954 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45956 2011-03-14 Andreas Schwab <schwab@redhat.com>
45958 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45959 rpath element also skip the following colon.
45960 (expand_dynamic_string_token): Add is_path parameter and pass
45961 down to DL_DST_REQUIRED and _dl_dst_substitute.
45962 (decompose_rpath): Call expand_dynamic_string_token with
45963 non-zero is_path. Ignore empty rpaths.
45964 (_dl_map_object_from_fd): Call expand_dynamic_string_token
45967 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
45969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45972 2011-04-09 Ulrich Drepper <drepper@gmail.com>
45975 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45976 Patch by Filipe David Manana <fdmanana@apache.org>.
45978 2011-04-07 Andreas Schwab <schwab@redhat.com>
45980 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45981 Maintain aligned stack.
45982 (CHECK_RSP): Remove unused macro.
45984 2011-04-03 Ulrich Drepper <drepper@gmail.com>
45986 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45987 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45989 2011-04-02 Ulrich Drepper <drepper@gmail.com>
45991 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45993 * include/features.h: Mention __USE_XOPEN2K8 in comment.
45995 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
45998 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45999 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46000 * sysdeps/x86_64/memmove.c: New file.
46001 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46002 (memcpy): Renamed to ...
46003 (__new_memcpy): This.
46004 (memcpy): Provide GLIBC_2_14 memcpy.
46005 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46006 (memcpy): Provide GLIBC_2_2_5 memcpy.
46008 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46011 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46013 2011-03-30 Andreas Schwab <schwab@redhat.com>
46015 * misc/syncfs.c: New file.
46016 * misc/Makefile (routines): Add syncfs.
46017 * posix/unistd.h: Declare syncfs.
46018 * sysdeps/unix/syscalls.list: Add syncfs.
46020 2011-04-01 Andreas Schwab <schwab@redhat.com>
46022 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46024 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46025 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46026 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46027 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46028 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46029 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46030 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46032 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46034 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46035 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46036 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46037 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46038 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46039 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46040 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46042 * io/Makefile: Compile fallocate.c, fallocate64.c, and
46043 sync_file_range.c with -fexceptions.
46044 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46045 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46046 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46047 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46048 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46049 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46050 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46051 sync_file_range as cancellation point
46052 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
46053 now a wrapper around __call_sync_file_range with cancellation handling.
46054 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46055 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46056 function name to __call_sync_file_range.
46057 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46058 Add call_sync_file_range.
46060 2011-04-01 Andreas Schwab <schwab@redhat.com>
46062 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46065 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46067 * iconv/iconv.h: Fix typo in comment.
46068 * io/fcntl.h: Likewise.
46069 * libio/stdio.h: Likewise.
46070 * posix/spawn.h: Likewise.
46071 * posix/unistd.h: Likewise.
46072 * stdlib/stdlib.h: Likewise.
46073 * time/time.h: Likewise.
46074 * wcsmbs/wchar.h: Likewise.
46076 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46077 open_by_handle): Add.
46078 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46079 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
46080 Augment a few comments.
46081 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46082 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46083 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46084 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46085 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46086 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46089 * io/fcntl.h (AT_EMPTY_PATH): Define.
46091 2011-03-30 Ulrich Drepper <drepper@gmail.com>
46093 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46094 * sysdeps/unix/sysv/linux/bits/time.h: New file.
46095 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46097 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
46098 * Versions.def: Add GLIBC_2.14.
46099 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46102 2011-03-22 Ulrich Drepper <drepper@gmail.com>
46104 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46106 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46108 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
46111 * string/test-strncmp.c (do_page_test): New function.
46112 (check2): Likewise.
46113 (test_main): Call check2.
46114 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46116 2011-03-20 Ulrich Drepper <drepper@gmail.com>
46119 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46120 Handle cache information in CPU leaf 4.
46121 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46123 2011-03-18 Ulrich Drepper <drepper@gmail.com>
46126 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46127 character representation.
46128 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46130 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
46132 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46133 END(__isnan) to END(__isnanf) to match function entry point/label
46134 EALIGN(__isnanf,...).
46136 2011-03-10 Jakub Jelinek <jakub@redhat.com>
46138 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46140 2011-03-10 Ulrich Drepper <drepper@gmail.com>
46143 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46144 copy from the symbol referenced in the relocation to initialize the
46146 Patch by Piotr Bury <pbury@goahead.com>.
46147 * elf/Makefile: Add rules to build and tst-unique3.
46148 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46149 * elf/tst-unique3.cc: New file.
46150 * elf/tst-unique3.h: New file.
46151 * elf/tst-unique3lib.cc: New file.
46152 * elf/tst-unique3lib2.cc: New file.
46154 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46156 2011-03-10 Mike Frysinger <vapier@gentoo.org>
46158 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46159 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
46162 2011-03-06 Ulrich Drepper <drepper@gmail.com>
46164 * elf/dl-load.c (_dl_map_object): If we are looking for the first
46165 to-be-loaded object along a path to loader is ld.so.
46167 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46168 Ulrich Drepper <drepper@gmail.com>
46170 * sysdeps/x86_64/memset.S: After aligning destination, code
46171 branches to different locations depending on the value of
46172 misalignment, when multiarch is enabled. Fix this.
46174 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46176 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46177 Set _x86_64_preferred_memory_instruction for AMD processsors.
46178 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46179 Set bit_Prefer_SSE_for_memop for AMD processors.
46181 2011-03-04 Ulrich Drepper <drepper@gmail.com>
46183 * libio/fmemopen.c (fmemopen): Optimize a bit.
46185 2011-03-03 Andreas Schwab <schwab@redhat.com>
46187 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46189 2011-03-03 Roland McGrath <roland@redhat.com>
46191 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46193 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
46195 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46196 __bzero_ultra1 instead of __memset_ultra1.
46198 2011-02-23 Andreas Schwab <schwab@redhat.com>
46199 Ulrich Drepper <drepper@gmail.com>
46202 * include/link.h (struct link_map): Add l_orig_initfini.
46203 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46204 returning unsuccessfully.
46205 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46206 close of a file loaded at startup, restore the original l_initfini
46208 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46209 list, store the pointer.
46210 * elf/Makefile ($(objpfx)noload-mem): New rule.
46211 (noload-ENV): Define.
46212 (tests): Add $(objpfx)noload-mem.
46213 * elf/noload.c: Include <memcheck.h>.
46214 (main): Call mtrace. Close all opened handles.
46216 2011-02-17 Andreas Schwab <schwab@redhat.com>
46219 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46220 dependencies are missing.
46222 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
46224 Fix __if_freereq crash: Unlike the generic version which uses free,
46226 * sysdeps/mach/hurd/ifreq.h: New file.
46228 2011-01-27 Petr Baudis <pasky@suse.cz>
46229 Ulrich Drepper <drepper@gmail.com>
46232 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46233 to extend_alloca().
46234 * stdio-common/bug23.c: New file.
46235 * stdio-common/Makefile (tests): Add bug23.
46237 2010-09-28 Andreas Schwab <schwab@redhat.com>
46238 Ulrich Drepper <drepper@gmail.com>
46241 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46242 before performing relro protection. At old place add assertion
46243 to make sure nothing changed.
46245 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
46246 Glauber de Oliveira Costa <glommer@gmail.com>
46248 * elf/elf.h: Add new ARM TLS relocs.
46250 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
46252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46253 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46255 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
46257 * sysdeps/wordsize-64/tst-writev.c: New file.
46259 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
46261 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46262 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46263 insns in _dl_start to prevent a TOC reference before relocs are
46266 2011-02-15 Ulrich Drepper <drepper@gmail.com>
46269 * Makeconfig: Remove RANLIB definition.
46270 * Makerules: Don't use RANLIB.
46271 * aclocal.m4: Remove ranlib test.
46272 * configure.in: No need to check for ranlib.
46273 * elf/rtld-Rules: Don't use RANLIB.
46275 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46277 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46279 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46280 inclusion protection macro.
46282 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46283 SIGRTMIN and SIGRTMAX and print information in that case only when
46284 SIGRTMIN is defined.
46286 2011-02-11 Jakub Jelinek <jakub@redhat.com>
46288 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46289 arginfo fn returning -1.
46291 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46292 and thousands string is zero terminated.
46294 2011-02-03 Andreas Schwab <schwab@redhat.com>
46296 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46297 sysdeps/unix/sysv/linux/bits/socket.h.
46299 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46301 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46302 (__CPU_COUNT): Remove old macros.
46303 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46304 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46305 (__CPU_ALLOC, __CPU_FREE): Add macros.
46306 (__sched_cpualloc, __sched_cpufree): Add declarations.
46308 2011-02-05 Ulrich Drepper <drepper@gmail.com>
46310 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46311 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46312 * nscd/aicache.c (addhstaiX): Return timeout of added value.
46313 (readdhstai): Return value of addhstaiX call.
46314 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46315 (addgrbyX): Return value returned by cache_addgr.
46316 (readdgrbyname): Return value returned by addgrbyX.
46317 (readdgrbygid): Likewise.
46318 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46319 (addpwbyX): Return value returned by cache_addpw.
46320 (readdpwbyname): Return value returned by addhstbyX.
46321 (readdpwbyuid): Likewise.
46322 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46323 (addservbyX): Return value returned by cache_addserv.
46324 (readdservbyname): Return value returned by addservbyX:
46325 (readdservbyport): Likewise.
46326 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46327 (addhstbyX): Return value returned by cache_addhst.
46328 (readdhstbyname): Return value returned by addhstbyX.
46329 (readdhstbyaddr): Likewise.
46330 (readdhstbynamev6): Likewise.
46331 (readdhstbyaddrv6): Likewise.
46332 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46333 (readdinitgroups): Return value returned by addinitgroupsX.
46334 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46335 (prune_cache): Keep track of timeout value of re-added entries.
46336 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46337 * nscd/nscd.h: Adjust prototypes of readd* functions.
46339 2011-02-04 Roland McGrath <roland@redhat.com>
46341 * nis/nis_server.c (nis_servstate): Use the right name for 0.
46342 (nis_stats): Likewise.
46343 * nis/nis_modify.c (nis_modify): Likewise.
46344 * nis/nis_remove.c (nis_remove): Likewise.
46345 * nis/nis_add.c (nis_add): Likewise.
46347 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46349 * posix/fnmatch_loop.c: Add some consts.
46351 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46353 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
46356 * config.make.in (config-cflags-novzeroupper): Define.
46357 * configure.in: Substitute libc_cv_cc_novzeroupper.
46358 * elf/Makefile (AVX-CFLAGS): Define.
46359 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46360 (CFLAGS-tst-auditmod4a.c): Likewise.
46361 (CFLAGS-tst-auditmod4b.c): Likewise.
46362 (CFLAGS-tst-auditmod6b.c): Likewise.
46363 (CFLAGS-tst-auditmod6c.c): Likewise.
46364 (CFLAGS-tst-auditmod7b.c): Likewise.
46365 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46367 2011-02-02 Ulrich Drepper <drepper@gmail.com>
46369 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46370 function to the callback.
46371 Patch partly by Jiri Olsa <jolsa@redhat.com>.
46373 2011-02-02 Andreas Schwab <schwab@redhat.com>
46375 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46378 2011-01-19 Ulrich Drepper <drepper@gmail.com>
46381 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46383 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46385 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46388 * elf/Makefile: Add rules to build and run new test.
46389 * elf/tst-initorder.c: New file.
46390 * elf/tst-initorder.exp: New file.
46391 * elf/tst-initordera1.c: New file.
46392 * elf/tst-initordera2.c: New file.
46393 * elf/tst-initordera3.c: New file.
46394 * elf/tst-initordera4.c: New file.
46395 * elf/tst-initorderb1.c: New file.
46396 * elf/tst-initorderb2.c: New file.
46397 * elf/tst-order-a1.c: New file.
46398 * elf/tst-order-a2.c: New file.
46399 * elf/tst-order-a3.c: New file.
46400 * elf/tst-order-a4.c: New file.
46401 * elf/tst-order-b1.c: New file.
46402 * elf/tst-order-b2.c: New file.
46403 * elf/tst-order-main.c: New file.
46404 New test case by George Gensure <werkt0@gmail.com>.
46406 2010-10-01 Andreas Schwab <schwab@redhat.com>
46408 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46409 decoding ACE if AI_CANONIDN.
46411 2011-01-18 Ulrich Drepper <drepper@gmail.com>
46413 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46415 2011-01-17 Ulrich Drepper <drepper@gmail.com>
46417 * version.h (RELEASE): Bump for 2.13 release.
46418 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46420 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46422 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46424 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46425 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46426 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46427 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46428 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46429 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46431 * posix/getconf.c: Update copyright year.
46432 * catgets/gencat.c: Likewise.
46433 * csu/version.c: Likewise.
46434 * debug/catchsegv.sh: Likewise.
46435 * debug/xtrace.sh: Likewise.
46436 * elf/ldconfig.c: Likewise.
46437 * elf/ldd.bash.in: Likewise.
46438 * elf/sprof.c (print_version): Likewise.
46439 * iconv/iconv_prog.c: Likewise.
46440 * iconv/iconvconfig.c: Likewise.
46441 * locale/programs/locale.c: Likewise.
46442 * locale/programs/localedef.c: Likewise.
46443 * malloc/memusage.sh: Likewise.
46444 * malloc/mtrace.pl: Likewise.
46445 * nscd/nscd.c (print_version): Likewise.
46446 * nss/getent.c: Likewise.
46448 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46449 PF_CAIF, and PF_ALG.
46450 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46452 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
46454 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46455 (modules-names): Use them.
46456 (ifunc-test-modules, ifunc-pie-tests): Define.
46457 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46458 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46459 (test-extras): Likewise.
46460 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46461 $(compile-command.c).
46462 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46463 (all-built-dso): Define.
46464 (check-textrel.out, check-execstack.out): Depend on it.
46466 * configure.in: Don't override --enable-multi-arch.
46468 2011-01-15 Ulrich Drepper <drepper@gmail.com>
46471 * nscd/hstcache.c (tryagain): Define.
46472 (cache_addhst): Return tryagain not notfound for temporary errors.
46473 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46476 2011-01-14 Ulrich Drepper <drepper@gmail.com>
46479 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46480 to make the syscall.
46481 * sysdeps/unix/sysv/linux/setgroups.c: New file.
46484 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46485 and fall back to matching as normal character if the string ends before
46486 the matching ']' is found. This is what POSIX requires.
46487 * posix/testfnm.c: Adjust test result.
46488 * posix/globtest.sh: Adjust test result. Add new test.
46489 * posix/tst-fnmatch.input: Likewise.
46490 * posix/tst-fnmatch2.c: Add new test.
46492 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
46494 * elf/Makefile (check-execstack): Revert last change. Depend on
46496 (check-execstack.h): New target.
46497 (generated): Add check-execstack.h.
46498 * elf/check-execstack.c: Include "check-execstack.h".
46499 (main): Revert last change.
46500 (handle_file): Return zero if GNU_STACK is absent and
46501 DEFAULT_STACK_PERMS doesn't include PF_X.
46503 2011-01-13 Ulrich Drepper <drepper@gmail.com>
46505 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46506 in child fails because the descriptor is already closed.
46507 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46508 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46509 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46512 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46516 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46517 temporary buffer used to handle multi lookups locally.
46518 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46520 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46522 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46525 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
46527 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46528 alignment for SSE2.
46530 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46533 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46534 characters. When rounding increased number of integer digits recompute
46536 * stdio-common/tst-grouping.c: New file.
46537 * stdio-common/Makefile: Add rules to build and run tst-grouping.
46539 2011-01-09 Ulrich Drepper <drepper@gmail.com>
46541 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46542 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
46544 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46546 * bits/select.h: Likewise.
46548 2011-01-08 Ulrich Drepper <drepper@gmail.com>
46550 * po/ja.po: Update from translation team.
46552 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
46555 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46556 implementation just like for lxstat, fxstatat, et al.
46558 2010-12-27 Jim Meyering <meyering@redhat.com>
46561 * posix/regexec.c (build_trtable): Return failure indication upon
46562 calloc failure. Otherwise, re_search_internal could infloop on OOM.
46564 2010-12-25 Ulrich Drepper <drepper@gmail.com>
46567 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46568 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46569 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46570 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46573 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46576 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46577 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46579 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
46581 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46582 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46583 script has SORT_BY_INIT_PRIORITY.
46584 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46585 NO_CTORS_DTORS_SECTIONS is defined.
46586 * elf/soinit.c: Likewise.
46587 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46588 NO_CTORS_DTORS_SECTIONS is defined.
46589 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46590 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46591 * sysdeps/sh/init-first.c: Likewise.
46592 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46594 2010-12-24 Ulrich Drepper <drepper@gmail.com>
46596 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46597 always use the slow path.
46599 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
46601 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46602 similar rule which adds the sysdep directories to the header search in
46603 order to pick up the correct platform stackinfo.h.
46604 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46605 perform test if it is, otherwise return successfully without testing.
46606 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46607 DEFAULT_STACK_PERMS define in stackinfo.h.
46608 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46609 defined in stackinfo.h.
46610 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46611 DEFAULT_STACK_PERMS defined in stackinfo.h.
46612 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46613 * sysdeps/ia64/stackinfo.h: Likewise.
46614 * sysdeps/s390/stackinfo.h: Likewise.
46615 * sysdeps/sh/stackinfo.h: Likewise.
46616 * sysdeps/sparc/stackinfo.h: Likewise.
46617 * sysdeps/x86_64/stackinfo.h: Likewise.
46618 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46619 PF_X for powerpc64. Retain PF_X for powerpc32.
46621 2010-12-19 Ulrich Drepper <drepper@gmail.com>
46623 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46625 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46626 GETDENTS_64BIT_ALIGNED.
46628 2010-12-14 Ulrich Drepper <dreper@gmail.com>
46630 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46632 2010-12-10 Andreas Schwab <schwab@redhat.com>
46634 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46637 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46638 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46640 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46641 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46643 2010-12-09 Ulrich Drepper <drepper@gmail.com>
46646 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46649 2010-12-09 Jakub Jelinek <jakub@redhat.com>
46651 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46653 2010-12-03 Ulrich Drepper <drepper@gmail.com>
46655 * po/it.po: Update from translation team.
46657 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
46659 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46662 2010-11-30 Ulrich Drepper <drepper@gmail.com>
46664 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46666 2010-11-24 Andreas Schwab <schwab@redhat.com>
46668 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46670 (gaih_getanswer_slice): Likewise.
46672 2010-10-20 Jakub Jelinek <jakub@redhat.com>
46674 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46676 2010-05-31 Petr Baudis <pasky@suse.cz>
46679 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46680 silently even in the chroot mode.
46682 2010-11-22 Ulrich Drepper <drepper@gmail.com>
46684 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46685 last patch a bit. Pretty printing
46687 2010-05-31 Petr Baudis <pasky@suse.cz>
46690 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46691 initialization of skip_initgroups_dyn.
46693 2010-11-19 Ulrich Drepper <drepper@gmail.com>
46695 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46696 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46698 2010-11-16 Ulrich Drepper <drepper@gmail.com>
46700 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46702 2010-11-11 Andreas Schwab <schwab@redhat.com>
46704 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46705 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46706 (tst-fnmatch-ENV): Set MALLOC_TRACE.
46707 ($(objpfx)tst-fnmatch-mem): New rule.
46708 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46709 * posix/tst-fnmatch.c (main): Call mtrace.
46711 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
46713 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46714 Support Intel processor model 6 and model 0x2c.
46716 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
46718 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46721 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
46724 * string/test-strncasecmp.c (check_result): New function.
46725 (do_one_test): Use it.
46726 (check1): New function.
46727 (test_main): Use it.
46728 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46729 Support strcasecmp and strncasecmp.
46731 2010-11-08 Ulrich Drepper <drepper@gmail.com>
46734 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46735 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46737 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
46739 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46741 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46743 * sysdeps/x86_64/multiarch/bzero.S: New file.
46744 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46745 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46746 * sysdeps/x86_64/multiarch/memset.S: New file.
46747 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46748 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46749 Set bit_Prefer_SSE_for_memop for Intel processors.
46750 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46752 (index_Prefer_SSE_for_memop): Define.
46753 (HAS_PREFER_SSE_FOR_MEMOP): Define.
46755 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
46757 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46758 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46760 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
46763 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46764 (__x86_64_raw_data_cache_size_half): Likewise.
46765 (__x86_64_raw_shared_cache_size): Likewise.
46766 (__x86_64_raw_shared_cache_size_half): Likewise.
46768 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46769 (__x86_64_raw_data_cache_size_half): Likewise.
46770 (__x86_64_raw_shared_cache_size): Likewise.
46771 (__x86_64_raw_shared_cache_size_half): Likewise.
46772 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46773 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46774 and __x86_64_raw_shared_cache_size_half. Round
46775 __x86_64_data_cache_size_half, __x86_64_data_cache_size
46776 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46777 to multiple of 256 bytes.
46779 2010-11-03 Ulrich Drepper <drepper@gmail.com>
46782 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46783 of inacessible symlinks. Verify result of symlink before returning it.
46784 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46785 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46787 2010-10-28 Erich Ritz <erichritz@gmail.com>
46789 * math/math.h (isinf): Fix typo in comment.
46791 2010-11-01 Ulrich Drepper <drepper@gmail.com>
46793 * po/da.po: Update from translation team.
46795 2010-10-26 Ulrich Drepper <drepper@gmail.com>
46797 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46798 is added to the list.
46800 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46801 Ulrich Drepper <drepper@gmail.com>
46803 * elf/dl-object.c (_dl_new_object): Don't append the new object to
46804 the global list here. Move code to...
46805 (_dl_add_to_namespace_list): ...here. New function.
46806 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46807 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46808 * elf/dl-load.c (lose): Don't remove the element from the list.
46809 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46810 (_dl_map_object): Likewise.
46812 2010-10-25 Ulrich Drepper <drepper@gmail.com>
46815 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46816 into all bytes of SSE register.
46817 Patch by Richard Li <richardpku@gmail.com>.
46819 2010-10-24 Ulrich Drepper <drepper@gmail.com>
46822 * malloc/malloc.c (_int_free): Fill correct number of bytes when
46825 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
46827 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46828 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46829 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46830 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46835 2010-10-22 Andreas Schwab <schwab@redhat.com>
46837 * include/dlfcn.h (__RTLD_SECURE): Define.
46838 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
46839 mode & __RTLD_SECURE instead.
46840 (open_path): Rename preloaded parameter to secure.
46841 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46842 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46843 * elf/dl-deps.c (openaux): Likewise.
46844 * elf/rtld.c (struct map_args): Remove is_preloaded.
46845 (map_doit): Don't use it.
46846 (dl_main): Likewise.
46847 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46848 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46850 2010-09-09 Andreas Schwab <schwab@redhat.com>
46852 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46853 (sysd-rules-targets): Remove duplicates.
46854 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46855 rtld-%.$o dependency.
46857 2010-10-18 Andreas Schwab <schwab@redhat.com>
46859 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46860 _dl_map_object do it.
46862 2010-10-19 Ulrich Drepper <drepper@gmail.com>
46864 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46865 fast fma builtins, define the macros in the C99 standard.
46866 (FP_FAST_FMAF): Likewise.
46867 (FP_FAST_FMAL): Likewise.
46868 * sysdeps/x86_64/bits/mathdef.h: Likewise.
46870 * bits/mathdef.h: Update copyright year.
46871 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46873 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
46875 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46876 builtins, define the macros in the C99 standard.
46877 (FP_FAST_FMAF): Likewise.
46878 (FP_FAST_FMAL): Likewise.
46879 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46881 (FP_FAST_FMAF): Likewise.
46883 2010-10-15 Jakub Jelinek <jakub@redhat.com>
46886 * math/libm-test.inc (fma_test): Some new testcases.
46887 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46888 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46889 y and infinite z. Do multiplication by C already in long double.
46890 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46891 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46892 y and infinite z. Do bitwise or of inexact bit into u.d.
46893 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46894 * sysdeps/i386/fpu/s_fmaf.S: Removed.
46895 * sysdeps/i386/fpu/s_fma.S: Removed.
46896 * sysdeps/i386/fpu/s_fmal.S: Removed.
46898 2010-10-16 Jakub Jelinek <jakub@redhat.com>
46901 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46902 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46903 computation is not scheduled after fetestexcept. Fix value
46904 of minimum denormal long double.
46906 2010-10-14 Jakub Jelinek <jakub@redhat.com>
46909 * math/libm-test.inc (fma_test): Add some more tests.
46910 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46913 2010-10-15 Andreas Schwab <schwab@redhat.com>
46915 * scripts/data/localplt-s390-linux-gnu.data: New file.
46916 * scripts/data/localplt-s390x-linux-gnu.data: New file.
46918 2010-10-13 Jakub Jelinek <jakub@redhat.com>
46921 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46922 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46924 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46926 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46927 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46928 if one of x and y is very large and the other is subnormal.
46929 * sysdeps/s390/fpu/s_fmaf.c: New file.
46930 * sysdeps/s390/fpu/s_fma.c: New file.
46931 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46932 * sysdeps/powerpc/fpu/s_fma.S: New file.
46933 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46934 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46935 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46937 2010-10-12 Jakub Jelinek <jakub@redhat.com>
46940 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46942 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46943 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46944 * sysdeps/i386/i686/multiarch/s_fma.c: Include
46945 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46946 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46947 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46948 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46950 2010-10-12 Ulrich Drepper <drepper@redhat.com>
46953 * posix/regcomp.c (parse_branch): One more memory leak plugged.
46954 * posix/bug-regex31.input: Add test case.
46956 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46958 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46959 * posix/bug-regex31.input: New file.
46962 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46963 (parse_sub_exp): Fix last change, use postorder.
46965 * posix/bug-regex31.c: New file.
46966 * posix/Makefile: Add rules to build and run bug-regex31.
46968 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46971 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46974 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46975 to have entries in sys_siglist.
46978 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46981 2010-10-07 Jakub Jelinek <jakub@redhat.com>
46984 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46985 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46986 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46987 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46988 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46989 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46990 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46991 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46992 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46993 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46994 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46995 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46996 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46997 * math/ftestexcept.c (fetestexcept): Likewise.
46998 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46999 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47000 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47001 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47002 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47003 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47004 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47006 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47009 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47012 2010-10-06 Ulrich Drepper <drepper@gmail.com>
47014 * string/bug-strstr1.c: New file.
47015 * string/Makefile: Add rules to build and run bug-strstr1.
47017 2010-10-05 Eric Blake <eblake@redhat.com>
47020 * string/str-two-way.h (two_way_long_needle): Always clear memory
47021 when skipping input due to the shift table.
47023 2010-10-03 Ulrich Drepper <drepper@gmail.com>
47026 * malloc/mcheck.c: Handle large requests.
47029 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47030 for strncmp and strncasecmp.
47031 * string/stratcliff.c: Add tests for strcmp and strncmp.
47032 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47034 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47036 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47039 2010-09-30 Andreas Jaeger <aj@suse.de>
47041 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47042 (CGROUP_SUPER_MAGIC): Define.
47043 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47044 Handle btrfs and cgroup file systems.
47045 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47048 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
47050 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47051 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47053 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47056 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47057 trying to locate the ELF header.
47059 2010-09-27 Andreas Schwab <schwab@redhat.com>
47062 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47063 Mask out sign-bit copies when constructing f_fsid.
47065 2010-09-24 Petr Baudis <pasky@suse.cz>
47067 * debug/stack_chk_fail_local.c: Add missing licence exception.
47068 * debug/warning-nop.c: Likewise.
47070 2010-09-15 Joseph Myers <joseph@codesourcery.com>
47072 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47073 implementing getdents64 using getdents syscall, set d_type if
47074 __ASSUME_GETDENTS32_D_TYPE.
47076 2010-09-16 Andreas Schwab <schwab@redhat.com>
47078 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47079 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47081 2010-09-21 Ulrich Drepper <drepper@redhat.com>
47084 * posix/unistd.h: Undo change of feature selection for ftruncate from
47087 2010-09-20 Ulrich Drepper <drepper@redhat.com>
47089 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47092 2010-09-20 Andreas Schwab <schwab@redhat.com>
47094 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47096 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47098 2010-09-14 Andreas Schwab <schwab@redhat.com>
47100 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47101 variables after CHECK_SP call.
47102 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47104 2010-09-13 Andreas Schwab <schwab@redhat.com>
47105 Ulrich Drepper <drepper@redhat.com>
47107 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47108 re-relocationg ld.so.
47109 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47110 _dl_init_paths call.
47111 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
47114 2010-09-14 Ulrich Drepper <drepper@redhat.com>
47116 * resolv/res_init.c (__res_vinit): Count the default server we added.
47118 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
47119 Ulrich Drepper <drepper@redhat.com>
47122 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47123 (____longjmp_chk): Use %ebx for saving value across system call.
47126 2010-09-06 Andreas Schwab <schwab@redhat.com>
47128 * manual/Makefile: Don't mix pattern rules with normal rules.
47130 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
47132 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47134 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47135 * libio/iofopncook.c (_IO_cookie_init): Likewise.
47136 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47137 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47138 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47141 2010-09-04 Ulrich Drepper <drepper@redhat.com>
47144 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47145 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47147 2010-09-02 Ulrich Drepper <drepper@redhat.com>
47149 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47150 * sysdeps/x86_64/addmul_1.S: Likewise.
47151 * sysdeps/x86_64/lshift.S: Likewise.
47152 * sysdeps/x86_64/mul_1.S: Likewise.
47153 * sysdeps/x86_64/rshift.S: Likewise.
47154 * sysdeps/x86_64/sub_n.S: Likewise.
47155 * sysdeps/x86_64/submul_1.S: Likewise.
47157 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
47159 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47160 Define __sched_param instead of SCHED_* and sched_param when
47161 <bits/sched.h> is included with __need_schedparam defined.
47162 * bits/sched.h [__need_schedparam]
47163 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47164 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47165 (__defined_schedparam): Define to 1.
47166 (__sched_param): New structure, identical to sched_param.
47167 (__need_schedparam): Undefine.
47169 2010-08-31 Mike Frysinger <vapier@gentoo.org>
47171 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47172 (epoll_create1): Declare.
47174 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47176 2010-08-31 Andreas Schwab <schwab@redhat.com>
47179 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47180 shifting retval into place.
47182 2010-09-01 Ulrich Drepper <drepper@redhat.com>
47184 * nis/rpcsvc/nis.h: Update copyright notice.
47185 * nis/rpcsvc/nis.x: Likewise.
47186 * nis/rpcsvc/nis_callback.h: Likewise.
47187 * nis/rpcsvc/nis_callback.x: Likewise.
47188 * nis/rpcsvc/nis_object.x: Likewise.
47189 * nis/rpcsvc/nis_tags.h: Likewise.
47190 * nis/rpcsvc/yp.h: Likewise.
47191 * nis/rpcsvc/yp.x: Likewise.
47192 * nis/rpcsvc/ypupd.h: Likewise.
47193 * nis/yp_xdr.c: Likewise.
47194 * nis/ypupdate_xdr.c: Likewise.
47196 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
47197 mainly the body of pmap_getport. Add parameters to specify timeouts.
47198 (pmap_getport): Use __libc_rpc_getport.
47199 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47200 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47201 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47203 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
47205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47208 2010-08-27 Roland McGrath <roland@redhat.com>
47210 * sysdeps/i386/i686/multiarch/Makefile
47211 (CFLAGS-varshift.c): New variable.
47213 2010-08-27 Ulrich Drepper <drepper@redhat.com>
47215 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47216 * sysdeps/i386/i686/multiarch/varshift.c: New file.
47218 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47220 * sysdeps/x86_64/strlen.S: Minimal code improvement.
47222 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
47224 * sysdeps/x86_64/strlen.S: Unroll the loop.
47225 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47226 strlen-sse2 strlen-sse2-bsf.
47227 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47228 __strlen_no_bsf if bit_Slow_BSF is set.
47229 (__strlen_sse42): Removed.
47230 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47231 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47233 2010-08-25 Roland McGrath <roland@redhat.com>
47235 * sysdeps/x86_64/multiarch/varshift.S: File removed.
47236 * sysdeps/x86_64/multiarch/varshift.c: New file.
47237 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47238 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47239 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47240 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47242 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
47244 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47245 strlen-sse2 strlen-sse2-bsf.
47246 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47247 __strlen_sse2_bsf if bit_Slow_BSF is unset.
47248 (__strlen_sse2): Removed.
47249 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47250 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47251 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47252 bit_Slow_BSF for Atom.
47253 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47254 (index_Slow_BSF): Define.
47255 (HAS_SLOW_BSF): Define.
47257 2010-08-25 Ulrich Drepper <drepper@redhat.com>
47260 * resolv/res_init.c (__res_vinit): When no server address at all
47261 is given default to loopback.
47263 2010-08-24 Roland McGrath <roland@redhat.com>
47265 * configure.in: Remove config-name.h generation.
47266 * configure: Regenerated.
47267 * config-name.in: File removed.
47268 * scripts/config-uname.sh: New file.
47269 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47270 ($(objdir)config-name.h): New target.
47272 * sunrpc/rpc_parse.h: Avoid nested comment.
47274 2010-08-24 Richard Henderson <rth@redhat.com>
47275 Ulrich Drepper <drepper@redhat.com>
47276 H.J. Lu <hongjiu.lu@intel.com>
47278 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47279 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47280 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47281 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47282 _mm_alignr_epi8 with _mm_loadu_si128.
47283 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47284 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47285 (__m128i_shift_right): Removed.
47286 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47287 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47288 * sysdeps/x86_64/multiarch/varshift.h: New file.
47289 * sysdeps/x86_64/multiarch/varshift.S: New file.
47291 2010-08-21 Mike Frysinger <vapier@gentoo.org>
47293 * configure.in: Move assembler checks to before sysdep dir checking.
47295 2010-08-20 Petr Baudis <pasky@suse.cz>
47297 * LICENSES: Sync the sunrpc license.
47299 2010-08-19 Ulrich Drepper <drepper@redhat.com>
47301 * sunrpc/auth_des.c: Update copyright notice once again.
47302 * sunrpc/auth_none.c: Likewise.
47303 * sunrpc/auth_unix.c: Likewise.
47304 * sunrpc/authdes_prot.c: Likewise.
47305 * sunrpc/authuxprot.c: Likewise.
47306 * sunrpc/bindrsvprt.c: Likewise.
47307 * sunrpc/clnt_gen.c: Likewise.
47308 * sunrpc/clnt_perr.c: Likewise.
47309 * sunrpc/clnt_raw.c: Likewise.
47310 * sunrpc/clnt_simp.c: Likewise.
47311 * sunrpc/clnt_tcp.c: Likewise.
47312 * sunrpc/clnt_udp.c: Likewise.
47313 * sunrpc/clnt_unix.c: Likewise.
47314 * sunrpc/des_crypt.c: Likewise.
47315 * sunrpc/des_soft.c: Likewise.
47316 * sunrpc/get_myaddr.c: Likewise.
47317 * sunrpc/getrpcport.c: Likewise.
47318 * sunrpc/key_call.c: Likewise.
47319 * sunrpc/key_prot.c: Likewise.
47320 * sunrpc/openchild.c: Likewise.
47321 * sunrpc/pm_getmaps.c: Likewise.
47322 * sunrpc/pm_getport.c: Likewise.
47323 * sunrpc/pmap_clnt.c: Likewise.
47324 * sunrpc/pmap_prot.c: Likewise.
47325 * sunrpc/pmap_prot2.c: Likewise.
47326 * sunrpc/pmap_rmt.c: Likewise.
47327 * sunrpc/rpc/auth.h: Likewise.
47328 * sunrpc/rpc/auth_unix.h: Likewise.
47329 * sunrpc/rpc/clnt.h: Likewise.
47330 * sunrpc/rpc/des_crypt.h: Likewise.
47331 * sunrpc/rpc/key_prot.h: Likewise.
47332 * sunrpc/rpc/netdb.h: Likewise.
47333 * sunrpc/rpc/pmap_clnt.h: Likewise.
47334 * sunrpc/rpc/pmap_prot.h: Likewise.
47335 * sunrpc/rpc/pmap_rmt.h: Likewise.
47336 * sunrpc/rpc/rpc.h: Likewise.
47337 * sunrpc/rpc/rpc_des.h: Likewise.
47338 * sunrpc/rpc/rpc_msg.h: Likewise.
47339 * sunrpc/rpc/svc.h: Likewise.
47340 * sunrpc/rpc/svc_auth.h: Likewise.
47341 * sunrpc/rpc/types.h: Likewise.
47342 * sunrpc/rpc/xdr.h: Likewise.
47343 * sunrpc/rpc_clntout.c: Likewise.
47344 * sunrpc/rpc_cmsg.c: Likewise.
47345 * sunrpc/rpc_common.c: Likewise.
47346 * sunrpc/rpc_cout.c: Likewise.
47347 * sunrpc/rpc_dtable.c: Likewise.
47348 * sunrpc/rpc_hout.c: Likewise.
47349 * sunrpc/rpc_main.c: Likewise.
47350 * sunrpc/rpc_parse.c: Likewise.
47351 * sunrpc/rpc_parse.h: Likewise.
47352 * sunrpc/rpc_prot.c: Likewise.
47353 * sunrpc/rpc_sample.c: Likewise.
47354 * sunrpc/rpc_scan.c: Likewise.
47355 * sunrpc/rpc_scan.h: Likewise.
47356 * sunrpc/rpc_svcout.c: Likewise.
47357 * sunrpc/rpc_tblout.c: Likewise.
47358 * sunrpc/rpc_util.c: Likewise.
47359 * sunrpc/rpc_util.h: Likewise.
47360 * sunrpc/rpcinfo.c: Likewise.
47361 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47362 * sunrpc/rpcsvc/key_prot.x: Likewise.
47363 * sunrpc/rpcsvc/klm_prot.x: Likewise.
47364 * sunrpc/rpcsvc/mount.x: Likewise.
47365 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47366 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47367 * sunrpc/rpcsvc/rex.x: Likewise.
47368 * sunrpc/rpcsvc/rstat.x: Likewise.
47369 * sunrpc/rpcsvc/rusers.x: Likewise.
47370 * sunrpc/rpcsvc/sm_inter.x: Likewise.
47371 * sunrpc/rpcsvc/spray.x: Likewise.
47372 * sunrpc/rpcsvc/yppasswd.x: Likewise.
47373 * sunrpc/rtime.c: Likewise.
47374 * sunrpc/svc.c: Likewise.
47375 * sunrpc/svc_auth.c: Likewise.
47376 * sunrpc/svc_authux.c: Likewise.
47377 * sunrpc/svc_raw.c: Likewise.
47378 * sunrpc/svc_run.c: Likewise.
47379 * sunrpc/svc_simple.c: Likewise.
47380 * sunrpc/svc_tcp.c: Likewise.
47381 * sunrpc/svc_udp.c: Likewise.
47382 * sunrpc/svc_unix.c: Likewise.
47383 * sunrpc/svcauth_des.c: Likewise.
47384 * sunrpc/xcrypt.c: Likewise.
47385 * sunrpc/xdr.c: Likewise.
47386 * sunrpc/xdr_array.c: Likewise.
47387 * sunrpc/xdr_float.c: Likewise.
47388 * sunrpc/xdr_mem.c: Likewise.
47389 * sunrpc/xdr_rec.c: Likewise.
47390 * sunrpc/xdr_ref.c: Likewise.
47391 * sunrpc/xdr_sizeof.c: Likewise.
47392 * sunrpc/xdr_stdio.c: Likewise.
47394 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47397 2010-08-19 Andreas Schwab <schwab@redhat.com>
47399 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47401 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
47403 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47404 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47405 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47406 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47407 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47408 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47409 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47410 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47411 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47412 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47413 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47414 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47415 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47416 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47418 2010-07-26 Anton Blanchard <anton@samba.org>
47420 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47421 * malloc/arena.c (heap_trim): Likewise.
47423 2010-08-16 Ulrich Drepper <drepper@redhat.com>
47425 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47427 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47428 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47430 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
47432 * sysdeps/i386/elf/Makefile: New file.
47434 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47436 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47437 from fanotify_init.
47438 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47439 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47441 2010-08-15 Ulrich Drepper <drepper@redhat.com>
47443 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47445 * sysdeps/multiarch/strcmp.S: Likewise.
47447 2010-08-14 Ulrich Drepper <drepper@redhat.com>
47449 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47450 strncase_l-nonascii.
47451 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47452 Add strncase_l-ssse3.
47453 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47454 * sysdeps/x86_64/strcmp.S: Likewise.
47455 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47456 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47457 * sysdeps/x86_64/strncase.S: New file.
47458 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47459 * sysdeps/x86_64/strncase_l.S: New file.
47460 * string/Makefile (strop-tests): Add strncasecmp.
47461 * string/test-strncasecmp.c: New file.
47463 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47466 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47467 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47469 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47471 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47473 2010-08-12 Ulrich Drepper <drepper@redhat.com>
47475 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47476 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47477 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47479 2010-05-01 Alan Modra <amodra@gmail.com>
47481 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47482 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47483 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47484 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47485 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47486 tidying. Don't tail-call __sigjmp_save for static lib.
47487 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47489 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47490 (CALL_MCOUNT): Add eh info, and nop after bl.
47491 (TAIL_CALL_SYSCALL_ERROR): New macro.
47492 (PSEUDO_RET): Use it.
47493 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47494 Correct save location of integer regs and cr.
47495 (_dl_profile_resolve): Correct cr save location. Delete nops
47496 after bl when SHARED. Reduce cfi size a little by better
47497 placement of cfi directives.
47498 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47499 make a stack frame. Instead use parm save area as a temp.
47500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47501 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
47502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47503 Don't make a stack frame for parent, use parm save area.
47504 Increase child stack frame to 112 bytes. Don't save unused reg,
47505 and adjust reg usage. Set up cfi on error recovery and
47506 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47508 (__makecontext): Add dummy nop after jump to exit.
47509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47510 Use correct parm save area and cr save, reduce stack frame.
47511 Correct cfi for possible PSEUDO_RET frame setup.
47512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47513 Branch to local label emitted by PSEUDO_RET rather than
47516 2010-08-12 Andreas Schwab <schwab@redhat.com>
47519 * locale/programs/locale.c (print_assignment): New function.
47520 (show_locale_vars): Use it.
47522 2010-08-11 Ulrich Drepper <drepper@redhat.com>
47524 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47526 (struct statfs64): Likewise.
47527 (_STATFS_F_FLAGS): Define.
47528 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47529 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47530 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47531 (ST_VALID): Define locally.
47532 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47533 __statvfs_getflags, use the provided value.
47534 * sysdeps/unix/sysv/linux/kernel-features.h: Define
47535 __ASSUME_STATFS_F_FLAGS.
47537 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47539 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47540 Add sys/fanotify.h.
47541 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47542 fanotify_mask for GLIBC_2.13.
47543 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47544 fanotify_init and fanotify_mark.
47545 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47546 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47548 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47550 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47551 prlimit64 for GLIBC_2.13.
47552 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47554 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47557 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47558 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47559 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47560 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
47562 * sysdeps/unix/sysv/linux/prlimit.c: New file.
47565 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47566 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47568 * nss/Makefile: Add rules to build and run tst-nss-test1.
47569 * shlib-versions: Add entry for libnss_test1.
47570 * nss/nss_test1.c: New file.
47571 * nss/tst-nss-test1.c: New file.
47573 * nss/nsswitch.c (__nss_database_custom): Define new variable.
47574 (__nss_configure_lookup): Set appropriate entry in
47575 __nss_configure_lookup to true.
47576 * nss/nsswitch.h: Define enum with indeces of databases in
47577 databases and __nss_database_custom arrays. Declare
47578 __nss_database_custom.
47579 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47580 to avoid using nscd when custom rules are installed.
47581 * nss/getXXbyYY_r.c: Likewise.
47582 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47584 * nss/nss_files/files-parse.c: Whitespace fixes.
47586 2010-08-09 Ulrich Drepper <drepper@redhat.com>
47589 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47590 * posix/fnmatch_loop.c: Likewise.
47592 2010-07-17 Andi Kleen <ak@linux.intel.com>
47594 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47595 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47596 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47597 * Versions.def [GLIBC_2.13]: Add.
47599 2010-08-06 Ulrich Drepper <drepper@redhat.com>
47601 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47602 Also fail if tpwd after pwuid call is NULL.
47604 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
47606 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47607 when converting to ms.
47609 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47611 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47612 EOPNOTSUPP errors with ENOTTY.
47613 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47614 EOPNOTSUPP errors with ENOTTY.
47616 2010-07-31 Ulrich Drepper <drepper@redhat.com>
47618 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47619 Add strcasecmp_l-ssse3.
47620 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47622 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47623 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47624 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47626 2010-07-30 Ulrich Drepper <drepper@redhat.com>
47628 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47630 * string/Makefile (strop-tests): Add strcasecmp.
47631 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47632 strcasecmp_l-nonascii.
47633 (gen-as-const-headers): Add locale-defines.sym.
47634 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47635 * sysdeps/x86_64/strcasecmp.S: New file.
47636 * sysdeps/x86_64/strcasecmp_l.S: New file.
47637 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47638 * sysdeps/x86_64/locale-defines.sym: New file.
47639 * string/test-strcasecmp.c: New file.
47641 * string/test-strcasestr.c: Test both ends of the range of characters.
47642 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47644 2010-07-29 Roland McGrath <roland@redhat.com>
47647 * manual/locale.texi (Yes-or-No Questions): Fix example code.
47649 2010-07-27 Ulrich Drepper <drepper@redhat.com>
47651 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47654 2010-07-27 Andreas Schwab <schwab@redhat.com>
47656 * manual/memory.texi (Malloc Tunable Parameters): Document
47659 2010-07-26 Roland McGrath <roland@redhat.com>
47662 * configure.in (-fgnu89-inline check): Set and substitute
47663 gnu89_inline, not libc_cv_gnu89_inline.
47664 * configure: Regenerated.
47665 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47667 2010-07-26 Ulrich Drepper <drepper@redhat.com>
47669 * string/test-strnlen.c: New file.
47670 * string/Makefile (strop-tests): Add strnlen.
47671 * string/tester.c (test_strnlen): Add a few more test cases.
47672 * string/tst-strlen.c: Better error reporting.
47674 * sysdeps/x86_64/strnlen.S: New file.
47676 2010-07-24 Ulrich Drepper <drepper@redhat.com>
47678 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47679 lower-latency instructions.
47681 2010-07-23 Ulrich Drepper <drepper@redhat.com>
47683 * string/test-strcasestr.c: New file.
47684 * string/test-strstr.c: New file.
47685 * string/Makefile (strop-tests): Add strstr and strcasestr.
47686 * string/str-two-way.h: Don't undefine MAX.
47687 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47689 2010-07-21 Andreas Schwab <schwab@redhat.com>
47691 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47692 strcasestr-nonascii.
47693 (CFLAGS-strcasestr-nonascii.c): Define.
47694 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47695 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47696 Remove unused attribute.
47698 2010-07-20 Roland McGrath <roland@redhat.com>
47700 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47701 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
47702 ld.so.cache was broken. With it, there is no way to disable dsocaps
47703 like LD_HWCAP_MASK can disable hwcaps.
47705 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47707 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47709 2010-07-16 Ulrich Drepper <drepper@redhat.com>
47711 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47712 call in strcasestr.
47713 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47714 __strcasestr_sse42_nonascii.
47715 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47716 strcasestr-nonascii.c.
47717 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47719 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
47721 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47722 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47723 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47724 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47726 2010-07-09 Ulrich Drepper <drepper@redhat.com>
47728 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47731 2010-07-06 Andreas Schwab <schwab@redhat.com>
47734 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47737 2010-07-06 Ulrich Drepper <drepper@redhat.com>
47739 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47740 _PC_PIPE_BUF using F_GETPIPE_SZ.
47742 2010-07-05 Roland McGrath <roland@redhat.com>
47744 * manual/arith.texi (Rounding Functions): Fix rint description
47745 implicit in round description.
47747 2010-07-02 Ulrich Drepper <drepper@redhat.com>
47749 * elf/Makefile: Fix linking for a few tests to make recent linker
47752 2010-06-30 Andreas Schwab <schwab@redhat.com>
47754 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47755 $(common-objpfx)libc_nonshared.a.
47757 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
47759 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47760 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47761 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47762 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47763 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47764 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47765 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47766 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47781 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47782 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47783 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47784 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47785 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47786 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47787 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47788 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47789 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47790 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47791 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47792 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47808 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
47810 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47811 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
47812 * string/memmove.c (memmove): Renamed to ...
47813 (MEMMOVE): ...this. Default to memmove.
47814 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47815 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47817 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47818 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47819 mempcpy-ssse3-back memmove-ssse3-back.
47820 * sysdeps/x86_64/multiarch/bcopy.S: New file .
47821 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47822 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47823 * sysdeps/x86_64/multiarch/memcpy.S: New file.
47824 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47825 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47826 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47827 * sysdeps/x86_64/multiarch/memmove.c: New file.
47828 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47829 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47830 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47831 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47832 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47833 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47835 (index_Fast_Copy_Backward): Define.
47836 (HAS_ARCH_FEATURE): Define.
47837 (HAS_FAST_REP_STRING): Define.
47838 (HAS_FAST_COPY_BACKWARD): Define.
47840 2010-06-21 Andreas Schwab <schwab@redhat.com>
47842 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47843 Restore proper fallback handling.
47845 2010-06-19 Ulrich Drepper <drepper@redhat.com>
47848 * posix/group_member.c (__group_member): Correct checking loop.
47850 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47851 OOM in getpwuid_r correctly. Return error number when the caller
47852 should return, otherwise -1.
47853 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47854 call returning > 0 value.
47855 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47857 2010-06-07 Andreas Schwab <schwab@redhat.com>
47859 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47860 libc_nonshared.a from targets in modules-names.
47862 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
47864 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47867 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
47869 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47870 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47871 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47872 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47874 2010-06-02 Andreas Schwab <schwab@redhat.com>
47876 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47878 2010-06-14 Ulrich Drepper <drepper@redhat.com>
47880 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47882 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47883 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47884 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47885 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47886 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47887 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47889 2010-06-14 Roland McGrath <roland@redhat.com>
47891 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47893 2010-06-07 Jakub Jelinek <jakub@redhat.com>
47895 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47896 __REDIRECT followed by __THROW.
47897 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47898 * posix/getopt.h (getopt): Likewise.
47900 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47902 * hurd/lookup-at.c (__file_name_lookup_at): Accept
47903 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
47904 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47906 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47907 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47909 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
47911 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47913 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
47916 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47917 Properly check family and model.
47919 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
47921 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47923 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
47925 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47927 2010-05-21 Ulrich Drepper <drepper@redhat.com>
47929 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47932 2010-05-19 Andreas Schwab <schwab@redhat.com>
47934 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47937 2010-05-21 Andreas Schwab <schwab@redhat.com>
47939 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47940 and internal_recvmmsg.
47941 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47942 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47943 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47944 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47946 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47947 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47948 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47950 2010-05-20 Andreas Schwab <schwab@redhat.com>
47952 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47954 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
47956 POWER7 optimizations.
47957 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47958 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47960 2010-05-19 Ulrich Drepper <drepper@redhat.com>
47962 * version.h: Update for 2.13 development version.
47964 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
47966 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47967 exceptions. Return 0.
47969 2010-05-07 Roland McGrath <roland@redhat.com>
47971 * elf/ldconfig.c (main): Add a const.
47973 2010-05-06 Ulrich Drepper <drepper@redhat.com>
47975 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47976 (args_options): Add no-idn option.
47977 (ahosts_keys_int): Add idn_flags to ai_flags.
47978 (parse_option): Handle 'i' option to clear idn_flags.
47980 * malloc/malloc.c (_int_free): Possible race in the most recently
47981 added check. Only act on the data if no current modification
47984 See ChangeLog.17 for earlier changes.