1 2014-06-26 Roland McGrath <roland@hack.frob.com>
3 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
5 (__libc_vfork): Define the function under this name.
6 [!NOT_IN_libc] (__vfork): Make this an alias.
7 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
9 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10 (__libc_vfork): Define the function under this name.
11 [!NOT_IN_libc] (__vfork): Make this an alias.
12 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
14 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
15 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
16 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
17 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
20 code that was previously under [RESET_PID].
21 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
22 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
23 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
25 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
26 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
27 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
28 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
29 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
30 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
31 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
32 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
33 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
34 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
35 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
37 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
38 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
39 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
40 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
41 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
42 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
43 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
44 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
45 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
46 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
47 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
48 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
49 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
50 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
51 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
52 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
53 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
54 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
55 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
56 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
57 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
58 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
59 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
60 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
61 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
62 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
63 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
64 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
65 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
67 2014-06-25 Roland McGrath <roland@hack.frob.com>
69 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
70 that was previously under [RESET_PID].
71 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
73 2014-06-25 Joseph Myers <joseph@codesourcery.com>
75 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
76 not undefine and redefine.
77 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
78 [O_CLOEXEC]: Make code unconditional.
79 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
80 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
82 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
83 conditional variable definition.
84 (shm_open) [O_CLOEXEC]: Make code unconditional.
85 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
88 * configure.ac (USE_REGPARMS): Don't define here.
89 * configure: Regenerated.
90 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
91 * sysdeps/i386/configure: Regenerated.
93 * nptl/createthread.c: Don't include kernel-features.h.
94 * nptl/pthread_cancel.c: Likewise.
95 * nptl/pthread_condattr_setclock.c: Likewise.
96 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
97 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
98 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
99 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
100 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
101 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
102 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
103 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
104 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
105 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
106 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
107 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
108 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
109 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
110 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
111 * nscd/gai.c: Likewise.
112 * nss/nss_db/db-open.c: Likewise.
113 * sysdeps/generic/ldsodefs.h: Likewise.
114 * sysdeps/sh/nptl/tls.h: Likewise.
115 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
116 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
117 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
118 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
119 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
120 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
121 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
122 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
123 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
124 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
125 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
126 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
127 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
128 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
129 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
130 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
131 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
132 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
133 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
134 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
135 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
136 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
137 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
138 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
139 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
140 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
141 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
142 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
143 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
144 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
145 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
146 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
147 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
148 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
149 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
150 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
151 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
152 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
153 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
154 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
155 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
156 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
157 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
158 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
159 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
160 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
161 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
162 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
163 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
164 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
165 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
166 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
167 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
168 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
169 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
170 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
171 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
172 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
195 * sysdeps/unix/sysv/linux/pread.c: Likewise.
196 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
197 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
198 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
199 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
200 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
201 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
202 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
203 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
204 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
205 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
206 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
207 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
208 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
209 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
210 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
211 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
212 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
213 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
214 * sysdeps/unix/sysv/linux/system.c: Likewise.
215 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
216 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
217 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
218 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
219 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
220 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
221 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
223 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
224 * configure: Regenerated.
225 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
227 * configure.ac (base_machine): Do not set specially for particular
229 * configure: Regenerated.
230 * sysdeps/powerpc/preconfigure: Move machine and base_machine
231 settings from configure.ac.
232 * sysdeps/i386/preconfigure: New file.
233 * sysdeps/s390/preconfigure: Likewise.
234 * sysdeps/sh/preconfigure: Likewise.
235 * sysdeps/sparc/preconfigure: Likewise.
237 2014-06-25 Roland McGrath <roland@hack.frob.com>
239 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
240 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
241 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
242 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
243 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
244 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
245 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
246 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
247 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
248 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
249 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
250 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
251 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
252 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
253 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
254 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
255 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
256 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
257 * sysdeps/sparc/sparc64/Makefile: ... appended here.
259 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
260 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
261 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
262 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
263 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
264 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
265 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
266 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
267 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
268 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
269 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
270 * sysdeps/sparc/sparc32/sem_post.c: ... here.
271 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
272 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
273 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
274 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
275 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
276 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
277 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
278 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
279 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
280 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
281 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
282 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
283 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
284 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
285 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
286 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
287 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
288 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
289 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
290 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
291 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
292 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
293 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
294 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
295 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
296 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
298 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
299 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
300 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
301 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
302 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
304 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
306 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
307 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
308 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
309 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
312 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
313 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
314 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
315 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
316 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
318 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
319 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
321 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
324 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
326 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
329 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
331 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
333 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
334 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
335 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
336 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
337 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
340 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
342 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
343 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
344 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
345 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
346 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
348 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
350 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
351 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
352 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
353 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
354 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
355 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
357 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
360 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
361 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
362 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
363 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
365 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
367 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
369 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
371 2014-06-25 Joseph Myers <joseph@codesourcery.com>
373 * timezone/checktab.awk: Update from tzcode 2014e.
374 * timezone/private.h: Likewise.
375 * timezone/tzfile.h: Likewise.
376 * timezone/zdump.c: Likewise.
377 * timezone/zic.c: Likewise.
379 * sysdeps/unix/sysv/linux/kernel-features.h
380 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
381 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
382 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
383 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
384 Remove conditional code.
386 2014-06-25 Will Newton <will.newton@linaro.org>
388 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
389 (_dl_arm_cap_flags): Add HWCAP2 values.
390 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
391 (_DL_HWCAP_COUNT): Increase to 37.
392 (_DL_HWCAP_LAST): New define.
393 (_DL_HWCAP2_LAST): New define.
394 (_dl_procinfo): Add support for printing
396 (_dl_string_hwcap): Use _dl_hwcap_string.
398 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
402 2014-06-25 Joseph Myers <joseph@codesourcery.com>
404 * README: Do not mention ports directory.
406 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
408 * sysdeps/unix/sysv/linux/futimes.c: Do not include
410 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
411 conditional variable definition.
412 (__futimes): Update comment.
413 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
414 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
417 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
418 arguments close to 0.
419 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
421 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
423 * math/auto-libm-test-in: Add more tests of exp10.
424 * math/auto-libm-test-out: Regenerated.
425 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
427 * sysdeps/unix/sysv/linux/kernel-features.h
428 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
429 * sysdeps/unix/sysv/linux/readv.c: Do not include
431 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
432 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
433 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
435 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
437 * sysdeps/unix/sysv/linux/writev.c: Do not include
439 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
440 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
441 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
443 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
446 2014-06-25 Will Newton <will.newton@linaro.org>
448 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
449 comment changes throughout the file. Remove checks
450 for HAVE_*_H definitions that are not required.
451 (__gen_tempname): Call abort if an unknown kind value is
454 2014-06-25 Andreas Schwab <schwab@suse.de>
457 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
458 scalbln, scalblnf, scalblnl in libc.
460 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
463 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
464 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
465 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
467 2014-06-24 Roland McGrath <roland@hack.frob.com>
469 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
470 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
471 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
472 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
474 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
475 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
477 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
478 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
479 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
480 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
481 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
482 * sysdeps/x86/bits/pthreadtypes.h: ... here.
483 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
484 * sysdeps/x86/bits/semaphore.h: ... here.
485 * sysdeps/x86/nptl/elide.h: Moved ...
486 * sysdeps/x86/elide.h: ... here.
487 * sysdeps/x86_64/nptl/Implies: File removed.
488 * sysdeps/i386/nptl/Implies: File removed.
490 2014-06-24 Joseph Myers <joseph@codesourcery.com>
493 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
494 return the argument for normal arguments with exponent below -64.
495 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
497 * math/auto-libm-test-in: Add another test of expm1.
498 * math/auto-libm-test-out: Regenerated.
501 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
502 calling __erfcl for arguments at least 16.
503 * math/auto-libm-test-in: Add more tests of erf.
504 * math/auto-libm-test-out: Regenerated.
506 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
507 individual architectures.
508 * sysdeps/unix/sysv/linux/configure: Regenerated.
509 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
510 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
511 * sysdeps/unix/sysv/linux/powerpc/configure.ac
512 (ldd_rewrite_script): Define variable.
513 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
518 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
519 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
520 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
521 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
522 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
523 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
524 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
525 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
527 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
530 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
531 Rename member __data.d to __data.__elision_data.
533 2014-06-24 Wilco <wdijkstr@arm.com>
535 * NEWS: Add 16918 to fixed bug list.
537 2014-06-24 Wilco <wdijkstr@arm.com>
539 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
541 2014-06-24 Wilco <wdijkstr@arm.com>
543 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
544 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
545 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
546 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
547 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
548 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
549 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
552 2014-06-24 Wilco <wdijkstr@arm.com>
554 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
556 2014-06-24 Wilco <wdijkstr@arm.com>
558 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
559 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
560 * sysdeps/arm/fesetround.c (fesetround): Remove space.
561 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
563 2014-06-24 Wilco <wdijkstr@arm.com>
566 * sysdeps/arm/feupdateenv.c (feupdateenv):
567 Rewrite to reduce FPSCR accesses and fix return value.
569 2014-06-24 Wilco <wdijkstr@arm.com>
571 * sysdeps/arm/fclrexcpt.c (feclearexcept):
572 Optimize to avoid unnecessary FPSCR writes.
573 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
574 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
575 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
576 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
578 2014-06-24 Wilco <wdijkstr@arm.com>
580 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
581 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
582 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
583 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
584 Call libc_fetestexcept_vfp.
585 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
586 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
587 __SOFTFP__ ifdef so that they can be built for softfp.
589 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
591 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
592 argument type signed char.
594 * Makerules (check-abi): Dump diff of symlist if the test
597 2014-06-23 Roland McGrath <roland@hack.frob.com>
599 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
602 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
603 Remove unused variable ST.
605 2014-06-23 Joseph Myers <joseph@codesourcery.com>
609 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
610 small arguments before calling __expm1.
611 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
612 small arguments before calling __expm1f.
613 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
614 small arguments before calling __expm1l.
615 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
617 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
618 * math/auto-libm-test-in: Add more cosh tests. Do not allow
619 spurious underflow for some cosh tests.
620 * math/auto-libm-test-out: Regenerated.
621 * sysdeps/i386/fpu/libm-test-ulps: Update.
624 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
625 (__ieee754_y1): Set errno if return value overflows.
626 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
627 (__ieee754_y1f): Set errno if return value overflows.
628 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
629 (__ieee754_y1l): Set errno if return value overflows.
630 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
631 (__ieee754_y1l): Set errno if return value overflows.
632 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
633 * math/auto-libm-test-out: Regenerated.
635 * math/gen-auto-libm-tests.c: Document use of
636 ignore-zero-inf-sign.
637 (input_flag_type): Add value flag_ignore_zero_inf_sign.
638 (input_flags): Add ignore-zero-inf-sign.
639 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
640 * math/gen-libm-test.pl (generate_testfile): Handle
641 ignore-zero-inf-sign.
642 * math/auto-libm-test-in: Mark some cpow tests with
643 ignore-zero-inf-sign and some with xfail-rounding.
644 * math/auto-libm-test-out: Regenerated.
645 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
646 * sysdeps/i386/fpu/libm-test-ulps: Update.
647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
650 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
651 overflowing or underflowing operations take place with sign of
653 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
654 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
655 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
656 (__ieee754_pow): Recompute overflowing and underflowing results in
657 original rounding mode.
658 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
659 (__powl_helper): Allow negative argument X and scale negated value
660 as needed. Avoid passing value outside [-1, 1] to f2xm1.
661 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
662 overflowing or underflowing operations take place with sign of
664 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
666 * math/auto-libm-test-in: Add more tests of pow.
667 * math/auto-libm-test-out: Regenerated.
668 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
669 (pow_tonearest_test_data): Remove.
670 (pow_test_tonearest): Likewise.
671 (pow_towardzero_test_data): Likewise.
672 (pow_test_towardzero): Likewise.
673 (pow_downward_test_data): Likewise.
674 (pow_test_downward): Likewise.
675 (pow_upward_test_data): Likewise.
676 (pow_test_upward): Likewise.
677 (main): Don't call removed functions.
678 * sysdeps/i386/fpu/libm-test-ulps: Update.
679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
681 2014-06-23 Roland McGrath <roland@hack.frob.com>
683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
857 2014-06-23 Will Newton <will.newton@linaro.org>
858 Wilco <wdijkstr@arm.com>
860 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
861 implementation. Include get-rounding-mode.h.
862 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
863 [!libc_feholdsetround_noex_ctx]: Define
864 libc_feholdsetround_noex_ctx.
865 [!libc_feholdsetround_noexf_ctx]: Define
866 libc_feholdsetround_noexf_ctx.
867 [!libc_feholdsetround_noexl_ctx]: Define
868 libc_feholdsetround_noexl_ctx.
869 (libc_feholdsetround_ctx): New function.
870 (libc_feresetround_ctx): New function.
871 (libc_feholdsetround_noex_ctx): New function.
872 (libc_feresetround_noex_ctx): New function.
874 2014-06-23 Roland McGrath <roland@hack.frob.com>
876 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
877 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
878 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
879 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
880 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
881 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
883 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
884 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
885 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
886 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
887 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
888 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
889 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
890 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
891 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
892 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
893 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
895 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
897 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
898 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
899 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
900 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
901 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
903 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
904 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
905 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
906 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
907 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
908 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
909 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
910 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
912 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
913 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
915 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
916 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
917 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
918 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
920 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
921 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
922 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
923 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
924 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
925 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
926 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
927 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
928 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
929 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
931 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
933 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
934 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
935 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
936 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
937 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
938 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
939 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
940 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
941 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
942 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
943 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
944 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
945 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
947 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
948 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
949 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
950 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
951 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
952 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
954 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
955 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
956 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
957 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
958 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
960 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
961 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
962 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
963 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
964 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
965 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
966 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
967 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
968 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
969 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
970 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
971 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
972 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
973 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
974 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
975 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
976 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
977 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
978 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
979 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
980 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
981 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
982 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
983 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
984 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
985 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
986 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
987 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
989 2014-06-23 Joseph Myers <joseph@codesourcery.com>
991 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
992 (FALLOC_FL_COLLAPSE_RANGE): New macro.
993 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
994 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
995 (IPV6_PMTUDISC_INTERFACE): Likewise.
996 (IPV6_PMTUDISC_OMIT): Likewise.
998 2014-06-23 Andreas Schwab <schwab@suse.de>
1000 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1001 Remove unused errout label.
1003 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1005 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1006 macro: hardware supports Vector Crypto instructions.
1008 2014-06-23 Will Newton <will.newton@linaro.org>
1010 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1011 rather than __builtin_expect.
1013 * elf/dl-lookup.c (undefined_msg): Remove variable.
1014 (_dl_lookup_symbol_x): Replace undefined_msg with string
1017 * elf/dl-lookup.c (do_lookup_unique): New function.
1018 (do_lookup_x): Move STB_GNU_UNIQUE handling code
1019 to a separate function.
1021 2014-06-23 Andreas Schwab <schwab@suse.de>
1024 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1025 before reading the next line.
1027 2014-06-23 Will Newton <will.newton@linaro.org>
1029 * test-skeleton.c (signal_handler): Use printf and %m
1030 rather than perror. Use printf rather than fprintf to
1031 stderr. Use puts rather than fputs to stderr.
1034 2014-06-22 Ludovic Courtès <ludo@gnu.org>
1036 * nscd/nscd.c (thread_info_t): Remove typedef.
1037 (thread_info): Remove variable.
1039 2014-06-21 Allan McRae <allan@archlinux.org>
1041 * NEWS: Mention CVE-2014-4043.
1043 2014-06-20 Roland McGrath <roland@hack.frob.com>
1045 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1046 * nptl/smp.h: ... here.
1048 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1050 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1051 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1052 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1053 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1055 * nptl/allocatestack.c: Include <stack-aliasing.h>.
1056 * nptl/stack-aliasing.h: New file.
1057 * sysdeps/i386/i686/stack-aliasing.h: New file.
1058 * sysdeps/i386/i686/nptl/Makefile: File removed.
1059 * sysdeps/x86_64/stack-aliasing.h: New file.
1060 * sysdeps/x86_64/nptl/Makefile
1061 (CFLAGS-pthread_create.c): Variable removed.
1063 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1064 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1066 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1067 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1070 2014-06-21 Joseph Myers <joseph@codesourcery.com>
1072 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1073 (__ASSUME_SIGFRAME_V2): Remove macro.
1074 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1075 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1076 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1077 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1078 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1079 Declare as function. Remove conditional macro definitions.
1080 (__default_rt_sa_restorer): Likewise.
1081 (__default_sa_restorer_v1): Remove declaration.
1082 (__default_sa_restorer_v2): Likewise.
1083 (__default_rt_sa_restorer_v1): Likewise.
1084 (__default_rt_sa_restorer_v2): Likewise.
1085 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1086 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1087 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1089 2014-06-20 Roland McGrath <roland@hack.frob.com>
1091 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1092 (libpthread-routines): Add sysdep.
1093 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1094 * sysdeps/unix/sysv/linux/sparc/Versions
1095 (libpthread: GLIBC_2.3.3): New version set.
1096 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1097 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1098 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1099 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1100 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1101 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1103 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1104 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1105 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1106 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1107 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1108 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1109 * sysdeps/sparc/nptl/sem_init.c: ... here.
1110 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1111 * sysdeps/sparc/nptl/sem_post.c: ... here.
1112 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1113 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1114 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1115 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1116 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1117 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1118 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1119 (libpthread-routines): Add cpu_relax.
1120 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1122 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1123 (librt: GLIBC_2.3.3): New version set.
1124 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1125 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1126 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1127 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1128 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1129 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1130 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1131 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1133 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1134 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1135 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1136 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1137 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1138 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1139 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1140 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1141 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1142 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1144 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1146 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1148 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1150 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1152 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1154 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1156 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1158 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1160 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1162 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1164 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1166 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1167 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1168 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1169 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1170 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1171 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1172 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1173 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1174 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1175 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1176 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1178 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1179 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1180 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1181 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1182 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1184 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1186 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1187 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1188 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1189 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1190 * nscd/nscd.c: Likewise.
1191 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1192 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1193 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1194 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1196 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1197 <kernel-features.h>.
1198 (init_mq_netlink): Remove conditional have_sock_cloexec
1199 definitions. Remove code conditional on have_sock_cloexec < 0.
1200 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1201 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1202 * sysdeps/unix/sysv/linux/opensock.c: Do not include
1203 <kernel-features.h>.
1204 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1205 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1207 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1209 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1210 Add tests for memset_chk and memset.
1212 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1215 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1218 * elf/tst-dl-iter-static.c: New file.
1219 * elf/Makefile (tests-static): Add tst-dl-iter-static.
1221 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1224 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1226 * sysdeps/unix/sysv/linux/kernel-features.h
1227 (__ASSUME_F_GETOWN_EX): Remove macro.
1228 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1229 <kernel-features.h>.
1230 (miss_F_GETOWN_EX): Remove variable or macro.
1231 (do_fcntl): Do not check miss_F_GETOWN_EX.
1232 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1234 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1236 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1237 [!__ASSUME_AT_RANDOM]: Remove conditional code.
1238 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1240 * sysdeps/unix/sysv/linux/kernel-features.h
1241 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1242 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1243 [ADJ_OFFSET_SS_READ]: Make code unconditional.
1244 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1246 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1249 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1250 Fix calculation of the symbol's value.
1251 * sysdeps/arm/tst-armtlsdescloc.c: New file.
1252 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1253 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1254 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1255 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1256 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1257 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1258 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1259 (modules-names): Add `tst-armtlsdescmod',
1260 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1261 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1262 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1263 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1264 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1265 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1266 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1267 ($(objpfx)tst-armtlsdescloc): New dependency.
1268 ($(objpfx)tst-armtlsdescextnow): Likewise.
1269 ($(objpfx)tst-armtlsdescextlazy): Likewise.
1270 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1272 * sysdeps/arm/configure: Regenerate.
1274 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1276 * include/fcntl.h (__atfct_seterrno): Remove prototype.
1277 (__atfct_seterrno_2): Likewise.
1278 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1279 <kernel-features.h>.
1280 (__ASSUME_ATFCTS): Do not undefine and redefine.
1281 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1282 (__have_atfcts): Remove conditional definition.
1283 (__fxstatat([__NR_fstatat64]: Make code unconditional.
1284 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1285 unreachable if [__ASSUME_ATFCTS].
1286 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1287 not undefine and redefine.
1288 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1289 <kernel-features.h>.
1290 (faccessat) [__NR_faccessat]: Make code unconditional.
1291 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1292 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1293 <kernel-features.h>.
1294 (fchmodat) [__NR_fchmodat]: Make code unconditional.
1295 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1296 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1297 <kernel-features.h>.
1298 (fchownat) [__NR_fchownat]: Make code unconditional.
1299 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1300 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1301 <kernel-features.h>.
1302 (futimesat) [__NR_futimesat]: Make code unconditional.
1303 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1304 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1305 <kernel-features.h>.
1306 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1307 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1308 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1309 <kernel-features.h>.
1310 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1311 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1312 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1313 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1314 <kernel-features.h>.
1315 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1316 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1317 * sysdeps/unix/sysv/linux/linkat.c: Do not include
1318 <kernel-features.h>.
1319 (linkat) [__NR_linkat]: Make code unconditional.
1320 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1321 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1322 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1323 <kernel-features.h>.
1324 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1325 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1326 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1327 <kernel-features.h>.
1328 (mkdirat) [__NR_mkdirat]: Make code unconditional.
1329 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1330 * sysdeps/unix/sysv/linux/openat.c: Do not include
1331 <kernel-features.h>.
1332 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1333 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1334 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1335 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1336 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1337 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1338 <kernel-features.h>.
1339 (readlinkat) [__NR_readlinkat]: Make code unconditional.
1340 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
1341 result of INLINE_SYSCALL directly, not via int variable.
1342 * sysdeps/unix/sysv/linux/renameat.c: Do not include
1343 <kernel-features.h>.
1344 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1345 (renameat) [__NR_renameat]: Make code unconditional.
1346 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1347 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1348 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1349 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1350 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1351 (__ASSUME_ATFCTS): Do not undefine and redefine.
1352 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1353 <kernel-features.h>.
1354 (symlinkat) [__NR_symlinkat]: Make code unconditional.
1355 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1356 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1357 <kernel-features.h>.
1358 (unlinkat) [__NR_unlinkat]: Make code unconditional.
1359 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1360 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1361 (__ASSUME_ATFCTS): Do not undefine and redefine.
1362 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1363 <kernel-features.h>.
1364 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1365 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1366 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1367 <kernel-features.h>.
1368 (__xmknodat) [__NR_mknodat]: Make code unconditional.
1369 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1371 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1373 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1375 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
1378 * posix/regcomp.c (parse_reg_exp): Deallocate partially
1379 constructed tree before returning error.
1380 * posix/bug-regexp36.c: Expand test case.
1382 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1385 * math/libm-test.inc (scalbln_test_date):
1386 Add errno expectations.
1387 * math/w_scalblnf.c: New File.
1388 Add wrapper which checks for setting errno to ERANGE.
1389 Add weak_alias for corresponding scalbln function.
1390 * math/w_scalbln.c: Likewise.
1391 * math/w_scalblnl.c: Likewise.
1392 * math/Makefile (libm-calls): Add w_scalbln.
1393 * sysdeps/ieee754/flt-32/s_scalblnf.c:
1394 Remove weak_alias for corresponding scalbln function.
1395 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1396 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1397 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1398 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1399 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1400 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1401 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1402 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1403 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1404 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1405 Remove long_double_symbol for scalblnl function in libm, libc.
1406 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1407 Add wrapper which checks for setting errno to ERANGE.
1408 Add long_double_symbol for scalblnl function in libm, libc.
1409 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1410 Remove long_double_symbol for scalblnl in libm.
1411 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1412 Add wrapper which checks for setting errno to ERANGE.
1413 Add long_double_symbol for scalblnl function in libm.
1414 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1415 Do not use wrapper because of own implementation.
1417 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
1419 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1420 3 bytes for __pad1 for x32.
1421 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1423 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
1424 H.J. Lu <hongjiu.lu@intel.com>
1426 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1427 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1428 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1429 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1430 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1432 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
1435 * posix/regcomp.c (parse_expression): Deallocate partially
1436 constructed tree before returning error.
1437 * posix/Makefile.c (tests): Add bug-regex36.
1438 (generated): Add bug-regex36.mtrace.
1439 (tests-special): Add $(objpfx)bug-regex36-mem.out
1440 (bug-regex36-ENV): New variable.
1441 ($(objpfx)bug-regex36-mem.out): New rule.
1442 * posix/bug-regex36.c: New file.
1444 2014-06-19 Will Newton <will.newton@linaro.org>
1446 * malloc/malloc.c (systrim): If extra is zero then return
1449 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1451 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1453 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
1455 * sysdeps/aarch64/strchr.S: New file.
1457 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1460 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1461 from arguments -2 or below.
1462 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1463 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1465 2014-06-18 Andreas Schwab <schwab@suse.de>
1468 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1469 of a bracket expr not to run off the end of the string.
1470 * posix/Makefile (tests): Add tst-fnmatch3.
1471 * posix/tst-fnmatch3.c: New file.
1473 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1475 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1476 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1477 [$(cross-compiling) = no]: Likewise.
1478 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1479 [$(cross-compiling) = no]: Likewise.
1481 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1484 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1485 double, adjusted for any remainder from the high double.
1486 * math/libm-test.inc (nearbyint): Add tests.
1489 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1491 * nptl/sysdeps/powerpc/Makefile: Moved ...
1492 * sysdeps/powerpc/nptl/Makefile: ... here.
1493 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1494 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1495 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1496 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1497 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1498 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1499 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1500 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1501 * nptl/sysdeps/powerpc/tls.h: Moved ...
1502 * sysdeps/powerpc/nptl/tls.h: ... here.
1504 2014-06-16 Joseph Myers <joseph@codesourcery.com>
1507 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1508 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1509 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1510 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1511 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1512 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1513 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1514 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1515 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1517 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
1519 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1521 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
1523 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1526 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1529 2014-06-16 Florian Weimer <fweimer@redhat.com>
1532 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1533 non-executed part of the test.
1535 2014-06-16 Andreas Schwab <schwab@suse.de>
1537 * string/bits/string2.h (strdup, strndup): Update feature guard.
1539 2014-06-14 David S. Miller <davem@davemloft.net>
1541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1543 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
1545 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1546 that was previously under [RESET_PID].
1547 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1549 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1550 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1551 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1552 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1553 (__libc_vfork): New strong alias.
1554 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1556 2014-06-14 Andi Kleen <ak@linux.intel.com>
1558 * sysdeps/generic/elide.h: New file.
1560 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1562 * Makefile (installed-headers): Adjust path of pthread.h header.
1564 2014-06-13 Roland McGrath <roland@hack.frob.com>
1566 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1567 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1568 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1569 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1571 * nptl/sysdeps/s390/Makefile: Moved ...
1572 * sysdeps/s390/nptl/Makefile: ... here.
1573 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1574 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1575 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1576 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1577 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1578 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1579 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1580 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1581 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1582 * sysdeps/s390/nptl/pthreaddef.h: ... here.
1583 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1584 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1585 * nptl/sysdeps/s390/tls.h: Moved ...
1586 * sysdeps/s390/nptl/tls.h: ... here.
1588 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1589 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1591 2014-06-13 David S. Miller <davem@davemloft.net>
1593 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1594 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1595 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1596 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1597 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1598 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1599 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1600 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1601 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1602 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1603 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1604 Remove RESET_PID cpp guards.
1605 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1606 Remove RESET_PID cpp guards.
1607 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1609 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
1611 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1614 2014-06-13 Andi Kleen <ak@linux.intel.com>
1616 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1617 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1618 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1619 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1620 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1621 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1622 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1623 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1624 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1625 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1626 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1627 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1628 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1629 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1630 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1631 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1632 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1633 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1634 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1635 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1637 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1638 (pthread_rwlock_rdlock): Add elision.
1639 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1640 (pthread_rwlock_wrlock): Add elision.
1641 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1642 (pthread_rwlock_trywrlock): Add elision.
1643 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1644 (pthread_rwlock_tryrdlock): Add elision.
1645 * nptl/pthread_rwlock_unlock.c: Include elide.h.
1646 (pthread_rwlock_tryrdlock): Add elision unlock.
1647 * nptl/sysdeps/pthread/pthread.h:
1648 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1649 (PTHREAD_RWLOCK_INITIALIZER,
1650 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1651 Handle new elision field.
1652 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1653 * sysdeps/arm/nptl/bits/pthreadtypes.h
1654 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1655 * sysdeps/sh/nptl/bits/pthreadtypes.h
1656 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1657 * sysdeps/tile/nptl/bits/pthreadtypes.h
1658 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1659 * sysdeps/a/nptl/bits/pthreadtypes.h
1660 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1661 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1662 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1663 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1664 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1665 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1666 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1667 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1668 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1669 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1670 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1671 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1672 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1673 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1674 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1675 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1676 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1677 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1678 (elision_init): Set try_xbegin to zero when no RTM.
1679 * sysdeps/x86/nptl/bits/pthreadtypes.h
1680 (pthread_rwlock_t): Change __pad1 to __rwelision.
1681 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1683 2014-06-13 Andi Kleen <ak@linux.intel.com>
1685 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1686 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1687 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1688 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1690 2014-06-13 Meador Inge <meadori@codesourcery.com>
1693 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1694 that the cached result has been set before returning it.
1696 2014-06-12 Roland McGrath <roland@hack.frob.com>
1698 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1699 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1700 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1701 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1702 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1703 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1705 * nptl/sysdeps/sparc/Makefile: Moved ...
1706 * sysdeps/sparc/nptl/Makefile: ... here.
1707 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1708 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1709 * nptl/sysdeps/sparc/tls.h: Moved ...
1710 * sysdeps/sparc/nptl/tls.h: ... here.
1711 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1712 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1713 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1714 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1715 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1716 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1717 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1718 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1719 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1720 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1721 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1722 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1723 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1724 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1725 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1726 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1727 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1728 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1730 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1731 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1733 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1734 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1736 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1737 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1740 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1742 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1743 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1745 * sysdeps/pthread/posix-timer.h: Include <list.h>.
1746 (struct list_links): Type removed.
1747 (struct thread_node, struct timer_node): Replace struct list_links
1748 with struct list_head.
1749 (list_unlink_ip): Likewise.
1750 * sysdeps/pthread/timer_routines.c
1751 (timer_free_list, thread_free_list, thread_active_list): Likewise.
1752 (list_append, list_insbefore): Likewise.
1753 (list_init): Function removed.
1754 (thread_init, init_module): Use INIT_LIST_HEAD instead.
1755 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1756 * sysdeps/pthread/Makefile: ... here, new file.
1758 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1759 * sysdeps/nptl/Implies: ... here.
1760 * sysdeps/unix/sysv/linux/Implies: Add nptl.
1761 * nptl/sysdeps/pthread/list.h: Moved ...
1762 * include/list.h: ... here.
1763 * nptl/sysdeps/pthread/createthread.c: Moved ...
1764 * nptl/createthread.c: ... here.
1765 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1766 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1767 * nptl/pt-longjmp.c: ... here.
1768 * nptl/sysdeps/pthread/Makefile: Moved ...
1769 * sysdeps/nptl/Makefile: ... here.
1770 * nptl/sysdeps/pthread/Subdirs: Moved ...
1771 * sysdeps/nptl/Subdirs: ... here.
1772 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1773 * sysdeps/nptl/aio_misc.h: ... here.
1774 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1775 * sysdeps/nptl/bits/libc-lock.h: ... here.
1776 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1777 * sysdeps/nptl/bits/libc-lockP.h: ... here.
1778 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1779 * sysdeps/nptl/bits/stdio-lock.h: ... here.
1780 * nptl/sysdeps/pthread/configure: Moved ...
1781 * sysdeps/nptl/configure: ... here.
1782 * nptl/sysdeps/pthread/configure.ac: Moved ...
1783 * sysdeps/nptl/configure.ac: ... here.
1784 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1785 * sysdeps/nptl/gai_misc.h: ... here.
1786 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1787 * sysdeps/nptl/librt-cancellation.c: ... here.
1788 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1789 * sysdeps/nptl/malloc-machine.h: ... here.
1790 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1791 * sysdeps/nptl/pthread-functions.h: ... here.
1792 * nptl/sysdeps/pthread/pthread.h: Moved ...
1793 * sysdeps/nptl/pthread.h: ... here.
1794 * nptl/sysdeps/pthread/setxid.h: Moved ...
1795 * sysdeps/nptl/setxid.h: ... here.
1796 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1797 * sysdeps/nptl/sigfillset.c: ... here.
1798 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1799 * sysdeps/nptl/tcb-offsets.h: ... here.
1800 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1801 * sysdeps/nptl/tst-mqueue8x.c: ... here.
1802 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1803 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1804 * nptl/sysdeps/pthread/allocalim.h: Moved ...
1805 * sysdeps/pthread/allocalim.h: ... here.
1806 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1807 * sysdeps/pthread/bits/sigthread.h: ... here.
1808 * nptl/sysdeps/pthread/flockfile.c: Moved ...
1809 * sysdeps/pthread/flockfile.c: ... here.
1810 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1811 * sysdeps/pthread/ftrylockfile.c: ... here.
1812 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1813 * sysdeps/pthread/funlockfile.c: ... here.
1814 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1815 * sysdeps/pthread/posix-timer.h: ... here.
1816 * nptl/sysdeps/pthread/timer_create.c: Moved ...
1817 * sysdeps/pthread/timer_create.c: ... here.
1818 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1819 * sysdeps/pthread/timer_delete.c: ... here.
1820 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
1821 * sysdeps/pthread/timer_getoverr.c: ... here.
1822 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
1823 * sysdeps/pthread/timer_gettime.c: ... here.
1824 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
1825 * sysdeps/pthread/timer_routines.c: ... here.
1826 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
1827 * sysdeps/pthread/timer_settime.c: ... here.
1828 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
1829 * sysdeps/pthread/tst-timer.c: ... here.
1830 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
1831 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
1833 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
1834 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
1836 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
1837 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
1838 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
1839 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
1840 Update #include target.
1841 * nptl/sysdeps/i386/i686/Makefile: Moved ...
1842 * sysdeps/i386/i686/nptl/Makefile: ... here.
1843 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
1844 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
1845 Update #include target.
1846 * nptl/sysdeps/i386/i686/tls.h: Moved ...
1847 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
1848 * nptl/sysdeps/i386/Makefile: Moved ...
1849 * sysdeps/i386/nptl/Makefile: ... here.
1850 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
1851 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
1852 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
1853 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
1854 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
1855 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
1856 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
1857 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
1858 * sysdeps/i386/nptl/pthreaddef.h: ... here.
1859 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
1860 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
1861 * nptl/sysdeps/i386/tls.h: Moved ...
1862 * sysdeps/i386/nptl/tls.h: ... here.
1864 * sysdeps/sh/Makefile [$(subdir) = csu]
1865 (gen-as-const-headers): Add tcb-offsets.sym.
1866 * nptl/sysdeps/sh/Makefile: File removed.
1867 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
1868 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
1869 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
1870 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
1871 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
1872 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
1873 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
1874 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
1875 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
1876 * sysdeps/sh/nptl/pthreaddef.h: ... here.
1877 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
1878 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
1879 * nptl/sysdeps/sh/tls.h: Moved ...
1880 * sysdeps/sh/nptl/tls.h: ... here.
1881 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
1882 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
1883 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
1884 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
1885 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
1886 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
1887 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
1888 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
1889 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
1890 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
1891 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
1892 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
1893 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
1894 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
1895 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
1896 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
1897 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
1898 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
1899 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
1900 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
1901 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
1902 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
1903 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
1904 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
1905 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
1907 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
1908 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
1910 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
1911 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
1912 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
1913 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
1914 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
1915 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
1916 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
1917 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
1918 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
1919 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
1920 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
1921 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
1922 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
1923 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
1924 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
1925 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
1926 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
1927 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
1928 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
1930 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1932 * posix/spawn_faction_addopen.c: Include string.h.
1934 2014-06-11 Roland McGrath <roland@hack.frob.com>
1936 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
1937 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
1938 * nptl/sysdeps/x86_64/Makefile: Moved ...
1939 * sysdeps/x86_64/nptl/Makefile: ... here.
1940 * nptl/sysdeps/x86_64/configure: Moved ...
1941 * sysdeps/x86_64/nptl/configure: ... here.
1942 * nptl/sysdeps/x86_64/configure.ac: Moved ...
1943 * sysdeps/x86_64/nptl/configure.ac: ... here.
1944 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
1945 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
1946 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
1947 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
1948 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
1949 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
1950 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
1951 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
1952 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
1953 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
1954 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
1955 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
1956 * nptl/sysdeps/x86_64/tls.h: Moved ...
1957 * sysdeps/x86_64/nptl/tls.h: ... here.
1958 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
1959 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
1960 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
1961 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
1963 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
1965 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1969 2014-06-11 Joseph Myers <joseph@codesourcery.com>
1971 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
1973 [POSIX] (off_t): Likewise.
1974 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
1975 [POSIX] (S_ISBLK): Require macro.
1976 [POSIX] (S_ISCHR): Likewise.
1977 [POSIX] (S_ISDIR): Likewise.
1978 [POSIX] (S_ISFIFO): Likewise.
1979 [POSIX] (S_ISREG): Likewise.
1980 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
1982 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
1984 [POSIX] (time_t): Likewise.
1985 [POSIX] (timer_t): Likewise.
1987 2014-06-11 Florian Weimer <fweimer@redhat.com>
1990 * posix/spawn_int.h (struct __spawn_action): Make the path string
1991 non-const to support deallocation.
1992 * posix/spawn_faction_addopen.c
1993 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
1994 * posix/spawn_faction_destroy.c
1995 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
1996 path in all spawn_do_open actions.
1997 * posix/tst-spawn.c (do_test): Exercise the copy operation in
1998 posix_spawn_file_actions_addopen.
2000 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
2002 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2003 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2004 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2005 conditional code always true.
2006 (__libc_vfork): New alias.
2008 2014-06-11 Roland McGrath <roland@hack.frob.com>
2010 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2011 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2013 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2015 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2016 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2018 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2019 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2021 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2022 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2024 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2026 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2027 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2028 multiarch strcmp for PPC64.
2029 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2030 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2031 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2032 multiarch optimizations.
2033 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2034 (__libc_ifunc_impl_list): Likewise.
2036 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2038 * benchtests/scripts/validate_benchout.py: New script.
2039 * benchtests/Makefile (bench-func): Call it.
2040 * benchtests/scripts/benchout.schema.json: New file.
2042 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
2044 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2045 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2046 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2047 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2048 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2049 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2050 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2051 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2052 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2053 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2054 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2055 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2056 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2057 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2058 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2059 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2060 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2062 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2064 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2066 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2069 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2071 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2073 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2075 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2077 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2078 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2080 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2082 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2084 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2086 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2088 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2089 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2091 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2093 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2095 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2097 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2103 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2104 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2106 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2108 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2116 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2118 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2123 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2129 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2132 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2134 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2136 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2139 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2142 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2144 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2146 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2148 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2150 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2152 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2154 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2155 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2157 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2159 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2161 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2163 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2164 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2165 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2166 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2167 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2169 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2171 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2172 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2173 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2174 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2175 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2176 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2177 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2178 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2179 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2180 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2181 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2182 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2183 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2185 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2186 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2188 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2189 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2190 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2191 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2193 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2194 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2195 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2196 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2197 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2198 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2199 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2201 2014-06-10 Wilco <wdijkstr@arm.com>
2203 * math/test-fenv-return.c: New file.
2204 * math/Makefile: Add new test test-fenv-return.
2206 2014-06-10 Joseph Myers <joseph@codesourcery.com>
2209 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2211 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2212 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2213 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2214 0.0L for an argument of 1.0L.
2215 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2217 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2218 value when x - 1 is zero.
2219 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2220 * sysdeps/i386/fpu/libm-test-ulps: Update.
2221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2223 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2226 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2228 2014-06-09 Roland McGrath <roland@hack.frob.com>
2230 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2231 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2233 2014-06-09 Roland McGrath <roland@hack.frob.com>
2235 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2236 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2238 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2239 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2241 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2242 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2244 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2245 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2247 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2248 if not already defined.
2249 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2250 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2251 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2252 (TLS_INIT_TP): Use it.
2253 (TLS_DEFINE_INIT_TP): New macro.
2254 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2256 2014-06-09 Joseph Myers <joseph@codesourcery.com>
2258 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2260 [POSIX] (IXANY): Likewise.
2261 [POSIX] (OLCUC): Likewise.
2262 [POSIX || POSIX2008] (CBAUD): Do not allow.
2263 [POSIX || POSIX2008] (DEFECHO): Likewise.
2264 [POSIX || POSIX2008] (ECHOCTL): Likewise.
2265 [POSIX || POSIX2008] (ECHOKE): Likewise.
2266 [POSIX || POSIX2008] (ECHOPRT): Likewise.
2267 [POSIX || POSIX2008] (EXTA): Likewise.
2268 [POSIX || POSIX2008] (EXTB): Likewise.
2269 [POSIX || POSIX2008] (FLUSHO): Likewise.
2270 [POSIX || POSIX2008] (LOBLK): Likewise.
2271 [POSIX || POSIX2008] (PENDIN): Likewise.
2272 [POSIX || POSIX2008] (SWTCH): Likewise.
2273 [POSIX || POSIX2008] (VDISCARD): Likewise.
2274 [POSIX || POSIX2008] (VDSUSP): Likewise.
2275 [POSIX || POSIX2008] (VLNEXT): Likewise.
2276 [POSIX || POSIX2008] (VREPRINT): Likewise.
2277 [POSIX || POSIX2008] (VSTATUS): Likewise.
2278 [POSIX || POSIX2008] (VWERASE): Likewise.
2279 (B*): Change to B[0123456789]*.
2280 * conform/data/time.h-data [POSIX || UNIX98]
2281 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2282 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2283 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2284 [POSIX] (tm_*): Do not allow.
2286 2014-06-07 Joseph Myers <joseph@codesourcery.com>
2288 * Makefile (install): Don't set LANGUAGE.
2289 * Makefile.in (install): Likewise.
2290 * assert/Makefile (test-assert-ENV): Remove variable.
2291 (test-assert-perr-ENV): Likewise.
2292 * elf/Makefile (neededtest4-ENV): Likewise.
2293 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2294 [$(cross-compiling) = no]: Don't set LANGUAGE.
2295 * io/ftwtest-sh (LANG): Remove variable.
2296 * libio/Makefile (tst-widetext-ENV): Likewise.
2297 * manual/install.texi (Running make install): Don't refer to
2298 environment settings for make install.
2299 * INSTALL: Regenerated.
2300 * nptl/tst-tls6.sh: Don't set LANG.
2301 * posix/globtest.sh (LANG): Remove variable.
2302 * string/Makefile (tester-ENV): Likewise.
2303 (inl-tester-ENV): Likewise.
2304 (noinl-tester-ENV): Likewise.
2305 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2306 [$(cross-compiling) = no]: Don't set LANGUAGE.
2307 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2308 without explicit environment settings.
2310 2014-06-06 Roland McGrath <roland@hack.frob.com>
2312 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2313 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2314 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2315 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2317 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
2319 * crypt/crypt-private.h [DOS]: Add some includes taken from the
2320 other files in the crypt directory.
2321 * crypt/crypt.c: Remove duplicate includes.
2322 * crypt/crypt-entry.c: Likewise.
2323 * crypt/crypt_util.c: Likewise.
2325 2014-06-06 Joseph Myers <joseph@codesourcery.com>
2327 * Makeconfig (run-program-env): New variable.
2328 (run-program-prefix-before-env): Likewise.
2329 (run-program-prefix-after-env): Likewise.
2330 (run-program-prefix): Define in terms of new variables.
2331 (built-program-cmd-before-env): New variable.
2332 (built-program-cmd-after-env): Likewise.
2333 (built-program-cmd): Define in terms of new variables.
2334 (test-program-prefix-before-env): New variable.
2335 (test-program-prefix-after-env): Likewise.
2336 (test-program-prefix): Define in terms of new variables.
2337 (test-program-cmd-before-env): New variable.
2338 (test-program-cmd-after-env): Likewise.
2339 (test-program-cmd): Define in terms of new variables.
2340 * Rules (make-test-out): Use $(run-program-env).
2341 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2342 (help): Do not mention environment variables. Mention
2343 --timeoutfactor option.
2344 (timeoutfactor): New variable.
2345 (blacklist_exports): Remove function.
2346 (exports): Remove variable.
2347 (command): Do not include ${exports}.
2348 * manual/install.texi (Configuring and compiling): Do not mention
2349 test wrappers preserving environment variables. Mention that last
2350 assignment to a variable must take precedence.
2351 * INSTALL: Regenerated.
2352 * benchtests/Makefile (run-bench): Use $(run-program-env).
2353 * catgets/Makefile ($(objpfx)test1.cat): Use
2354 $(built-program-cmd-before-env), $(run-program-env) and
2355 $(built-program-cmd-after-env).
2356 ($(objpfx)test2.cat): Do not specify environment variables
2358 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2359 $(run-program-env) and $(built-program-cmd-after-env).
2360 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2361 $(run-program-env) and $(test-program-cmd-after-env).
2362 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2364 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2365 run_program_env and test_program_cmd_after_env arguments.
2366 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2367 * elf/tst-pathopt.sh: Use run_program_env argument.
2368 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2369 $(test-wrapper-env) and $(run-program-env).
2370 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2371 run_program_env arguments.
2372 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2373 * intl/Makefile ($(objpfx)tst-gettext.out): Use
2374 $(test-program-prefix-before-env), $(run-program-env) and
2375 $(test-program-prefix-after-env).
2376 ($(objpfx)tst-gettext2.out): Likewise.
2377 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2378 run_program_env and test_program_prefix_after_env arguments.
2379 * intl/tst-gettext2.sh: Likewise.
2380 * intl/tst-gettext4.sh: Do not set environment variables
2382 * intl/tst-gettext6.sh: Likewise.
2383 * intl/tst-translit.sh: Likewise.
2384 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2385 $(test-program-prefix-before-env), $(run-program-env) and
2386 $(test-program-prefix-after-env).
2387 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2388 run_program_env and test_program_prefix_after_env arguments.
2389 * math/Makefile (run-regen-ulps): Use $(run-program-env).
2390 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2391 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
2392 explicitly with each use of ${test_wrapper_env}.
2393 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2394 $(test-program-prefix-before-env), $(run-program-env) and
2395 $(test-program-prefix-after-env).
2396 * posix/tst-getconf.sh: Do not set environment variables
2398 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2399 run_program_env and test_program_prefix_after_env arguments.
2400 * stdio-common/tst-printf.sh: Do not set environment variables
2402 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2403 $(test-program-prefix-before-env), $(run-program-env) and
2404 $(test-program-prefix-after-env).
2405 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2406 run_program_env and test_program_prefix_after_env arguments.
2407 Split $test calls into $test_pre and $test.
2408 * timezone/Makefile (build-testdata): Use
2409 $(built-program-cmd-before-env), $(run-program-env) and
2410 $(built-program-cmd-after-env).
2412 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2414 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2415 strlen for non SHARED builds.
2417 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2419 * nptl/allocatestack.c (check_list): Inlined function...
2420 (__reclaim_stacks): ... here.
2422 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2425 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2428 2014-06-05 Joseph Myers <joseph@codesourcery.com>
2430 * Rules (make-test-out): Include
2431 LOCPATH=$(common-objpfx)localedata in default environment.
2432 * debug/Makefile (tst-chk1-ENV): Remove variable.
2433 (tst-chk2-ENV): Likewise.
2434 (tst-chk3-ENV): Likewise.
2435 (tst-chk4-ENV): Likewise.
2436 (tst-chk5-ENV): Likewise.
2437 (tst-chk6-ENV): Likewise.
2438 (tst-lfschk1-ENV): Likewise.
2439 (tst-lfschk2-ENV): Likewise.
2440 (tst-lfschk3-ENV): Likewise.
2441 (tst-lfschk4-ENV): Likewise.
2442 (tst-lfschk5-ENV): Likewise.
2443 (tst-lfschk6-ENV): Likewise.
2444 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2445 (tst-iconv7-ENV): Likewise.
2446 * intl/Makefile (LOCPATH-ENV): Likewise.
2447 (tst-codeset-ENV): Likewise.
2448 (tst-gettext3-ENV): Likewise.
2449 (tst-gettext5-ENV): Likewise.
2450 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2451 (tst-fopenloc-ENV): Likewise.
2452 (tst-fgetws-ENV): Remove variable.
2453 (tst-ungetwc1-ENV): Likewise.
2454 (tst-ungetwc2-ENV): Likewise.
2455 (bug-ungetwc2-ENV): Likewise.
2456 (tst-swscanf-ENV): Likewise.
2457 (bug-ftell-ENV): Likewise.
2458 (tst-fgetwc-ENV): Likewise.
2459 (tst-fseek-ENV): Likewise.
2460 (tst-ftell-partial-wide-ENV): Likewise.
2461 (tst-ftell-active-handler-ENV): Likewise.
2462 (tst-ftell-append-ENV): Likewise.
2463 * posix/Makefile (tst-fnmatch-ENV): Likewise.
2464 (tst-regexloc-ENV): Likewise.
2465 (bug-regex1-ENV): Likewise.
2466 (tst-regex-ENV): Likewise.
2467 (tst-regex2-ENV): Likewise.
2468 (bug-regex5-ENV): Likewise.
2469 (bug-regex6-ENV): Likewise.
2470 (bug-regex17-ENV): Likewise.
2471 (bug-regex18-ENV): Likewise.
2472 (bug-regex19-ENV): Likewise.
2473 (bug-regex20-ENV): Likewise.
2474 (bug-regex22-ENV): Likewise.
2475 (bug-regex23-ENV): Likewise.
2476 (bug-regex25-ENV): Likewise.
2477 (bug-regex26-ENV): Likewise.
2478 (bug-regex30-ENV): Likewise.
2479 (bug-regex32-ENV): Likewise.
2480 (bug-regex33-ENV): Likewise.
2481 (bug-regex34-ENV): Likewise.
2482 (bug-regex35-ENV): Likewise.
2483 (tst-rxspencer-ENV): Likewise.
2484 (tst-rxspencer-no-utf8-ENV): Likewise.
2485 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2486 (tst-sscanf-ENV): Likewise.
2487 (tst-swprintf-ENV): Likewise.
2488 (tst-swscanf-ENV): Likewise.
2489 (test-vfprintf-ENV): Likewise.
2490 (scanf13-ENV): Likewise.
2491 (bug14-ENV): Likewise.
2492 (tst-grouping-ENV): Likewise.
2493 * stdlib/Makefile (tst-strtod-ENV): Likewise.
2494 (tst-strtod3-ENV): Likewise.
2495 (tst-strtod4-ENV): Likewise.
2496 (tst-strtod5-ENV): Likewise.
2497 (testmb2-ENV): Likewise./
2498 * string/Makefile (tst-strxfrm-ENV): Likewise.
2499 (tst-strxfrm2-ENV): Likewise.
2500 (bug-strcoll1-ENV): Likewise.
2501 (test-strcasecmp-ENV): Likewise.
2502 (test-strncasecmp-ENV): Likewise.
2503 * time/Makefile (tst-strptime-ENV): Likewise.
2504 (tst-ftime_l-ENV): Likewise.
2505 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2506 (tst-mbrtowc-ENV): Likewise.
2507 (tst-wcrtomb-ENV): Likewise.
2508 (tst-mbrtowc2-ENV): Likewise.
2509 (tst-c16c32-1-ENV): Likewise.
2510 (tst-mbsnrtowcs-ENV): Likewise.
2512 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2514 * manual/resource.texi (How to get information about the memory
2515 subsystem?): Fix typo.
2516 Reported by Peon de la Parra Ivan <peon@keba.com>
2518 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
2521 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2522 (pthread_spin_lock): Branch out of spin loop to proper location.
2523 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2524 (pthread_spin_lock): Likewise.
2526 * nptl/tst-spin4.c: New test.
2527 * nptl/Makefile (tests): Add tst-spin4.
2529 2014-06-03 Andreas Schwab <schwab@suse.de>
2532 * resolv/res_send.c (send_dg): Reload file descriptor after
2535 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
2537 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2539 2014-06-03 Richard Henderson <rth@redhat.com>
2541 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2542 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2543 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2544 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
2545 in the SAVE_PID block.
2546 (__libc_vfork): New alias.
2547 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2549 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2550 child in registers, not on the stack. Remove RESET_PID conditionals.
2551 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2553 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
2555 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2557 2014-06-03 Wilco <wdijkstr@arm.com>
2559 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2560 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2561 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2562 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2563 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2566 2014-06-03 Wilco <wdijkstr@arm.com>
2568 * sysdeps/aarch64/fpu/math_private.h
2569 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2570 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2571 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2572 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2575 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2577 * crypt/crypt-private.h: Include ufc-crypt.h.
2578 (__b64_from_24bit): Declare extern.
2579 * crypt/crypt_util.c(__b64_from_24bit): New function.
2580 (b64t): New static const variable.
2581 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2582 (b64t): Remove variable.
2583 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2584 * crypt/sha256-crypt.c: Include crypt-private.h.
2585 (b64t): Remove variable.
2586 (__sha256_crypt_r): Remove b64_from_24bit and replace
2587 with __b64_from_24bit.
2588 * crypt/sha512-crypt.c: Likewise.
2590 2014-06-02 Roland McGrath <roland@hack.frob.com>
2592 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2593 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2594 Label the code __libc_vfork rather than __vfork.
2595 [!NOT_IN_libc] (vfork): Define as weak alias.
2596 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2597 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2598 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2600 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2602 * malloc/malloc.c (malloc_info): Fix format specifier for
2605 2014-06-02 Wilco <wdijkstr@arm.com>
2607 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2610 2014-06-02 Wilco <wdijkstr@arm.com>
2613 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2614 Rewrite to reduce FPCR/FPSR accesses.
2616 2014-06-01 David S. Miller <davem@davemloft.net>
2618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2620 2014-05-31 David S. Miller <davem@davemloft.net>
2622 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2623 to occur in round to nearest mode when |x| >= 2.0
2625 2014-05-30 Richard Henderson <rth@twiddle.net>
2627 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2628 (PSEUDO_RET_NOERRNO): Remove.
2629 (ret): Don't redefine.
2630 (ret_NOERRNO): Define in terms of ret.
2631 (ret_ERRVAL): Likewise.
2633 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2634 use of PSEUDO_RET; perform the error check directly.
2636 2014-05-30 Marko Myllynen <myllynen@redhat.com>
2638 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2641 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2643 * malloc/malloc (malloc_info): Fix formatting.
2645 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2646 Roland McGrath <roland@hack.frob.com>
2648 * malloc/malloc (malloc_info): Also print mmapped statistics.
2650 2014-05-30 Roland McGrath <roland@hack.frob.com>
2652 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2653 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2655 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
2657 * malloc/malloc.c (malloc_info): Inline mi_arena.
2659 2014-05-29 Richard Henderson <rth@twiddle.net>
2661 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2662 Remove comma before expanding ASM_ARGS_##nr.
2663 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2664 Make _x0 a strict output; make _x8 a strict input; adjust expansion
2666 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2667 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2668 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2669 (ASM_ARGS_1): Add leading comma.
2671 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2672 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2673 to __errno_location.
2674 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2675 Remove the expected plt for __errno_location.
2677 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2678 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2681 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2682 Always allocate 64 bytes of stack frame. Use ldp/stp to create
2683 it and break it down.
2684 (DOCARGS_0, DOCARGS_1): Do nothing.
2685 (DOCARGS_2): Update to store into the new stack frame.
2686 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2687 (UNDOCARGS_1): Update to restore from the new stack frame.
2688 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2689 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2691 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2692 (SINGLE_THREAD_P): New parameter for result regno.
2693 (PSEUDO): Update to match; use cbz instead of beq.
2695 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2696 Use ENTRY to define the _nocancel entry point. Share the syscall
2697 and syscall error check paths with the cancel path.
2700 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2701 whitespace; tabs before and after asm mnemonics.
2703 2014-05-29 Eric Wong <normalperson@yhbt.net>
2706 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2707 Call fstat64 or stat64 internally, depending on arguments passed.
2708 Replace stat buffer argument with file descriptor argument.
2709 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2710 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2711 Pass fd to __internal_statvfs instead of calling fstat64.
2712 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2713 Pass fd to __internal_statvfs64 instead of calling fstat64.
2714 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2715 Pass -1 to __internal_statvfs instead of calling stat64.
2716 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2717 Pass -1 to __internal_statvfs64 instead of calling stat64.
2719 2014-05-28 Roland McGrath <roland@hack.frob.com>
2721 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2722 that was previously under [RESET_PID].
2723 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2725 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2726 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2728 2014-05-27 Roland McGrath <roland@hack.frob.com>
2730 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2732 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2733 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2735 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
2737 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2739 2014-05-27 Andreas Schwab <schwab@suse.de>
2741 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2743 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2744 * elf/rtld.c (init_tls, dl_main): Likewise.
2745 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2746 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2747 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2748 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2749 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2750 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2751 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2752 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2753 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2754 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2755 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2756 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2757 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2758 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2759 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2760 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2761 * sysdeps/generic/tls.h: Update description.
2763 2014-05-27 Will Newton <will.newton@linaro.org>
2766 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2767 and restore r2 rather than just restoring.
2769 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2772 * libio/tst-ftell-append.c: New test case.
2773 * libio/Makefile (tests): Add test case.
2774 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2776 * libio/wfileops.c (do_ftell_wide): Likewise.
2778 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2782 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2786 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2787 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2788 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2789 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2790 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2791 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2792 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2795 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2798 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2799 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2800 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2801 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2802 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2804 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2805 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2807 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2809 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2811 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2812 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2813 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2815 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2816 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2817 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2818 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
2820 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
2822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
2823 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
2825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
2826 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
2828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
2829 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
2833 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
2836 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
2840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
2841 conditional [RESET_PID].
2842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2843 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
2845 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
2848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
2850 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2851 (__libc_vfork): New strong alias.
2852 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
2854 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
2857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
2859 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
2860 (__libc_vfork): New strong alias.
2861 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
2863 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
2866 2014-05-26 Carlos O'Donell <carlos@redhat.com>
2868 * malloc/malloc.c (mi_arena): New function.
2869 (malloc_info): Remove nested function mi_arena. Call non-nosted
2872 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2874 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
2876 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2877 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2878 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
2879 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
2880 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
2881 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
2882 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
2884 2014-05-26 Andreas Schwab <schwab@suse.de>
2887 * locale/programs/repertoire.c (repertoire_read): Add slash
2888 between I18NPATH element and file name.
2889 * locale/programs/locfile.c (locfile_read): Likewise.
2891 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2893 * nptl/pthread_mutexattr_settype.c
2894 (__pthread_mutexattr_settype):
2895 Disable lock elision for PTHREAD_MUTEX_NORMAL.
2897 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2899 * nptl/tst-mutex5 (do_test):
2900 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
2902 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2904 * benchtests/README: Document 'init' directive.
2905 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
2907 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
2908 (parse_file): Recognize 'init' directive.
2910 2014-05-26 Kyle McMartin <kyle@redhat.com>
2913 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
2914 alignment of struct pthread.
2916 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2919 * nscd/netgroupcache.c (addgetnetgrentX): Look for
2920 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2921 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
2922 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2924 2014-05-25 Richard Henderson <rth@twiddle.net>
2926 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2927 (SINGLE_THREAD_P_PIC): Remove.
2928 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
2929 (SINGLE_THREAD_P_PIC): Remove.
2931 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
2932 branch to syscall error ...
2934 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
2935 from __local_syscall_error to .Lsyscall_error.
2936 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
2937 (SYSCALL_ERROR): Update label name.
2939 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2940 Do not use DOARGS/UNDOARGS.
2941 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
2942 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
2943 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
2944 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
2945 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
2947 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
2950 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
2951 define if !NOT_IN_libc.
2952 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
2953 define with non-default symbol versions.
2955 2014-05-23 Richard Henderson <rth@twiddle.net>
2957 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
2958 (vfork, __vfork): Define via compat_symbol.
2960 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
2961 [!HAVE_IFUNC] (vfork_compat): Remove.
2962 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
2964 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2967 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
2968 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
2971 2014-05-23 Richard Henderson <rth@twiddle.net>
2973 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
2974 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
2975 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
2976 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
2978 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
2979 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
2980 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
2981 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
2982 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
2983 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
2984 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
2985 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
2986 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
2987 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
2988 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
2989 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
2990 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
2991 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
2992 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
2993 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
2994 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
2995 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
2996 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2997 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2998 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2999 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3000 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3001 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3002 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3003 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3004 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3005 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3006 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3007 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3008 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3009 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3010 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3011 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3012 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3013 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3014 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3015 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3016 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3017 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3018 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3019 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3020 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3021 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3022 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3023 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3024 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3025 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3026 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3027 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3028 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3029 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3030 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3031 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3032 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3033 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3035 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3036 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3037 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
3038 before exiting on error.
3039 (__libc_vfork): New strong alias.
3040 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3041 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3043 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3044 that was previously under [RESET_PID].
3045 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3047 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3049 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3052 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3053 value when x - 1 is zero.
3054 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3055 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3056 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3057 0.0L for an argument of 1.0L.
3058 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3060 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3061 value when x - 1 is zero.
3062 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3063 * sysdeps/i386/fpu/libm-test-ulps: Update.
3064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3066 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3068 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3069 alphasort and versionsort.
3071 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3073 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3075 [copysignf]: Likewise.
3077 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3079 * crypt/md5-crypt.c: Fix formatting.
3081 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3083 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3084 (b64_from_24bit): New function.
3086 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3088 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3089 libc_hidden_builtin_def to ifunc.
3090 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3091 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3093 2014-05-21 Roland McGrath <roland@hack.frob.com>
3095 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3096 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3098 2014-05-21 Joseph Myers <joseph@codesourcery.com>
3100 * nscd/Depend (linuxthreads): Remove.
3102 * resolv/Depend (linuxthreads): Remove.
3103 * rt/Depend (linuxthreads): Remove.
3105 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3106 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3107 $(common-objpfx)elf/.
3108 (link-libc-before-gnulib): Likewise.
3109 (elfobjdir): Remove variable.
3110 * Makefile (install): Use $(elf-objpfx) instead of
3111 $(common-objpfx)elf/.
3112 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3114 (link-libc-deps): Likewise.
3115 ($(common-objpfx)libc.so): Likewise.
3116 ($(common-objpfx)linkobj/libc.so): Likewise.
3117 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3118 instead of $(common-objpfx)elf/.
3119 (symbolic-link-list): Likewise.
3120 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3121 [$(cross-compiling) = no]: Likewise.
3122 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3124 (static-gnulib-arch): Likewise.
3125 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3126 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3127 $(common-objpfx)elf/.
3129 2014-05-21 Richard Henderson <rth@redhat.com>
3131 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3132 (SINGLE_THREAD_P): Use the correct width load. Fold
3133 into the ldr offset.
3135 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3136 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3138 2014-05-20 Joseph Myers <joseph@codesourcery.com>
3140 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3141 (libgcc_s_resume): Use __attribute_used__.
3142 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3145 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3147 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3148 optimization when used with float constants.
3150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3152 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
3155 * locale/nl_langinfo_l.c: Make direct reference to every
3156 _nl_current_CATEGORY symbol.
3157 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3158 (tests-static): Add tst-langinfo-static.
3159 (tests-special): Add tst-langinfo-static.out.
3160 ($(objpfx)tst-langinfo.out): Redirect output.
3161 ($(objpfx)tst-langinfo-static.out): New.
3162 * localedata/tst-langinfo.sh: Send output to stdout.
3163 * localedata/tst-langinfo-static.c: New file.
3166 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3167 when the shift amount is modulo the limb size.
3169 2014-05-20 Richard Henderson <rth@redhat.com>
3172 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3173 Change type of sa_flags from unsigned int to int.
3176 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3178 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3180 2014-05-20 Will Newton <will.newton@linaro.org>
3182 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3183 Test the return value of the system call in the nocancel case.
3185 2014-05-20 Will Newton <will.newton@linaro.org>
3186 Yvan Roux <yvan.roux@linaro.org>
3188 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3189 #include of asm/ptrace.h.
3190 (PTRACE_GET_THREAD_AREA): Remove #undef.
3191 (PTRACE_GETHBPREGS): Likewise.
3192 (PTRACE_SETHBPREGS): Likewise.
3193 (struct user_regs_struct): New structure.
3194 (struct user_fpsimd_struct): New structure.
3195 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3196 #include of asm/ptrace.h and second #include of sys/user.h.
3197 (PTRACE_GET_THREAD_AREA): Remove #undef.
3198 (PTRACE_GETHBPREGS): Likewise.
3199 (PTRACE_SETHBPREGS): Likewise.
3200 (ELF_NGREG): Use new struct user_regs_struct.
3201 (elf_fpregset_t): Use new struct user_fpsimd_struct.
3203 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3205 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3206 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3208 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3211 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3212 membar to avoid block loads/stores to overlap previous stores.
3214 2014-05-17 Richard Henderson <rth@redhat.com>
3216 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3217 Create the __##syscall_name##_nocancel entry point.
3218 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3219 Remove; let the sysdep-cancel.h code create it.
3221 2014-05-17 David S. Miller <davem@davemloft.net>
3223 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3224 Protect with __USE_GNU.
3225 (TIOCSET_TEMPT): Likewise.
3226 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3227 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3228 these are already provided in bits/ioctl-types.h
3230 2014-05-16 Roland McGrath <roland@hack.frob.com>
3232 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3233 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3235 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3236 Use wait4 regardless of [__NR_waitpid].
3238 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3241 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3242 (_FP_NANSIGN_Q): Set the quiet bit.
3244 2014-05-16 Joseph Myers <joseph@codesourcery.com>
3246 * benchtests/Makefile
3247 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3248 not $(common-objpfx)math/libm.so.
3249 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3250 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3251 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3252 $(common-objpfx)dlfcn/libdl.so.
3253 ($(objpfx)tst-audit8): Depend on $(libm), not
3254 $(common-objpfx)math/libm.so.
3255 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3256 not $(common-objpfx)dlfcn/libdl.so.
3258 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3259 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
3260 [$(build-shared) = yes].
3261 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3262 $(common-objpfx)nptl/libpthread.so.
3263 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3264 $(common-objpfx)math/libm.so$(libm.so-version) or
3265 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3266 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3267 $(common-objpfx)dlfcn/libdl.so.
3268 * setjmp/Makefile (link-libm): Remove variable.
3269 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3270 * stdio-common/Makefile (link-libm): Remove variable.
3271 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3272 * stdlib/Makefile (link-libm): Remove variable.
3273 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3274 ($(objpfx)tst-strtod-round): Likewise.
3275 ($(objpfx)tst-tininess): Likewise.
3276 ($(objpfx)tst-strtod-underflow): Likewise.
3277 ($(objpfx)tst-strtod6): Likewise.
3278 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3279 $(libdl), not $(common-objpfx)nptl/libpthread.so and
3280 $(common-objpfx)dlfcn/libdl.so.
3282 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3284 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3285 BSD terminal modes definitions.
3287 2014-05-16 Roland McGrath <roland@hack.frob.com>
3289 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3290 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3292 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3293 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3294 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3295 Don't do #include_next.
3296 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3297 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3298 Don't do #include_next.
3299 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3300 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3301 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3302 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3304 2014-05-16 Allan McRae <allan@archlinux.org>
3306 * po/sv.po: Update Swedish translation from translation project.
3308 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3311 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
3314 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3315 errno if the TIOCGPTN ioctl fails with an error different than
3317 * login/tst-ptsname.c: New file.
3318 * login/Makefile (tests): Add tst-ptsname.
3321 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3324 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3327 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3328 herrno to return EAI_AGAIN.
3330 2014-05-14 Roland McGrath <roland@hack.frob.com>
3332 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3333 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3334 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3335 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3336 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3337 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3338 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3339 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3340 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3341 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3342 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3343 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3344 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3345 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3346 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3347 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3348 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3349 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3350 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3351 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3352 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3353 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3354 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3355 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3356 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3357 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3358 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3359 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3360 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3361 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3363 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3364 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3365 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3366 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3368 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3370 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3371 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3372 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3373 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3374 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3376 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3377 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3378 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3379 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3380 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3381 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3382 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3383 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3384 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3385 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3386 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3388 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3389 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3390 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3391 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3392 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3394 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3397 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3399 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3401 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3403 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3405 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3406 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3407 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3408 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3409 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3411 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3412 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3413 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3415 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3418 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3420 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3422 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3423 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3424 (libpthread-sysdep_routines): Add elision-related stuff here instead.
3425 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3426 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3427 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3428 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3429 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3430 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3431 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3432 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3433 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3434 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3435 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3436 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3437 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3438 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3439 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3440 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3441 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3442 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3443 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3444 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3445 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3446 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3447 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3448 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3449 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3450 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3451 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3452 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3454 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3455 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3457 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3458 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3459 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3460 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3461 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3462 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3464 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3465 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3467 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3468 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3470 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3471 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3473 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3474 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3475 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3476 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3478 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3479 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3480 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3481 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3482 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3483 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3484 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3485 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3487 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3488 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3490 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3492 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3493 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3494 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3495 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3496 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3498 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3500 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3502 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3503 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3504 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3505 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3506 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3507 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3509 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3510 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3512 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3513 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3515 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3516 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3518 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3519 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3520 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3521 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3523 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3524 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3525 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3526 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3527 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3528 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3529 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3530 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3532 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3533 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3535 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3537 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3538 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3539 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3540 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3541 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3543 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3545 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3547 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3548 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3549 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3550 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3551 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3552 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3553 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3554 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3555 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3556 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3558 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3559 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3561 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3562 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3564 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3565 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3567 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3568 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3569 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3570 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3571 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3572 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3574 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3575 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3576 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3577 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3578 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3579 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3580 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3581 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3583 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3584 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3586 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3588 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3589 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3590 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3591 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3592 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3594 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3596 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3598 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3599 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3600 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3601 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3602 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3603 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3604 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3605 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3606 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3607 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3608 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3610 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3611 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3613 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3614 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3616 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3617 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3618 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3619 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3620 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3621 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3622 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3623 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3624 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3625 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3626 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3627 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3628 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3629 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3630 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3631 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3632 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3633 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3635 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3636 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3637 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3638 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3640 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3641 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3642 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3643 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3644 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3645 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3646 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3647 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3649 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3650 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3652 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3653 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3654 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3655 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3656 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3657 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3658 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3659 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3660 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3661 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3662 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3663 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3664 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3665 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3666 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3667 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3668 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3670 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3671 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3672 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3673 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3674 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3676 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3677 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3678 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3679 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3680 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3681 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3682 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3683 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3684 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3685 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3687 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3688 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3690 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3691 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3692 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3693 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3694 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3695 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3696 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3697 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3698 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3699 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3700 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3701 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3702 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3703 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3704 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3706 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3708 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3710 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3712 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3714 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3716 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3718 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3720 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3722 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3724 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3725 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3726 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3727 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3728 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3729 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3730 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3731 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3732 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3733 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3734 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3735 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3736 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3737 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
3738 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3740 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3741 that was previously under [RESET_PID].
3742 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3743 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3744 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3746 * sysdeps/i386/nptl/Implies: New file.
3747 * sysdeps/x86_64/nptl/Implies: New file.
3748 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3749 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3750 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3751 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3753 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3754 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3755 (__libc_vfork): New strong alias.
3756 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3757 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3759 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3760 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3761 (__libc_vfork): New strong alias.
3762 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3763 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3765 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3766 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3767 (__libc_vfork): New strong alias.
3768 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3769 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3770 * nptl/pt-vfork.c: New file.
3771 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3772 (libpthread: GLIBC_2.20): New version set (empty).
3774 2014-05-14 Will Newton <will.newton@linaro.org>
3776 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3779 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3782 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3783 arguments with exponent 65 or above.
3784 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3785 arguments 0x1p113L or above.
3786 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3787 to arguments 0x1p107L or above.
3788 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3789 positive arguments with exponent 65 or above.
3790 * math/auto-libm-test-in: Add more tests of log1p.
3791 * math/auto-libm-test-out: Regenerated.
3794 * math/s_cacos.c (__cacos): Ensure zero real part of result from
3795 non-finite arguments is +0.
3796 * math/s_cacosf.c (__cacosf): Likewise.
3797 * math/s_cacosl.c (__cacosl): Likewise.
3798 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3799 * sysdeps/i386/fpu/libm-test-ulps: Update.
3800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3803 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3805 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3806 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3807 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3808 for explicit high bit of mantissa when testing for argument equal
3810 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3811 * sysdeps/i386/fpu/libm-test-ulps: Update.
3812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3815 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3816 (__erf): Scale by 16 instead of 8 in potentially underflowing
3817 case. Ensure exception if result actually underflows.
3818 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3819 (__erff): Scale by 16 instead of 8 in potentially underflowing
3820 case. Ensure exception if result actually underflows.
3821 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
3822 (efx8): Remove variable.
3823 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3824 case. Ensure exception if result actually underflows.
3825 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
3826 (efx8): Remove variable.
3827 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3828 case. Ensure exception if result actually underflows.
3829 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
3830 (efx8): Remove variable.
3831 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3832 case. Ensure exception if result actually underflows.
3833 * math/auto-libm-test-in: Add more tests of erf.
3834 * math/auto-libm-test-out: Regenerated.
3836 2014-05-14 Andreas Schwab <schwab@suse.de>
3838 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
3839 Remove code conditionalized on USE___THREAD.
3841 * config.h.in (HAVE_PT_CHOWN): Define as 0.
3842 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
3845 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3847 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
3848 Define unconditionally.
3849 (__ASSUME_O_CLOEXEC): Likewise.
3850 (__ASSUME_SOCK_CLOEXEC): Likewise.
3851 (__ASSUME_IN_NONBLOCK): Likewise.
3852 (__ASSUME_PIPE2): Likewise.
3853 (__ASSUME_EVENTFD2): Likewise.
3854 (__ASSUME_SIGNALFD4): Likewise.
3855 (__ASSUME_DUP3): Likewise.
3856 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3857 (__ASSUME_DUP3): Do not define.
3858 (__ASSUME_EVENTFD2): Likewise.
3859 (__ASSUME_IN_NONBLOCK): Likewise.
3860 (__ASSUME_O_CLOEXEC): Likewise.
3861 (__ASSUME_PIPE2): Likewise.
3862 (__ASSUME_SIGNALFD4): Likewise.
3863 (__ASSUME_SOCK_CLOEXEC): Likewise.
3864 (__ASSUME_UTIMES): Undefine.
3865 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3866 (__ASSUME_UTIMES): Do not define.
3867 (__ASSUME_O_CLOEXEC): Likewise.
3868 (__ASSUME_SOCK_CLOEXEC): Likewise.
3869 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
3870 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
3872 (__ASSUME_PIPE2): Likewise.
3873 (__ASSUME_EVENTFD2): Likewise.
3874 (__ASSUME_SIGNALFD4): Likewise.
3875 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
3876 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
3878 (__ASSUME_EVENTFD2): Likewise.
3879 (__ASSUME_SIGNALFD4): Likewise.
3880 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3881 (__ASSUME_32BITUIDS): Likewise.
3882 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3883 (__ASSUME_IPC64): Likewise.
3884 (__ASSUME_ST_INO_64_BIT): Likewise.
3885 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
3886 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
3887 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3888 (__ASSUME_UTIMES): Do not define.
3889 (__ASSUME_PSELECT): Likewise.
3890 (__ASSUME_PPOLL): Likewise.
3891 (__ASSUME_O_CLOEXEC): Likewise.
3892 (__ASSUME_SOCK_CLOEXEC): Likewise.
3893 (__ASSUME_IN_NONBLOCK): Likewise.
3894 (__ASSUME_PIPE2): Likewise.
3895 (__ASSUME_EVENTFD2): Likewise.
3896 (__ASSUME_SIGNALFD4): Likewise.
3897 (__ASSUME_DUP3): Likewise.
3898 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3899 (__ASSUME_UTIMES): Likewise.
3900 (__ASSUME_O_CLOEXEC): Likewise.
3901 (__ASSUME_SOCK_CLOEXEC): Likewise.
3902 (__ASSUME_IN_NONBLOCK): Likewise.
3903 (__ASSUME_PIPE2): Likewise.
3904 (__ASSUME_EVENTFD2): Likewise.
3905 (__ASSUME_SIGNALFD4): Likewise.
3906 (__ASSUME_DUP3): Likewise.
3907 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3908 (__ASSUME_UTIMES): Likewise.
3909 (__ASSUME_O_CLOEXEC): Likewise.
3910 (__ASSUME_SOCK_CLOEXEC): Likewise.
3911 (__ASSUME_IN_NONBLOCK): Likewise.
3912 (__ASSUME_PIPE2): Likewise.
3913 (__ASSUME_EVENTFD2): Likewise.
3914 (__ASSUME_SIGNALFD4): Likewise.
3915 (__ASSUME_DUP3): Likewise.
3916 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
3918 (__ASSUME_UTIMES): Likewise.
3919 (__ASSUME_EVENTFD2): Likewise.
3920 (__ASSUME_SIGNALFD4): Likewise.
3921 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3922 (__ASSUME_O_CLOEXEC): Likewise.
3923 (__ASSUME_SOCK_CLOEXEC): Likewise.
3924 (__ASSUME_IN_NONBLOCK): Likewise.
3925 (__ASSUME_PIPE2): Likewise.
3926 (__ASSUME_EVENTFD2): Likewise.
3927 (__ASSUME_SIGNALFD4): Likewise.
3928 (__ASSUME_DUP3): Likewise.
3929 (__ASSUME_UTIMES): Undefine.
3931 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
3932 feclearexcept. Remove symbol versioning code.
3933 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
3934 symbol versioning code.
3935 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
3936 symbol versioning code.
3937 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
3938 feupdateenv. Remove symbol versioning code.
3939 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
3940 fegetexceptflag. Remove symbol versioning code.
3941 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
3942 fesetexceptflag. Remove symbol versioning code.
3943 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
3944 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
3945 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
3946 (__posix_fadvise64_l32): Remove prototype.
3947 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
3950 2014-05-13 Roland McGrath <roland@hack.frob.com>
3952 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
3953 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
3954 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
3955 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
3957 2014-05-13 Sami Kerola <kerolasa@iki.fi>
3959 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
3960 current working directory
3962 2014-05-13 Roland McGrath <roland@hack.frob.com>
3964 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
3965 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
3966 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
3967 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
3968 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
3969 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
3970 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
3971 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
3972 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
3973 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
3974 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
3975 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
3976 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
3977 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
3978 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
3979 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
3980 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
3981 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
3982 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
3983 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
3984 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
3985 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
3986 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
3987 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
3988 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
3989 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
3990 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
3991 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
3992 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
3993 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
3994 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
3995 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
3996 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3997 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3998 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3999 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4000 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4001 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4002 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4003 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4004 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4005 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4007 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4008 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4010 * sysdeps/unix/sysv/linux/arm/Makefile
4011 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4012 Add rt-aeabi_unwind_cpp_pr1.
4013 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4014 Add nptl-aeabi_unwind_cpp_pr1.
4015 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4016 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4017 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4018 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4019 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4020 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4022 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4023 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4024 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4025 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4027 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4028 Deconditionalize the code that was previously under [RESET_PID].
4029 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4031 * sysdeps/generic/exit-thread.h: New file.
4032 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4033 * include/unistd.h (__exit_thread): Remove declaration.
4034 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4035 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4036 * csu/libc-start.c: Include <exit-thread.h>.
4037 (LIBC_START_MAIN): Pass no argument to __exit_thread.
4038 * nptl/pthread_create.c: Include <exit-thread.h>.
4039 (start_thread): Call __exit_thread in place of __exit_thread_inline.
4040 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4041 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4042 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4043 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4044 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4045 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4046 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4047 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4048 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4049 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4050 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4051 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4052 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4053 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4054 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4055 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4057 2014-05-13 Andreas Schwab <schwab@suse.de>
4059 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4061 2014-05-12 Joseph Myers <joseph@codesourcery.com>
4063 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4064 (__ASSUME_UTIMES): Do not condition on kernel version.
4065 (__ASSUME_PSELECT): Define unconditionally.
4066 (__ASSUME_PPOLL): Likewise.
4067 (__ASSUME_ATFCTS): Likewise.
4068 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4069 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4070 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4071 (__ASSUME_UTIMENSAT): Define unconditionally.
4072 (__ASSUME_PRIVATE_FUTEX): Likewise.
4073 (__ASSUME_FALLOCATE): Likewise.
4074 (__ASSUME_O_CLOEXEC): Likewise.
4075 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4076 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4077 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4078 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4079 (__ASSUME_IN_NONBLOCK): Likewise.
4080 (__ASSUME_PIPE2): Likewise.
4081 (__ASSUME_EVENTFD2): Likewise.
4082 (__ASSUME_SIGNALFD4): Likewise.
4083 (__ASSUME_DUP3): Likewise.
4084 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4085 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4086 (__ASSUME_AT_RANDOM): Likewise.
4087 (__ASSUME_PREADV): Likewise.
4088 (__ASSUME_PWRITEV): Likewise.
4089 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4090 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4091 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4092 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4093 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4094 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4095 (__ASSUME_O_CLOEXEC): Define unconditionally.
4096 (__ASSUME_PSELECT): Do not undefine conditionally.
4097 (__ASSUME_PPOLL): Likewise.
4098 (__ASSUME_ATFCTS): Likewise.
4099 (__ASSUME_SET_ROBUST_LIST): Likewise.
4100 (__ASSUME_UTIMENSAT): Likewise.
4101 (__ASSUME_FDATASYNC): Define unconditionally.
4102 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4103 (__ASSUME_SIGFRAME_V2): Likewise.
4104 )__ASSUME_EVENTFD2): Likewise.
4105 (__ASSUME_SIGNALFD4): Likewise.
4106 (__ASSUME_PSELECT): Do not undefine conditionally.
4107 (__ASSUME_PPOLL): Likewise.
4108 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4109 (__ASSUME_PSELECT): Define unconditionally.
4110 (__ASSUME_PPOLL): Likewise.
4111 (__ASSUME_O_CLOEXEC): Likewise.
4112 (__ASSUME_SOCK_CLOEXEC): Likewise.
4113 (__ASSUME_IN_NONBLOCK): Likewise.
4114 (__ASSUME_PIPE2): Likewise.
4115 (__ASSUME_EVENTFD2): Likewise.
4116 (__ASSUME_SIGNALFD4): Likewise.
4117 (__ASSUME_DUP3): Likewise.
4118 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4119 (__ASSUME_O_CLOEXEC): Likewise.
4120 (__ASSUME_SOCK_CLOEXEC): Likewise.
4121 (__ASSUME_IN_NONBLOCK): Likewise.
4122 (__ASSUME_PIPE2): Likewise.
4123 (__ASSUME_EVENTFD2): Likewise.
4124 (__ASSUME_SIGNALFD4): Likewise.
4125 (__ASSUME_DUP3): Likewise.
4126 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4127 (__ASSUME_EVENTFD2): Likewise.
4128 (__ASSUME_SIGNALFD4): Likewise.
4129 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4131 2014-05-12 Andreas Schwab <schwab@suse.de>
4134 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4135 (_nss_nis_gethostbyname4_r): Return error if item length is larger
4136 than maximum RPC packet size.
4137 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4138 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4139 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4140 (_nss_nis_getservbyport_r): Likewise.
4142 2014-05-12 Will Newton <will.newton@linaro.org>
4144 * malloc/Makefile (tests): Add tst-mallopt.
4145 * malloc/tst-mallopt.c: New file.
4147 2014-05-09 Roland McGrath <roland@hack.frob.com>
4149 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4150 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4152 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4154 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4155 (tst-tlsmod6.so): Likewise.
4157 2014-05-09 Roland McGrath <roland@hack.frob.com>
4159 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4161 2014-05-09 Joseph Myers <joseph@codesourcery.com>
4164 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4165 and <dl-procinfo.h>.
4166 (__fegetenv): Save SSE state in envp->__eip if supported.
4167 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4168 envp->__eip if supported.
4169 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4170 and <dl-procinfo.h>.
4171 (__fesetenv): Always set __eip, __cs_selector, __opcode,
4172 __data_offset and __data_selector in environment to 0. Set SSE
4174 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4176 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4178 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4180 2014-05-09 Will Newton <will.newton@linaro.org>
4182 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4183 and libc_relro_required for ARM.
4184 * sysdeps/arm/preconfigure: Regenerate.
4186 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
4187 Stefan Liebler <stli@linux.vnet.ibm.com>
4189 * config.make.in (enable-lock-elision): New Makefile variable.
4190 * configure.ac: Likewise.
4191 * configure: Regenerate.
4192 * sysdeps/s390/configure.ac:
4193 Add check for gcc transactions support.
4194 * sysdeps/s390/configure: Regenerate.
4195 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4196 Build elision files if enabled.
4197 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4198 Add lock elision support for s390.
4199 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4200 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4201 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4202 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4203 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4204 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4205 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4207 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4209 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4211 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4213 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4214 (__lll_timedlock_elision, __lll_lock_elision)
4215 (__lll_unlock_elision, __lll_trylock_elision)
4216 (lll_timedlock_elision, lll_lock_elision)
4217 (lll_unlock_elision, lll_trylock_elision): Add.
4218 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4219 (pthread_mutex_t): Add lock elision support for s390.
4221 2014-05-14 Wilco <wdijkstr@arm.com>
4223 * sysdeps/arm/fclrexcpt.c: Cleanup.
4224 * sysdeps/arm/fedisblxcpt.c: Cleanup.
4225 * sysdeps/arm/feenablxcpt.c: Cleanup.
4226 * sysdeps/arm/fegetenv.c: Cleanup.
4227 * sysdeps/arm/fegetexcept.c: Cleanup.
4228 * sysdeps/arm/fegetround.c: Cleanup.
4229 * sysdeps/arm/feholdexcpt.c: Cleanup.
4230 * sysdeps/arm/fesetenv.c: Cleanup.
4231 * sysdeps/arm/fesetround.c: Cleanup.
4232 * sysdeps/arm/feupdateenv.c: Cleanup.
4233 * sysdeps/arm/fgetexcptflg.c: Cleanup.
4234 * sysdeps/arm/fraiseexcpt.c: Cleanup.
4235 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4236 * sysdeps/arm/ftestexcept.c: Cleanup.
4237 * sysdeps/arm/get-rounding-mode.h: Cleanup.
4238 * sysdeps/arm/setfpucw.c: Cleanup.
4240 2014-05-09 Will Newton <will.newton@linaro.org>
4242 * sysdeps/arm/armv7/strcmp.S: New file.
4243 * NEWS: Mention addition of ARMv7 optimized strcmp.
4245 2014-05-08 Roland McGrath <roland@hack.frob.com>
4247 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4248 look for %.ac rather than %.in.
4250 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4251 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4252 * sysdeps/mach/hurd/configure: Regenerated.
4253 * sysdeps/unix/sysv/linux/configure: Regenerated.
4255 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4257 2014-05-07 Steve Ellcey <sellcey@mips.com>
4260 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4264 2014-05-07 Andreas Schwab <schwab@suse.de>
4266 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4267 when skipping over non-matching result from nscd.
4269 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
4272 * nptl/sockperf.c (client): Check socket return value.
4275 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4276 nscd security class.
4278 2014-05-06 Roland McGrath <roland@hack.frob.com>
4280 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4281 * sysdeps/arm/unwind.h: ... here.
4283 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
4286 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4289 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4291 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4292 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4293 multiarch strncpy for PPC64.
4294 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4295 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4296 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4297 multiarch optimizations.
4298 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4299 (__libc_ifunc_impl_list): Likewise.
4300 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4301 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4302 multiarch stpncpy for PPC64.
4303 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4304 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4306 2014-05-06 Andreas Schwab <schwab@suse.de>
4309 * gmon/mcount.c (_MCOUNT_DECL): Use
4310 atomic_compare_and_exchange_bool_acq instead of
4311 catomic_compare_and_exchange_bool_acq.
4313 2014-05-05 Roland McGrath <roland@hack.frob.com>
4315 * elf/Makefile (others, install-bin): Remove pldd.
4316 (pldd-modules): Variable removed.
4317 ($(objpfx)pldd): Target removed.
4318 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4319 (others, install-bin): Append pldd here.
4320 ($(objpfx)pldd): New target.
4322 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4323 to 0, so the first #if test emitted later doesn't see it undefined.
4324 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4325 * sysdeps/gnu/errlist.c: Regenerated.
4327 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4329 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4330 [libc_hidden_builtin_def]: Define to empty value.
4331 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4332 [libc_hidden_builtin_def]: Likewise.
4333 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4334 [libc_hidden_builtin_def]: Likewise.
4335 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4336 [libc_hidden_builtin_def]: Likewise.
4337 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4338 __redirect_memcpy and define ifunc as default hidden symbol.
4339 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4340 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4342 2014-05-04 Adam Conrad <adconrad@0c3.net>
4344 * locale/iso-4217.def: Reintroduce XDR currency.
4346 2014-05-04 Allan McRae <allan@archlinux.org>
4348 * po/eo.po: Update Esperanto translation from translation project.
4350 2014-05-02 Carlos O'Donell <carlos@redhat.com>
4352 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4353 and FEATURE_INDEX_MAX to 1.
4354 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4356 2014-05-01 Steve Ellcey <sellcey@mips.com>
4358 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4359 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4360 * iconvdata/big5.c (ONE_DIRECTION): Define.
4361 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4362 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4363 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4364 * iconvdata/cp932.c (ONE_DIRECTION): Define.
4365 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4366 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4367 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4368 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4369 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4370 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4371 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4372 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4373 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4374 * iconvdata/gbk.c (ONE_DIRECTION): Define.
4375 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4376 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4377 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4378 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4379 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4380 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4381 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4382 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4383 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4384 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4385 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4386 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4387 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4388 * iconvdata/iso646.c (ONE_DIRECTION): Define.
4389 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4390 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4391 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4392 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4393 * iconvdata/johab.c (ONE_DIRECTION): Define.
4394 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4395 * iconvdata/sjis.c (ONE_DIRECTION): Define.
4396 * iconvdata/t.61.c (ONE_DIRECTION): Define.
4397 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4398 * iconvdata/tscii.c (ONE_DIRECTION): Define.
4399 * iconvdata/uhc.c (ONE_DIRECTION): Define.
4400 * iconvdata/unicode.c (ONE_DIRECTION): Define.
4401 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4402 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4403 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4405 2014-05-01 Roland McGrath <roland@hack.frob.com>
4407 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4408 (_IO_JUMPS_OFFSET): Define to 0.
4410 * nptl/sysdeps/pthread/bits/libc-lock.h
4411 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4412 (__libc_lock_define_initialized_recursive): Always define using
4413 initializer. Modern compilers treat uninitialized (implicit zero) and
4414 explicit zero initializers the same (i.e. put the datum in bss).
4416 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4418 * nscd/nscd-client.h: Include <string.h>.
4420 2014-05-01 David S. Miller <davem@davemloft.net>
4423 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4424 multiple zero bytes exist at the end of a string.
4425 Reported by Aurelien Jarno <aurelien@aurel32.net>
4427 * string/test-strcmp.c (check): Add explicit test for situations where
4428 there are multiple zero bytes after the first.
4430 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4433 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4434 when compiling wprintf.
4435 * stdio-common/tstdiomisc.c (t3): New function.
4438 2014-05-01 Steve Ellcey <sellcey@mips.com>
4440 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4441 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4442 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4443 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4445 2014-05-01 Steve Ellcey <sellcey@mips.com>
4447 * stdlib/longlong.h: Updated from GCC.
4449 2014-05-01 Will Newton <will.newton@linaro.org>
4450 Bernard Ogden <bernie.ogden@linaro.org>
4452 * NEWS: Update fixed bug list.
4455 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4457 2014-04-30 David S. Miller <davem@davemloft.net>
4459 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4460 (libc_feholdexcept_setround_sparc_ctx): New function.
4461 (libc_fesetenv_sparc_ctx): Likewise.
4462 (libc_feupdateenv_sparc_ctx): Likewise.
4463 (libc_feholdsetround_sparc_ctx): Likewise.
4464 (libc_feholdexcept_setround_ctx): Define.
4465 (libc_feholdexcept_setroundf_ctx): Likewise.
4466 (libc_feholdexcept_setroundl_ctx): Likewise.
4467 (libc_fesetenv_ctx): Likewise.
4468 (libc_fesetenvf_ctx): Likewise.
4469 (libc_fesetenvl_ctx): Likewise.
4470 (libc_feupdateenv_ctx): Likewise.
4471 (libc_feupdateenvf_ctx): Likewise.
4472 (libc_feupdateenvl_ctx): Likewise.
4473 (libc_feresetround_ctx): Likewise.
4474 (libc_feresetroundf_ctx): Likewise.
4475 (libc_feresetroundl_ctx): Likewise.
4476 (libc_feholdsetround_ctx): Likewise.
4477 (libc_feholdsetroundf_ctx): Likewise.
4478 (libc_feholdsetroundl_ctx): Likewise.
4480 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4481 with __USE_GNU instead of XOPEN cpp guards.
4483 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4486 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4487 with XOPEN cpp guards.
4489 2014-04-30 Julian Brown <julian@codesourcery.com>
4492 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4495 2014-04-30 Joseph Myers <joseph@codesourcery.com>
4498 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4500 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4501 * sysdeps/unix/sysv/linux/configure: Regenerated.
4502 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4503 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4504 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4505 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4506 * README: Update reference to required Linux kernel version.
4507 * manual/install.texi (Linux): Update reference to required Linux
4508 kernel headers version.
4509 * INSTALL: Regenerated.
4511 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4513 [POSIX] (limits.h): Likewise.
4514 [POSIX] (math.h): Likewise.
4515 [POSIX] (sys/wait.h): Likewise.
4516 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4518 [POSIX] (stddef.h): Do not allow header inclusion.
4520 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4522 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4524 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
4526 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4527 Return immediately after lll_futex_wake.
4529 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4532 * nscd/nscd-client.h (datahead_init_common): Initialize entire
4534 (datahead_init_pos): Call datahead_init_common early.
4535 (datahead_init_neg): Likewise.
4537 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4538 datahead_init_neg): New functions.
4539 * nscd/aicache.c (addhstaiX): Use them.
4540 * nscd/grpcache.c (cache_addgr): Likewise.
4541 * nscd/hstcache.c (cache_addhst): Likewise.
4542 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4543 * nscd/netgroupcache.c (do_notfound): Likewise.
4544 (addgetnetgrentX): Likewise.
4545 (addinnetgrX): Likewise.
4546 * nscd/pwdcache.c (cache_addpw): Likewise.
4547 * nscd/servicescache.c (cache_addserv): Likewise.
4549 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4550 Atsushi Onoe <atsushi@onoe.org>
4555 * resolv/res_query.c (__libc_res_nsearch): Return if at least
4556 one response is valid.
4557 * resolv/res_send.c (send_dg): Check for validity of other
4558 response if the current response is a referral.
4560 2014-04-29 Steve Ellcey <sellcey@mips.com>
4562 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4564 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
4567 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4568 Always divide by positive zero when computing -Inf result.
4569 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4570 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4572 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4574 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4575 FPSCR if value do not change.
4576 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4577 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4578 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4579 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4580 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4581 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4584 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
4586 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4587 * sysdeps/unix/sysv/linux/hppa: Move directory from
4588 ports/systeps/unix/sysv/linux/hppa.
4589 * README: Update listing for hppa-*-linux-gnu.
4591 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
4594 * manual/stdio.texi (Hook functions): Fix types of stream hook
4597 * socket/sys/socket.h: Fix typo in comment.
4599 2014-04-28 Wilco <wdijkstr@arm.com>
4601 * sysdeps/arm/fenv_private.h: New file.
4602 * sysdeps/arm/math_private.h: New file.
4603 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4605 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
4607 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4609 (La_x86_64_retval): Likewise.
4611 2014-04-24 Ian Bolton <ian.bolton@arm.com>
4613 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4614 fpsr if value didn't change.
4615 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4616 to fpcr if value didn't change.
4617 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4618 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4619 fpsr or fpcr if value didn't change.
4620 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4621 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4622 fpcr if value didn't change.
4623 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4624 to fpsr if value didn't change.
4626 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4628 * nptl/tst-sem3.c: Use test-skeleton.c
4629 (main): Rename to do_test. Use return instead of
4631 * nptl/tst-sem4.c: Use test-skeleton.c
4632 (main): Rename to do_test.
4634 2014-04-22 David S. Miller <davem@davemloft.net>
4636 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4637 (struct sigaction): New struct member __glibc_reserved0, change
4638 type of sa_flags to int.
4640 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
4642 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4643 (COUNT_LEADING_ZEROS_0): Define for AArch64.
4645 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4647 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4648 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4650 2014-04-22 Will Newton <will.newton@linaro.org>
4651 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
4653 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4654 (__longjmp): Add longjmp and longjmp_target SystemTap
4656 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4657 (__sigsetjmp): Add setjmp SystemTap probe.
4659 2014-04-17 Carlos O'Donell <carlos@redhat.com>
4661 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4664 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4666 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4668 * sysdeps/powerpc/fpu/fenv_private.h
4669 (libc_feholdexcept_setroundl_ctx): Define to
4670 libc_feholdexcept_setround_ppc_ctx.
4671 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4672 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4673 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4674 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4676 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4678 * sysdeps/aarch64/math-tests.h: New file.
4680 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
4682 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4684 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4685 Check and set bit_AVX2_Usable.
4686 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4688 (bit_AVX2): Likewise.
4689 (index_AVX2_Usable): Likewise.
4690 (CPUID_AVX2): Likewise.
4691 (HAS_AVX2): Likewise.
4693 2014-04-17 Will Newton <will.newton@linaro.org>
4695 * manual/setjmp.texi (System V contexts): Add note that
4696 calling setcontext on a context created by a call to a
4697 signal handler is undefined. Update text to note that
4698 setcontext from a signal handler is possible but not
4702 * stdlib/tst-setcontext.c: Include signal.h.
4703 (main): Check that the signal stack before and
4704 after swapcontext is the same.
4706 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4707 Re-implement to restore registers in user code and avoid
4708 rt_sigreturn system call.
4710 2014-04-17 Wilco <wdijkstr@arm.com>
4712 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4713 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4714 * math/test-fenv.c: Skip exception trap tests on targets which only
4715 support non-stop mode.
4717 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4718 Wilco Dijkstra <wilco.dijkstra@arm.com>
4720 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4721 (libc_feholdsetround_aarch64_ctx)
4722 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4723 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4724 (libc_feresetround_ctx, libc_feresetroundf_ctx)
4725 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4726 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4727 (libc_feresetround_noexl_ctx): Define.
4729 2014-04-16 Richard Henderson <rth@redhat.com>
4731 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4733 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4736 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4737 const from the non-libc, non-ldso copy.
4739 * sysdeps/alpha/libm-test-ulps: Regenerate.
4741 2014-04-16 Ian Bolton <ian.bolton@arm.com>
4742 Wilco Dijkstra <wilco.dijkstra@arm.com>
4744 * sysdeps/aarch64/fpu/math_private.h: New file.
4746 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
4748 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4750 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
4752 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4753 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4754 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4755 Intel MPX bound registers before _dl_profile_fixup.
4756 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4757 registers after _dl_profile_fixup. Save and restore bound
4758 registers bnd0/bnd1 when calling _dl_call_pltexit.
4759 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4760 (LR_BND_OFFSET): Likewise.
4761 (LRV_BND0_OFFSET): Likewise.
4762 (LRV_BND1_OFFSET): Likewise.
4764 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4766 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4768 * sysdeps/mach/hurd/i386/tls.h: ... here.
4769 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4770 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4773 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4775 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4777 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4779 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4781 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4784 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4785 * sysdeps/s390/configure: Regenerate.
4788 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4789 Set round-to-nearest internally to reduce error accumulation.
4791 2014-04-16 Alan Modra <amodra@gmail.com>
4795 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4796 * math/libm-test.inc (frexp_test_data): Add tests.
4797 * NEWS: Update fixed bug list.
4799 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4801 * benchtests/Makefile: Depend on libraries in build directory.
4802 (bench-math): Separate out math tests.
4803 (bench-pthread): Separate out pthread tests.
4804 (bench): Include math and pthread tests.
4806 2014-04-14 Carlos O'Donell <carlos@redhat.com>
4809 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4810 _dl_debug_initialize.
4812 * configure.ac: Remove SELinux header check.
4813 * configure: Regenerate.
4814 * nscd/selinux.c (perms): Array of const char* to permission names.
4815 (nscd_request_avc_has_perm): Call security_deny_unknown to find
4816 default policy. Call string_to_security_class and string_to_av_perm to
4817 translate strings. Enforce default policy and call avs_has_perm with
4818 results of translated strings.
4820 2014-04-13 David S. Miller <davem@davemloft.net>
4822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4824 2014-04-12 Allan McRae <allan@archlinux.org>
4827 * manual/string.texi (Collation Functions): Fix qsort argument
4829 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4831 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
4833 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4834 Make the test a no-op if there are no exceptions defined.
4836 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4838 * elf/Makefile (tests): make tst-dlopen-aout conditional on
4839 enable-hardcoded-path-in-tests
4841 2014-04-11 Will Newton <will.newton@linaro.org>
4843 * benchtests/Makefile (extra-objs): Add json-lib.o.
4844 (bench-func): Tidy up JSON output.
4845 * benchtests/bench-skeleton.c: Include json-lib.h.
4846 (main): Use JSON library functions to do output of
4848 * benchtests/bench-timing-type.c (main): Output the
4849 timing type simply, leaving formatting to the user.
4850 * benchtests/json-lib.c: New file.
4851 * benchtests/json-lib.h: Likewise.
4853 2014-04-11 Torvald Riegel <triegel@redhat.com>
4856 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
4857 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
4858 memory barriers. Add comments.
4859 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
4860 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
4861 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
4862 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
4863 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
4864 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
4866 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4868 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
4869 * sysdeps/s390/s390-64/configure.ac: ... this ...
4870 * sysdeps/s390/configure.ac: ... to here.
4871 * sysdeps/s390/s390-32/configure: Delete file.
4872 * sysdeps/s390/s390-64/configure: Delete file.
4873 * sysdeps/s390/configure: Regenerate.
4875 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
4877 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
4879 2014-04-11 Will Newton <will.newton@linaro.org>
4881 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
4882 to zero if it is not defined elsewhere. (mtrim): Test
4883 the value of MALLOC_DEBUG with #if rather than #ifdef.
4885 2014-04-10 Torvald Riegel <triegel@redhat.com>
4887 * benchtests/pthread_once-inputs: New file.
4888 * benchtests/pthread_once-source.c: New file.
4889 * benchtests/README: Update documentation.
4891 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
4892 H.J. Lu <hongjiu.lu@intel.com>
4894 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
4895 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
4896 * sysdeps/x86_64/configure: Regenerated.
4897 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
4899 (REGISTER_SAVE_RAX): Likewise.
4900 (REGISTER_SAVE_RCX): Likewise.
4901 (REGISTER_SAVE_RDX): Likewise.
4902 (REGISTER_SAVE_RSI): Likewise.
4903 (REGISTER_SAVE_RDI): Likewise.
4904 (REGISTER_SAVE_R8): Likewise.
4905 (REGISTER_SAVE_R9): Likewise.
4906 (REGISTER_SAVE_BND0): Likewise.
4907 (REGISTER_SAVE_BND1): Likewise.
4908 (REGISTER_SAVE_BND2): Likewise.
4909 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
4910 bound registers when calling _dl_fixup.
4912 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4914 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
4915 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
4917 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
4918 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
4919 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
4920 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
4921 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
4922 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
4923 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
4925 2014-04-09 Peter Brett <peter@peter-b.co.uk>
4928 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
4929 pathconf(_PC_NAME_MAX).
4931 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4933 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
4935 (__PTHREAD_SPINS): Move definition to ...
4936 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4937 (__PTHREAD_SPINS): ... here.
4938 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4939 (__PTHREAD_SPIN): Likewise.
4940 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
4941 (__PTHREAD_SPIN): Likewise.
4942 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
4943 (__PTHREAD_SPIN): Likewise.
4944 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
4945 (__PTHREAD_SPIN): Likewise.
4946 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4947 (__PTHREAD_SPIN): Likewise.
4948 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4949 (__PTHREAD_SPIN): Likewise.
4950 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
4951 (__PTHREAD_SPIN): Likewise.
4952 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4953 (__PTHREAD_SPIN): Likewise.
4954 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4955 (__PTHREAD_SPIN): Likewise.
4956 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4957 (__PTHREAD_SPIN): Likewise.
4958 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4959 (__PTHREAD_SPIN): Likewise.
4960 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
4961 (__PTHREAD_SPIN): Likewise.
4963 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
4964 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
4965 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
4966 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
4968 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
4969 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
4970 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
4971 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
4973 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
4974 strlen symbol for non multi-arch builds.
4975 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
4976 missing hidden_def and weak_alias.
4978 2014-04-08 Carlos O'Donell <carlos@redhat.com>
4980 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
4982 2014-04-07 Will Newton <will.newton@linaro.org>
4984 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4985 and contents. [!_LIBC] Remove #ifndef and contents.
4986 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
4987 * string/memccpy.c (__memccpy): Use ANSI prototype.
4988 * string/memfrob.c (memfrob): Likewise.
4989 * string/strcoll.c (STRCOLL): Likewise.
4990 * string/strlen.c (strlen): Likewise.
4991 * string/strtok.c (STRTOK): Likewise.
4992 * string/strcat.c: Remove unused #include of memcopy.h.
4993 (strcat): Use ANSI prototype.
4994 * string/strchr.c: Remove unused #include of memcopy.h.
4995 (strchr): Use ANSI prototype.
4996 * string/strcmp.c: Remove unused #include of memcopy.h.
4997 (strcmp): Use ANSI prototype.
4998 * string/strcpy.c: Remove unused #include of memcopy.h.
4999 (strcpy): Use ANSI prototype.
5001 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5003 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5004 * config.make.in (config-extra-cppflags): Set it from
5005 libc_extra_cppflags.
5006 * configure.ac (libc_extra_cflags): Make it accumulate over
5007 configure fragments.
5008 (libc_extra_cppflags): New flag.
5009 * configure. Regenerate.
5010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5011 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5012 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5016 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5017 result for FE_DOWNWARD rounding mode.
5018 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5022 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
5024 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5025 in function argument name.
5027 2014-04-03 David Svoboda <svoboda@cert.org>
5030 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5033 2014-04-03 Roland McGrath <roland@hack.frob.com>
5035 * elf/dl-unmap-segments.h: New file.
5036 * sysdeps/generic/ldsodefs.h
5037 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5038 * elf/dl-close.c: Include <dl-unmap-segments.h>.
5039 * elf/dl-fptr.c: Likewise.
5040 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5041 * sysdeps/aarch64/tlsdesc.c: Likewise.
5042 * sysdeps/arm/tlsdesc.c: Likewise.
5043 * sysdeps/i386/tlsdesc.c: Likewise.
5044 * sysdeps/tile/dl-runtime.c: Likewise.
5045 * sysdeps/x86_64/tlsdesc.c: Likewise.
5046 * elf/dl-load.h: New file.
5047 * elf/dl-load.c: Include it.
5048 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5049 Macros moved to dl-load.h.
5050 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5051 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5052 Use _dl_unmap_segments in place of __munmap.
5053 Break out segment-mapping loop into ...
5054 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5056 2014-04-03 Will Newton <will.newton@linaro.org>
5058 * elf/dl-lookup.c (do_lookup_x): Remove comment
5059 referring to nested function and move variable
5060 declarations down to before first use.
5062 2014-04-02 Joseph Myers <joseph@codesourcery.com>
5066 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5068 * math/s_catanf.c (__catanf): Likewise.
5069 * math/s_catanh.c (__catanh): Likewise.
5070 * math/s_catanhf.c (__catanhf): Likewise.
5071 * math/s_catanhl.c (__catanhl): Likewise.
5072 * math/s_catanl.c (__catanl): Likewise.
5073 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5074 by positive zero when computing -Inf result.
5075 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5076 (catanh_test): Likewise.
5077 * sysdeps/i386/fpu/libm-test-ulps: Update.
5078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5081 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5082 instead of using underflowing value in computing result.
5083 * math/s_clog10.c (__clog10): Likewise.
5084 * math/s_clog10f.c (__clog10f): Likewise.
5085 * math/s_clog10l.c (__clog10l): Likewise.
5086 * math/s_clogf.c (__clogf): Likewise.
5087 * math/s_clogl.c (__clogl): Likewise.
5088 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5089 (clog10_test): Likewise.
5090 * sysdeps/i386/fpu/libm-test-ulps: Update.
5091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5093 2014-04-02 Alan Modra <amodra@gmail.com>
5096 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5097 output when value is near a power of two. Use int64_t for lx and
5098 remove casts. Use decimal rather than hex exponent constants.
5099 Don't use long double multiplication when double will suffice.
5100 * math/libm-test.inc (nextafter_test_data): Add tests.
5101 * NEWS: Add 16739 and 16786 to bug list.
5103 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5105 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5107 2014-04-01 Will Newton <will.newton@linaro.org>
5109 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5110 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5112 2014-04-01 Florian Weimer <fweimer@redhat.com>
5115 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5116 * nptl/tst-setuid2.c: New file.
5117 * nptl/Makefile (xtests): Add tst-setuid2.
5119 2014-04-01 Alan Modra <amodra@gmail.com>
5122 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5124 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5128 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5129 set errno as appropriate.
5130 * math/w_scalbf.c (__scalbf): Likewise.
5131 * math/w_scalbl.c (__scalbl): Likewise.
5132 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5133 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5134 * math/libm-test.inc (scalb_test_data): Add errno expectations.
5138 * math/w_atan2.c: Include <errno.h>.
5139 (__atan2): Set errno for result underflowing to zero.
5140 * math/w_atan2f.c: Include <errno.h>.
5141 (__atan2f): Set errno for result underflowing to zero.
5142 * math/w_atan2l.c: Include <errno.h>.
5143 (__atan2l): Set errno for result underflowing to zero.
5144 * math/auto-libm-test-in: Don't allow missing errno for some atan2
5146 * math/auto-libm-test-out: Regenerated.
5148 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5150 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5151 Encode instruction correctly in little endian.
5152 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5154 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5156 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5158 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5161 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5164 * sysdeps/unix/sysv/linux/kernel-features.h
5165 [__sparc__ && !__arch64__ && !__sparc_v9__]
5166 (__ASSUME_SET_ROBUST_LIST): Do not define.
5167 [__sparc__ && !__arch64__ && !__sparc_v9__]
5168 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5169 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5171 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5172 (__ASSUME_FUTEX_LOCK_PI): Undefine.
5173 (__ASSUME_REQUEUE_PI): Likewise.
5174 (__ASSUME_SET_ROBUST_LIST): Likewise.
5175 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5176 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5178 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5179 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5181 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5183 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5185 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5186 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5188 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5189 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5193 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5194 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5195 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5197 2014-03-31 Will Newton <will.newton@linaro.org>
5199 * benchtests/Makefile (bench): Add ffs and ffsll to list
5201 * benchtests/ffs-inputs: New file.
5202 * benchtests/ffsll-inputs: Likewise.
5204 2014-03-29 Joseph Myers <joseph@codesourcery.com>
5207 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5208 too large before casting to int.
5209 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5210 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5211 * math/libm-test.inc (scalb_test_data): Add more tests.
5213 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5215 * benchtests/Makefile (DETAILED_OPT): New make option.
5216 (bench-func): Run benchmark program with -d if DETAILED_OPT is
5218 * benchtests/bench-skeleton.c: Include stdbool.h.
5219 (main): Store and print timings per input.
5220 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5221 member to each argument value.
5222 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5223 (_print_arg_data): Initialize per-input timing to 0.
5225 * benchtests/Makefile (timing-type): New binary.
5226 (bench-clean): Also remove bench-timing-type.
5227 (bench): New target for timing-type.
5228 (bench-func): Print output in JSON format.
5229 * benchtests/bench-skeleton.c (main): Print output in JSON
5231 * benchtests/bench-timing-type.c: New file.
5232 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5233 (TIMING_PRINT_STATS): Remove.
5234 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5237 * benchtests/bench-modf.c: Remove.
5238 * benchtests/modf-inputs: New inputs file.
5240 2014-03-28 Joseph Myers <joseph@codesourcery.com>
5243 * math/s_clog10.c (M_PI_LOG10E): New macro.
5244 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5245 imaginary parts are 0.
5246 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5247 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5248 imaginary parts are 0.
5249 * math/s_clog10l.c (M_PI_LOG10El): New macro.
5250 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5251 imaginary parts are 0.
5252 * math/libm-test.inc (clog10_test_data): Update expected results
5253 for when real and imaginary parts are 0.
5255 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5257 * elf/dl-load.c: Finish conversion of __builtin_expect into
5260 2014-03-27 Joseph Myers <joseph@codesourcery.com>
5263 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5264 1+x for argument with exponent below -67.
5265 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5267 * math/auto-libm-test-in: Add more tests of exp.
5268 * math/auto-libm-test-out: Regenerated.
5270 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5273 * inet/getnetgrent_r.c (get_nonempty_val): New function.
5274 (nscd_getnetgrent): Use it.
5277 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5280 2014-03-27 Andi Kleen <ak@linux.intel.com>
5282 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5283 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5284 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5285 (lll_robust_unlock): Remove out of line section. Use cfi
5287 (LLL_STUB_UNWIND_INFO*): Remove.
5288 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5289 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5290 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5291 (lll_robust_unlock): Remove out of line section. Use cfi
5293 (LLL_STUB_UNWIND_INFO*): Remove.
5295 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5298 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5301 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
5303 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5305 2014-03-26 Joseph Myers <joseph@codesourcery.com>
5308 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5310 * math/test-fenv-preserve.c: New file.
5311 * math/Makefile (tests): Add test-fenv-preserve.
5313 2014-03-26 Will Newton <will.newton@linaro.org>
5315 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5317 2014-03-25 Roland McGrath <roland@hack.frob.com>
5319 * scripts/versionlist.awk: Partition the version sets and emit all
5320 GLIBC_* (sorted) before all others (sorted).
5322 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5324 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5325 GLIBC_2.2.5 version.
5327 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5329 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5332 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5337 2014-03-25 Andreas Schwab <schwab@suse.de>
5339 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5340 label to be used after in6ailist is initialized.
5342 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5344 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5345 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5347 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5351 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5353 (fp_formats): Update initializers.
5354 (init_fp_formats): Initialize new field.
5355 (output_for_one_input_case): Allow underflow for results up to
5357 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5358 * math/auto-libm-test-in: Don't mark some underflows from asin and
5360 * math/auto-libm-test-out: Regenerated.
5361 * sysdeps/i386/fpu/libm-test-ulps: Update.
5362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5364 2014-03-25 Andreas Schwab <schwab@suse.de>
5366 * libio/Makefile (tst-ftell-partial-wide-ENV)
5367 (tst-ftell-active-handler-ENV): Define.
5369 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5371 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5373 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5375 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5377 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5379 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5380 * sysdeps/x86_64/fpu/multiarch/e_exp.c
5381 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5383 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5386 * elf/dl-load.c (open_verify): Add mode parameter.
5387 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5388 (open_path): Change from boolean 'secure' to complete flag 'mode'
5389 (_dl_map_object): Adjust.
5390 * elf/Makefile (tests): Add tst-dlopen-aout.
5391 * elf/tst-dlopen-aout.c: New test.
5393 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5396 * sysdeps/unix/sysv/linux/s390/bits/stat.h
5397 (struct stat): Rename member pad0 to __glibc_reserved0.
5400 * sysdeps/s390/s390-32/bits/wordsize.h
5401 (__WORDSIZE32_SIZE_ULONG): New define.
5402 * sysdeps/s390/s390-64/bits/wordsize.h
5403 (__WORDSIZE32_SIZE_ULONG): Likewise.
5404 * sysdeps/generic/stdint.h (SIZE_MAX):
5405 Define as UL if __WORDSIZE32_SIZE_ULONG.
5408 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5409 (__glibc_reserved0): New variable.
5410 (sa_flags): Change type to int.
5412 * posix/Makefile (before-compile): Use += before-compile instead
5415 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5416 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5418 2014-03-20 Andreas Schwab <schwab@suse.de>
5421 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5422 non-matching result from nscd.
5424 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5426 * scripts/bench.py: Moved to ...
5427 * benchtests/scripts/bench.py: ... here.
5428 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5430 2014-03-24 Andreas Schwab <schwab@suse.de>
5433 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5434 alloca_account and account alloca use for struct in6ailist.
5436 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5439 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5440 rounding mode to recompute results that overflow to infinity or
5442 * math/auto-libm-test-in: Don't mark tests as expected to fail for
5444 * math/auto-libm-test-out: Regenerated.
5445 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5446 (ccosh_test): Likewise.
5447 (csin_test_data): Use plus_oflow.
5448 (csin_test): Use ALL_RM_TEST.
5449 (csinh_test_data): Use plus_oflow.
5450 (csinh_test): Use ALL_RM_TEST.
5451 * sysdeps/i386/fpu/libm-test-ulps: Update.
5452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5454 2014-03-21 Joseph Myers <joseph@codesourcery.com>
5456 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5457 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5458 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5461 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5463 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5464 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5465 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5466 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5468 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5469 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5471 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5472 * sysdeps/i386/fpu/libm-test-ulps: Update.
5473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5475 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5477 * scripts/bench.pl: Remove file.
5478 * scripts/bench.py: New benchmark script.
5479 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5480 * benchtests/README: Mention python dependency.
5481 * scripts/pylintrc: New file.
5482 * scripts/pylint: New file.
5484 * bits/mathdef.h: Use #ifdef instead of #if.
5485 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5486 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5487 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5488 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5489 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5490 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5492 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5493 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5495 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5496 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5497 and strpbrk-ppc64 objects.
5498 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5499 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5500 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5501 multiarch strpbrk for POWER7.
5502 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5503 multiarch strpbrk for PPC64.
5504 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5506 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5509 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5511 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5512 (atan_test): Likewise.
5513 (atanh_test_data): Use NO_TEST_INLINE for two tests.
5514 (atanh_test): Use ALL_RM_TEST.
5515 (atan2_test_data): Likewise.
5516 (cabs_test): Likewise.
5517 (cacosh_test): Likewise.
5518 (carg_test): Likewise.
5519 (casin_test): Likewise.
5520 (casinh_test): Likewise.
5521 (cbrt_test): Likewise.
5522 (csqrt_test): Likewise.
5523 (erf_test): Likewise.
5524 (erfc_test): Likewise.
5525 (pow10_test): Likewise.
5526 (exp2_test): Likewise.
5527 (hypot_test): Likewise.
5528 (j0_test): Likewise.
5529 (j1_test): Likewise.
5530 (lgamma_test): Likewise.
5531 (gamma_test): Likewise.
5532 (sincos_test): Likewise.
5533 (tanh_test): Likewise.
5534 (y0_test): Likewise.
5535 (y1_test): Likewise.
5536 * sysdeps/i386/fpu/libm-test-ulps: Update.
5537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5539 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5541 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5542 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5543 and strcspn-ppc64 objects.
5544 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5545 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5546 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5547 multiarch strcspn for POWER7.
5548 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5549 multiarch strcspn for PPC64.
5550 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5552 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5555 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5557 * math/gen-libm-test.pl (generate_testfile): Expect only function
5558 name as argument to AUTO_TESTS_* and pass results for all rounding
5559 modes to parse_args.
5560 (parse_auto_input): Separate inputs of automatic tests from
5561 outputs before storing in %auto_tests.
5562 * math/libm-test.inc (acos_test_data): Update call to
5564 (acos_test): Use ALL_RM_TEST.
5565 (acos_tonearest_test_data): Remove.
5566 (acos_test_tonearest): Likewise.
5567 (acos_towardzero_test_data): Likewise.
5568 (acos_test_towardzero): Likewise.
5569 (acos_downward_test_data): Likewise.
5570 (acos_test_downward): Likewise.
5571 (acos_upward_test_data): Likewise.
5572 (acos_test_upward): Likewise.
5573 (acosh_test_data): Update call to AUTO_TESTS_f_f.
5574 (asin_test_data): Likewise.
5575 (asin_test): Use ALL_RM_TEST.
5576 (asin_tonearest_test_data): Remove.
5577 (asin_test_tonearest): Likewise.
5578 (asin_towardzero_test_data): Likewise.
5579 (asin_test_towardzero): Likewise.
5580 (asin_downward_test_data): Likewise.
5581 (asin_test_downward): Likewise.
5582 (asin_upward_test_data): Likewise.
5583 (asin_test_upward): Likewise.
5584 (asinh_test_data): Update call to AUTO_TESTS_f_f.
5585 (atan_test_data): Likewise.
5586 (atanh_test_data): Likewise.
5587 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5588 (cabs_test_data): Update call to AUTO_TESTS_c_f.
5589 (carg_test_data): Likewise.
5590 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5591 (ccos_test_data): Update call to AUTO_TESTS_c_c.
5592 (ccosh_test_data): Likewise.
5593 (cexp_test_data): Likewise.
5594 (clog_test_data): Likewise.
5595 (clog10_test_data): Likewise.
5596 (cos_test_data): Update call to AUTO_TESTS_f_f.
5597 (cos_test): Use ALL_RM_TEST.
5598 (cos_tonearest_test_data): Remove.
5599 (cos_test_tonearest): Likewise.
5600 (cos_towardzero_test_data): Likewise.
5601 (cos_test_towardzero): Likewise.
5602 (cos_downward_test_data): Likewise.
5603 (cos_test_downward): Likewise.
5604 (cos_upward_test_data): Likewise.
5605 (cos_test_upward): Likewise.
5606 (cosh_test_data): Update call to AUTO_TESTS_f_f.
5607 (cosh_test): Use ALL_RM_TEST.
5608 (cosh_tonearest_test_data): Remove.
5609 (cosh_test_tonearest): Likewise.
5610 (cosh_towardzero_test_data): Likewise.
5611 (cosh_test_towardzero): Likewise.
5612 (cosh_downward_test_data): Likewise.
5613 (cosh_test_downward): Likewise.
5614 (cosh_upward_test_data): Likewise.
5615 (cosh_test_upward): Likewise.
5616 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5617 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5618 (ctan_test_data): Likewise.
5619 (ctan_test): Use ALL_RM_TEST.
5620 (ctan_tonearest_test_data): Remove.
5621 (ctan_test_tonearest): Likewise.
5622 (ctan_towardzero_test_data): Likewise.
5623 (ctan_test_towardzero): Likewise.
5624 (ctan_downward_test_data): Likewise.
5625 (ctan_test_downward): Likewise.
5626 (ctan_upward_test_data): Likewise.
5627 (ctan_test_upward): Likewise.
5628 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5629 (ctanh_test): Use ALL_RM_TEST.
5630 (ctanh_tonearest_test_data): Remove.
5631 (ctanh_test_tonearest): Likewise.
5632 (ctanh_towardzero_test_data): Likewise.
5633 (ctanh_test_towardzero): Likewise.
5634 (ctanh_downward_test_data): Likewise.
5635 (ctanh_test_downward): Likewise.
5636 (ctanh_upward_test_data): Likewise.
5637 (ctanh_test_upward): Likewise.
5638 (erf_test_data): Update call to AUTO_TESTS_f_f.
5639 (erfc_test_data): Likewise.
5640 (exp_test_data): Likewise.
5641 (exp_test): Use ALL_RM_TEST.
5642 (exp_tonearest_test_data): Remove.
5643 (exp_test_tonearest): Likewise.
5644 (exp_towardzero_test_data): Likewise.
5645 (exp_test_towardzero): Likewise.
5646 (exp_downward_test_data): Likewise.
5647 (exp_test_downward): Likewise.
5648 (exp_upward_test_data): Likewise.
5649 (exp_test_upward): Likewise.
5650 (exp10_test_data): Update call to AUTO_TESTS_f_f.
5651 (exp10_test): Use ALL_RM_TEST.
5652 (exp10_tonearest_test_data): Remove.
5653 (exp10_test_tonearest): Likewise.
5654 (exp10_towardzero_test_data): Likewise.
5655 (exp10_test_towardzero): Likewise.
5656 (exp10_downward_test_data): Likewise.
5657 (exp10_test_downward): Likewise.
5658 (exp10_upward_test_data): Likewise.
5659 (exp10_test_upward): Likewise.
5660 (exp2_test_data): Update call to AUTO_TESTS_f_f.
5661 (expm1_test_data): Likewise.
5662 (expm1_test): Use ALL_RM_TEST.
5663 (expm1_tonearest_test_data): Remove.
5664 (expm1_test_tonearest): Likewise.
5665 (expm1_towardzero_test_data): Likewise.
5666 (expm1_test_towardzero): Likewise.
5667 (expm1_downward_test_data): Likewise.
5668 (expm1_test_downward): Likewise.
5669 (expm1_upward_test_data): Likewise.
5670 (expm1_test_upward): Likewise.
5671 (fma_test_data): Update call to AUTO_TESTS_fff_f.
5672 (fma_test): Use ALL_RM_TEST.
5673 (fma_towardzero_test_data): Remove.
5674 (fma_test_towardzero): Likewise.
5675 (fma_downward_test_data): Likewise.
5676 (fma_test_downward): Likewise.
5677 (fma_upward_test_data): Likewise.
5678 (fma_test_upward): Likewise.
5679 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5680 (j0_test_data): Update call to AUTO_TESTS_f_f.
5681 (j1_test_data): Likewise.
5682 (jn_test_data): Update call to AUTO_TESTS_if_f.
5683 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5684 (log_test_data): Update call to AUTO_TESTS_f_f.
5685 (log10_test_data): Likewise.
5686 (log1p_test_data): Likewise.
5687 (log2_test_data): Likewise.
5688 (pow_test_data): Update call to AUTO_TESTS_ff_f.
5689 (pow_tonearest_test_data): Likewise.
5690 (sin_test_data): Update call to AUTO_TESTS_f_f.
5691 (sin_test): Use ALL_RM_TEST.
5692 (sin_tonearest_test_data): Remove.
5693 (sin_test_tonearest): Likewise.
5694 (sin_towardzero_test_data): Likewise.
5695 (sin_test_towardzero): Likewise.
5696 (sin_downward_test_data): Likewise.
5697 (sin_test_downward): Likewise.
5698 (sin_upward_test_data): Likewise.
5699 (sin_test_upward): Likewise.
5700 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5701 (sinh_test_data): Update call to AUTO_TESTS_f_f.
5702 (sinh_test): Use ALL_RM_TEST.
5703 (sinh_tonearest_test_data): Remove.
5704 (sinh_test_tonearest): Likewise.
5705 (sinh_towardzero_test_data): Likewise.
5706 (sinh_test_towardzero): Likewise.
5707 (sinh_downward_test_data): Likewise.
5708 (sinh_test_downward): Likewise.
5709 (sinh_upward_test_data): Likewise.
5710 (sinh_test_upward): Likewise.
5711 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5712 (sqrt_test): Use ALL_RM_TEST.
5713 (sqrt_tonearest_test_data): Remove.
5714 (sqrt_test_tonearest): Likewise.
5715 (sqrt_towardzero_test_data): Likewise.
5716 (sqrt_test_towardzero): Likewise.
5717 (sqrt_downward_test_data): Likewise.
5718 (sqrt_test_downward): Likewise.
5719 (sqrt_upward_test_data): Likewise.
5720 (sqrt_test_upward): Likewise.
5721 (tan_test_data): Update call to AUTO_TESTS_f_f.
5722 (tan_test): Use ALL_RM_TEST.
5723 (tan_tonearest_test_data): Remove.
5724 (tan_test_tonearest): Likewise.
5725 (tan_towardzero_test_data): Likewise.
5726 (tan_test_towardzero): Likewise.
5727 (tan_downward_test_data): Likewise.
5728 (tan_test_downward): Likewise.
5729 (tan_upward_test_data): Likewise.
5730 (tan_test_upward): Likewise.
5731 (tanh_test_data): Update call to AUTO_TESTS_f_f.
5732 (tgamma_test_data): Likewise.
5733 (y0_test_data): Likewise.
5734 (y1_test_data): Likewise.
5735 (yn_test_data): Update call to AUTO_TESTS_if_f.
5736 (main): Do not call removed functions.
5738 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5740 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5741 (ldexp_test_data): Remove.
5742 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
5744 (scalb_test): Use ALL_RM_TEST.
5746 2014-03-19 Andreas Schwab <schwab@suse.de>
5748 * nscd/nscd.service: Also invalidate netgroup cache on reload.
5750 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5753 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5754 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5755 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5756 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5757 (__ASSUME_PREADV): Undefine.
5758 (__ASSUME_PWRITEV): Likewise.
5760 2014-03-18 Roland McGrath <roland@hack.frob.com>
5762 * bits/mman-linux.h: Add comment about non-Linux use.
5763 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5764 bits/mman-linux.h resting place.
5766 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5767 * bits/mman-linux.h: ... here.
5769 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5771 * conform/conformtest.pl: Add standard definition when calling C
5772 preprocessor on data files.
5773 (checknamespace): Remove unused variable.
5775 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5777 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5778 minus_oflow, plus_uflow and minus_uflow in expected results.
5779 * math/libm-test.inc (scalbn_test_data): Add more tests of
5780 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
5782 (scalbn_test): Use ALL_RM_TEST.
5783 (scalbln_test_data): Add more tests of negative arguments. Use
5784 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5785 (scalbln_test): Use ALL_RM_TEST.
5787 2014-03-18 Roland McGrath <roland@hack.frob.com>
5789 * scripts/abilist.awk: Ignore symbols marked with .hidden.
5791 2014-03-18 Will Newton <will.newton@linaro.org>
5793 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5796 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5798 * Makerules [!subdir] (check-abi): Exit with error status if a
5801 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5803 * math/libm-test.inc (nearbyint_test_data): Include all tests used
5804 for rint. Include results for all rounding modes.
5805 (nearbyint_test): Use ALL_RM_TEST.
5806 (rint_test_data): Include all tests used for nearbyint.
5808 2014-03-17 Will Newton <will.newton@linaro.org>
5810 * nptl/sysdeps/pthread/pthread.h: Revert previous
5813 * sysdeps/generic/ldsodefs.h: Revert previous
5816 * libio/genops.c: Revert previous change.
5817 * libio/libioP.h: Likewise.
5818 * stdio-common/vfprintf.c: Likewise.
5820 * sysdeps/generic/math_private.h: Revert previous
5823 * sysdeps/generic/math_private.h: Check whether
5824 HAVE_RM_CTX is defined with #ifdef rather
5827 * argp/argp-fmtstream.h: Check whether
5828 __STRICT_ANSI__ is defined with #ifdef rather
5830 * argp/argp.h: Likewise.
5832 * libio/genops.c: Check whether
5833 _IO_JUMPS_OFFSET is defined with #ifdef rather
5835 * libio/libioP.h: Likewise.
5836 * stdio-common/vfprintf.c: Likewise.
5838 * sysdeps/generic/ldsodefs.h: Check whether
5839 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
5842 * nptl/sysdeps/pthread/pthread.h: Check
5843 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5846 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5848 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
5850 * libio/tst-ftell-active-handler.c (do_append_test): Add a
5854 * libio/fileops.c (_IO_file_open): Seek to end of file but
5855 don't cache the offset.
5856 (get_file_offset): Remove function.
5857 (do_ftell): Use cached offset when available.
5858 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
5859 don't cache the offset.
5860 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
5862 (do_one_test): Call it.
5863 (do_ftell_test): Fix up expected old offset for a+ mode.
5864 * libio/wfileops.c (do_ftell_wide): Used cached offset when
5867 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
5868 up test status with function return status.
5869 (do_write_test): Likewise.
5870 (do_append_test): Likewise.
5872 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
5873 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
5876 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5878 * math/gen-libm-test.pl (parse_args): Handle results specified for
5879 each rounding mode separately.
5880 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
5881 tests and results from lrint_tonearest_test_data,
5882 lrint_towardzero_test_data, lrint_downward_test_data and
5883 lrint_upward_test_data.
5884 (lrint_test): Use ALL_RM_TEST.
5885 (lrint_tonearest_test_data): Remove.
5886 (lrint_test_tonearest): Likewise.
5887 (lrint_towardzero_test_data): Likewise.
5888 (lrint_test_towardzero): Likewise.
5889 (lrint_downward_test_data): Likewise.
5890 (lrint_test_downward): Likewise.
5891 (lrint_upward_test_data): Likewise.
5892 (lrint_test_upward): Likewise.
5893 (llrint_test_data): Merge in per-rounding-mode tests and results
5894 from llrint_tonearest_test_data, llrint_towardzero_test_data,
5895 llrint_downward_test_data and llrint_upward_test_data.
5896 (llrint_test): Use ALL_RM_TEST.
5897 (llrint_tonearest_test_data): Remove.
5898 (llrint_test_tonearest): Likewise.
5899 (llrint_towardzero_test_data): Likewise.
5900 (llrint_test_towardzero): Likewise.
5901 (llrint_downward_test_data): Likewise.
5902 (llrint_test_downward): Likewise.
5903 (llrint_upward_test_data): Likewise.
5904 (llrint_test_upward): Likewise.
5905 (rint_test_data): Merge in per-rounding-mode tests and results
5906 from rint_tonearest_test_data, rint_towardzero_test_data,
5907 rint_downward_test_data and rint_upward_test_data. Add
5908 per-rounding-mode results for tests not in those arrays.
5909 (rint_test): Use ALL_RM_TEST.
5910 (rint_tonearest_test_data): Remove.
5911 (rint_test_tonearest): Likewise.
5912 (rint_towardzero_test_data): Likewise.
5913 (rint_test_towardzero): Likewise.
5914 (rint_downward_test_data): Likewise.
5915 (rint_test_downward): Likewise.
5916 (rint_upward_test_data): Likewise.
5917 (rint_test_upward): Likewise.
5918 (main): Don't call removed functions.
5920 2014-03-14 Roland McGrath <roland@hack.frob.com>
5922 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
5923 "Compiled on ..." crapola. It is anti-useful.
5925 2014-03-14 Joseph Myers <joseph@codesourcery.com>
5927 * scripts/evaluate-test.sh: Handle fourth argument to determine
5928 whether test run should stop on failure.
5929 * Makeconfig (stop-on-test-failure): New variable.
5930 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
5931 $(stop-on-test-failure).
5932 * Makefile (tests): Give a summary of results from testing and
5933 exit with failure status if they include an ERROR or FAIL.
5935 * manual/install.texi (Configuring and compiling): Mention
5936 stop-on-test-failure=y.
5937 * INSTALL: Regenerated.
5939 2014-03-14 Roland McGrath <roland@hack.frob.com>
5941 * scripts/versionlist.awk: New file.
5942 * Makerules [$(build-shared) = yes]
5943 (postclean-generated): Add Versions.def, not Versions.def.v and
5945 ($(common-objpfx)Versions.def.v.i): Target removed.
5946 ($(common-objpfx)Versions.def): New target.
5947 ($(common-objpfx)Versions.all): Depend on that rather that
5948 $(common-objpfx)Versions.def.v.
5949 * Versions.def: File removed.
5951 * Makeconfig (+gccwarn): Add -Wundef.
5952 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
5953 a dl-sysdep.h breaking its contract.
5954 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
5955 * include/stackinfo.h: New file.
5956 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
5957 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
5958 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
5959 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
5960 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
5961 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
5962 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5963 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5964 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5965 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5966 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5967 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
5968 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5969 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5970 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5972 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5975 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
5977 * math/libm-test.inc (round_test_data): Add more tests.
5980 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5982 * math/libm-test.inc (nearbyint_test_data): Add more tests.
5985 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
5987 * math/libm-test.inc (ceil_test_data): Add more tests.
5989 * math/libm-test.inc (trunc_test_data): Add more tests related to
5992 2014-03-14 Roland McGrath <roland@hack.frob.com>
5994 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
5995 with #if rather than #ifdef.
5996 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5998 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
6000 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6001 first. Disable AVX-512 GCC support if assembler doesn't support
6003 * sysdeps/x86_64/configure: Regenerated.
6005 2014-03-13 Carlos O'Donell <carlos@redhat.com>
6007 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6008 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6009 (__old_pthread_attr_setstack): Likewise.
6010 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6011 [!_STACK_GROWS_DOWN]: Likewise.
6013 2014-03-13 Mike Frysinger <vapier@gentoo.org>
6015 * config.make.in (have-bash2): Delete.
6016 * configure.ac (libc_cv_have_bash2): Delete.
6017 * configure: Regenerate.
6018 * elf/Makefile (common-ldd-rewrite): Rename to ...
6019 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
6020 (sh-ldd-rewrite): Delete.
6021 (bash-ldd-rewrite): Delete.
6022 (have-bash2): Delete checks.
6023 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6026 * config.make.in (have-ksh): Delete.
6028 * configure.ac (libc_cv_have_ksh): Delete.
6029 * configure: Regenerate.
6031 * elf/Makefile: Delete $(have-ksh) check.
6032 ($(objpfx)sotruss): Change KSH to BASH.
6033 * elf/sotruss.ksh: Rename to ...
6034 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
6035 function style to match POSIX. Drop ksh vim mode setting.
6037 * manual/time.texi (Specifying the Time Zone with TZ): Change
6038 Tuesday to Thursday.
6040 * debug/tst-longjmp_chk2.c: Update header comment.
6041 (stackoverflow_handler): Add comment. Call assert on pass value.
6043 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
6045 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6046 (HAVE_AVX512_ASM_SUPPORT): Likewise.
6047 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6048 (La_x86_64_vector): Add zmm.
6049 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6050 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6051 ($(objpfx)tst-audit10): New target.
6052 ($(objpfx)tst-audit10.out): Likewise.
6053 (tst-audit10-ENV): New.
6054 (AVX512-CFLAGS): Likewise.
6055 (CFLAGS-tst-audit10.c): Likewise.
6056 (CFLAGS-tst-auditmod10a.c): Likewise.
6057 (CFLAGS-tst-auditmod10b.c): Likewise.
6058 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6059 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6060 * sysdeps/x86_64/configure: Regenerated.
6061 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6062 AVX-512 zmm register support.
6063 (_dl_x86_64_save_sse): Likewise.
6064 (_dl_x86_64_restore_sse): Likewise.
6065 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6066 size vector registers.
6067 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6068 (ZMM_SIZE): Likewise.
6069 * sysdeps/x86_64/tst-audit10.c: New file.
6070 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6071 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6073 2014-03-13 Roland McGrath <roland@hack.frob.com>
6075 * configure.ac (HAVE_EHDR_START): New check.
6076 * configure: Regenerated.
6077 * config.h.in (HAVE_EHDR_START): New #undef.
6078 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6079 assuming the lowest-addressed segment maps the start of the file.
6081 2014-03-13 Joseph Myers <joseph@codesourcery.com>
6083 * INSTALL: Regenerated.
6085 2014-03-13 Will Newton <will.newton@linaro.org>
6087 * manual/setjmp.texi (System V contexts): Improve
6088 clarity and grammar of documentation.
6090 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6093 * elf/Makefile (tests): Add tst-pie2.
6094 (tests-pie): Add tst-pie2.
6095 * elf/tst-pie2.c: New file.
6096 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6098 * elf/rtld.c (map_doit): Load executable as lt_executable.
6099 (dl_main): Likewise.
6101 2014-03-12 Joseph Myers <joseph@codesourcery.com>
6104 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6105 (__ASSUME_PSELECT): Undefine.
6107 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6110 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6111 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6113 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6114 selector for static builds.
6116 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6119 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6122 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6124 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6125 IFUNC selector for static builds.
6127 2014-03-11 Joseph Myers <joseph@codesourcery.com>
6129 * sysdeps/mips/math_private.h [__mips_hard_float]
6130 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6131 libc_feresetround_mips_ctx.
6132 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6133 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6134 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6137 * math/s_nextafter.c (__nextafter): Do not return value from
6138 overflowing computation.
6139 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6140 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6141 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6143 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6145 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6146 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6148 2014-03-11 Roland McGrath <roland@hack.frob.com>
6150 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6151 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6152 Move sfi_sp use from the load-multiple (that no longer sets sp) to
6153 the new mov targetting sp.
6155 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6158 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6159 Define it for static builds as well.
6160 (NO_BZERO_IMPL): Likewise.
6162 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6164 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6165 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6166 multiarch strspn for PPC64.
6167 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6168 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6169 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6170 (__libc_ifunc_impl_list): Likewise.
6171 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6172 multiarch optimizations
6173 * string/strspn.c (strspn): Using macro to redefine symbol name.
6175 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6176 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6178 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6179 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6180 multiarch strncat for PPC64.
6181 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6182 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6183 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6184 (__libc_ifunc_impl_list): Likewise.
6185 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6186 multiarch optimizations
6188 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6191 * nscd/nscd.service: Make service type forking.
6193 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6195 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6196 sign in non default rounding modes.
6197 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6199 2014-03-08 Joseph Myers <joseph@codesourcery.com>
6201 * math/libm-test.inc (ALL_RM_TEST): New macro.
6202 (ceil_test): Use ALL_RM_TEST.
6203 (cimag_test): Likewise.
6204 (conj_test): Likewise.
6205 (copysign_test): Likewise.
6206 (cproj_test): Likewise.
6207 (creal_test): Likewise.
6208 (fabs_test): Likewise.
6209 (floor_test): Likewise.
6210 (fmax_test): Likewise.
6211 (fmin_test): Likewise.
6212 (fmod_test): Likewise.
6213 (fpclassify_test): Likewise.
6214 (frexp_test): Likewise.
6215 (ilogb_test): Likewise.
6216 (isfinite_test): Likewise.
6217 (finite_test): Likewise.
6218 (isgreater_test): Likewise.
6219 (isgreaterequal_test): Likewise.
6220 (isinf_test): Likewise.
6221 (isless_test): Likewise.
6222 (islessequal_test): Likewise.
6223 (islessgreater_test): Likewise.
6224 (isnan_test): Likewise.
6225 (isnormal_test): Likewise.
6226 (issignaling_test): Likewise.
6227 (isunordered_test): Likewise.
6228 (logb_test): Likewise.
6229 (logb_downward_test_data): Remove.
6230 (logb_test_downward): Likewise.
6231 (lround_test): Use ALL_RM_TEST.
6232 (llround_test): Likewise.
6233 (modf_test): Likewise.
6234 (nexttoward_test): Likewise.
6235 (remainder_test): Likewise.
6236 (drem_test): Likewise.
6237 (remainder_tonearest_test_data): Likewise.
6238 (remainder_test_tonearest): Likewise.
6239 (drem_test_tonearest): Likewise.
6240 (remainder_towardzero_test_data): Likewise.
6241 (remainder_test_towardzero): Likewise.
6242 (drem_test_towardzero): Likewise.
6243 (remainder_downward_test_data): Likewise.
6244 (remainder_test_downward): Likewise.
6245 (drem_test_downward): Likewise.
6246 (remainder_upward_test_data): Likewise.
6247 (remainder_test_upward): Likewise.
6248 (drem_test_upward): Likewise.
6249 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
6250 (round_test): Use ALL_RM_TEST.
6251 (signbit_test): Likewise.
6252 (trunc_test): Likewise.
6253 (significand_test): Likewise.
6254 (main): Don't call removed functions.
6256 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6259 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6261 (ILL_ILLOPN): Likewise.
6262 (ILL_ILLADR): Likewise.
6263 (ILL_ILLTRP): Likewise.
6264 (ILL_PRVOPC): Likewise.
6265 (ILL_PRVREG): Likewise.
6266 (ILL_COPROC): Likewise.
6267 (ILL_BADSTK): Likewise.
6268 (FPE_INTDIV): Likewise.
6269 (FPE_INTOVF): Likewise.
6270 (FPE_FLTDIV): Likewise.
6271 (FPE_FLTOVF): Likewise.
6272 (FPE_FLTUND): Likewise.
6273 (FPE_FLTRES): Likewise.
6274 (FPE_FLTINV): Likewise.
6275 (FPE_FLTSUB): Likewise.
6276 (SEGV_MAPERR): Likewise.
6277 (SEGV_ACCERR): Likewise.
6278 (BUS_ADRALN): Likewise.
6279 (BUS_ADRERR): Likewise.
6280 (BUS_OBJERR): Likewise.
6281 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6282 (TRAP_TRACE): Likewise.
6283 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6285 (CLD_KILLED): Likewise.
6286 (CLD_DUMPED): Likewise.
6287 (CLD_TRAPPED): Likewise.
6288 (CLD_STOPPED): Likewise.
6289 (CLD_CONTINUED): Likewise.
6290 (POLL_IN): Likewise.
6291 (POLL_OUT): Likewise.
6292 (POLL_MSG): Likewise.
6293 (POLL_ERR): Likewise.
6294 (POLL_PRI): Likewise.
6295 (POLL_HUP): Likewise.
6296 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6298 (ILL_ILLOPN): Likewise.
6299 (ILL_ILLADR): Likewise.
6300 (ILL_ILLTRP): Likewise.
6301 (ILL_PRVOPC): Likewise.
6302 (ILL_PRVREG): Likewise.
6303 (ILL_COPROC): Likewise.
6304 (ILL_BADSTK): Likewise.
6305 (FPE_INTDIV): Likewise.
6306 (FPE_INTOVF): Likewise.
6307 (FPE_FLTDIV): Likewise.
6308 (FPE_FLTOVF): Likewise.
6309 (FPE_FLTUND): Likewise.
6310 (FPE_FLTRES): Likewise.
6311 (FPE_FLTINV): Likewise.
6312 (FPE_FLTSUB): Likewise.
6313 (SEGV_MAPERR): Likewise.
6314 (SEGV_ACCERR): Likewise.
6315 (BUS_ADRALN): Likewise.
6316 (BUS_ADRERR): Likewise.
6317 (BUS_OBJERR): Likewise.
6318 (BUS_MCEERR_AR): Likewise.
6319 (BUS_MCEERR_AO): Likewise.
6320 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6321 (TRAP_TRACE): Likewise.
6322 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6324 (CLD_KILLED): Likewise.
6325 (CLD_DUMPED): Likewise.
6326 (CLD_TRAPPED): Likewise.
6327 (CLD_STOPPED): Likewise.
6328 (CLD_CONTINUED): Likewise.
6329 (POLL_IN): Likewise.
6330 (POLL_OUT): Likewise.
6331 (POLL_MSG): Likewise.
6332 (POLL_ERR): Likewise.
6333 (POLL_PRI): Likewise.
6334 (POLL_HUP): Likewise.
6335 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6336 (ILL_ILLOPN): Likewise.
6337 (ILL_ILLADR): Likewise.
6338 (ILL_ILLTRP): Likewise.
6339 (ILL_PRVOPC): Likewise.
6340 (ILL_PRVREG): Likewise.
6341 (ILL_COPROC): Likewise.
6342 (ILL_BADSTK): Likewise.
6343 (FPE_INTDIV): Likewise.
6344 (FPE_INTOVF): Likewise.
6345 (FPE_FLTDIV): Likewise.
6346 (FPE_FLTOVF): Likewise.
6347 (FPE_FLTUND): Likewise.
6348 (FPE_FLTRES): Likewise.
6349 (FPE_FLTINV): Likewise.
6350 (FPE_FLTSUB): Likewise.
6351 (SEGV_MAPERR): Likewise.
6352 (SEGV_ACCERR): Likewise.
6353 (BUS_ADRALN): Likewise.
6354 (BUS_ADRERR): Likewise.
6355 (BUS_OBJERR): Likewise.
6356 (BUS_MCEERR_AR): Likewise.
6357 (BUS_MCEERR_AO): Likewise.
6358 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6359 (TRAP_TRACE): Likewise.
6360 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6362 (CLD_KILLED): Likewise.
6363 (CLD_DUMPED): Likewise.
6364 (CLD_TRAPPED): Likewise.
6365 (CLD_STOPPED): Likewise.
6366 (CLD_CONTINUED): Likewise.
6367 (POLL_IN): Likewise.
6368 (POLL_OUT): Likewise.
6369 (POLL_MSG): Likewise.
6370 (POLL_ERR): Likewise.
6371 (POLL_PRI): Likewise.
6372 (POLL_HUP): Likewise.
6373 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6375 (ILL_ILLOPN): Likewise.
6376 (ILL_ILLADR): Likewise.
6377 (ILL_ILLTRP): Likewise.
6378 (ILL_PRVOPC): Likewise.
6379 (ILL_PRVREG): Likewise.
6380 (ILL_COPROC): Likewise.
6381 (ILL_BADSTK): Likewise.
6382 (ILL_BADIADDR): Likewise.
6383 (ILL_BREAK): Likewise.
6384 (FPE_INTDIV): Likewise.
6385 (FPE_INTOVF): Likewise.
6386 (FPE_FLTDIV): Likewise.
6387 (FPE_FLTOVF): Likewise.
6388 (FPE_FLTUND): Likewise.
6389 (FPE_FLTRES): Likewise.
6390 (FPE_FLTINV): Likewise.
6391 (FPE_FLTSUB): Likewise.
6392 (FPE_DECOVF): Likewise.
6393 (FPE_DECDIV): Likewise.
6394 (FPE_DECERR): Likewise.
6395 (FPE_INVASC): Likewise.
6396 (FPE_INVDEC): Likewise.
6397 (SEGV_MAPERR): Likewise.
6398 (SEGV_ACCERR): Likewise.
6399 (SEGV_PSTKOVF): Likewise.
6400 (BUS_ADRALN): Likewise.
6401 (BUS_ADRERR): Likewise.
6402 (BUS_OBJERR): Likewise.
6403 (BUS_MCEERR_AR): Likewise.
6404 (BUS_MCEERR_AO): Likewise.
6405 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6406 (TRAP_TRACE): Likewise.
6407 (TRAP_BRANCH): Likewise.
6408 (TRAP_HWBKPT): Likewise.
6409 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6411 (CLD_KILLED): Likewise.
6412 (CLD_DUMPED): Likewise.
6413 (CLD_TRAPPED): Likewise.
6414 (CLD_STOPPED): Likewise.
6415 (CLD_CONTINUED): Likewise.
6416 (POLL_IN): Likewise.
6417 (POLL_OUT): Likewise.
6418 (POLL_MSG): Likewise.
6419 (POLL_ERR): Likewise.
6420 (POLL_PRI): Likewise.
6421 (POLL_HUP): Likewise.
6422 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6423 (ILL_ILLOPN): Likewise.
6424 (ILL_ILLADR): Likewise.
6425 (ILL_ILLTRP): Likewise.
6426 (ILL_PRVOPC): Likewise.
6427 (ILL_PRVREG): Likewise.
6428 (ILL_COPROC): Likewise.
6429 (ILL_BADSTK): Likewise.
6430 (FPE_INTDIV): Likewise.
6431 (FPE_INTOVF): Likewise.
6432 (FPE_FLTDIV): Likewise.
6433 (FPE_FLTOVF): Likewise.
6434 (FPE_FLTUND): Likewise.
6435 (FPE_FLTRES): Likewise.
6436 (FPE_FLTINV): Likewise.
6437 (FPE_FLTSUB): Likewise.
6438 (SEGV_MAPERR): Likewise.
6439 (SEGV_ACCERR): Likewise.
6440 (BUS_ADRALN): Likewise.
6441 (BUS_ADRERR): Likewise.
6442 (BUS_OBJERR): Likewise.
6443 (BUS_MCEERR_AR): Likewise.
6444 (BUS_MCEERR_AO): Likewise.
6445 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6446 (TRAP_TRACE): Likewise.
6447 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6449 (CLD_KILLED): Likewise.
6450 (CLD_DUMPED): Likewise.
6451 (CLD_TRAPPED): Likewise.
6452 (CLD_STOPPED): Likewise.
6453 (CLD_CONTINUED): Likewise.
6454 (POLL_IN): Likewise.
6455 (POLL_OUT): Likewise.
6456 (POLL_MSG): Likewise.
6457 (POLL_ERR): Likewise.
6458 (POLL_PRI): Likewise.
6459 (POLL_HUP): Likewise.
6460 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6461 (ILL_ILLOPN): Likewise.
6462 (ILL_ILLADR): Likewise.
6463 (ILL_ILLTRP): Likewise.
6464 (ILL_PRVOPC): Likewise.
6465 (ILL_PRVREG): Likewise.
6466 (ILL_COPROC): Likewise.
6467 (ILL_BADSTK): Likewise.
6468 (FPE_INTDIV): Likewise.
6469 (FPE_INTOVF): Likewise.
6470 (FPE_FLTDIV): Likewise.
6471 (FPE_FLTOVF): Likewise.
6472 (FPE_FLTUND): Likewise.
6473 (FPE_FLTRES): Likewise.
6474 (FPE_FLTINV): Likewise.
6475 (FPE_FLTSUB): Likewise.
6476 (SEGV_MAPERR): Likewise.
6477 (SEGV_ACCERR): Likewise.
6478 (BUS_ADRALN): Likewise.
6479 (BUS_ADRERR): Likewise.
6480 (BUS_OBJERR): Likewise.
6481 (BUS_MCEERR_AR): Likewise.
6482 (BUS_MCEERR_AO): Likewise.
6483 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6484 (TRAP_TRACE): Likewise.
6485 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6487 (CLD_KILLED): Likewise.
6488 (CLD_DUMPED): Likewise.
6489 (CLD_TRAPPED): Likewise.
6490 (CLD_STOPPED): Likewise.
6491 (CLD_CONTINUED): Likewise.
6492 (POLL_IN): Likewise.
6493 (POLL_OUT): Likewise.
6494 (POLL_MSG): Likewise.
6495 (POLL_ERR): Likewise.
6496 (POLL_PRI): Likewise.
6497 (POLL_HUP): Likewise.
6498 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6499 (ILL_ILLOPN): Likewise.
6500 (ILL_ILLADR): Likewise.
6501 (ILL_ILLTRP): Likewise.
6502 (ILL_PRVOPC): Likewise.
6503 (ILL_PRVREG): Likewise.
6504 (ILL_COPROC): Likewise.
6505 (ILL_BADSTK): Likewise.
6506 (FPE_INTDIV): Likewise.
6507 (FPE_INTOVF): Likewise.
6508 (FPE_FLTDIV): Likewise.
6509 (FPE_FLTOVF): Likewise.
6510 (FPE_FLTUND): Likewise.
6511 (FPE_FLTRES): Likewise.
6512 (FPE_FLTINV): Likewise.
6513 (FPE_FLTSUB): Likewise.
6514 (SEGV_MAPERR): Likewise.
6515 (SEGV_ACCERR): Likewise.
6516 (BUS_ADRALN): Likewise.
6517 (BUS_ADRERR): Likewise.
6518 (BUS_OBJERR): Likewise.
6519 (BUS_MCEERR_AR): Likewise.
6520 (BUS_MCEERR_AO): Likewise.
6521 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6522 (TRAP_TRACE): Likewise.
6523 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6525 (CLD_KILLED): Likewise.
6526 (CLD_DUMPED): Likewise.
6527 (CLD_TRAPPED): Likewise.
6528 (CLD_STOPPED): Likewise.
6529 (CLD_CONTINUED): Likewise.
6530 (POLL_IN): Likewise.
6531 (POLL_OUT): Likewise.
6532 (POLL_MSG): Likewise.
6533 (POLL_ERR): Likewise.
6534 (POLL_PRI): Likewise.
6535 (POLL_HUP): Likewise.
6536 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6537 (ILL_ILLOPN): Likewise.
6538 (ILL_ILLADR): Likewise.
6539 (ILL_ILLTRP): Likewise.
6540 (ILL_PRVOPC): Likewise.
6541 (ILL_PRVREG): Likewise.
6542 (ILL_COPROC): Likewise.
6543 (ILL_BADSTK): Likewise.
6544 (ILL_DBLFLT): Likewise.
6545 (ILL_HARDWALL): Likewise.
6546 (FPE_INTDIV): Likewise.
6547 (FPE_INTOVF): Likewise.
6548 (FPE_FLTDIV): Likewise.
6549 (FPE_FLTOVF): Likewise.
6550 (FPE_FLTUND): Likewise.
6551 (FPE_FLTRES): Likewise.
6552 (FPE_FLTINV): Likewise.
6553 (FPE_FLTSUB): Likewise.
6554 (SEGV_MAPERR): Likewise.
6555 (SEGV_ACCERR): Likewise.
6556 (BUS_ADRALN): Likewise.
6557 (BUS_ADRERR): Likewise.
6558 (BUS_OBJERR): Likewise.
6559 (BUS_MCEERR_AR): Likewise.
6560 (BUS_MCEERR_AO): Likewise.
6561 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6562 (TRAP_TRACE): Likewise.
6563 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6565 (CLD_KILLED): Likewise.
6566 (CLD_DUMPED): Likewise.
6567 (CLD_TRAPPED): Likewise.
6568 (CLD_STOPPED): Likewise.
6569 (CLD_CONTINUED): Likewise.
6570 (POLL_IN): Likewise.
6571 (POLL_OUT): Likewise.
6572 (POLL_MSG): Likewise.
6573 (POLL_ERR): Likewise.
6574 (POLL_PRI): Likewise.
6575 (POLL_HUP): Likewise.
6576 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6577 (ILL_ILLOPN): Likewise.
6578 (ILL_ILLADR): Likewise.
6579 (ILL_ILLTRP): Likewise.
6580 (ILL_PRVOPC): Likewise.
6581 (ILL_PRVREG): Likewise.
6582 (ILL_COPROC): Likewise.
6583 (ILL_BADSTK): Likewise.
6584 (FPE_INTDIV): Likewise.
6585 (FPE_INTOVF): Likewise.
6586 (FPE_FLTDIV): Likewise.
6587 (FPE_FLTOVF): Likewise.
6588 (FPE_FLTUND): Likewise.
6589 (FPE_FLTRES): Likewise.
6590 (FPE_FLTINV): Likewise.
6591 (FPE_FLTSUB): Likewise.
6592 (SEGV_MAPERR): Likewise.
6593 (SEGV_ACCERR): Likewise.
6594 (BUS_ADRALN): Likewise.
6595 (BUS_ADRERR): Likewise.
6596 (BUS_OBJERR): Likewise.
6597 (BUS_MCEERR_AR): Likewise.
6598 (BUS_MCEERR_AO): Likewise.
6599 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6600 (TRAP_TRACE): Likewise.
6601 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6603 (CLD_KILLED): Likewise.
6604 (CLD_DUMPED): Likewise.
6605 (CLD_TRAPPED): Likewise.
6606 (CLD_STOPPED): Likewise.
6607 (CLD_CONTINUED): Likewise.
6608 (POLL_IN): Likewise.
6609 (POLL_OUT): Likewise.
6610 (POLL_MSG): Likewise.
6611 (POLL_ERR): Likewise.
6612 (POLL_PRI): Likewise.
6613 (POLL_HUP): Likewise.
6614 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6615 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6618 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6619 before #include of <time.h>.
6620 [!__USE_XOPEN2K] (__need_timespec): Likewise.
6621 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6622 (test-xfail-UNIX98/sched.h/conform): Likewise.
6624 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
6626 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6627 error absence of trapping exception support.
6628 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6630 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6632 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6633 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6634 * timezone/Makefile (testdata): Move definition above include of
6636 (test-zones): New variable.
6637 (tests-special): Add zone files.
6638 (build-testdata): Use $(evaluate-test).
6640 * elf/Makefile (tests-special): Rename tests to end with .out.
6641 ($(objpfx)noload-mem): Likewise.
6642 ($(objpfx)tst-leaks1-mem): Likewise.
6643 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6644 * iconv/Makefile (xtests-special): Change test-iconvconfig to
6645 $(objpfx)test-iconvconfig.out.
6646 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
6647 set -e inside subshell and redirect output to file.
6648 * iconvdata/Makefile (generated): Rename tests to end with .out.
6650 (tests-special): Rename tests to end with .out.
6651 ($(objpfx)mtrace-tst-loading): Likewise.
6652 * intl/Makefile (generated): Likewise.
6653 (tests-special): Likewise.
6654 ($(objpfx)mtrace-tst-gettext): Likewise.
6655 * misc/Makefile (generated): Likewise.
6656 (tests-special): Likewise.
6657 ($(objpfx)tst-error1-mem): Likewise.
6658 * nptl/Makefile (tests-special): Likewise.
6659 ($(objpfx)tst-stack3-mem): Likewise.
6660 (generated): Likewise.
6661 * posix/Makefile (generated): Likewise.
6662 (tests-special): Likewise.
6663 (xtests-special): Likewise.
6664 ($(objpfx)tst-fnmatch-mem): Likewise.
6665 ($(objpfx)bug-regex2-mem): Likewise.
6666 ($(objpfx)bug-regex14-mem): Likewise.
6667 ($(objpfx)bug-regex21-mem): Likewise.
6668 ($(objpfx)bug-regex31-mem): Likewise.
6669 ($(objpfx)tst-vfork3-mem): Likewise.
6670 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6671 ($(objpfx)tst-pcre-mem): Likewise.
6672 ($(objpfx)tst-boost-mem): Likewise.
6673 ($(objpfx)bug-ga2-mem): Likewise.
6674 ($(objpfx)bug-glob2-mem): Likewise.
6675 * resolv/Makefile (generate): Likewise.
6676 (tests-special): Likewise.
6677 (xtests-special): Likewise.
6678 (generated): Likewise.
6679 ($(objpfx)mtrace-tst-leaks): Likewise.
6680 ($(objpfx)mtrace-tst-leaks2): Likewise.
6682 * scripts/merge-test-results.sh: New file.
6683 * Makefile (tests-special-notdir): New variable.
6684 (tests): Run merge-test-results.sh.
6686 * Rules (tests-special-notdir): New variable.
6687 (xtests-special-notdir): Likewise.
6688 (tests): Run merge-test-results.sh
6691 * Makeconfig (test-xfail-name): New variable.
6692 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6693 compute variable name for expected failures.
6694 * conform/Makefile (conformtest-headers-data): New variable.
6695 (conformtest-standards): Likewise.
6696 (conformtest-headers-ISO): Likewise.
6697 (conformtest-headers-ISO99): Likewise.
6698 (conformtest-headers-ISO11): Likewise.
6699 (conformtest-headers-POSIX): Likewise.
6700 (conformtest-headers-XPG3): Likewise.
6701 (conformtest-headers-XPG4): Likewise.
6702 (conformtest-headers-UNIX98): Likewise.
6703 (conformtest-headers-XOPEN2K): Likewise.
6704 (conformtest-headers-POSIX2008): Likewise.
6705 (conformtest-headers-XOPEN2K8): Likewise.
6706 (conformtest-header-list-base): Likewise.
6707 (conformtest-header-list-tests): Likewise.
6708 (conformtest-header-base): Likewise.
6709 (conformtest-header-tests): Likewise.
6710 (tests-special): Add $(conformtest-header-list-tests). If
6711 [$(fast-check) && !$(cross-compiling)], add
6712 $(conformtest-header-tests) instead of
6713 $(objpfx)run-conformtest.out.
6714 (generated): Add $(conformtest-header-list-base). If
6715 [$(fast-check) && !$(cross-compiling)], add
6716 $(conformtest-header-base). Remove previous setting.
6717 ($(conformtest-header-list-tests)): New target.
6718 (test-xfail-run-conformtest): Remove variable.
6719 ($(objpfx)run-conformtest.out): Remove target.
6720 (test-xfail-ISO11/complex.h/conform): New variable.
6721 (test-xfail-ISO11/stdalign.h/conform): Likewise.
6722 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6723 (test-xfail-XPG3/varargs.h/conform): Likewise.
6724 (test-xfail-XPG4/varargs.h/conform): Likewise.
6725 (test-xfail-UNIX98/varargs.h/conform): Likewise.
6726 (test-xfail-XPG4/ndbm.h/conform): Likewise.
6727 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6728 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6729 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6730 (test-xfail-XPG3/fcntl.h/conform): Likewise.
6731 (test-xfail-XPG3/ftw.h/conform): Likewise.
6732 (test-xfail-XPG3/grp.h/conform): Likewise.
6733 (test-xfail-XPG3/langinfo.h/conform): Likewise.
6734 (test-xfail-XPG3/limits.h/conform): Likewise.
6735 (test-xfail-XPG3/pwd.h/conform): Likewise.
6736 (test-xfail-XPG3/search.h/conform): Likewise.
6737 (test-xfail-XPG3/signal.h/conform): Likewise.
6738 (test-xfail-XPG3/stdio.h/conform): Likewise.
6739 (test-xfail-XPG3/stdlib.h/conform): Likewise.
6740 (test-xfail-XPG3/string.h/conform): Likewise.
6741 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6742 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6743 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6744 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6745 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6746 (test-xfail-XPG3/sys/types.h/conform): Likewise.
6747 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6748 (test-xfail-XPG3/termios.h/conform): Likewise.
6749 (test-xfail-XPG3/time.h/conform): Likewise.
6750 (test-xfail-XPG3/unistd.h/conform): Likewise.
6751 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6752 (test-xfail-XPG4/fcntl.h/conform): Likewise.
6753 (test-xfail-XPG4/langinfo.h/conform): Likewise.
6754 (test-xfail-XPG4/netdb.h/conform): Likewise.
6755 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6756 (test-xfail-XPG4/signal.h/conform): Likewise.
6757 (test-xfail-XPG4/stdio.h/conform): Likewise.
6758 (test-xfail-XPG4/stdlib.h/conform): Likewise.
6759 (test-xfail-XPG4/stropts.h/conform): Likewise.
6760 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6761 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6762 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6763 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6764 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6765 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6766 (test-xfail-XPG4/sys/time.h/conform): Likewise.
6767 (test-xfail-XPG4/sys/types.h/conform): Likewise.
6768 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6769 (test-xfail-XPG4/termios.h/conform): Likewise.
6770 (test-xfail-XPG4/ucontext.h/conform): Likewise.
6771 (test-xfail-XPG4/unistd.h/conform): Likewise.
6772 (test-xfail-XPG4/utmpx.h/conform): Likewise.
6773 (test-xfail-POSIX/sched.h/conform): Likewise.
6774 (test-xfail-POSIX/signal.h/conform): Likewise.
6775 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6776 (test-xfail-POSIX/tar.h/conform): Likewise.
6777 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6778 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6779 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6780 (test-xfail-UNIX98/netdb.h/conform): Likewise.
6781 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6782 (test-xfail-UNIX98/sched.h/conform): Likewise.
6783 (test-xfail-UNIX98/signal.h/conform): Likewise.
6784 (test-xfail-UNIX98/stdio.h/conform): Likewise.
6785 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6786 (test-xfail-UNIX98/stropts.h/conform): Likewise.
6787 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6788 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6789 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6790 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6791 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6792 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6793 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6794 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6795 (test-xfail-UNIX98/unistd.h/conform): Likewise.
6796 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6797 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6798 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6799 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6800 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6801 (test-xfail-XOPEN2K/math.h/conform): Likewise.
6802 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6803 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6804 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6805 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6806 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6807 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6808 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6809 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6810 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6811 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6812 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6813 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6814 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6815 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6816 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6817 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6818 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6819 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6820 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
6821 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6822 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6823 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6824 (test-xfail-POSIX2008/signal.h/conform): Likewise.
6825 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6826 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6827 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6828 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6829 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6830 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
6831 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6832 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6833 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6834 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6835 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
6836 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6837 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6838 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6839 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
6840 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6841 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6842 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6843 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6844 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6845 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6846 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6847 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
6848 (conformtest-cc-flags): Likewise.
6849 ($(conformtest-header-tests): New target.
6850 * conform/check-header-lists.sh: New file.
6851 * conform/run-conformtest.sh: Remove.
6853 * conform/conformtest.pl: Allow ' and \ in values given for
6855 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
6857 [POSIX] (sys/types.h): Likewise.
6858 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
6860 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
6862 * conform/data/signal.h-data (SIGIO): Remove expectation.
6863 [XPG3] (SIGBUS): Do not expect.
6864 [POSIX || XPG3] (SIGPOLL): Likewise.
6865 [POSIX || XPG3] (SIGPROF): Likewise.
6866 [POSIX || XPG3] (SIGSYS): Likewise.
6867 [XPG3] (SIGTRAP): Likewise.
6868 [POSIX || XPG3] (SIGURG): Likewise.
6869 [POSIX || XPG3] (SIGVTALRM): Likewise.
6870 [POSIX || XPG3] (SIGXCPU): Likewise.
6871 [POSIX || XPG3] (SIGXFSZ): Likewise.
6872 [POSIX] (SA_SIGINFO): Expect.
6873 [XPG3] (siginfo_t): Do not expect type or contents.
6874 [POSIX] (si_pid): Do not expect element.
6875 [POSIX] (si_uid): Likewise.
6876 [POSIX] (si_addr): Likewise.
6877 [POSIX] (si_status): Likewise.
6878 [POSIX] (si_band): Likewise.
6879 [XPG4] (si_value): Likewise.
6880 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
6881 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
6882 [POSIX || XPG3] (ILL_ILLADR): Likewise.
6883 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
6884 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
6885 [POSIX || XPG3] (ILL_PRVREG): Likewise.
6886 [POSIX || XPG3] (ILL_COPROC): Likewise.
6887 [POSIX || XPG3] (ILL_BADSTK): Likewise.
6888 [POSIX || XPG3] (FPE_INTDIV): Likewise.
6889 [POSIX || XPG3] (FPE_INTOVF): Likewise.
6890 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
6891 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
6892 [POSIX || XPG3] (FPE_FLTUND): Likewise.
6893 [POSIX || XPG3] (FPE_FLTRES): Likewise.
6894 [POSIX || XPG3] (FPE_FLTINV): Likewise.
6895 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
6896 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
6897 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
6898 [POSIX || XPG3] (BUS_ADRALN): Likewise.
6899 [POSIX || XPG3] (BUS_ADRERR): Likewise.
6900 [POSIX || XPG3] (BUS_OBJERR): Likewise.
6901 [POSIX || XPG3] (CLD_EXITED): Likewise.
6902 [POSIX || XPG3] (CLD_KILLED): Likewise.
6903 [POSIX || XPG3] (CLD_DUMPED): Likewise.
6904 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
6905 [POSIX || XPG3] (CLD_STOPPED): Likewise.
6906 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
6907 [POSIX || XPG3] (POLL_IN): Likewise.
6908 [POSIX || XPG3] (POLL_OUT): Likewise.
6909 [POSIX || XPG3] (POLL_MSG): Likewise.
6910 [POSIX || XPG3] (POLL_ERR): Likewise.
6911 [POSIX || XPG3] (POLL_PRI): Likewise.
6912 [POSIX || XPG3] (POLL_HUP): Likewise.
6913 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
6914 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
6915 (SIG*): Do not allow.
6916 [XPG3] (si_*): Likewise.
6917 [XPG3] (SI_*): Likewise.
6918 [XPG3 || XPG4] (sigev_*): Likewise.
6919 [XPG3 || XPG4] (SIGEV_*): Likewise.
6920 [XPG3 || XPG4] (sival_*): Likewise.
6921 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
6922 [POSIX || XPG3] (BUS_*): Likewise.
6923 [POSIX || XPG3] (CLD_*): Likewise.
6924 [POSIX || XPG3] (FPE_*): Likewise.
6925 [POSIX || XPG3] (ILL_*): Likewise.
6926 [POSIX || XPG3] (POLL_*): Likewise.
6927 [POSIX || XPG3] (SEGV_*): Likewise.
6928 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
6929 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
6930 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
6931 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
6932 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
6933 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
6934 Specify type and value.
6935 (TVERSLEN): Likewise.
6936 (REGTYPE): Likewise.
6937 (AREGTYPE): Likewise.
6938 (LNKTYPE): Likewise.
6939 (SYMTYPE): Likewise.
6940 (CHRTYPE): Likewise.
6941 (BLKTYPE): Likewise.
6942 (DIRTYPE): Likewise.
6943 (FIFOTYPE): Likewise.
6944 (CONTTYPE): Likewise.
6949 (TUWRITE): Likewise.
6952 (TGWRITE): Likewise.
6955 (TOWRITE): Likewise.
6957 [POSIX] (TSVTX): Expect constant.
6959 2014-03-06 Joseph Myers <joseph@codesourcery.com>
6961 * Makefile (tests): Change dependencies to ....
6962 (tests-special): ... additions to this variable.
6963 (tests): Depend on $(tests-special).
6964 * Makerules (check-abi-list): New variable.
6965 (check-abi): Depend on $(check-abi-list).
6966 [$(subdir) = elf] (tests-special): Add
6967 $(objpfx)check-abi-libc.out.
6968 [$(build-shared) = yes && subdir] (tests-special): Add
6970 [$(build-shared) = yes && subdir] (tests): Do not depend on
6972 * Rules (tests): Depend on $(tests-special).
6973 (xtests): Depend on $(xtests-special).
6974 * catgets/Makefile (tests): Change dependencies to ....
6975 (tests-special): ... additions to this variable.
6976 * conform/Makefile (tests): Change dependencies to ....
6977 (tests-special): ... additions to this variable.
6978 * elf/Makefile (tests): Change dependencies to ....
6979 (tests-special): ... additions to this variable.
6980 * grp/Makefile (tests): Change dependencies to ....
6981 (tests-special): ... additions to this variable.
6982 * iconv/Makefile (xtests): Change dependencies to ....
6983 (xtests-special): ... additions to this variable.
6984 * iconvdata/Makefile (tests): Change dependencies to ....
6985 (tests-special): ... additions to this variable.
6986 * intl/Makefile (tests): Change dependencies to ....
6987 (tests-special): ... additions to this variable. Also add
6988 $(objpfx)tst-gettext.out.
6989 * io/Makefile (tests): Change dependencies to ....
6990 (tests-special): ... additions to this variable.
6991 * libio/Makefile (tests): Change dependencies to ....
6992 (tests-special): ... additions to this variable.
6993 * malloc/Makefile (tests): Change dependencies to ....
6994 (tests-special): ... additions to this variable.
6995 * misc/Makefile (tests): Change dependencies to ....
6996 (tests-special): ... additions to this variable.
6997 * nptl/Makefile (tests): Change dependencies to ....
6998 (tests-special): ... additions to this variable.
6999 * nptl_db/Makefile (tests): Change dependencies to ....
7000 (tests-special): ... additions to this variable.
7001 * posix/Makefile (tests): Change dependencies to ....
7002 (tests-special): ... additions to this variable.
7003 (xtests): Change dependencies to ....
7004 (xtests-special): ... additions to this variable.
7005 * resolv/Makefile (tests): Change dependencies to ....
7006 (tests-special): ... additions to this variable.
7007 (xtests): Change dependencies to ....
7008 (xtests-special): ... additions to this variable.
7009 * stdio-common/Makefile (tests): Change dependencies to ....
7010 (tests-special): ... additions to this variable.
7011 (do-tst-unbputc): Remove target.
7012 (do-tst-printf): Likewise.
7013 * stdlib/Makefile (tests): Change dependencies to ....
7014 (tests-special): ... additions to this variable.
7015 * string/Makefile (tests): Change dependencies to ....
7016 (tests-special): ... additions to this variable.
7017 * sysdeps/x86/Makefile (tests): Change dependencies to ....
7018 (tests-special): ... additions to this variable.
7020 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7022 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7024 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7025 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7027 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7028 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7029 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7030 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7031 * conform/data/libgen.h-data [XPG3]: Likewise.
7032 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7033 * conform/data/ndbm.h-data [XPG3]: Likewise.
7034 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7035 * conform/data/netdb.h-data [XPG3]: Likewise.
7036 * conform/data/netinet/in.h-data [XPG3]: Likewise.
7037 * conform/data/poll.h-data [XPG3]: Likewise.
7038 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7039 * conform/data/strings.h-data [XPG3]: Likewise.
7040 * conform/data/stropts.h-data [XPG3]: Likewise.
7041 * conform/data/sys/mman.h-data [XPG3]: Likewise.
7042 * conform/data/sys/resource.h-data [XPG3]: Likewise.
7043 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7045 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7046 * conform/data/sys/time.h-data [XPG3]: Likewise.
7047 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7048 * conform/data/sys/uio.h-data [XPG3]: Likewise.
7049 * conform/data/sys/un.h-data [XPG3]: Likewise.
7050 * conform/data/syslog.h-data [XPG3]: Likewise.
7051 * conform/data/ucontext.h-data [XPG3]: Likewise.
7052 * conform/data/utmpx.h-data [XPG3]: Likewise.
7053 * conform/data/varargs.h-data [UNIX98]: Enable file.
7055 * manual/Makefile (INSTALL_INFO): Remove variable setting.
7057 * math/libm-test.inc (struct test_f_f_data): Move expected results
7058 into structure for each rounding mode.
7059 (struct test_ff_f_data): Likewise.
7060 (struct test_ff_f_data_nexttoward): Likewise.
7061 (struct test_fi_f_data): Likewise.
7062 (struct test_fl_f_data): Likewise.
7063 (struct test_if_f_data): Likewise.
7064 (struct test_fff_f_data): Likewise.
7065 (struct test_c_f_data): Likewise.
7066 (struct test_f_f1_data): Likewise.
7067 (struct test_fF_f1_data): Likewise.
7068 (struct test_ffI_f1_data): Likewise.
7069 (struct test_c_c_data): Likewise.
7070 (struct test_cc_c_data): Likewise.
7071 (struct test_f_i_data): Likewise.
7072 (struct test_ff_i_data): Likewise.
7073 (struct test_f_l_data): Likewise.
7074 (struct test_f_L_data): Likewise.
7075 (struct test_fFF_11_data): Likewise.
7077 (RM_FE_DOWNWARD): Likewise.
7078 (RM_FE_TONEAREST): Likewise.
7079 (RM_FE_TOWARDZERO): Likewise.
7080 (RM_FE_UPWARD): Likewise.
7081 (RUN_TEST_LOOP_f_f): Update references to expected results.
7082 (RUN_TEST_LOOP_2_f): Likewise.
7083 (RUN_TEST_LOOP_fff_f): Likewise.
7084 (RUN_TEST_LOOP_c_f): Likewise.
7085 (RUN_TEST_LOOP_f_f1): Likewise.
7086 (RUN_TEST_LOOP_fF_f1): Likewise.
7087 (RUN_TEST_LOOP_fI_f1): Likewise.
7088 (RUN_TEST_LOOP_ffI_f1): Likewise.
7089 (RUN_TEST_LOOP_c_c): Likewise.
7090 (RUN_TEST_LOOP_cc_c): Likewise.
7091 (RUN_TEST_LOOP_f_i): Likewise.
7092 (RUN_TEST_LOOP_f_i_tg): Likewise.
7093 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7094 (RUN_TEST_LOOP_f_b): Likewise.
7095 (RUN_TEST_LOOP_f_b_tg): Likewise.
7096 (RUN_TEST_LOOP_f_l): Likewise.
7097 (RUN_TEST_LOOP_f_L): Likewise.
7098 (RUN_TEST_LOOP_fFF_11): Likewise.
7099 * math/gen-libm-test.pl (parse_args): Output four copies of
7100 expected results for each test.
7102 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7103 (__ASSUME_UTIMES): Remove.
7104 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7105 (__ASSUME_UTIMES): Likewise.
7107 * math/gen-auto-libm-tests.c: Update comment on output format.
7108 (output_for_one_input_case): Generate before-rounding and
7109 after-rounding information as conditions on output flags not
7110 floating-point format.
7111 * math/auto-libm-test-out: Regenerated.
7112 * math/gen-libm-test.pl (cond_value): New function.
7113 (or_cond_value): Use cond_value.
7114 (generate_testfile): Handle conditional exceptions.
7116 2014-03-05 Joseph Myers <joseph@codesourcery.com>
7118 * math/libm-test.inc (max_valid_error): New variable.
7119 (init_max_error): Take new argument specifying whether function
7120 results are exactly determined. Set max_valid_error and bound
7121 other variables for errors based on this argument.
7122 (set_max_error): Do not record results above max_valid_error.
7123 (check_float_internal): Only accept errors of up to 0.5ulps if
7124 also at most max_valid_error.
7125 (START): Take new argument EXACT and pass it to init_max_error.
7126 (acos_test): Update call to START.
7127 (acos_test_tonearest): Likewise.
7128 (acos_test_towardzero): Likewise.
7129 (acos_test_downward): Likewise.
7130 (acos_test_upward): Likewise.
7131 (acosh_test): Likewise.
7132 (asin_test): Likewise.
7133 (asin_test_tonearest): Likewise.
7134 (asin_test_towardzero): Likewise.
7135 (asin_test_downward): Likewise.
7136 (asin_test_upward): Likewise.
7137 (asinh_test): Likewise.
7138 (atan_test): Likewise.
7139 (atanh_test): Likewise.
7140 (atan2_test): Likewise.
7141 (cabs_test): Likewise.
7142 (cacos_test): Likewise.
7143 (cacosh_test): Likewise.
7144 (carg_test): Likewise.
7145 (casin_test): Likewise.
7146 (casinh_test): Likewise.
7147 (catan_test): Likewise.
7148 (catanh_test): Likewise.
7149 (cbrt_test): Likewise.
7150 (ccos_test): Likewise.
7151 (ccosh_test): Likewise.
7152 (ceil_test): Likewise.
7153 (cexp_test): Likewise.
7154 (cimag_test): Likewise.
7155 (clog_test): Likewise.
7156 (clog10_test): Likewise.
7157 (conj_test): Likewise.
7158 (copysign_test): Likewise.
7159 (cos_test): Likewise.
7160 (cos_test_tonearest): Likewise.
7161 (cos_test_towardzero): Likewise.
7162 (cos_test_downward): Likewise.
7163 (cos_test_upward): Likewise.
7164 (cosh_test): Likewise.
7165 (cosh_test_tonearest): Likewise.
7166 (cosh_test_towardzero): Likewise.
7167 (cosh_test_downward): Likewise.
7168 (cosh_test_upward): Likewise.
7169 (cpow_test): Likewise.
7170 (cproj_test): Likewise.
7171 (creal_test): Likewise.
7172 (csin_test): Likewise.
7173 (csinh_test): Likewise.
7174 (csqrt_test): Likewise.
7175 (ctan_test): Likewise.
7176 (ctan_test_tonearest): Likewise.
7177 (ctan_test_towardzero): Likewise.
7178 (ctan_test_downward): Likewise.
7179 (ctan_test_upward): Likewise.
7180 (ctanh_test): Likewise.
7181 (ctanh_test_tonearest): Likewise.
7182 (ctanh_test_towardzero): Likewise.
7183 (ctanh_test_downward): Likewise.
7184 (ctanh_test_upward): Likewise.
7185 (erf_test): Likewise.
7186 (erfc_test): Likewise.
7187 (exp_test): Likewise.
7188 (exp_test_tonearest): Likewise.
7189 (exp_test_towardzero): Likewise.
7190 (exp_test_downward): Likewise.
7191 (exp_test_upward): Likewise.
7192 (exp10_test): Likewise.
7193 (exp10_test_tonearest): Likewise.
7194 (exp10_test_towardzero): Likewise.
7195 (exp10_test_downward): Likewise.
7196 (exp10_test_upward): Likewise.
7197 (pow10_test): Likewise.
7198 (exp2_test): Likewise.
7199 (expm1_test): Likewise.
7200 (expm1_test_tonearest): Likewise.
7201 (expm1_test_towardzero): Likewise.
7202 (expm1_test_downward): Likewise.
7203 (expm1_test_upward): Likewise.
7204 (fabs_test): Likewise.
7205 (fdim_test): Likewise.
7206 (floor_test): Likewise.
7207 (fma_test): Likewise.
7208 (fma_test_towardzero): Likewise.
7209 (fma_test_downward): Likewise.
7210 (fma_test_upward): Likewise.
7211 (fmax_test): Likewise.
7212 (fmin_test): Likewise.
7213 (fmod_test): Likewise.
7214 (fpclassify_test): Likewise.
7215 (frexp_test): Likewise.
7216 (hypot_test): Likewise.
7217 (ilogb_test): Likewise.
7218 (isfinite_test): Likewise.
7219 (finite_test): Likewise.
7220 (isgreater_test): Likewise.
7221 (isgreaterequal_test): Likewise.
7222 (isinf_test): Likewise.
7223 (isless_test): Likewise.
7224 (islessequal_test): Likewise.
7225 (islessgreater_test): Likewise.
7226 (isnan_test): Likewise.
7227 (isnormal_test): Likewise.
7228 (issignaling_test): Likewise.
7229 (isunordered_test): Likewise.
7230 (j0_test): Likewise.
7231 (j1_test): Likewise.
7232 (jn_test): Likewise.
7233 (ldexp_test): Likewise.
7234 (lgamma_test): Likewise.
7235 (gamma_test): Likewise.
7236 (lrint_test): Likewise.
7237 (lrint_test_tonearest): Likewise.
7238 (lrint_test_towardzero): Likewise.
7239 (lrint_test_downward): Likewise.
7240 (lrint_test_upward): Likewise.
7241 (llrint_test): Likewise.
7242 (llrint_test_tonearest): Likewise.
7243 (llrint_test_towardzero): Likewise.
7244 (llrint_test_downward): Likewise.
7245 (llrint_test_upward): Likewise.
7246 (log_test): Likewise.
7247 (log10_test): Likewise.
7248 (log1p_test): Likewise.
7249 (log2_test): Likewise.
7250 (logb_test): Likewise.
7251 (logb_test_downward): Likewise.
7252 (lround_test): Likewise.
7253 (llround_test): Likewise.
7254 (modf_test): Likewise.
7255 (nearbyint_test): Likewise.
7256 (nextafter_test): Likewise.
7257 (nexttoward_test): Likewise.
7258 (pow_test): Likewise.
7259 (pow_test_tonearest): Likewise.
7260 (pow_test_towardzero): Likewise.
7261 (pow_test_downward): Likewise.
7262 (pow_test_upward): Likewise.
7263 (remainder_test): Likewise.
7264 (drem_test): Likewise.
7265 (remainder_test_tonearest): Likewise.
7266 (drem_test_tonearest): Likewise.
7267 (remainder_test_towardzero): Likewise.
7268 (drem_test_towardzero): Likewise.
7269 (remainder_test_downward): Likewise.
7270 (drem_test_downward): Likewise.
7271 (remainder_test_upward): Likewise.
7272 (drem_test_upward): Likewise.
7273 (remquo_test): Likewise.
7274 (rint_test): Likewise.
7275 (rint_test_tonearest): Likewise.
7276 (rint_test_towardzero): Likewise.
7277 (rint_test_downward): Likewise.
7278 (rint_test_upward): Likewise.
7279 (round_test): Likewise.
7280 (scalb_test): Likewise.
7281 (scalbn_test): Likewise.
7282 (scalbln_test): Likewise.
7283 (signbit_test): Likewise.
7284 (sin_test): Likewise.
7285 (sin_test_tonearest): Likewise.
7286 (sin_test_towardzero): Likewise.
7287 (sin_test_downward): Likewise.
7288 (sin_test_upward): Likewise.
7289 (sincos_test): Likewise.
7290 (sinh_test): Likewise.
7291 (sinh_test_tonearest): Likewise.
7292 (sinh_test_towardzero): Likewise.
7293 (sinh_test_downward): Likewise.
7294 (sinh_test_upward): Likewise.
7295 (sqrt_test): Likewise.
7296 (sqrt_test_tonearest): Likewise.
7297 (sqrt_test_towardzero): Likewise.
7298 (sqrt_test_downward): Likewise.
7299 (sqrt_test_upward): Likewise.
7300 (tan_test): Likewise.
7301 (tan_test_tonearest): Likewise.
7302 (tan_test_towardzero): Likewise.
7303 (tan_test_downward): Likewise.
7304 (tan_test_upward): Likewise.
7305 (tanh_test): Likewise.
7306 (tgamma_test): Likewise.
7307 (trunc_test): Likewise.
7308 (y0_test): Likewise.
7309 (y1_test): Likewise.
7310 (yn_test): Likewise.
7311 (significand_test): Likewise.
7313 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7314 individual tests in comment.
7315 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7316 (prev_max_error): New variable.
7317 (prev_real_max_error): Likewise.
7318 (prev_imag_max_error): Likewise.
7319 (compare_ulp_data): Don't refer to test names in comment.
7320 (find_test_ulps): Remove function.
7321 (find_function_ulps): Likewise.
7322 (find_complex_function_ulps): Likewise.
7323 (init_max_error): Take function name as argument. Look up ulps
7325 (print_ulps): Remove function.
7326 (print_max_error): Use prev_max_error instead of calling
7328 (print_complex_max_error): Use prev_real_max_error and
7329 prev_imag_max_error instead of calling find_complex_function_ulps.
7330 (check_float_internal): Take max_ulp parameter instead of calling
7331 find_test_ulps. Don't call print_ulps.
7332 (check_float): Update call to check_float_internal.
7333 (check_complex): Update calls to check_float_internal.
7334 (START): Pass argument to init_max_error.
7335 * math/gen-libm-test.pl (%results): Don't include "kind"
7337 (parse_ulps): Don't handle ulps of individual tests.
7338 (print_ulps_file): Likewise.
7339 (output_ulps): Likewise.
7340 * math/README.libm-test: Update.
7341 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7343 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7344 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7345 * sysdeps/arm/libm-test-ulps: Likewise.
7346 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7347 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7348 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7349 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7350 * sysdeps/microblaze/libm-test-ulps: Likewise.
7351 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7352 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7353 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7354 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7355 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7356 * sysdeps/sh/libm-test-ulps: Likewise.
7357 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7358 * sysdeps/tile/libm-test-ulps: Likewise.
7359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7361 2014-03-04 Joseph Myers <joseph@codesourcery.com>
7363 * math/libm-test.inc (print_complex_max_error): Check separately
7364 whether real and imaginary errors are within allowed range and
7365 pass 0 to print_complex_function_ulps instead of value within
7368 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7370 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7372 (get_handles_fopen): Likewise.
7373 (do_write_test): Likewise.
7375 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7377 * libio/fileops.c (do_ftell): Use cached offset when
7379 * libio/iofwide.c (do_ftell_wide): Likewise.
7380 * libio/iofdopen.c (_IO_new_fdopen): Don't use
7382 * libio/wfileops.c (_IO_fwide): Don't cache offset.
7385 * libio/libioP.h (get_file_offset): New function.
7386 * libio/fileops.c (get_file_offset): Likewise.
7387 (do_ftell): Likewise.
7388 (_IO_new_file_seekoff): Split out ftell logic.
7389 * libio/wfileops.c (do_ftell_wide): Likewise.
7390 (_IO_wfile_seekoff): Split out ftell logic.
7391 * libio/tst-ftell-active-handler.c: New test case.
7392 * libio/Makefile (tests): Add it.
7394 2014-03-03 Roland McGrath <roland@hack.frob.com>
7396 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7397 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7399 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7402 * nscd/connections.c (nscd_init): Call do_exit.
7403 (start_threads): Call do_exit and notify_parent.
7404 (begin_drop_privileges): Call do_exit.
7405 (finish_drop_privileges): Likewise.
7406 * nscd/selinux.c (preserve_capabilities): Likewise.
7407 (install_real_capabilities): Likewise.
7408 (nscd_selinux_enabled): Likewise.
7409 (avc_create_thread): Likewise.
7410 (avc_alloc_lock): Likewise.
7411 (nscd_avc_init): Likewise.
7412 * nscd/nscd.c (parent_fd): New static variable.
7413 (main): Create a pipe between parent and child processes.
7414 Skip closing parent_fd.
7415 (monitor_child): New function.
7416 (do_exit): Likewise.
7417 (notify_parent): Likewise.
7418 * nscd/nscd.h (notify_parent): Likewise.
7419 (do_exit): Likewise.
7421 2014-03-03 Carlos O'Donell <carlos@redhat.com>
7423 * malloc/malloc.c (__libc_calloc): Revert last change.
7425 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7429 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7431 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7432 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7434 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7435 (__libc_ifunc_impl_list): Likewise.
7436 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7437 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7438 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7439 * string/strrchr.c: Define STRRCHR.
7441 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
7443 * benchtest/bench-strtok.c (simple_strtok): Delete.
7444 (strtok_string): Use as benchmark.
7445 * string/strtok (STRTOK): New macro.
7447 2014-02-28 Carlos O'Donell <carlos@redhat.com>
7449 * manual/threads.texi: Add header and standard comments to all
7452 * elf/dl-lookup.c (check_match): New function.
7453 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7454 (do_lookup_x): Remove nested function check_match. Use non-nested
7455 function check_match.
7457 2014-02-28 Roland McGrath <roland@hack.frob.com>
7459 * csu/Makefile (generated, before-compile): Use += rather than =.
7460 * catgets/Makefile (generated, generated-dirs): Likewise.
7461 * debug/Makefile (generated): Likewise.
7462 * dlfcn/Makefile (generated): Likewise.
7463 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7464 * iconvdata/Makefile (before-compile, generated): Likewise.
7465 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7466 * libio/Makefile (generated): Likewise.
7467 * malloc/Makefile (generated): Likewise.
7468 * manual/Makefile (generated, generated-dirs): Likewise.
7469 * misc/Makefile (generated): Likewise.
7470 * posix/Makefile (generated): Likewise.
7471 * resolv/Makefile (generated): Likewise.
7472 * sunrpc/Makefile (generated, generated-dirs): Likewise.
7473 * timezone/Makefile (generated, generated-dirs): Likewise.
7475 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7477 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7479 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7480 power8 implementation.
7481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7482 file: POWER8 llround ifunc implementation.
7483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7484 (__lllround): Add POWER8 implementation.
7485 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7486 POWER8 llround implementation.
7488 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7489 power8 implementation.
7490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7491 file: POWER8 llrint ifunc implementation.
7492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7493 Add POWER8 implementation.
7494 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7495 POWER8 llrint implementation.
7497 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7498 power8 implementation.
7499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7500 file: POWER8 finite ifunc implementation.
7501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7502 Add POWER8 implementation.
7503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7505 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7506 POWER8 finite implementation.
7507 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7509 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7510 power8 implementation.
7511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7512 file: POWER8 isinf ifunc implementation.
7513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7514 POWER8 implementation.
7515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7517 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7518 isinf implementation.
7519 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7521 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7522 (INIT_ARCH): Add hwcap2 initialization.
7523 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7524 power8 implementation.
7525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7526 file: POWER8 isnan ifunc implementation.
7527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7528 POWER8 implementation.
7529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7531 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7532 isnan implementation.
7533 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7535 2014-02-27 Joey Ye <joey.ye@arm.com>
7537 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7538 (_FP_NANFRAC_Q): Set to zero.
7540 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7543 * math/auto-libm-test-in: New test inputs.
7544 * math/auto-libm-test-out: Regenerate.
7545 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7548 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7550 2014-02-27 Joseph Myers <joseph@codesourcery.com>
7552 * scripts/evaluate-test.sh: Take new argument indicating whether
7553 failure is expected.
7554 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7555 indicating whether failure is expected.
7556 * conform/Makefile (test-xfail-run-conformtest): New variable.
7557 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7559 * posix/Makefile (test-xfail-annexc): New variable.
7560 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7562 2014-02-26 Joseph Myers <joseph@codesourcery.com>
7564 * argp/Makefile: Include Makeconfig immediately after defining
7566 * assert/Makefile: Likewise.
7567 * benchtests/Makefile: Likewise.
7568 * catgets/Makefile: Likewise.
7569 * conform/Makefile: Likewise.
7570 * crypt/Makefile: Likewise.
7571 * csu/Makefile: Likewise.
7572 (all): Remove target.
7573 * ctype/Makefile: Include Makeconfig immediately after defining
7575 * debug/Makefile: Likewise.
7576 * dirent/Makefile: Likewise.
7577 * dlfcn/Makefile: Likewise.
7578 * gmon/Makefile: Likewise.
7579 * gnulib/Makefile: Likewise.
7580 * grp/Makefile: Likewise.
7581 * gshadow/Makefile: Likewise.
7582 * hesiod/Makefile: Likewise.
7583 * hurd/Makefile: Likewise.
7584 (all): Remove target.
7585 * iconvdata/Makefile: Include Makeconfig immediately after
7587 * inet/Makefile: Likewise.
7588 * intl/Makefile: Likewise.
7589 * io/Makefile: Likewise.
7590 * libio/Makefile: Likewise.
7591 (all): Remove target.
7592 * locale/Makefile: Include Makeconfig immediately after defining
7594 * login/Makefile: Likewise.
7595 * mach/Makefile: Likewise.
7596 (all): Remove target.
7597 * malloc/Makefile: Include Makeconfig immediately after defining
7599 (all): Remove target.
7600 * manual/Makefile: Include Makeconfig immediately after defining
7602 * math/Makefile: Likewise.
7603 * misc/Makefile: Likewise.
7604 * nis/Makefile: Likewise.
7605 * nss/Makefile: Likewise.
7606 * po/Makefile: Likewise.
7607 (all): Remove target.
7608 * posix/Makefile: Include Makeconfig immediately after defining
7610 * pwd/Makefile: Likewise.
7611 * resolv/Makefile: Likewise.
7612 * resource/Makefile: Likewise.
7613 * rt/Makefile: Likewise.
7614 * setjmp/Makefile: Likewise.
7615 * shadow/Makefile: Likewise.
7616 * signal/Makefile: Likewise.
7617 * socket/Makefile: Likewise.
7618 * soft-fp/Makefile: Likewise.
7619 * stdio-common/Makefile: Likewise.
7620 * stdlib/Makefile: Likewise.
7621 * streams/Makefile: Likewise.
7622 * string/Makefile: Likewise.
7623 * sunrpc/Makefile: Likewise.
7624 (all): Remove target.
7625 * sysvipc/Makefile: Include Makeconfig immediately after defining
7627 * termios/Makefile: Likewise.
7628 * time/Makefile: Likewise.
7629 * timezone/Makefile: Likewise.
7630 (all): Remove target.
7631 * wcsmbs/Makefile: Include Makeconfig immediately after defining
7633 * wctype/Makefile: Likewise.
7635 2014-02-26 Steve Ellcey <sellcey@mips.com>
7637 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7638 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7639 (libc_feholdexcept_setround_mips): Ditto.
7640 (libc_feholdsetround): New.
7641 (libc_feholdsetroundf): New.
7642 (libc_feholdsetroundl): New.
7643 (libc_feupdateenv_test_mips): New.
7644 (libc_feupdateenv_test): New.
7645 (libc_feupdateenv_testf): New.
7646 (libc_feupdateenv_testl): New.
7647 (libc_feresetround): New.
7648 (libc_feresetroundf): New.
7649 (libc_feresetroundl): New.
7650 (libc_fetestexcept_mips): New.
7651 (libc_fetestexcept): New.
7652 (libc_fetestexceptf): New.
7653 (libc_fetestexceptl): New.
7655 (libc_feholdexcept_setround_mips_ctx): New.
7656 (libc_feholdexcept_setround_ctx): New.
7657 (libc_feholdexcept_setroundf_ctx): New.
7658 (libc_feholdexcept_setroundl_ctx): New.
7659 (libc_fesetenv_mips_ctx): New.
7660 (libc_fesetenv_ctx): New.
7661 (libc_fesetenv_ctxf): New.
7662 (libc_fesetenv_ctxl): New.
7663 (libc_feupdateenv_mips_ctx): New.
7664 (libc_feupdateenv_ctx): New.
7665 (libc_feupdateenvf_ctx): New.
7666 (libc_feupdateenvl_ctx): New.
7667 (libc_feholdsetround_mips_ctx): New.
7668 (libc_feholdsetround_ctx): New.
7669 (libc_feholdsetroundf_ctx): New.
7670 (libc_feholdsetroundl_ctx): New.
7671 (libc_feresetround_mips_ctx): New.
7672 (libc_feresetround_ctx): New.
7673 (libc_feresetroundf_ctx): New.
7674 (libc_feresetroundl_ctx): New.
7676 2014-02-26 Carlos O'Donell <carlos@redhat.com>
7678 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7680 * manual/ipc.texi: New file.
7681 * manual/Makefile (chapters): Add ipc.
7682 * manual/job.texi: Add "Inter-Process Communication" to next.
7683 * manual/process.texi: Add "Inter-Process Communication" to prev.
7685 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7687 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7689 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
7691 * malloc/malloc.c (__libc_calloc): Simplify implementation.
7693 * manual/arith.texi: Fix spaces after sentences.
7694 * manual/charset.texi: Likewise.
7695 * manual/errno.texi: Likewise.
7696 * manual/install.texi: Likewise.
7697 * manual/llio.texi: Likewise.
7698 * manual/locale.texi: Likewise.
7699 * manual/maint.texi: Likewise.
7700 * manual/math.texi: Likewise.
7701 * manual/memory.texi: Likewise.
7702 * manual/message.texi: Likewise.
7703 * manual/probes.texi: Likewise.
7704 * manual/resource.texi: Likewise.
7705 * manual/signal.texi: Likewise.
7706 * manual/socket.texi: Likewise.
7707 * manual/stdio.texi: Likewise.
7708 * manual/string.texi: Likewise.
7709 * manual/time.texi: Likewise.
7710 * manual/users.texi: Likewise.
7712 2014-02-25 Carlos O'Donell <carlos@redhat.com>
7715 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7716 _DEFAULT_SOURCE is defined.
7718 2014-02-25 Ulrich Drepper <drepper@gmail.com>
7719 Carlos O'Donell <carlos@redhat.com>
7722 * elf/dl-tls.c (_dl_count_modids): New function.
7723 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7724 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7725 audit library and increment generation counter.
7726 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7727 * elf/tst-audit9.c: New file.
7728 * elf/tst-auditmod9a.c: New file.
7729 * elf/tst-auditmod9b.c: New file.
7730 * elf/Makefile: Add rules to build and run tst-audit9.
7732 2014-02-25 Florian Weimer <fweimer@redhat.com>
7735 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7737 2014-02-25 Will Newton <will.newton@linaro.org>
7739 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7740 (__longjmp): Restore sp and lr before restoring callee
7741 saved registers. Add longjmp and longjmp_target
7742 SystemTap probe point.
7743 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7744 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7745 Define to zero to match jmpbuf layout.
7746 * sysdeps/arm/setjmp.S: Include stap-probe.h.
7747 (__sigsetjmp): Save sp and lr before saving callee
7748 saved registers. Add setjmp SystemTap probe point.
7750 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7752 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7754 2014-02-24 Andreas Schwab <schwab@suse.de>
7757 * elf/pldd.c (wait_for_ptrace_stop): New function.
7758 (main): Call it after attaching.
7760 2014-02-22 Roland McGrath <roland@hack.frob.com>
7762 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7763 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7764 Versions files is now verboten.
7765 * hurd/Versions (libc: GLIBC_2.0):
7766 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7767 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7768 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7769 * mach/Versions: Likewise.
7771 * csu/Versions: Remove unused %include.
7772 * resolv/Versions: Likewise.
7774 2014-02-21 Joseph Myers <joseph@codesourcery.com>
7776 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7777 ($(objpfx)check-local-headers.out): Likewise.
7778 ($(objpfx)begin-end-check.out): Likewise.
7779 * Makerules (check-abi-%.out): Likewise.
7780 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7781 ($(objpfx)test2.cat): Likewise.
7782 ($(objpfx)de/libc.cat): Likewise.
7783 ($(objpfx)test-gencat.out): Likewise.
7784 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7785 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7786 ($(objpfx)noload-mem): Likewise.
7787 ($(objpfx)tst-pathopt.out): Likewise.
7788 ($(objpfx)tst-rtld-load-self.out): Likewise.
7789 ($(objpfx)tst-array1-cmp.out): Likewise.
7790 ($(objpfx)tst-array1-static-cmp.out): Likewise.
7791 ($(objpfx)tst-array2-cmp.out): Likewise.
7792 ($(objpfx)tst-array3-cmp.out): Likewise.
7793 ($(objpfx)tst-array4-cmp.out): Likewise.
7794 ($(objpfx)tst-array5-cmp.out): Likewise.
7795 ($(objpfx)tst-array5-static-cmp.out): Likewise.
7796 ($(objpfx)check-textrel.out): Likewise.
7797 ($(objpfx)check-execstack.out): Likewise.
7798 ($(objpfx)check-localplt.out): Likewise.
7799 ($(objpfx)order2-cmp.out): Likewise.
7800 ($(objpfx)tst-leaks1-mem): Likewise.
7801 ($(objpfx)tst-leaks1-static-mem): Likewise.
7802 ($(objpfx)tst-initorder-cmp.out): Likewise.
7803 ($(objpfx)tst-initorder2-cmp.out): Likewise.
7804 ($(objpfx)tst-unused-dep.out): Likewise.
7805 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7806 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7807 * iconv/Makefile (test-iconvconfig): Likewise.
7808 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7809 ($(objpfx)iconv-test.out): Likewise.
7810 ($(objpfx)tst-tables.out): Likewise.
7811 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7812 ($(objpfx)tst-gettext.out): Likewise.
7813 ($(objpfx)tst-translit.out): Likewise.
7814 ($(objpfx)tst-gettext2.out): Likewise.
7815 ($(objpfx)tst-gettext4.out): Likewise.
7816 ($(objpfx)tst-gettext6.out): Likewise.
7817 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7818 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7819 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
7820 ($(objpfx)tst-fopenloc-mem.out): Likewise.
7821 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7822 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
7823 * posix/Makefile ($(objpfx)globtest.out): Likewise.
7824 ($(objpfx)wordexp-tst.out): Likewise.
7825 ($(objpfx)annexc.out): Likewise.
7826 ($(objpfx)tst-fnmatch-mem): Likewise.
7827 ($(objpfx)bug-regex2-mem): Likewise.
7828 ($(objpfx)bug-regex14-mem): Likewise.
7829 ($(objpfx)bug-regex21-mem): Likewise.
7830 ($(objpfx)bug-regex31-mem): Likewise.
7831 ($(objpfx)tst-vfork3-mem): Likewise.
7832 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7833 ($(objpfx)tst-pcre-mem): Likewise.
7834 ($(objpfx)tst-boost-mem): Likewise.
7835 ($(objpfx)tst-getconf.out): Likewise.
7836 ($(objpfx)bug-ga2-mem): Likewise.
7837 ($(objpfx)bug-glob2-mem): Likewise.
7838 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
7839 ($(objpfx)mtrace-tst-leaks2): Likewise.
7840 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
7841 ($(objpfx)tst-printf.out): Likewise.
7842 ($(objpfx)tst-setvbuf1.out): Likewise.
7843 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
7844 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
7845 ($(objpfx)tst-fmtmsg.out): Likewise.
7846 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
7847 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
7849 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
7850 * bits/sigaction.h [__USE_MISC]: Likewise.
7851 * bits/waitstatus.h: Update #endif comments.
7852 * ctype/ctype.h: Likewise.
7853 * dirent/dirent.h: Likewise.
7854 [__USE_MISC]: Remove redundant conditionals.
7855 * grp/grp.h: Update #endif comments.
7856 [__USE_GNU]: Remove redundant conditionals.
7857 [__USE_MISC]: Likewise.
7858 * inet/netinet/in.h [__USE_GNU]: Likewise.
7859 * io/sys/stat.h [__USE_MISC]: Likewise.
7860 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
7861 * libio/bits/stdio.h: Update #endif comments.
7862 [__USE_MISC]: Remove redundant conditionals.
7863 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
7864 * libio/stdio.h: Update #endif comments.
7865 [__USE_MISC]: Remove redundant conditionals.
7866 * math/bits/math-finite.h [__USE_MISC]: Likewise.
7867 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
7868 * math/math.h: Update #else and #endif comments.
7869 [__USE_MISC]: Remove redundant conditionals.
7870 * misc/sys/uio.h: Update #endif comments.
7871 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
7872 * posix/glob.h [__USE_MISC]: Likewise.
7873 * posix/sys/types.h: Update #endif comments.
7874 [__USE_MISC]: Remove redundant conditionals.
7875 * posix/sys/wait.h: Update #endif comments.
7876 [__USE_MISC]: Remove redundant conditionals.
7877 * posix/unistd.h: Update #endif comments.
7878 [__USE_MISC]: Remove redundant conditionals.
7879 * pwd/pwd.h [__USE_GNU]: Likewise.
7880 [__USE_MISC]: Likewise.
7881 * resolv/netdb.h [__USE_GNU]: Likewise.
7882 * signal/signal.h: Update #endif comments.
7883 [__USE_MISC]: Remove redundant conditionals.
7884 * stdlib/stdlib.h: Update #else and #endif comments.
7885 [__USE_MISC]: Remove redundant conditionals.
7886 [__USE_GNU]: Likewise.
7887 * string/bits/string2.h [__USE_MISC]: Likewise.
7888 * string/string.h: Update #endif comments.
7889 [__USE_MISC]: Remove redundant conditionals.
7890 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
7892 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
7893 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
7894 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
7896 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
7898 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
7900 [__USE_MISC]: Remove redundant conditionals.
7901 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
7902 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
7903 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
7904 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
7905 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
7907 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
7908 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
7910 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
7911 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
7913 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
7915 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
7916 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
7918 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
7920 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
7921 * sysdeps/x86/bits/string.h: Update #endif comments.
7922 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
7924 * time/sys/time.h: Update #endif comments.
7925 * time/time.h: Likewise.
7926 [__USE_MISC]: Remove redundant conditionals.
7928 2014-02-21 Yury Gribov <y.gribov@samsung.com>
7931 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
7933 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
7935 * Versions.def (librt): Add GLIBC_2.17.
7937 2014-02-21 Adam Conrad <adconrad@0c3.net>
7939 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
7940 synonym for _SYS_AUXV_H to allow direct inclusion.
7941 * sysdeps/sparc/bits/hwcap.h: Likewise.
7942 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
7943 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
7944 * sysdeps/sparc/sysdep.h: Likewise.
7946 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7948 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
7950 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7952 * benchtests/bench-strrchr.c: Print length instead of position.
7954 2014-02-20 Joseph Myers <joseph@codesourcery.com>
7957 * sysdeps/unix/sysv/linux/kernel-features.h
7958 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
7959 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
7960 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
7961 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
7963 [__i386__ || __powerpc__ || __sh__ || __sparc__]
7964 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7965 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
7966 (__ASSUME_SENDMMSG): Define instead of using previous
7967 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
7968 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7969 (__ASSUME_SENDMMSG_SYSCALL): Define.
7970 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7971 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
7973 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7974 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7976 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7977 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7979 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
7980 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7981 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7982 [__ASSUME_SENDMMSG]: Change conditionals to
7983 [__ASSUME_SENDMMSG_SOCKETCALL].
7984 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7985 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
7987 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7988 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
7990 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
7991 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7992 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7993 [!__ASSUME_SENDMMSG]: Change conditional to
7994 [!__ASSUME_SENDMMSG_SOCKETCALL].
7995 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7996 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8000 * sysdeps/unix/sysv/linux/kernel-features.h
8001 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8002 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8003 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8004 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8005 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8006 [__i386__ || __sparc__]
8007 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8008 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8009 (__ASSUME_RECVMMSG): Define instead of using previous
8010 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8011 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8012 (__ASSUME_RECVMMSG_SYSCALL): Define.
8013 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8014 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8016 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8017 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8019 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8020 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8022 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8023 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8024 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8025 [__ASSUME_RECVMMSG]: Change condition to
8026 [__ASSUME_RECVMMSG_SOCKETCALL].
8027 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8028 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8030 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8031 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8032 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8034 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8035 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8036 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8037 [!__ASSUME_RECVMMSG]: Change condition to
8038 [!__ASSUME_RECVMMSG_SOCKETCALL].
8039 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8040 (__ASSUME_RECVMMSG_SYSCALL): Define.
8043 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8044 __powerpc__ || __s390__ || __sh__ || __sparc__]
8045 (__ASSUME_SOCKETCALL): Define.
8046 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8047 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8048 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8049 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8050 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8051 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8052 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8053 (__ASSUME_ACCEPT4): Define instead of using previous
8054 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8055 __powerpc__ || __sparc__ || __s390__)] condition.
8056 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8057 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8058 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8059 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8060 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8061 [!__ASSUME_ACCEPT4]: Change condition to
8062 [!__ASSUME_ACCEPT4_SOCKETCALL].
8063 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8064 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
8065 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8066 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8067 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8068 __ASSUME_ACCEPT4_SYSCALL.
8069 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8070 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8071 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8072 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8073 __ASSUME_ACCEPT4_SYSCALL.
8074 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8075 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8076 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8077 [__ASSUME_ACCEPT4]: Change condition to
8078 [__ASSUME_ACCEPT4_SOCKETCALL].
8079 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8080 (__ASSUME_SOCKETCALL): Define.
8081 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8082 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8083 (__ASSUME_SOCKETCALL): Define.
8084 (__ASSUME_ACCEPT4): Remove.
8085 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8087 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8088 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8090 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8091 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8093 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8095 (HWCAP_ARM_LPAE): Likewise.
8096 (HWCAP_ARM_EVTSTRM): Likewise.
8097 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8098 Add vpfd32, lpae and evtstrm.
8099 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8102 2014-02-19 Joseph Myers <joseph@codesourcery.com>
8104 * math/auto-libm-test-in: Add tests of clog10.
8105 * math/auto-libm-test-out: Regenerated.
8106 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8107 * sysdeps/i386/fpu/libm-test-ulps: Update.
8108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8110 2014-02-18 Andreas Schwab <schwab@suse.de>
8113 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8114 Store non-zero if the second buffer was newly allocated.
8115 (send_dg): Likewise.
8116 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8117 to send_vc and send_dg.
8118 (res_nsend): Pass NULL for ansp2_malloced.
8119 * resolv/res_query.c (__libc_res_nquery): Add parameter
8120 answerp2_malloced and pass it down to __libc_res_nsend.
8121 (res_nquery): Pass additional NULL to __libc_res_nquery.
8122 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8123 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8124 second answer buffer if answerp2_malloced was set.
8125 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8126 (__libc_res_nquerydomain): Add parameter
8127 answerp2_malloced and pass it down to __libc_res_nquery.
8128 (res_nquerydomain): Pass additional NULL to
8129 __libc_res_nquerydomain.
8130 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8131 additional NULL to __libc_res_nsend and __libc_res_nquery.
8132 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8133 additional NULL to __libc_res_nsearch.
8134 (_nss_dns_gethostbyname4_r): Revert last change. Use new
8135 parameter of __libc_res_nsearch to check for separately allocated
8137 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8139 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8140 additional NULL to __libc_res_nquery.
8141 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8143 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8144 * include/resolv.h: Update prototypes of __libc_res_nquery,
8145 __libc_res_nsearch, __libc_res_nsend.
8147 2014-02-18 Joseph Myers <joseph@codesourcery.com>
8149 * math/auto-libm-test-in: Add tests of fma.
8150 * math/auto-libm-test-out: Regenerated.
8151 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8152 (fma_towardzero_test_data): Likewise.
8153 (fma_downward_test_data): Likewise.
8154 (fma_upward_test_data): Likewise.
8155 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8157 (rounding_modes): Add values for new field.
8158 (func_calc_method): Add value mpfr_fff_f.
8159 (func_calc_desc): Add mpfr_fff_f union field.
8160 (test_function): Add field exact_args.
8161 (FUNC): Add macro argument EXACT_ARGS.
8162 (FUNC_mpfr_f_f): Update call to FUNC.
8163 (FUNC_mpfr_f_f): Likewise.
8164 (FUNC_mpfr_ff_f): Likewise.
8165 (FUNC_mpfr_if_f): Likewise.
8166 (FUNC_mpc_c_f): Likewise.
8167 (FUNC_mpc_c_c): Likewise.
8168 (test_functions): Add fma. Update calls to FUNC.
8169 (handle_input_arg): Add argument exact_args.
8170 (add_test): Update call to handle_input_arg.
8171 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
8172 (output_for_one_input_case): Update call to calc_generic_results.
8173 Recalculate exact zero results in each rounding mode.
8175 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8176 non-negative before setting low bit.
8177 * math/auto-libm-test-in: Mark one asin test possibly having
8179 * math/auto-libm-test-out: Regenerated.
8180 * sysdeps/i386/fpu/libm-test-ulps: Update.
8181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8183 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
8185 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8186 * sysdeps/unix/sysv/linux/microblaze: Move directory from
8187 ports/sysdeps/unix/sysv/linux/microblaze.
8188 * README: Add missing listing for microblaze*-*-linux-gnu.
8190 2014-02-16 Mike Frysinger <vapier@gentoo.org>
8192 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8193 * sysdeps/unix/sysv/linux/ia64: Move directory from
8194 ports/sysdeps/unix/sysv/linux/ia64.
8195 * README: Update listing for ia64-*-linux-gnu.
8197 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
8198 Joseph Myers <joseph@codesourcery.com>
8200 * Makeconfig (test-name): New variable.
8201 (evaluate-test): Likewise.
8202 * Makerules (do-test-clean): Remove .test-result files.
8203 (common-mostlyclean): Likewise.
8204 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8205 * scripts/evaluate-test.sh: New file.
8207 2014-02-14 Joseph Myers <joseph@codesourcery.com>
8209 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8210 separate $(objpfx)tst-fopenloc-cmp.out and
8211 $(objpfx)tst-fopenloc-mem.out targets.
8212 (tests): Update dependencies.
8213 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8214 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8215 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8216 (tst-rxspencer-no-utf8-ARGS): New variable.
8217 (tst-rxspencer-no-utf8-ENV): Likewise.
8218 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8219 instead of $(objpfx)tst-rxspencer-mem.
8220 ($(objpfx)tst-rxspencer-mem): Change target to
8221 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
8222 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8223 * posix/tst-rxspencer-no-utf8.c: New file.
8225 * elf/Makefile ($(objpfx)order.out): Remove rule.
8226 [$(run-built-tests) = yes] (tests): Depend on
8227 $(objpfx)order-cmp.out.
8228 ($(objpfx)order-cmp.out): New rule.
8229 [$(run-built-tests) = yes] (tests): Depend on
8230 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8231 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8232 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8233 $(objpfx)tst-array5-static-cmp.out.
8234 ($(objpfx)tst-array1.out): Remove rule.
8235 ($(objpfx)tst-array1-cmp.out): New rule.
8236 ($(objpfx)tst-array1-static.out): Remove rule.
8237 ($(objpfx)tst-array1-static-cmp.out): New rule.
8238 ($(objpfx)tst-array2.out): Remove rule.
8239 ($(objpfx)tst-array2-cmp.out): New rule.
8240 ($(objpfx)tst-array3.out): Remove rule.
8241 ($(objpfx)tst-array3-cmp.out): New rule.
8242 ($(objpfx)tst-array4.out): Remove rule.
8243 ($(objpfx)tst-array4-cmp.out): New rule.
8244 ($(objpfx)tst-array5.out): Remove rule.
8245 ($(objpfx)tst-array5-cmp.out): New rule.
8246 ($(objpfx)tst-array5-static.out): Remove rule.
8247 ($(objpfx)tst-array5-static-cmp.out): New rule.
8248 [$(run-built-tests) = yes] (tests): Depend on
8249 $(objpfx)order2-cmp.out.
8250 ($(objpfx)order2.out): Remove rule.
8251 ($(objpfx)order2-cmp.out): New rule.
8252 ($(objpfx)tst-initorder.out): Remove rule.
8253 [$(run-built-tests) = yes] (tests): Depend on
8254 $(objpfx)tst-initorder-cmp.out.
8255 ($(objpfx)tst-initorder-cmp.out): New rule.
8256 ($(objpfx)tst-initorder2.out): Remove rule.
8257 [$(run-built-tests) = yes] (tests): Depend on
8258 $(objpfx)tst-initorder2-cmp.out.
8259 ($(objpfx)tst-initorder2-cmp.out): New rule.
8260 [$(run-built-tests) = yes] (tests): Depend on
8261 $(objpfx)tst-unused-dep-cmp.out.
8262 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8263 ($(objpfx)tst-unused-dep-cmp.out): New rule.
8264 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8265 on $(objpfx)tst-setvbuf1-cmp.out.
8266 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8267 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8268 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8269 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8270 ($(objpfx)tst-svc.out): Remove rule.
8271 ($(objpfx)tst-svc-cmp.out): New rule.
8273 2014-02-13 Joseph Myers <joseph@codesourcery.com>
8275 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8276 * ctype/ctype.h [__USE_MISC]: Likewise.
8277 * dirent/dirent.h [__USE_MISC]: Likewise.
8278 * grp/grp.h [__USE_MISC]: Likewise.
8279 * io/fcntl.h [__USE_MISC]: Likewise.
8280 * io/sys/stat.h [__USE_MISC]: Likewise.
8281 * libio/stdio.h [__USE_MISC]: Likewise.
8282 * posix/unistd.h [__USE_MISC]: Likewise.
8283 * pwd/pwd.h [__USE_MISC]: Likewise.
8284 * stdlib.h [__USE_MISC]: Likewise.
8285 * string/bits/string2.h [__USE_MISC]: Likewise.
8286 * string/string.h [__USE_MISC]: Likewise.
8287 * time/time.h [__USE_MISC]: Likewise.
8289 2014-02-13 Andreas Schwab <schwab@suse.de>
8292 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8293 second answer buffer if it was separately allocated.
8295 2014-02-12 Joseph Myers <joseph@codesourcery.com>
8297 * sysdeps/mips/math-tests.h: Include <features.h>.
8298 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8299 (ROUNDING_TESTS_long_double): Do not define.
8300 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8301 (EXCEPTION_TESTS_long_double): Likewise.
8302 * sysdeps/mips/mips64/libm-test-ulps: Update.
8304 * include/features.h (__USE_BSD): Remove macro definitions.
8305 (__USE_SVID): Likewise.
8306 (_BSD_SOURCE): Likewise.
8307 (_SVID_SOURCE): Likewise.
8308 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8309 from definition of _DEFAULT_SOURCE.
8310 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8312 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8313 * bits/mman.h [__USE_BSD]: Likewise.
8314 * bits/termios.h [__USE_BSD]: Likewise.
8315 * bits/waitstatus.h [__USE_BSD]: Likewise.
8316 * ctype/ctype.h [__USE_SVID]: Likewise.
8317 * dirent/dirent.h [__USE_BSD]: Likewise.
8318 * grp/grp.h [__USE_SVID]: Likewise.
8319 [__USE_BSD]: Likewise.
8320 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8321 * io/fcntl.h [__USE_BSD]: Likewise.
8322 * io/ftw.h [__USE_BSD]: Likewise.
8323 * io/sys/stat.h [__USE_BSD]: Likewise.
8324 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8325 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8326 * libio/stdio.h [__USE_SVID]: Likewise.
8327 [__USE_BSD]: Likewise.
8328 * math/math.h [__USE_SVID]: Likewise.
8329 [__USE_BSD]: Likewise.
8330 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8331 * misc/bits/syslog.h [__USE_BSD]: Likewise.
8332 * misc/search.h [__USE_SVID]: Likewise.
8333 * misc/sys/mman.h [__USE_BSD]: Likewise.
8334 * misc/sys/syslog.h [__USE_BSD]: Likewise.
8335 * misc/sys/uio.h [__USE_BSD]: Likewise.
8336 * posix/bits/unistd.h [__USE_BSD]: Likewise.
8337 * posix/glob.h [__USE_BSD]: Likewise.
8338 * posix/regex.h [__USE_BSD]: Likewise.
8339 * posix/sys/types.h [__USE_BSD]: Likewise.
8340 [__USE_SVID]: Likewise.
8341 * posix/sys/utsname.h [__USE_SVID]: Likewise.
8342 * posix/sys/wait.h [__USE_BSD]: Likewise.
8343 [__USE_SVID]: Likewise.
8344 * posix/unistd.h [__USE_BSD]: Likewise.
8345 [__USE_SVID]: Likewise.
8346 * pwd/pwd.h [__USE_SVID]: Likewise.
8347 * resolv/netdb.h [__USE_BSD]: Likewise.
8348 * setjmp/setjmp.h [__USE_BSD]: Likewise.
8349 * signal/signal.h [__USE_BSD]: Likewise.
8350 [__USE_SVID]: Likewise.
8351 * socket/sys/socket.h [__USE_BSD]: Likewise.
8352 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8353 * stdlib/stdlib.h [__USE_BSD]: Likewise.
8354 [__USE_SVID]: Likewise.
8355 * string/bits/string2.h [__USE_BSD]: Likewise.
8356 [__USE_SVID]: Likewise.
8357 * string/bits/string3.h [__USE_BSD]: Likewise.
8358 * string/endian.h [__USE_BSD]: Likewise.
8359 * string/string.h [__USE_SVID]: Likewise.
8360 [__USE_BSD]: Likewise.
8361 * string/strings.h [__USE_BSD]: Likewise.
8362 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8363 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8364 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8365 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8366 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8367 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8369 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8371 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8372 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8374 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8375 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8377 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8379 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8380 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8381 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8383 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8385 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8386 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8387 * termios/termios.h [__USE_BSD]: Likewise.
8388 * time/sys/time.h [__USE_BSD]: Likewise.
8389 * time/time.h [__USE_BSD]: Likewise.
8390 [__USE_SVID]: Likewise.
8392 * Makefile (subdir_targets): Remove subdir_lint.out.
8394 * stdio-common/Makefile (do-tst-unbputc): Remove target.
8395 (do-tst-printf): Likewise.
8396 (tests): Depend directly on $(objpfx)tst-unbputc.out and
8397 $(objpfx)tst-printf.out.
8399 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8401 * Makerules (check-abi-%): Change target to
8402 $(objpfx)check-abi-%.out.
8403 (check-abi target): Update dependencies.
8404 (check-abi-pattern variable): Redirect output of diff to $@.
8405 (check-abi variable): Likewise.
8406 * elf/Makefile (check-abi): Update dependencies.
8408 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8410 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8411 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8413 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8414 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8415 value has largest subnormal exponent.
8416 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8417 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8418 * sysdeps/aarch64/soft-fp/sfp-machine.h
8419 (_FP_TININESS_AFTER_ROUNDING): New macro.
8420 * sysdeps/alpha/soft-fp/sfp-machine.h
8421 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8422 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8424 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8425 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8426 * sysdeps/mips/soft-fp/sfp-machine.h
8427 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8428 * sysdeps/powerpc/soft-fp/sfp-machine.h
8429 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8430 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8432 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8433 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8434 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8435 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8436 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8439 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
8442 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8445 2014-02-12 Richard Henderson <rth@redhat.com>
8447 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8448 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8449 * sysdeps/unix/sysv/linux/alpha: Move directory from
8450 ports/sysdeps/unix/sysv/linux/alpha.
8451 * README: Update listing for alpha-*-linux-gnu.
8453 2014-02-11 Joseph Myers <joseph@codesourcery.com>
8455 * include/features.h: Update comment documenting feature test
8457 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
8459 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8460 (_SVID_SOURCE): Likewise.
8461 (_DEFAULT_SOURCE): Update description of default features.
8462 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8464 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8465 (S_ISVTX): Likewise.
8466 * manual/math.texi (Mathematical Constants): Likewise.
8467 * manual/signal.texi (Interrupted Primitives): Likewise.
8468 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8469 * math/test-matherr.c (_SVID_SOURCE): Do not define.
8470 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8471 Don't refer to _SVID_SOURCE in warning text.
8473 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8475 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8477 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8478 * sysdeps/mips/dl-lookup.c: Remove.
8479 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8481 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8484 * math/auto-libm-test-in: Add testcase for expl.
8485 * math/auto-libm-test-out: Regenerate.
8486 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8487 calculation of unsafe.
8488 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8490 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
8492 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8493 * sysdeps/unix/sysv/linux/aarch64: Move directory from
8494 ports/sysdeps/unix/sysv/linux/aarch64.
8495 * README: Update listing for aarch64*-*-linux-gnu.
8497 2014-02-11 Will Newton <will.newton@linaro.org>
8499 * manual/probes.texi (Mathematical Function Probes): Use
8500 "triggered" instead of "hit".
8502 * manual/probes.texi (Internal Probes): Add documentation
8503 of setjmp, longjmp and longjmp_target probes.
8505 * include/stap-probe.h: Add comment about probe argument
8508 * malloc/mtrace.c (attribute_hidden): Remove unused macro
8509 definition. (tr_where, tr_freehook, tr_mallochook,
8510 tr_reallochook, tr_memalignhook): Use ANSI protoype.
8512 2014-02-11 David S. Miller <davem@davemloft.net>
8514 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8515 processing int_tests.
8517 2014-02-10 Joseph Myers <joseph@codesourcery.com>
8519 * sysdeps/mips: Move directory from ports/sysdeps/mips.
8520 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8521 * sysdeps/unix/sysv/linux/mips: Move directory from
8522 ports/sysdeps/unix/sysv/linux/mips.
8523 * README: Update listing for mips-*-linux-gnu and
8526 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
8528 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8529 * sysdeps/unix/sysv/linux/m68k: Move directory from
8530 ports/sysdeps/unix/sysv/linux/m68k.
8531 * README: Update listing for m68k-*-linux-gnu.
8533 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
8535 * sysdeps/tile: Move directory from ports/sysdeps/tile.
8536 * sysdeps/unix/sysv/linux/generic: Move directory from
8537 ports/sysdeps/unix/sysv/linux/generic.
8538 * sysdeps/unix/sysv/linux/tile: Move directory from
8539 ports/sysdeps/unix/sysv/linux/tile.
8540 * README: Update listing for tile*-*-linux-gnu.
8542 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
8544 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8546 * benchtests/bench-memmem.c (simple_memmem): Likewise.
8547 * catgets/open_catalog.c (__open_catalog): Likewise.
8548 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8549 * debug/confstr_chk.c: Likewise.
8550 * debug/fread_chk.c (__fread_chk): Likewise.
8551 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8552 * debug/getgroups_chk.c: Likewise.
8553 * debug/mbsnrtowcs_chk.c: Likewise.
8554 * debug/mbsrtowcs_chk.c: Likewise.
8555 * debug/mbstowcs_chk.c: Likewise.
8556 * debug/memcpy_chk.c: Likewise.
8557 * debug/memmove_chk.c: Likewise.
8558 * debug/mempcpy_chk.c: Likewise.
8559 * debug/memset_chk.c: Likewise.
8560 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8561 * debug/strcat_chk.c (__strcat_chk): Likewise.
8562 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8563 * debug/strncat_chk.c (__strncat_chk): Likewise.
8564 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8565 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8566 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8567 * debug/wcpncpy_chk.c: Likewise.
8568 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8569 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8570 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8571 * debug/wcsncpy_chk.c: Likewise.
8572 * debug/wcsnrtombs_chk.c: Likewise.
8573 * debug/wcsrtombs_chk.c: Likewise.
8574 * debug/wcstombs_chk.c: Likewise.
8575 * debug/wmemcpy_chk.c: Likewise.
8576 * debug/wmemmove_chk.c: Likewise.
8577 * debug/wmempcpy_chk.c: Likewise.
8578 * debug/wmemset_chk.c: Likewise.
8579 * dirent/scandirat.c (SCANDIRAT): Likewise.
8580 * dlfcn/dladdr1.c (dladdr1): Likewise.
8581 * dlfcn/dladdr.c (dladdr): Likewise.
8582 * dlfcn/dlclose.c (dlclose_doit): Likewise.
8583 * dlfcn/dlerror.c (__dlerror): Likewise.
8584 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8585 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8586 * dlfcn/dlopen.c (dlopen_doit): Likewise.
8587 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8588 * dlfcn/dlsym.c (dlsym_doit): Likewise.
8589 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8590 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8591 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8593 * elf/dl-conflict.c: Likewise.
8594 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8595 * elf/dl-dst.h: Likewise.
8596 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8597 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8598 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8599 * elf/dl-init.c (call_init, _dl_init): Likewise.
8600 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8601 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8602 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8604 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8606 * elf/dl-minimal.c (__libc_memalign): Likewise.
8607 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8608 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8609 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8610 * elf/dl-sym.c (do_sym): Likewise.
8611 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8612 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8613 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8614 * elf/dl-writev.h (_dl_writev): Likewise.
8615 * elf/ldconfig.c (search_dir): Likewise.
8616 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8617 (dl_main): Likewise.
8618 * elf/setup-vdso.h (setup_vdso): Likewise.
8619 * grp/compat-initgroups.c (compat_call): Likewise.
8620 * grp/fgetgrent.c (fgetgrent): Likewise.
8621 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8622 * grp/putgrent.c (putgrent): Likewise.
8623 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8625 * hurd/hurdinit.c: Likewise.
8626 * iconvdata/8bit-gap.c (struct): Likewise.
8627 * iconvdata/ansi_x3.110.c : Likewise.
8628 * iconvdata/big5.c : Likewise.
8629 * iconvdata/big5hkscs.c : Likewise.
8630 * iconvdata/cp1255.c: Likewise.
8631 * iconvdata/cp1258.c : Likewise.
8632 * iconvdata/cp932.c : Likewise.
8633 * iconvdata/euc-cn.c: Likewise.
8634 * iconvdata/euc-jisx0213.c : Likewise.
8635 * iconvdata/euc-jp.c: Likewise.
8636 * iconvdata/euc-jp-ms.c : Likewise.
8637 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8638 * iconvdata/gb18030.c : Likewise.
8639 * iconvdata/gbbig5.c (const): Likewise.
8640 * iconvdata/gbgbk.c: Likewise.
8641 * iconvdata/gbk.c : Likewise.
8642 * iconvdata/ibm1364.c : Likewise.
8643 * iconvdata/ibm930.c : Likewise.
8644 * iconvdata/ibm932.c: Likewise.
8645 * iconvdata/ibm933.c : Likewise.
8646 * iconvdata/ibm935.c : Likewise.
8647 * iconvdata/ibm937.c : Likewise.
8648 * iconvdata/ibm939.c : Likewise.
8649 * iconvdata/ibm943.c: Likewise.
8650 * iconvdata/iso_11548-1.c: Likewise.
8651 * iconvdata/iso-2022-cn.c : Likewise.
8652 * iconvdata/iso-2022-cn-ext.c : Likewise.
8653 * iconvdata/iso-2022-jp-3.c: Likewise.
8654 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8655 * iconvdata/iso-2022-kr.c : Likewise.
8656 * iconvdata/iso646.c (gconv_end): Likewise.
8657 * iconvdata/iso_6937-2.c : Likewise.
8658 * iconvdata/iso_6937.c : Likewise.
8659 * iconvdata/iso8859-1.c: Likewise.
8660 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8661 * iconvdata/shift_jisx0213.c : Likewise.
8662 * iconvdata/sjis.c : Likewise.
8663 * iconvdata/t.61.c : Likewise.
8664 * iconvdata/tcvn5712-1.c : Likewise.
8665 * iconvdata/tscii.c: Likewise.
8666 * iconvdata/uhc.c : Likewise.
8667 * iconvdata/unicode.c (gconv_end): Likewise.
8668 * iconvdata/utf-16.c (gconv_end): Likewise.
8669 * iconvdata/utf-32.c (gconv_end): Likewise.
8670 * iconvdata/utf-7.c (base64): Likewise.
8671 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8672 * iconv/gconv_close.c (__gconv_close): Likewise.
8673 * iconv/gconv_open.c (__gconv_open): Likewise.
8674 * iconv/gconv_simple.c (internal_ucs4_loop_single)
8675 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8676 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8677 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8678 (ucs4le_internal_loop_single): Likewise.
8679 * iconv/iconv.c (iconv): Likewise.
8680 * iconv/iconv_close.c: Likewise.
8681 * iconv/loop.c (SINGLE): Likewise.
8682 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8683 * include/atomic.h: Likewise.
8684 * inet/inet6_option.c (option_alloc): Likewise.
8685 * intl/bindtextdom.c (set_binding_values): Likewise.
8686 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8687 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8688 * intl/localealias.c (read_alias_file): Likewise.
8689 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8690 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8691 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8692 * libio/fmemopen.c (fmemopen): Likewise.
8693 * libio/iofgets.c (_IO_fgets): Likewise.
8694 * libio/iofgets_u.c (fgets_unlocked): Likewise.
8695 * libio/iofgetws.c (fgetws): Likewise.
8696 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8697 * libio/iogetdelim.c (_IO_getdelim): Likewise.
8698 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8699 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8700 * locale/findlocale.c (_nl_find_locale): Likewise.
8701 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8702 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8704 * locale/setlocale.c (setlocale): Likewise.
8705 * login/programs/pt_chown.c (main): Likewise.
8706 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8707 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8708 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8709 (mmap, mmap64, mremap, munmap): Likewise.
8710 * math/e_exp2l.c: Likewise.
8711 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8712 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8713 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8714 * math/s_catan.c (__catan): Likewise.
8715 * math/s_catanf.c (__catanf): Likewise.
8716 * math/s_catanh.c (__catanh): Likewise.
8717 * math/s_catanhf.c (__catanhf): Likewise.
8718 * math/s_catanhl.c (__catanhl): Likewise.
8719 * math/s_catanl.c (__catanl): Likewise.
8720 * math/s_ccosh.c (__ccosh): Likewise.
8721 * math/s_ccoshf.c (__ccoshf): Likewise.
8722 * math/s_ccoshl.c (__ccoshl): Likewise.
8723 * math/s_cexp.c (__cexp): Likewise.
8724 * math/s_cexpf.c (__cexpf): Likewise.
8725 * math/s_cexpl.c (__cexpl): Likewise.
8726 * math/s_clog10.c (__clog10): Likewise.
8727 * math/s_clog10f.c (__clog10f): Likewise.
8728 * math/s_clog10l.c (__clog10l): Likewise.
8729 * math/s_clog.c (__clog): Likewise.
8730 * math/s_clogf.c (__clogf): Likewise.
8731 * math/s_clogl.c (__clogl): Likewise.
8732 * math/s_csin.c (__csin): Likewise.
8733 * math/s_csinf.c (__csinf): Likewise.
8734 * math/s_csinh.c (__csinh): Likewise.
8735 * math/s_csinhf.c (__csinhf): Likewise.
8736 * math/s_csinhl.c (__csinhl): Likewise.
8737 * math/s_csinl.c (__csinl): Likewise.
8738 * math/s_csqrt.c (__csqrt): Likewise.
8739 * math/s_csqrtf.c (__csqrtf): Likewise.
8740 * math/s_csqrtl.c (__csqrtl): Likewise.
8741 * math/s_ctan.c (__ctan): Likewise.
8742 * math/s_ctanf.c (__ctanf): Likewise.
8743 * math/s_ctanh.c (__ctanh): Likewise.
8744 * math/s_ctanhf.c (__ctanhf): Likewise.
8745 * math/s_ctanhl.c (__ctanhl): Likewise.
8746 * math/s_ctanl.c (__ctanl): Likewise.
8747 * math/w_pow.c: Likewise.
8748 * math/w_powf.c: Likewise.
8749 * math/w_powl.c: Likewise.
8750 * math/w_scalb.c (sysv_scalb): Likewise.
8751 * math/w_scalbf.c (sysv_scalbf): Likewise.
8752 * math/w_scalbl.c (sysv_scalbl): Likewise.
8753 * misc/error.c (error_tail): Likewise.
8754 * misc/pselect.c (__pselect): Likewise.
8755 * nis/nis_callback.c (__nis_create_callback): Likewise.
8756 * nis/nis_call.c (__nisfind_server): Likewise.
8757 * nis/nis_creategroup.c (nis_creategroup): Likewise.
8758 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8759 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8760 * nis/nis_getservlist.c (nis_getservlist): Likewise.
8761 * nis/nis_lookup.c (nis_lookup): Likewise.
8762 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
8763 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8764 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
8765 * nis/nis_xdr.c (xdr_endpoint): Likewise.
8766 * nis/nss_compat/compat-grp.c (getgrent_next_file)
8767 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8768 * nis/nss_compat/compat-initgroups.c (add_group)
8769 (internal_getgrent_r): Likewise.
8770 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8771 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8772 * nis/nss_compat/compat-spwd.c (getspent_next_file)
8773 (internal_getspnam_r): Likewise.
8774 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8775 (_nss_nis_getaliasbyname_r): Likewise.
8776 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8777 (_nss_nis_getntohost_r): Likewise.
8778 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8779 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8780 (_nss_nis_getgrgid_r): Likewise.
8781 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8782 (internal_nis_gethostent_r, internal_gethostbyname2_r)
8783 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8784 (_nss_nis_gethostbyname4_r): Likewise.
8785 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8786 (initgroups_netid): Likewise.
8787 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8788 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8789 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8790 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8791 (_nss_nis_getprotobynumber_r): Likewise.
8792 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8793 (_nss_nis_getsecretkey): Likewise.
8794 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8795 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8796 (_nss_nis_getpwuid_r): Likewise.
8797 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8798 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8799 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8800 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8801 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8802 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
8803 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8805 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8806 (_nss_nisplus_getntohost_r): Likewise.
8807 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8808 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8809 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8810 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
8812 * nis/nss_nisplus/nisplus-initgroups.c
8813 (_nss_nisplus_initgroups_dyn): Likewise.
8814 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8815 (_nss_nisplus_getnetbyaddr_r): Likewise.
8816 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8817 (_nss_nisplus_getprotobynumber_r): Likewise.
8818 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8819 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
8820 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
8822 * nis/nss_nisplus/nisplus-service.c
8823 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
8824 (_nss_nisplus_getservbyport_r): Likewise.
8825 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
8826 (_nss_nisplus_getspnam_r): Likewise.
8827 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
8829 * nscd/aicache.c (addhstaiX): Likewise.
8830 * nscd/cache.c (cache_search, prune_cache): Likewise.
8831 * nscd/connections.c (register_traced_file, send_ro_fd)
8832 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
8833 (main_loop_epoll): Likewise.
8834 * nscd/grpcache.c (addgrbyX): Likewise.
8835 * nscd/hstcache.c (addhstbyX): Likewise.
8836 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8837 * nscd/mem.c (gc, mempool_alloc): Likewise.
8838 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
8839 (addinnetgrX): Likewise.
8840 * nscd/nscd-client.h (__nscd_acquire_maplock)
8841 (__nscd_drop_map_ref): Likewise.
8842 * nscd/nscd_getai.c (__nscd_getai): Likewise.
8843 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8844 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
8846 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8847 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8848 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
8849 (__nscd_get_map_ref): Likewise.
8850 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
8851 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
8853 * nscd/pwdcache.c (addpwbyX): Likewise.
8854 * nscd/selinux.c (preserve_capabilities): Likewise.
8855 * nscd/servicescache.c (addservbyX): Likewise.
8856 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
8857 * posix/fnmatch.c (fnmatch): Likewise.
8858 * posix/getopt.c (_getopt_internal_r): Likewise.
8859 * posix/glob.c (glob, glob_in_dir): Likewise.
8860 * posix/wordexp.c (exec_comm_child): Likewise.
8861 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
8862 (getanswer_r, gaih_getanswer_slice): Likewise.
8863 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
8864 * resolv/res_init.c: Likewise.
8865 * resolv/res_mkquery.c (res_nmkquery): Likewise.
8866 * resolv/res_query.c (__libc_res_nquery): Likewise.
8867 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
8869 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
8870 * stdio-common/perror.c (perror): Likewise.
8871 * stdio-common/printf_fp.c (___printf_fp): Likewise.
8872 * stdio-common/tmpnam.c (tmpnam): Likewise.
8873 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8874 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
8875 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8877 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8878 * stdlib/putenv.c (putenv): Likewise.
8879 * stdlib/setenv.c (__add_to_environ): Likewise.
8880 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8881 * stdlib/strtol_l.c (INTERNAL): Likewise.
8882 * string/memmem.c (memmem): Likewise.
8883 * string/strerror.c (strerror): Likewise.
8884 * string/strnlen.c (__strnlen): Likewise.
8885 * string/test-memmem.c (simple_memmem): Likewise.
8886 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
8887 * sunrpc/pm_getport.c (__get_socket): Likewise.
8888 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
8889 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8890 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
8891 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
8893 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8894 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8895 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8896 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
8897 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
8898 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
8900 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
8902 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8903 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8904 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8905 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8906 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8907 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
8908 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8909 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
8910 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8911 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8912 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8913 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
8915 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
8917 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
8919 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
8920 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8921 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
8922 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
8923 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8924 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
8925 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8926 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
8927 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
8928 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
8929 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
8930 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8931 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8932 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
8933 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8934 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8936 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
8938 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
8940 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
8942 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8943 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8944 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
8946 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
8947 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
8948 * sysdeps/posix/opendir.c (__opendirat): Likewise.
8949 * sysdeps/posix/sleep.c: Likewise.
8950 * sysdeps/posix/tempname.c: Likewise.
8951 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
8952 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8954 * sysdeps/powerpc/powerpc32/dl-machine.h
8955 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
8956 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8957 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8958 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
8959 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
8961 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
8962 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
8963 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8964 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
8965 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8966 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
8967 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
8968 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
8969 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8970 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
8971 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
8972 (elf_machine_lazy_rel): Likewise.
8973 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8974 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
8975 (elf_machine_lazy_rel): Likewise.
8976 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
8977 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
8978 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
8979 * sysdeps/unix/grantpt.c (grantpt): Likewise.
8980 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
8981 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
8982 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8983 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8985 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8986 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8987 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
8988 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
8989 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8990 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8991 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
8992 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
8993 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
8994 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8995 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8997 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8998 (__posix_fallocate64_l64): Likewise.
8999 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9000 (posix_fallocate): Likewise.
9001 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9003 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9004 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9005 (getifaddrs_internal): Likewise.
9006 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9007 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9008 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9009 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9010 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9011 (__posix_fallocate64_l64): Likewise.
9012 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9014 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9015 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9016 (__get_clockfreq): Likewise.
9017 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9018 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9019 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9020 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9021 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9022 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9023 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9024 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9026 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9027 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9028 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9029 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9030 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9031 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9032 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9034 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9035 (posix_fallocate): Likewise.
9036 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9037 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9038 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9039 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9040 (elf_machine_rela, elf_machine_rela_relative)
9041 (elf_machine_lazy_rel): Likewise.
9042 * time/asctime.c (asctime_internal): Likewise.
9043 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9044 * time/tzset.c (__tzset_parse_tz): Likewise.
9045 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9046 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9047 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9048 * wcsmbs/wcsmbsload.h: Likewise.
9051 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9053 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9054 (arena_get2): Remove THREAD_STATS conditionals.
9055 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9056 (__malloc_stats, int): Likewise.
9058 2014-02-08 Mike Frysinger <vapier@gentoo.org>
9060 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9061 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
9063 * manual/setjmp.texi: Fix typos/grammar errors.
9065 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9066 Only return early when n is <= 0. Delete unused return statement.
9068 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9069 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9070 * debug/tst-longjmp_chk3.c: New file.
9072 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9073 (test_main): Replace code with set_fortify_handler call.
9074 * debug/test-strcpy_chk.c: Likewise.
9075 * debug/tst-chk1.c: Likewise.
9076 * debug/tst-longjmp_chk.c: Likewise.
9077 * test-skeleton.c: Include fcntl.h & paths.h
9078 (set_fortify_handler): Define.
9080 * debug/tst-longjmp_chk.c: Add header comment and include
9082 (do_test): Mark static.
9083 (TEST_FUNCTION): Define.
9085 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9086 (IP_PMTUDISC_INTERFACE): Likewise.
9087 (IP_MULTICAST_IF): Likewise.
9088 (IP_MULTICAST_TTL): Likewise.
9089 (IP_MULTICAST_LOOP): Likewise.
9090 (IP_ADD_MEMBERSHIP): Likewise.
9091 (IP_DROP_MEMBERSHIP): Likewise.
9092 (IP_UNBLOCK_SOURCE): Likewise.
9093 (IP_BLOCK_SOURCE): Likewise.
9094 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9095 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9096 (IP_MSFILTER): Likewise.
9097 (MCAST_JOIN_GROUP): Likewise.
9098 (MCAST_BLOCK_SOURCE): Likewise.
9099 (MCAST_UNBLOCK_SOURCE): Likewise.
9100 (MCAST_LEAVE_GROUP): Likewise.
9101 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9102 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9103 (MCAST_MSFILTER): Likewise.
9104 (IP_MULTICAST_ALL): Likewise.
9105 (IP_UNICAST_IF): Likewise.
9107 * timezone/Makefile: Delete $(have-ksh) check.
9108 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9109 * timezone/tzselect.ksh: Add +x mode bits.
9111 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9112 (ANON_INODE_FS_MAGIC): Likewise.
9113 (BDEVFS_MAGIC): Likewise.
9114 (BINFMTFS_MAGIC): Likewise.
9115 (BTRFS_TEST_MAGIC): Likewise.
9116 (CRAMFS_MAGIC_WEND): Likewise.
9117 (DEBUGFS_MAGIC): Likewise.
9118 (ECRYPTFS_SUPER_MAGIC): Likewise.
9119 (EXT3_SUPER_MAGIC): Likewise.
9120 (EXT4_SUPER_MAGIC): Likewise.
9121 (FUTEXFS_SUPER_MAGIC): Likewise.
9122 (HOSTFS_SUPER_MAGIC): Likewise.
9123 (HUGETLBFS_MAGIC): Likewise.
9124 (MINIX3_SUPER_MAGIC): Likewise.
9125 (MTD_INODE_FS_MAGIC): Likewise.
9126 (NILFS_SUPER_MAGIC): Likewise.
9127 (OPENPROM_SUPER_MAGIC): Likewise.
9128 (PIPEFS_MAGIC): Likewise.
9129 (PSTOREFS_MAGIC): Likewise.
9130 (QNX6_SUPER_MAGIC): Likewise.
9131 (RAMFS_MAGIC): Likewise.
9132 (REISERFS_SUPER_MAGIC_STRING): Likewise.
9133 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9134 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9135 (SECURITYFS_MAGIC): Likewise.
9136 (SELINUX_MAGIC): Likewise.
9137 (SMACK_MAGIC): Likewise.
9138 (SOCKFS_MAGIC): Likewise.
9139 (SQUASHFS_MAGIC): Likewise.
9140 (STACK_END_MAGIC): Likewise.
9141 (TMPFS_MAGIC): Likewise.
9142 (USBDEVICE_SUPER_MAGIC): Likewise.
9143 (V9FS_MAGIC): Likewise.
9144 (XENFS_SUPER_MAGIC): Likewise.
9145 (CRAMFS_MAGIC): Fix typo in comment.
9146 (EXT2_SUPER_MAGIC): Update comment.
9147 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9149 2014-02-08 Joseph Myers <joseph@codesourcery.com>
9151 * sysdeps/arm: Move directory from ports/sysdeps/arm.
9152 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9153 * sysdeps/unix/sysv/linux/arm: Move directory from
9154 ports/sysdeps/unix/sysv/linux/arm.
9155 * README: Update listing for arm-*-linux-gnueabi.
9157 * README: Remove mention of am33.
9159 2014-02-07 Roland McGrath <roland@hack.frob.com>
9161 * bits/sigset.h (__sigemptyset): Use a statement expression rather
9162 than the comma operator, to avoid "rhs of comma has no effect"
9164 (__sigfillset, __sigandset, __sigorset): Likewise.
9165 * include/signal.h (__sigemptyset): Likewise.
9166 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9168 2014-02-07 Allan McRae <allan@archlinux.org>
9170 * version.h (RELEASE): Set to "development".
9171 (VERSION): Set to "2.19.90"
9172 * NEWS: Add 2.20 section.
9174 2014-02-06 Carlos O'Donell <carlos@redhat.com>
9177 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9179 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9181 * manual/contrib.texi: Update entry for Carlos O'Donell,
9182 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9184 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
9186 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9188 * sysdeps/unix/sysv/linux/kernel-features.h
9189 [__LINUX_KERNEL_VERSION >= 0x020621]
9190 (__ASSUME_PROC_PID_TASK_COMM): Define.
9192 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9195 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9196 conversion when destination buffer does not have enough space.
9197 * libio/tst-ftell-partial-wide.c: New test case.
9198 * libio/Makefile (tests): Add tst-ftell-partial-wide.
9200 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9201 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
9202 Leonard and Allan McRae.
9204 2014-02-04 David S. Miller <davem@davemloft.net>
9206 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9209 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9238 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9240 * nptl/shlib-versions: Change powerpc*le start to 2.17.
9241 * shlib-versions: Likewise.
9243 2014-02-04 Roland McGrath <roland@hack.frob.com>
9244 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9246 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9247 (abilist-pattern): New variable, set to %-le.abilist.
9249 * Makerules (abilist-pattern): New variable.
9250 (vpath): Use $(abilist-pattern) in place of %.abilist.
9251 (check-abi-% pattern rule): Likewise.
9252 (check-abi, update-abi): Likewise.
9254 2014-02-04 Eric Wong <normalperson@yhbt.net>
9256 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9258 2014-02-03 Carlos O'Donell <carlos@redhat.com>
9260 * manual/startup.texi: Add next, previous, and top entries for
9261 the `Program Arguments' and `Environment Variables' nodes.
9263 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
9265 * manual/macros.texi: Add comments before MTASC-safety macros.
9267 * manual/users.texi: Document MTASC-safety properties.
9269 * manual/threads.texi (pthread_key_create, pthread_key_delete)
9270 (pthread_getspecific, pthread_setspecific): Format with
9271 @deftypefun, and add @safety note.
9272 * manual/signal.texi: Move comments that analyze the above
9273 functions to their home place.
9275 2014-02-03 Allan McRae <allan@archlinux.org>
9277 * po/sl.po: Update Slovenian translation from translation project.
9279 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
9281 * manual/time.texi (timegm): Add missing blank after @c.
9282 Reported by Joseph Myers <joseph@codesourcery.com>.
9284 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
9286 * manual/check-safety.sh: New.
9287 * manual/Makefile ($(objpfx)stamp-summary): Run it.
9289 * manual/terminal.texi: Document MTASC-safety properties.
9291 * manual/filesys.texi: Document MTASC-safety properties.
9293 * manual/errno.texi: Document MTASC-safety properties.
9295 * manual/intro.texi: Document safety identifiers and
9298 * manual/string.texi (wcstok): Fix prototype.
9299 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9301 * manual/time.texi: Document MTASC-safety properties.
9303 * manual/string.texi: Document MTASC-safety properties.
9305 * manual/threads.texi: Document MTASC-safety properties.
9307 * manual/stdio.texi: Document MTASC-safety properties.
9309 * manual/syslog.texi: Document MTASC-safety properties.
9311 * manual/sysinfo.texi: Document MTASC-safety properties.
9313 * manual/startup.texi: Document MTASC-safety properties.
9315 * manual/socket.texi: Document MTASC-safety properties.
9317 * manual/signal.texi: Document MTASC-safety properties.
9319 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
9321 * manual/setjmp.texi: Document MTASC-safety properties.
9323 * manual/search.texi: Document MTASC-safety properties.
9325 * manual/resource.texi: Document MTASC-safety properties.
9327 * manual/process.texi: Document MTASC-safety properties.
9329 * manual/platform.texi: Document MTASC-safety properties.
9331 * manual/pipe.texi: Document MTASC-safety properties.
9333 * manual/pattern.texi: Document MTASC-safety properties.
9335 * manual/message.texi: Document MTASC-safety properties.
9338 * manual/memory.texi: Document MTASC-safety properties.
9340 * manual/math.texi: Document MTASC-safety properties.
9342 * manual/locale.texi: Document MTASC-safety properties.
9344 * manual/llio.texi: Document MTASC-safety properties.
9346 * manual/libdl.texi: New.
9348 * manual/lang.texi: Document MTASC-safety properties.
9350 * manual/job.texi: Document MTASC-safety properties.
9352 * manual/getopt.texi: Document MTASC-safety properties.
9354 * manual/ctype.texi: Document MTASC-safety properties.
9356 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
9359 * csu/libc-tls.c (static_map): Remove variable.
9360 (__libc_setup_tls): Use main executable's link map for TLS data.
9361 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9362 casing for LM_ID_BASE and GL(dl_nns).
9363 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9364 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
9365 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9366 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9367 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9369 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9372 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
9374 * manual/debug.texi: Document MTASC-safety properties.
9376 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
9379 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9380 of __x86_64__ when disabling x87 inline functions.
9382 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
9384 * manual/charset.texi: Document MTASC-safety properties.
9386 * manual/crypt.texi: Document MTASC-safety properties.
9388 * manual/conf.texi: Document MTASC-safety properties.
9390 * manual/arith.texi: Document MTASC-safety properties.
9392 * manual/argp.texi: Document MTASC-safety properties.
9394 * manual/macros.texi: Introduce macros to document multi
9395 thread, asynchronous signal and asynchronous cancellation
9397 * manual/intro.texi: Introduce the properties themselves.
9399 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9401 * sysdeps/sh/sh4/Makefile: New file.
9403 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
9405 * math/gen-libm-test.pl ($srcdir): New variable.
9406 ($auto_input): Use it.
9408 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9411 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9412 access beyond array bounds when parsing netgroups file.
9414 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9415 the old buffer before realloc.
9417 2014-01-27 Allan McRae <allan@archlinux.org>
9419 * po/fr.po: Update French translation from translation project.
9421 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9423 * sysdeps/sh/libm-test-ulps: Regenerate.
9425 2014-01-24 David S. Miller <davem@davemloft.net>
9427 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9429 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9431 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9432 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9434 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9437 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9438 string pointers after reallocation.
9440 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9442 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9443 __SH4A__ instead of __SH_FPU_ANY__.
9445 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9447 * sysdeps/sh/fpu_control.h: New file.
9448 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9449 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9450 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9451 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9452 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9453 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9454 * sysdeps/sh/sys/ucontext.h: Remove.
9455 * sysdeps/sh/sys: Remove directory.
9457 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9459 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9460 s390/sys/ucontext.h.
9461 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9462 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9464 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
9467 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9469 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9472 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9473 Adjust the vDSO correctly for internal calls.
9474 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9476 2014-01-20 Allan McRae <allan@archlinux.org>
9478 * po/ca.po: Update Catalan translation from translation project.
9480 2014-01-16 Mike Frysinger <vapier@gentoo.org>
9482 * sysdeps/s390/sotruss-lib.c: New file.
9484 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9487 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
9488 (__GI___gettimeofday): Alias for a different internal symbol to avoid
9489 local calls issues by not having a PLT stub required for IFUNC calls.
9490 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9492 2014-01-16 Joseph Myers <joseph@codesourcery.com>
9494 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9495 * math/test-fpucw-static.c: Likewise.
9497 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9500 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9502 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9504 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9505 implementation for powerpc.
9507 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
9510 * sysdeps/posix/system.c (__libc_system): Do not enable
9511 asynchronous cancellation.
9513 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9516 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9517 handling only for numbers special also in the IEEE case.
9519 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9521 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9523 2014-01-11 Allan McRae <allan@archlinux.org>
9525 * po/bg.po: Update Bulgarian translation from translation project.
9527 * po/de.po: Update German translation from translation project.
9529 2014-01-10 Roland McGrath <roland@hack.frob.com>
9531 * sysdeps/generic/gcc-compat.h: New file.
9533 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9535 * benchtests/asin-inputs: Correct slow inputs.
9536 * benchtests/acos-inputs: Likewise.
9538 2014-01-10 Allan McRae <allan@archlinux.org>
9540 * po:sv.po: Update Swedish translation from translation project.
9542 * po/vi.po: Update Vietnamese translation from translation project.
9544 * po/eo.po: Update Esperanto translation from translation project.
9546 * po/cs.po: Update Czech translation from translation project.
9548 * po/nl.po: Update Dutch translation from translation project.
9550 * po/pl.po: Update Polish translation from translation project.
9552 * po/ru.po: Update Russian translation from translation project.
9554 * po/uk.po: Update Ukrainian translation from translation project.
9556 2014-01-08 Brooks Moses <bmoses@google.com>
9558 * elf/dl-load.c: Fix comment typo.
9560 2014-01-08 Carlos O'Donell <carlos@redhat.com>
9562 * po/header.pot: Rename to...
9563 * po/pot.header: ... this.
9564 * po/Makefile: Use pot.header.
9566 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
9567 Maxim Kuvyrkov <maxim@kugelworks.com>
9570 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9571 SRC and DEST against LEN.
9573 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9576 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9578 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9580 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9582 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9584 2014-01-08 Joseph Myers <joseph@codesourcery.com>
9587 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9588 for large positive arguments.
9590 2014-01-07 Joseph Myers <joseph@codesourcery.com>
9592 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9594 * math/auto-libm-test-in: Mark various tests with
9595 xfail-rounding:ldbl-128ibm.
9596 * math/auto-libm-test-out: Regenerated.
9599 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9600 Increase overflow threshold.
9602 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
9605 * stdio-common/vfprintf.c: Check for integer overflow.
9607 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9609 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9610 the first argument and return value of __tls_get_addr_internal.
9612 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9614 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9615 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9617 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9619 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9620 * sysdeps/s390/rtld-global-offsets.sym: New file.
9621 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9623 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9624 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9625 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9627 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9628 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9634 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9635 halfs of GPRs for high_gprs contexts.
9636 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9637 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
9639 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9641 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9643 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9644 for high GPRs (uc_high_gprs) and for future extensions
9646 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9647 for future extensions (__reserved).
9648 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9650 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9651 SC_HIGHGPRS offset definition.
9652 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9653 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9655 * Versions.def: Add GLIBC_2.19 for libpthread.
9656 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9657 siglongjmp for libpthread with GLIBC_2.19 symver.
9658 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9659 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9660 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9661 * sysdeps/s390/__longjmp.c: New file.
9662 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9663 * sysdeps/s390/longjmp.c: New file.
9664 * sysdeps/s390/setjmp.S: New file.
9665 * sysdeps/s390/sigjmp.S: New file.
9666 * sysdeps/s390/v1-longjmp.c: New file.
9667 * sysdeps/s390/v1-setjmp.h: New file.
9668 * sysdeps/s390/v1-sigjmp.c: New file.
9669 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9670 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9672 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9673 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9674 versioned symbols for ____longjmp_chk.
9675 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9685 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9686 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9687 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9688 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9689 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9690 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9691 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9692 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9693 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9694 * sysdeps/s390/rtld-__longjmp.c: New file.
9695 * sysdeps/s390/rtld-setjmp.S: New file.
9697 2014-01-06 Joseph Myers <joseph@codesourcery.com>
9700 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9701 Return -__logl (x) for small positive arguments without evaluating
9704 2014-01-06 Mike Frysinger <vapier@gentoo.org>
9706 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9708 (__ptrace_peeksiginfo_args): ... this.
9709 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9710 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9711 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9713 2014-01-06 Allan McRae <allan@archlinux.org>
9715 * inet/netinet/in.h: Fix typo in comment.
9717 2014-01-05 Andreas Jaeger <aj@suse.de>
9719 * sysdeps/i386/fpu/libm-test-ulps: Update.
9721 2014-01-05 Allan McRae <allan@archlinux.org>
9723 * po/libc.pot: Regenerated.
9725 * malloc/memusagestat.c: Fix gettext call formatting.
9727 2014-01-04 Sami Kerola <kerolasa@iki.fi>
9729 * nscd/nscd.c: Improve usage() output.
9731 2014-01-04 Mike Frysinger <vapier@gentoo.org>
9733 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9734 * sysdeps/unix/sysv/linux/configure: Regenerated.
9735 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9736 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9738 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9741 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9742 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9744 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9746 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9747 extra tokens at end of #undef directive.
9748 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9749 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9750 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9752 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9754 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9756 * math/auto-libm-test-in: Mark various tests with
9757 xfail-rounding:ldbl-128ibm.
9758 * math/auto-libm-test-out: Regenerated.
9760 2014-01-02 Joseph Myers <joseph@codesourcery.com>
9763 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9764 numbers with subnormal high part when calculating exponent.
9767 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9771 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9773 (__ieee754_acoshl): Use __log1pl not __log1p.
9775 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
9777 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9778 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9779 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9780 (grow_heap, heap_trim, _int_new_arena, get_free_list)
9781 (reused_arena, arena_get2): Convert to GNU style.
9782 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9783 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9784 (memalign_check, __malloc_set_state): Likewise.
9785 * malloc/mallocbug.c (main): Likewise.
9786 * malloc/malloc.c (__malloc_assert, malloc_init_state)
9787 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9788 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9789 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9790 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9791 (__posix_memalign, malloc_info): Likewise.
9792 * malloc/malloc.h: Likewise.
9793 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9794 (mallochook, memalignhook, reallochook, mabort): Likewise.
9795 * malloc/mcheck.h: Likewise.
9796 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9797 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
9798 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9799 * malloc/morecore.c (__default_morecore): Likewise.
9800 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
9801 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9802 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9803 (print_and_abort): Likewise.
9804 * malloc/obstack.h: Likewise.
9805 * malloc/set-freeres.c (__libc_freeres): Likewise.
9806 * malloc/tst-mallocstate.c (main): Likewise.
9807 * malloc/tst-mtrace.c (main): Likewise.
9808 * malloc/tst-realloc.c (do_test): Likewise.
9810 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9813 * nscd/netgroupcache.c (do_notfound): New function.
9814 (addgetnetgrentX): Use it.
9817 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9818 NSS_STATUS_NOTFOUND.
9820 2014-01-01 Joseph Myers <joseph@codesourcery.com>
9822 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9825 2014-01-01 Allan McRae <allan@archlinux.org>
9827 * scripts/update-copyrights: Update configure input file suffix.
9829 * NEWS: Update copyright year.
9830 * catgets/gencat.c: Likewise.
9831 * csu/version.c: Likewise.
9832 * debug/catchsegv.sh: Likewise.
9833 * debug/pcprofiledump.c: Likewise.
9834 * debug/xtrace.sh: Likewise.
9835 * elf/ldconfig.c: Likewise.
9836 * elf/ldd.bash.in: Likewise.
9837 * elf/pldd.c: Likewise.
9838 * elf/sotruss.ksh: Likewise.
9839 * elf/sprof.c: Likewise.
9840 * iconv/iconv_prog.c: Likewise.
9841 * iconv/iconvconfig.c: Likewise.
9842 * locale/programs/locale.c: Likewise.
9843 * locale/programs/localedef.c: Likewise.
9844 * login/programs/pt_chown.c: Likewise.
9845 * malloc/memusage.sh: Likewise.
9846 * malloc/memusagestat.c: Likewise.
9847 * malloc/mtrace.pl: Likewise.
9848 * manual/libc.texinfo: Likewise.
9849 * nscd/nscd.c: Likewise.
9850 * nss/getent.c: Likewise.
9851 * nss/makedb.c: Likewise.
9852 * posix/getconf.c: Likewise.
9853 * scripts/test-installation.pl: Likewise.
9855 * All files with FSF copyright notices: Update copyright dates
9856 using scripts/update-copyrights.
9857 * intl/plural.c: Regenerated.
9858 * locale/programs/charmap-kw.h: Likewise.
9859 * locale/programs/locfile-kw.h: Likewise.
9861 2013-12-31 Mike Frysinger <vapier@gentoo.org>
9863 * sysdeps/unix/sysv/linux/configure: Regenerated.
9864 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
9865 the linux/fanotify.h header.
9866 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
9867 HAVE_LINUX_FANOTIFY_H is defined.
9869 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9871 * benchtests/cos-inputs: New inputs.
9872 * benchtests/sin-inputs: Likewise.
9874 * benchtests/atan-inputs: New inputs. Fix name of multiple
9875 precision fallback inputs.
9877 * benchtests/atanh-inputs: New inputs.
9878 * benchtests/tanh-inputs: Likewise.
9880 * benchtests/acosh-inputs: New inputs.
9881 * benchtests/asinh-inputs: Likewise.
9883 * benchtests/cosh-inputs: New inputs.
9884 * benchtests/sinh-inputs: Likewise.
9886 * benchtests/acos-inputs: Add more inputs.
9887 * benchtests/asin-inputs: Likewise.
9889 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
9892 * manual/arith.texi: Fix spelling.
9893 * manual/charset.texi: Likewise.
9894 * manual/errno.texi: Likewise.
9895 * manual/filesys.texi: Likewise.
9896 * manual/lang.texi: Likewise.
9897 * manual/llio.texi: Likewise.
9898 * manual/locale.texi: Likewise.
9899 * manual/message.texi: Likewise.
9900 * manual/resource.texi: Likewise.
9901 * manual/search.texi: Likewise.
9902 * manual/setjmp.texi: Likewise.
9903 * manual/stdio.texi: Likewise.
9904 * manual/string.texi: Likewise.
9905 * manual/sysinfo.texi: Likewise.
9906 * manual/time.texi: Likewise.
9908 2013-12-27 Carlos O'Donell <carlos@redhat.com>
9910 * po/sl.po: New file.
9912 2013-12-27 Mike Frysinger <vapier@gentoo.org>
9914 * .gitignore: Add core/.gdbinit/.gdb_history.
9916 2013-12-27 Allan McRae <allan@archlinux.org>
9919 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
9920 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
9922 2013-12-24 Brooks Moses <bmoses@google.com>
9924 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
9925 all compilers that claim C++98 compliance, not just GCC.
9926 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9929 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9931 * NEWS: Restore accidentally deleted bug-fix entries.
9933 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9934 Ondřej Bílka <neleai@seznam.cz>
9937 * malloc/malloc.c (_int_free): Perform sanity check only if we
9940 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
9943 * manual/stdio.texi (String Input Conversions): Clarify that character
9944 classes are not supported.
9946 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9950 2013-12-22 Joseph Myers <joseph@codesourcery.com>
9953 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9954 Calculate results for small negative arguments directly rather
9955 than using reflection formula with special underflow handling.
9957 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
9958 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
9959 sysdeps/unix/bsd/bsd4.4/syscalls.list.
9960 (fchflags): Likewise.
9962 (setlogin): Likewise.
9963 (sigaltstack): Likewise.
9966 (sigsetmask): Likewise.
9968 (waitpid): Likewise.
9969 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
9970 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
9972 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
9973 * sysdeps/unix/bsd/Makefile: ... here.
9974 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
9975 * sysdeps/unix/bsd/Versions: ... here.
9976 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
9977 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
9978 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
9979 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
9980 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
9981 * sysdeps/unix/bsd/sigblock.c: ... here.
9982 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
9983 * sysdeps/unix/bsd/sigsetmask.c: ... here.
9984 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
9985 * sysdeps/unix/bsd/sigvec.c: ... here.
9986 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
9987 * sysdeps/unix/bsd/tcdrain.c: ... here.
9988 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
9989 * sysdeps/unix/bsd/tcgetattr.c: ... here.
9990 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
9991 * sysdeps/unix/bsd/tcsetattr.c: ... here.
9992 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
9993 * sysdeps/unix/bsd/wait.c: ... here.
9994 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
9995 * sysdeps/unix/bsd/wait3.c: ... here.
9996 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9997 * sysdeps/unix/bsd/waitpid.c: ... here.
9999 2013-12-21 Joseph Myers <joseph@codesourcery.com>
10002 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10003 round-to-nearest for [!USE_AS_EXPM1L].
10004 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10005 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
10006 more tests of exp and exp10. Expect some exp10 tests to miss
10007 exceptions or fail in directed rounding modes.
10008 * math/auto-libm-test-out: Regenerated.
10009 * math/libm-test.inc (exp10_tonearest_test_data): New array.
10010 (exp10_test_tonearest): New function.
10011 (exp10_towardzero_test_data): New array.
10012 (exp10_test_towardzero): New function.
10013 (exp10_downward_test_data): New array.
10014 (exp10_test_downward): New function.
10015 (exp10_upward_test_data): New array.
10016 (exp10_test_upward): New function.
10017 (main): Call the new functions.
10018 * sysdeps/i386/fpu/libm-test-ulps: Update.
10019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10021 2013-12-20 Joseph Myers <joseph@codesourcery.com>
10023 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10024 asinh, atan, atan2, atanh, cbrt, cos and cosh.
10025 * math/auto-libm-test-out: Regenerated.
10026 * math/libm-test.inc (acosh_test_data): Add more tests.
10027 (atanh_test_data): Likewise.
10028 (ceil_test_data): Likewise.
10029 (copysign_test_data): Likewise.
10030 * sysdeps/i386/fpu/libm-test-ulps: Update.
10031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10033 * timezone/checktab.awk: Update from tzcode 2013i.
10034 * timezone/private.h: Likewise.
10035 * timezone/scheck.c: Likewise.
10036 * timezone/tzfile.h: Likewise.
10037 * timezone/tzselect.ksh: Likewise.
10038 * timezone/zdump.c: Likewise.
10039 * timezone/zic.c: Likewise.
10041 * math/auto-libm-test-in: Add tests of cpow.
10042 * math/auto-libm-test-out: Regenerated.
10043 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10044 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10046 (func_calc_desc): Add mpc_cc_c union field.
10047 (test_functions): Add cpow.
10048 (special_fill_2pi): New function.
10049 (special_real_inputs): Add 2pi.
10050 (calc_generic_results): Handle mpc_cc_c.
10051 * sysdeps/i386/fpu/libm-test-ulps: Update.
10052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10054 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10055 csqrt, ctan and ctanh.
10056 * math/auto-libm-test-out: Regenerated.
10057 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10058 (TEST_COND_x86): Likewise.
10059 (ccos_test_data): Use AUTO_TESTS_c_c.
10060 (ccosh_test_data): Likewise.
10061 (cexp_test_data): Likewise.
10062 (clog_test_data): Likewise.
10063 (csqrt_test_data): Likewise.
10064 (ctan_test_data): Likewise.
10065 (ctan_tonearest_test_data): Likewise.
10066 (ctan_towardzero_test_data): Likewise.
10067 (ctan_downward_test_data): Likewise.
10068 (ctan_upward_test_data): Likewise.
10069 (ctanh_test_data): Likewise.
10070 (ctanh_tonearest_test_data): Likewise.
10071 (ctanh_towardzero_test_data): Likewise.
10072 (ctanh_downward_test_data): Likewise.
10073 (ctanh_upward_test_data): Likewise.
10074 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10076 (func_calc_desc): Add mpc_c_c union field.
10077 (FUNC_mpc_c_c): New macro.
10078 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10079 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10081 (special_fill_min_subnorm_p120): New function.
10082 (special_real_inputs): Add min_subnorm_p120.
10083 (calc_generic_results): Handle mpc_c_c.
10084 * sysdeps/i386/fpu/libm-test-ulps: Update.
10085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10087 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10089 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10090 (do_sin_slow): New functions.
10091 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10092 (cslow2, csloww1, csloww2): Use the new functions.
10094 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10095 Use M to change sign of result instead of X. Assume X is
10097 (csloww1): Likewise.
10101 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10102 arguments A and DA.
10106 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10108 (sloww1): Don't adjust sign of DX.
10109 (csloww1): Likewise.
10110 (sloww2): Use X directly and don't adjust sign of DX.
10111 (csloww2): Likewise.
10113 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10115 * math/auto-libm-test-in: Add tests of cabs and carg.
10116 * math/auto-libm-test-out: Regenerated.
10117 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10118 (carg_test_data): Likewise.
10119 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10121 (func_calc_desc): Add mpc_c_f union field.
10122 (test_functions): Add cabs and carg.
10123 (calc_generic_results): Handle mpc_c_f.
10125 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10126 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10127 as a macro and a compat symbol.
10128 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10129 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10130 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10131 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10132 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10133 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10135 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10137 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10139 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10141 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10143 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10145 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10146 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10149 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10153 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10155 * manual/texinfo.tex: Update to version 2013-11-26.10 with
10156 trailing whitespace removed.
10157 * scripts/config.guess: Update to version 2013-11-29.
10158 * scripts/config.sub: Update to version 2013-10-01.
10160 * math/auto-libm-test-in: Add tests of sincos.
10161 * math/auto-libm-test-out: Regenerated.
10162 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10163 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10165 (func_calc_desc): Add mpfr_f_11 union field.
10166 (test_functions): Add sincos.
10167 (calc_generic_results): Handle mpfr_f_11.
10168 * sysdeps/i386/fpu/libm-test-ulps: Update.
10169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10171 2013-12-19 Andreas Schwab <schwab@suse.de>
10173 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10175 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10176 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10177 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10179 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10181 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10182 * sysdeps/i386/fpu/libm-test-ulps: Update.
10183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10186 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10187 round-to-nearest mode when using frndint.
10188 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10189 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10190 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10192 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
10194 * math/auto-libm-test-out: Regenerated.
10195 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10196 (TEST_COND_x86): Likewise.
10197 (expm1_tonearest_test_data): New array.
10198 (expm1_test_tonearest): New function.
10199 (expm1_towardzero_test_data): New array.
10200 (expm1_test_towardzero): New function.
10201 (expm1_downward_test_data): New array.
10202 (expm1_test_downward): New function.
10203 (expm1_upward_test_data): New array.
10204 (expm1_test_upward): New function.
10205 (main): Run the new test functions.
10206 * sysdeps/i386/fpu/libm-test-ulps: Update.
10207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10209 * include/features.h: Update comment documenting feature test
10210 macros. Mention _DEFAULT_SOURCE in comment.
10211 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10212 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10213 _BSD_SOURCE and _SVID_SOURCE.
10214 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10215 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10216 !_SVID_SOURCE]: Likewise.
10217 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10218 (__USE_POSIX_IMPLICITLY): Define.
10219 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10220 (_POSIX_SOURCE): Undefine and redefine.
10221 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10222 (_POSIX_C_SOURCE): Likewise.
10223 * manual/creature.texi (_DEFAULT_SOURCE): Document.
10224 (Feature Test Macros): Update documentation of default features.
10226 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10228 * benchtests/Makefile: Add bench-strtok.
10229 * benchtests/bench-strtok.c: New file: strtok benchtest.
10231 2013-12-19 Allan McRae <allan@archlinux.org>
10233 * manual/install.texi: Suppress menu for plain text output.
10234 * INSTALL: Regenerated.
10236 2013-12-18 Brooks Moses <bmoses@google.com>
10239 * misc/getauxval.c: Include errno.h.
10240 (__getauxval): Set errno to ENOENT if the requested type is not
10242 * misc/sys/auxv.h (getauxval): Document that it may set errno;
10243 don't declare with __attribute_const__.
10244 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10245 * manual/startup.texi: Document that getauxval sets errno.
10247 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10249 * math/auto-libm-test-in: Add tests of jn and yn.
10250 * math/auto-libm-test-out: Regenerated.
10251 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10252 (yn_test_data): Likewise.
10253 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10255 (func_calc_desc): Add mpfr_if_f union field.
10256 (FUNC_mpfr_if_f): New macro.
10257 (test_functions): Add jn and yn.
10258 (calc_generic_results): Assert type of second input for
10259 mpfr_ff_f. Handle mpfr_if_f.
10260 (output_for_one_input_case): Disable all checking for arguments
10261 fitting floating-point types in case of an integer argument.
10262 * sysdeps/i386/fpu/libm-test-ulps: Update.
10263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10266 Don't expect fegetround reference in libm.so.
10268 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10270 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10271 $(config-cflags-nofma).
10273 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10275 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10276 * math/auto-libm-test-out: Regenerated.
10279 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10280 to determine exponent and adjust argument to have exponent of -1.
10281 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10283 * math/auto-libm-test-out: Regenerated.
10284 * sysdeps/i386/fpu/libm-test-ulps: Update.
10285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10287 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
10289 * manual/probes.texi: Remove cases when per-thread arenas are
10292 2013-12-18 Andreas Schwab <schwab@suse.de>
10294 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10295 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10296 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10297 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10298 * sysdeps/i386/i686/multiarch/Makefile: Update.
10299 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10301 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10303 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10304 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10306 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
10309 Support TZ transition times < 00:00:00.
10310 This is needed for version-3 tz-format files; it supports time
10311 stamps past 2037 for America/Godthab (the only entry in the tz
10312 database for which this change is relevant).
10313 * manual/time.texi (TZ Variable): Document transition times
10314 from -167:59:59 through -00:00:01.
10315 * time/tzset.c (tz_rule): Time of day is now signed.
10316 (__tzset_parse_tz): Parse negative time of day.
10318 Document TZ transition times >= 25:00:00.
10319 * manual/time.texi (TZ Variable): Document transition times from
10320 25:00:00 through 167:59:59. These are already supported, and this
10321 support will help with version-3 tz-format files.
10323 * manual/time.texi (TZ Variable): Modernize North America example
10324 to reflect current (i.e., 2007-and-later) daylight saving rules.
10326 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10328 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10330 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10331 * sysdeps/unix/bsd/bits/stat.h: Likewise.
10332 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10333 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10334 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10335 * sysdeps/unix/bsd/bsdstat.h: Likewise.
10336 * sysdeps/unix/bsd/clock.c: Likewise.
10337 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10338 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10339 * sysdeps/unix/bsd/init-posix.c: Likewise.
10340 * sysdeps/unix/bsd/poll.c: Likewise.
10341 * sysdeps/unix/bsd/ptsname.c: Likewise.
10342 * sysdeps/unix/bsd/seekdir.c: Likewise.
10343 * sysdeps/unix/bsd/setegid.c: Likewise.
10344 * sysdeps/unix/bsd/seteuid.c: Likewise.
10345 * sysdeps/unix/bsd/setgid.c: Likewise.
10346 * sysdeps/unix/bsd/setrgid.c: Likewise.
10347 * sysdeps/unix/bsd/setruid.c: Likewise.
10348 * sysdeps/unix/bsd/setsid.c: Likewise.
10349 * sysdeps/unix/bsd/setuid.c: Likewise.
10350 * sysdeps/unix/bsd/sigaction.c: Likewise.
10351 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10352 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10353 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10354 * sysdeps/unix/bsd/telldir.c: Likewise.
10355 * sysdeps/unix/bsd/times.c: Likewise.
10356 * sysdeps/unix/bsd/usleep.c: Likewise.
10358 * misc/Makefile (install-lib): Remove libbsd-compat.a.
10359 ($(objpfx)libbsd-compat.a): Remove rule.
10361 * include/features.h (__FAVOR_BSD): Do not define.
10362 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10363 features conflicting with POSIX.
10364 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10365 (_BSD_SOURCE): Remove description of not being a subset of other
10366 feature test macros.
10367 * manual/job.texi (getpgrp): Do not document BSD version.
10368 (getpgid): Do not document by reference to BSD getpgrp.
10369 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10370 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10371 * signal/signal.h [__FAVOR_BSD]: Likewise.
10372 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10373 instead of making contents conditional on [__FAVOR_BSD].
10374 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10376 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10380 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10383 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10384 values below 2**-450, not 2**-500.
10385 * math/auto-libm-test-in: Don't allow spurious underflow from
10387 * math/auto-libm-test-out: Regenerated.
10391 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10392 values of ha and hb and sort them after adjusting subnormal
10394 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10396 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10397 values of ea and eb and sort them after adjusting subnormal
10399 * math/auto-libm-test-in: Do not expect some hypot tests of
10400 subnormals to fail. Add more hypot tests.
10401 * math/auto-libm-test-out: Regenerated.
10403 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10406 * sysdeps/sh/s_fma.c: New file.
10407 * sysdeps/sh/s_fmaf.c: New file.
10408 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
10410 * sysdeps/sh/Implies: Add sh/soft-fp.
10412 2013-12-16 Roland McGrath <roland@hack.frob.com>
10414 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
10415 level of indirection to members `objname', `errstring', `malloced'.
10416 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10417 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
10418 it as the __longjmp argument (just pass 1 instead).
10419 (_dl_catch_error): Initialize C with argument pointers and address of
10420 volatile local ERRCODE rather than copying values out of C at return.
10422 2013-12-16 Joseph Myers <joseph@codesourcery.com>
10424 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10425 * math/auto-libm-test-out: Regenerated.
10426 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10427 (hypot_test_data): Likewise.
10428 (pow_test_data): Likewise.
10429 (pow_tonearest_test_data): Likewise.
10430 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10432 (func_calc_desc): Add mpfr_ff_f union field.
10433 (FUNC_mpfr_ff_f): New macro.
10434 (test_functions): Add atan2, hypot and pow.
10435 (special_fill_min): New function.
10436 (special_fill_minus_min): Likewise.
10437 (special_fill_min_subnorm): Likewise.
10438 (special_fill_minus_min_subnorm): Likewise.
10439 (special_real_inputs): Add min, -min, min_subnorm and
10441 (calc_generic_results): Handle mpfr_ff_f.
10442 * sysdeps/i386/fpu/libm-test-ulps: Update.
10443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10445 2013-12-16 Will Newton <will.newton@linaro.org>
10447 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10448 (Aligned Memory Blocks): Add documentation for aligned_alloc
10449 and suggest it as an alternative to posix_memalign.
10450 (Hooks for Malloc): Document __memalign_hook is also called
10451 for aligned_alloc. (Summary of Malloc): Add summary for
10452 aligned alloc. Document __memalign_hook is also called
10455 2013-12-16 Will Newton <will.newton@linaro.org>
10457 * manual/memory.texi (Malloc Examples): Clarify default
10458 alignment documentation. Suggest posix_memalign rather
10459 than memalign or valloc.
10460 (Aligned Memory Blocks): Remove suggestion to use memalign
10461 or valloc. Remove obsolete comment about BSD.
10462 Document memalign errno values and mark the function obsolete.
10463 Document posix_memalign returned error codes. Mark valloc
10464 as obsolete. (Hooks for Malloc): __memalign_hook is also
10465 called for posix_memalign and valloc.
10466 (Summary of Malloc): Add posix_memalign to function summary.
10467 __memalign_hook is also called for posix_memalign and valloc.
10469 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10471 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10475 (sloww): Use mynumber union. Expand ternary operator into
10476 if-else statements.
10477 (cslow): use mynumber union.
10479 2013-12-16 Allan McRae <allan@archlinux.org>
10481 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10482 * configure: Regenerated.
10484 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10487 * configure.ac: Added --enable-maintainer-mode. Check for
10488 autoconf when enabled.
10489 * configure: Regenerated.
10491 * nscd/nscd.service: New file.
10492 * nscd/nscd.tmpfiles: New file.
10494 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
10497 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10498 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10499 * sysdeps/x86_64/multiarch/strstr.c: ... here.
10500 (strstr): Add __strstr_sse2_unaligned ifunc.
10501 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10502 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10503 (strcasestr): Remove __strcasestr_sse42 ifunc.
10504 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10505 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10506 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10508 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10510 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10511 * sysdeps/sh/bits/fenv.h: ... here.
10512 * sysdeps/sh/sh4/fpu/bits: Remove directory.
10514 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10516 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10518 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10519 hypotf multiarch implementations.
10520 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10521 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10522 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10523 multiarch hypot for PPC64.
10524 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10525 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10526 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10527 multiarch hypotf for PPC64.
10529 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10530 modff multiarch implementations.
10531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10534 multiarch modf for PPC64.
10535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10538 multiarch modff for PPC64.
10540 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10541 and logl multiarch implementations.
10542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10545 multiarch logb for PPC64.
10546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10549 multiarch logb for PPC64.
10550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10553 multiarch logb for PPC64.
10555 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10556 isinff multiarch implementation.
10557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10561 multiarch isinf for PPC64.
10562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10565 multiarch isinff for PPC64.
10567 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10568 finitef multiarch implementation.
10569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10573 multiarch finite for PPC64.
10574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10577 multiarch finitef for PPC64.
10579 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10580 lrint multiarch implementation.
10581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10585 multiarch llrint for PPC64.
10586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10587 multiarch lrint for PPC64.
10589 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10590 copysignf multiarch implementation.
10591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10596 multiarch copysign for PPC64.
10597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10598 multiarch copysignf for PPC64.
10600 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10601 multiarch implementation.
10602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10610 multiarch llround for PPC64.
10611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10612 multiarch trunc for PPC64.
10613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10614 multiarch truncf for PPC64.
10616 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10617 multiarch implementation.
10618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10626 multiarch llround for PPC64.
10627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10628 multiarch round for PPC64.
10629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10630 multiarch roundf for PPC64.
10632 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10633 multiarch implementation.
10634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10642 multiarch llround for PPC64.
10643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10644 multiarch floor for PPC64.
10645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10646 multiarch floorf for PPC64.
10648 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10649 multiarch implementation.
10650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10658 multiarch llround for PPC64.
10659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10660 multiarch ceil for PPC64.
10661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10662 multiarch ceilf for PPC64.
10664 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10665 multiarch implementation.
10666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10673 multiarch llround for PPC64.
10674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10675 multiarch lround for PPC64.
10677 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10678 multiarch implementation.
10679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10686 multiarch isnan for PPC64.
10687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10688 multiarch isnanf for PPC64.
10690 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10691 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10692 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10693 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10694 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10697 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10698 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10699 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10700 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10702 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10703 multiarch implementations.
10704 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10705 (__libc_ifunc_impl_list): Likewise.
10706 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10707 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10708 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10709 multiarch stpcpy for PPC64.
10711 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10712 multiarch implementations.
10713 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10714 (__libc_ifunc_impl_list): Likewise.
10715 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10716 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10717 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10718 multiarch strcpy for PPC64.
10720 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10721 redefine function name.
10722 (_wordcopy_fwd_dest_aligned): Likewise.
10723 (_wordcopy_bwd_aligned): Likewise.
10724 (_wordcopy_bwd_dest_aligned): Likewise.
10725 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10726 multiarch implementations.
10727 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10728 (__libc_ifunc_impl_list): Likewise.
10729 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10730 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10731 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10732 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10733 multiarch wcscpy for PPC64.
10735 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10736 multiarch implementations.
10737 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10738 (__libc_ifunc_impl_list): Likewise.
10739 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10740 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10741 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10742 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10743 multiarch wcscpy for PPC64.
10745 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10746 multiarch implementations.
10747 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10748 (__libc_ifunc_impl_list): Likewise.
10749 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10750 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10751 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10752 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10753 multiarch wcsrchr for PPC64.
10755 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10756 multiarch implementations.
10757 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10758 (__libc_ifunc_impl_list): Likewise.
10759 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10760 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10761 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10762 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10763 multiarch wcschr for PPC64.
10765 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10766 multiarch implementations.
10767 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10768 (__libc_ifunc_impl_list): Likewise.
10769 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10770 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10771 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10772 multiarch strchrnul for PPC64.
10774 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10776 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10777 (__libc_ifunc_impl_list): Likewise.
10778 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10779 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10780 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10781 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10784 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10786 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10787 (__libc_ifunc_impl_list): Likewise.
10788 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10789 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10790 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10791 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10794 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10795 multiarch implementations.
10796 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10797 (__libc_ifunc_impl_list): Likewise.
10798 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10799 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10800 strncasecmp for PPC64.
10801 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10802 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10803 multiarch strncasecmp_l for PPC64.
10805 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10806 multiarch implementations.
10807 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10808 (__libc_ifunc_impl_list): Likewise.
10809 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10810 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10811 multiarch strcasecmp for PPC64.
10812 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10814 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10815 multiarch strcasecmp_l for PPC64.
10817 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10819 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10820 (__libc_ifunc_impl_list): Likewise.
10821 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
10822 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
10823 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
10826 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
10828 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10829 (__libc_ifunc_impl_list): Likewise.
10830 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
10831 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
10832 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10835 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
10837 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10838 (__libc_ifunc_impl_list): Likewise.
10839 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
10840 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
10841 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
10842 rawmemrchr for PPC64.
10844 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
10846 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10847 (__libc_ifunc_impl_list): Likewise.
10848 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
10849 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
10850 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
10853 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
10855 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10856 (__libc_ifunc_impl_list): Likewise.
10857 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
10858 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
10859 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
10862 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
10864 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10865 (__libc_ifunc_impl_list): Likewise.
10866 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
10867 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
10868 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
10871 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
10872 avoid cretion of __bzero symbol.
10873 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
10875 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
10877 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
10879 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
10880 multiarch implementations.
10881 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10882 (__libc_ifunc_impl_list): Likewise.
10883 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
10884 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
10885 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
10886 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
10888 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
10889 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
10890 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
10891 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
10892 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
10894 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
10896 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
10897 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
10899 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10900 (__libc_ifunc_impl_list): Likewise.
10901 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
10902 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
10903 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
10904 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
10907 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
10908 multiarch for POWER/PPC64.
10909 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10910 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
10911 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
10912 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
10913 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
10914 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
10915 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
10916 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
10917 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
10920 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
10921 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
10922 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
10923 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
10924 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
10925 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
10926 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
10927 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
10928 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
10929 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
10930 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
10931 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
10932 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
10933 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
10934 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
10935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
10936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
10937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
10938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
10939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
10940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
10941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
10943 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10945 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
10947 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10949 * benchtests/Makefile (bench): Add exp2 and log2.
10950 (LDLIBS-bench-exp2): Add -lm.
10951 (LDLIBS-bench-log2): Likewise.
10952 * benchtests/exp2-inputs: New inputs file.
10953 * benchtests/log2-inputs: New inputs file.
10954 * benchtests/log-inputs: Add new inputs.
10955 * benchtests/tan-inputs: Likewise.
10957 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10959 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
10961 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
10962 (csloww2): ... from here.
10964 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
10965 instead of structures.
10966 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
10967 (POLYNOMIAL): Likewise.
10968 (TAYLOR_SLOW): Likewise.
10974 (sloww1); Likewise.
10975 (sloww2): Likewise.
10976 (bsloww1): Likewise.
10977 (bsloww2): Likewise.
10978 (cslow2): Likewise.
10979 (csloww): Likewise.
10980 (csloww1): Likewise.
10981 (csloww2): Likewise.
10983 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
10985 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
10986 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
10987 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
10988 * malloc/hooks.c (realloc_check): Likewise.
10990 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
10991 * malloc/arena.c: Remove PER_THREAD conditional.
10992 [!PER_THREAD]: Remove code.
10993 (ptmalloc_unlock_all2): Likewise.
10994 (ptmalloc_init): Likewise.
10995 (_int_new_arena): Likewise.
10996 (arena_get2): Likewise.
10997 * malloc/hooks.c (__malloc_get_state): Likewise.
10998 (__malloc_set_state): Likewise.
10999 * malloc/malloc.c: Likewise.
11000 (struct malloc_state): Likewise.
11001 (struct malloc_par): Likewise.
11002 (__libc_realloc): Likewise.
11003 (__libc_mallopt): Likewise.
11005 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11007 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11009 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
11011 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11012 macro to a function. Check for zero perturb_byte.
11013 (_int_malloc, _int_free): Remove zero perturb_byte checks.
11015 * malloc/malloc.c: (force_reg): Remove.
11016 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11017 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11018 force_reg by atomic_forced_read.
11019 * malloc/arena.c (ptmalloc_init): Likewise.
11020 * malloc/hooks.c (top_check): Likewise.
11022 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11026 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
11028 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11030 2013-12-08 Joseph Myers <joseph@codesourcery.com>
11032 * math/auto-libm-test-in: Add tests of lgamma.
11033 * math/auto-libm-test-out: Regenerated.
11034 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11035 (M_LOG_2_SQRT_PIl): Likewise.
11036 (lgamma_test_data): Use AUTO_TESTS_f_f1.
11037 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11039 (func_calc_desc): Add mpfr_f_f1 union field.
11040 (ARGS1): New macro.
11048 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11049 (test_functions): Add lgamma.
11050 (calc_generic_results): Handle mpfr_f_f1.
11051 * sysdeps/i386/fpu/libm-test-ulps: Update.
11052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11054 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11056 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11057 __mpn_add_n for PowerPC64/POWER7.
11058 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11059 __mpn_sub_n for PowerPC64/POWER7.
11061 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11062 __mpn_addmul_1 for PowerPC64.
11063 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11064 __mpn_submul_1 for PowerPC64.
11065 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11067 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11070 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
11073 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11075 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11077 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11079 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11080 add multiarch folders.
11081 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11082 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11083 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11084 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11085 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11086 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11087 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11088 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11089 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11090 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11091 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11100 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11106 multiarch __ieee754_hypot for PowerPC32.
11107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11112 multiarch __ieee754_hypotf for PowerPC32.
11114 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11115 long_double_symbol only if __logbl is defined.
11116 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11117 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11118 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11119 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11120 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11121 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11122 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11123 path for implementation.
11124 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11125 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11127 logb, and logbl multiarch implementations for PowerPC32.
11128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11133 multiarch logb for PowerPC32.
11134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11139 multiarch logbf for PowerPC32.
11140 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11144 multiarch logbl implementation for PowerPC32.
11146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11147 and modff multiarch implementations.
11148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11153 multiarch modf for PowerPC32.
11154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11159 multiarch modff for PowerPC32.
11161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11162 and lrintf multiarch implementations.
11163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11168 multiarch lrint for PowerPC32.
11169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11170 file: multiarch lrintf for PowerPC32.
11172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11173 and lroundf multiarch implementations.
11174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11181 multiarch lround for PowerPC32.
11182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11183 file: multiarch lroundf for PowerPC32.
11185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11186 copysign and copysignf multiarch implementations.
11187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11192 file: multiarch copysign for PowerPC32.
11193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11194 file: multiarch copysignf for PowerPC32.
11196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11197 and truncf multiarch implementations.
11198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11203 multiarch trunc for PowerPC32.
11204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11209 multiarch truncf for PowerPC32.
11211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11212 and roundf multiarch implementations.
11213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11218 multiarch round for PowerPC32.
11219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11224 multiarch roundf for PowerPC32.
11226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11227 and floorf multiarch implementations.
11228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11233 multiarch floor for PowerPC32.
11234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11239 multiarch floorf for PowerPC32.
11241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11242 and ceilf multiarch implementations.
11243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11248 multiarch ceil for PowerPC32.
11249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11254 multiarch ceilf for PowerPC32.
11256 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11258 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11259 FINITEF is defined.
11260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11261 and finitef multiarch implementations.
11262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11267 multiarch finite for PowerPC32.
11268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11271 file: multiarch finitef for PowerPC32.
11273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11274 and isinff multiarch implementations.
11275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11280 multiarch isinf for PowerPC32.
11281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11284 multiarch isinff for PowerPC32.
11286 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11287 alias when __isnan is defined.
11288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11289 and isnanf multiarch implementations.
11290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11299 multiarch isnan for PowerPC32.
11300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11305 multiarch isnanf for PowerPC32.
11307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11308 and sqrtf multiarch implementations.
11309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11314 multiarch sqrt for PowerPC32.
11315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11320 multiarch sqrtf for PowerPC32.
11322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11323 and llroundf multiarch implementations.
11324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11331 file: multiarch llround for PowerPC32.
11332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11333 file: multiarch llroundf for PowerPC32.
11335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11336 multiarch PowerPC32 fpu implementations.
11337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11342 multiarch llrint for PowerPC32.
11343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11352 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11354 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11356 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11358 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11359 multiarch wordcopy for PPC32.
11360 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11362 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11363 (__libc_ifunc_impl_list): Likewise.
11364 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11365 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11366 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11367 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11368 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11369 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11371 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11372 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11374 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11376 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11378 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11379 multiarch wcscpy for PPC32.
11380 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11382 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11383 (__libc_ifunc_impl_list): Likewise.
11384 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11385 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11386 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11387 sysdeps/powerpc/power6/wcscpy.c.
11389 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11390 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11392 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11394 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11396 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11397 multiarch wcsrchr for PPC32.
11398 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11400 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11401 (__libc_ifunc_impl_list): Likewise.
11402 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11403 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11404 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11405 sysdeps/powerpc/power6/wcsrchr.c.
11407 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11409 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11411 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11412 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11413 multiarch wcschr for PPc32.
11414 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11416 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11417 (__libc_ifunc_impl_list): Likewise.
11418 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11419 * sysdeps/powerpc/power6/wcschr.c: ... to here.
11420 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11421 sysdeps/powerpc/power6/wcschr.c.
11423 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11424 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11426 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11427 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11428 file: multiarch strchr for PPC32.
11429 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11431 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11432 (__libc_ifunc_impl_list): Likewise.
11434 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11436 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11438 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11440 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11441 multiarch strchrnul for PPC32.
11442 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11444 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11445 (__libc_ifunc_impl_list): Likewise.
11447 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11449 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11450 multiarch strncasecmp for PPC32.
11451 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11453 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11454 multiarch strncasecmp_l for PPC32.
11455 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11456 strncasecmp multiarch objects.
11457 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11458 (__libc_ifunc_impl_list): Likewise.
11460 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11462 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11463 multiarch strncasecmp for PPC32.
11464 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11466 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11467 multiarch strcasecmp_l for PPC32.
11468 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11470 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11471 (__libc_ifunc_impl_list): Likewise.
11473 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11475 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11477 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11478 multiarch strncmp for PPC32.
11479 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11481 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11482 (__libc_ifunc_impl_list): Likewise.
11484 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11485 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11487 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11488 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11489 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11491 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11492 (__libc_ifunc_impl_list): Likewise.
11494 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11496 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11498 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11499 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11501 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11502 (__libc_ifunc_impl_list): Likewise.
11504 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11506 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11508 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11509 multiarch rawmemchr for PPC32.
11510 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11512 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11513 (__libc_ifunc_impl_list): Likewise.
11515 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11517 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11519 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11520 file: memrchr multiarch for PPC32.
11521 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11523 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11524 (__libc_ifunc_impl_list): Likewise.
11526 * string/memchr.c (__memchr): Using macro to redefine symbol name.
11527 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11529 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11530 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11531 multiarch memchr for PPC32.
11532 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11534 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11535 (__libc_ifunc_impl_list): Likewise.
11537 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11538 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11540 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11542 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11543 file: multiarch mempcpy for PPC32.
11544 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11546 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11547 (__libc_ifunc_impl_list): Likewise.
11549 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11550 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11551 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11552 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11553 multiarch bzero for PPC32.
11554 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11556 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11558 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11559 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11560 file: multiarch memset for PPC32.
11561 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11562 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11563 memset multiarch objects.
11564 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11565 (__libc_ifunc_impl_list): Likewise.
11567 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11569 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11570 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11572 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11573 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11575 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11576 (__libc_ifunc_impl_list): Likewise.
11578 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11579 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11580 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11582 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11584 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11586 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11587 multiarch memcpy for PPC32.
11588 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11590 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11591 (__libc_ifunc_impl_list): Likewise.
11593 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11594 support multiarch for POWER/PPC32.
11595 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11597 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11599 Implies file to make multiarch folder appers before the fpu and
11600 default folder for power4 configuration.
11602 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11604 * scripts/bench.pl: Append volatile keyword to type.
11606 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11608 * sysdeps/sh/sotruss-lib.c: New file.
11609 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11611 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11615 2013-12-05 Joseph Myers <joseph@codesourcery.com>
11618 * math/w_tgamma.c: Include <errno.h>.
11619 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
11620 * math/w_tgammaf.c: Include <errno.h>.
11621 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
11622 * math/w_tgammal.c: Include <errno.h>.
11623 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
11624 * math/auto-libm-test-in: Do not allow missing errno on tgamma
11625 underflow. Add more tgamma tests.
11626 * math/auto-libm-test-out: Regenerated.
11627 * sysdeps/i386/fpu/libm-test-ulps: Update.
11628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11630 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11631 sin, sinh, tan, tanh, tgamma, y0 and y1.
11632 * math/auto-libm-test-out: Regenerated.
11633 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11634 (TEST_COND_x86): Likewise.
11635 (M_E2l): Remove macro.
11637 (M_2_SQRT_PIl): Likewise.
11638 (M_SQRT_PIl): Likewise.
11639 (M_1_DIV_El): Likewise.
11640 (log_test_data): Use AUTO_TESTS_f_f.
11641 (log10_test_data): Likewise.
11642 (log1p_test_data): Likewise.
11643 (log2_test_data): Likewise.
11644 (sin_test_data): Likewise.
11645 (sin_tonearest_test_data): Likewise.
11646 (sin_towardzero_test_data): Likewise.
11647 (sin_downward_test_data): Likewise.
11648 (sin_upward_test_data): Likewise.
11649 (sinh_test_data): Likewise.
11650 (sinh_tonearest_test_data): Likewise.
11651 (sinh_towardzero_test_data): Likewise.
11652 (sinh_downward_test_data): Likewise.
11653 (sinh_upward_test_data): Likewise.
11654 (tan_test_data): Likewise.
11655 (tan_tonearest_test_data): Likewise.
11656 (tan_towardzero_test_data): Likewise.
11657 (tan_downward_test_data): Likewise.
11658 (tan_upward_test_data): Likewise.
11659 (tanh_test_data): Likewise.
11660 (tgamma_test_data): Likewise.
11661 (y0_test_data): Likewise.
11662 (y1_test_data): Likewise.
11663 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11664 (special_real_inputs): Add pi/4.
11665 * sysdeps/i386/fpu/libm-test-ulps: Update.
11666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11668 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11670 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11671 "longjmp_target" static probes.
11672 (__longjmp): Rename to __longjmp_symbol.
11673 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11674 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11675 on which longjmp to generate.
11676 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11677 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11679 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11680 (__sigjmp_save): Rename to __sigjmp_save_symbol.
11681 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11682 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11683 and __sigjmp_save_symbol based on which sigsetjmp to generated.
11684 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11686 __longjmp_symbol based on which __longjmp to generate.
11687 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11689 (setjmp): Rename to setjmp_symbol.
11690 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11691 (_setjmp): Rename to _setjmp_symbol.
11692 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11693 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11694 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11695 which setjmp to generate.
11696 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11697 "longjmp_target" static probes.
11699 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11701 * benchtests/README: Add note about output arguments.
11702 * benchtests/bench-sincos.c: Remove file.
11703 * benchtests/sincos-inputs: New file.
11704 * scripts/bench.pl: Identify output arguments and define
11705 static variables for them.
11707 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11710 * Makefile (INSTALL): Add install-plain.texi as the primary
11712 * manual/install-plain.texi: New file.
11713 * manual/install.texi: Include node directive only for
11714 non-plaintext output.
11716 2013-12-04 Joseph Myers <joseph@codesourcery.com>
11718 * stdlib/longlong.h: Update from GCC.
11722 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11723 * math/w_j0f.c (y0f): Likewise.
11724 * math/w_j0l.c (__y0l): Likewise.
11725 * math/w_j1.c (y1): Likewise.
11726 * math/w_j1f.c (y1f): Likewise.
11727 * math/w_j1l.c (__y1l): Likewise
11728 * math/w_jn.c (yn): Likewise.
11729 * math/w_jnf.c (ynf): Likewise.
11730 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11731 Bessel function pole errors in _POSIX_ mode. Use NAN as return
11732 value for Bessel function domain errors outside _SVID_ mode.
11733 Adjust sign of return value for yn (negative integer, 0).
11734 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11735 by zero in return for negative x and set sign appropriately for
11737 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11738 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11739 * math/libm-test.inc (y0_test_data): Add more tests and adjust
11740 expectations in error cases.
11741 (y1_test_data): Likewise.
11742 (yn_test_data): Likewise.
11743 * sysdeps/i386/fpu/libm-test-ulps: Update.
11744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11746 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11748 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11749 "64" to "64-v1". Add "64-v2".
11750 (abi-64-options): Rename to ...
11751 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
11752 (abi-64-condition): Rename to ...
11753 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
11754 (abi-64-ld-soname): Rename to ...
11755 (abi-64-v1-ld-soname): ... this.
11756 (abi-64-v2-options): Define.
11757 (abi-64-v2-condition): Likewise.
11758 (abi-64-v2-ld-soname): Likewise.
11759 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11760 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11765 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11766 Alan Modra <amodra@gmail.com>
11768 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11769 New versions for use with the ELFv2 ABI.
11770 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11771 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11773 (struct La_ppc64v2_retval): Likewise.
11774 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11775 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11776 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11777 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11778 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11779 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11780 Do not save or restore CR.
11781 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11782 (_dl_profile_resolve): Do no save or restore CR. Support extended
11783 return values for ELFv2 ABI. Fix location of FPR return registers.
11784 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11785 updated values for _CALL_ELF == 2.
11786 (La_regs, La_retval, int_retval): Likewise.
11788 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11790 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11791 (FRAME_MIN_SIZE_PARM): Likewise.
11792 (FRAME_BACKCHAIN): Likewise.
11793 (FRAME_CR_SAVE): Likewise.
11794 (FRAME_LR_SAVE): Likewise.
11795 (FRAME_TOC_SAVE): Likewise.
11796 (FRAME_PARM_SAVE): Likewise.
11797 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11798 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11799 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11800 (call_mcount_parm_offset): New macro.
11801 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11802 (PROF): Use symbolic stack frame offsets.
11803 (TAIL_CALL_SYSCALL_ERROR): Likewise.
11804 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11805 Redefine in terms of FRAME_MIN_SIZE.
11806 (_dl_runtime_resolve): Use symbolic stack frame offsets.
11807 (_dl_profile_resolve): Likewise. Update comment.
11808 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11809 symbols stack frame offsets.
11810 (__sigsetjmp): Likewise.
11811 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11812 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11813 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11814 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11817 (FRAME_BACKCHAIN): Remove.
11818 (FRAME_CR_SAVE): Likewise.
11819 (FRAME_LR_SAVE): Likewise.
11820 (FRAME_COMPILER_DW): Likewise.
11821 (FRAME_LINKER_DW): Likewise.
11822 (FRAME_TOC_SAVE): Likewise.
11823 (FRAME_PARM_SAVE): Likewise.
11824 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
11825 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
11826 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
11828 (CHECK_SP): Use symbolic stack frame offsets.
11829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
11830 zone" instead of caller's parameter save area for temp storage.
11831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11832 Likewise. Also, use symbolic stack frame offsets.
11833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
11834 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
11835 our own stack frame instead of the caller's.
11836 (__socket): Use symbolic stack frame offsets.
11838 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11839 Alan Modra <amodra@gmail.com>
11841 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
11843 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
11844 (PPC64_LOCAL_ENTRY_OFFSET): Define.
11845 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
11847 (elf_machine_fixup_plt): Call it.
11848 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
11850 (elf_machine_rela): Update call to elf_machine_plt_conflict.
11851 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11852 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
11853 r2 before calling target.
11855 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11856 Alan Modra <amodra@gmail.com>
11858 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
11859 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
11860 versions of macros to support ELFv2 ABI.
11861 (LOCALENTRY): New macro.
11862 (ENTRY, EALIGN): Use it.
11863 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
11864 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
11865 fall through into ENTRY entry point.
11866 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
11867 Only define if _CALL_ELF != 2.
11869 (elf_machine_matches_host): Verify ABI version matches.
11870 (RTLD_START): Use LOCALENTRY.
11871 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
11872 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
11873 (PLT_ENTRY_WORDS): New macro.
11874 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
11875 (elf_machine_runtime_setup): Support ELFv2 ABI.
11876 (elf_machine_fixup_plt): Likewise.
11877 (elf_machine_plt_conflict): Likewise.
11878 (resolve_ifunc): Likewise.
11879 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11880 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
11883 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
11884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11885 (makecontext): Support ELFv2 ABI.
11886 * elf/elf.h (EF_PPC64_ABI): Define.
11888 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11890 * sysdeps/powerpc/powerpc64/sysdep.h
11891 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
11892 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
11893 (ENTRY) [ASSEMBLER]: ... but instead here ...
11894 (EALIGN) [ASSEMBLER]: ... and here.
11895 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
11896 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
11897 (ENTRY_2) [!ASSEMBLER]: Use it.
11898 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
11899 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
11900 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11901 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
11902 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
11903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
11904 Use PPC64_LOAD_FUNCPTR.
11906 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
11908 2013-12-04 Alan Modra <amodra@gmail.com>
11910 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
11911 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
11912 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
11913 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
11915 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
11916 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
11917 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
11918 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
11919 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
11920 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
11922 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11925 (__makecontext): Fix incorrect CFI when backtracing out of
11926 context created via makecontext.
11927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
11928 (__setcontext): Fix incorrect CFI during switch to new context.
11929 (__novec_setcontext): Likewise.
11931 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11934 * time/strptime_l.c (__strptime_internal): Allow modifiers
11936 * time/tst-strptime.c (day_tests): Add testcase.
11938 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11940 * scripts/bench.pl: Skip over blank lines.
11942 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
11945 * manual/time.texi (Calendar Time): Clarify what timezone functions
11948 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11952 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11954 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
11956 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11957 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11958 * debug/memset_chk.c (__memset_chk): Likewise.
11959 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
11960 * debug/strncpy_chk.c: Likewise.
11962 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11966 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
11967 (__ieee754_exp): For possibly underflowing results, check size of
11968 result and force underflow exception if required.
11969 * math/auto-libm-test-in: Add more tests of exp.
11970 * math/auto-libm-test-out: Regenerated.
11971 * sysdeps/i386/fpu/libm-test-ulps: Update.
11972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11975 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
11976 * math/w_exp2f.c (__exp2f): Likewise.
11977 * math/w_exp2l.c (__exp2l): Likewise.
11978 * math/auto-libm-test-in: Do not allow missing errno on exp2
11980 * math/auto-libm-test-out: Regenerated.
11982 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
11985 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
11986 handle filename validation.
11987 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
11990 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11993 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
11994 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
11995 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11997 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11998 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11999 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12000 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12001 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12002 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12003 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12004 * math/auto-libm-test-in: Don't allow missing errno from erfc.
12005 Add more erfc tests.
12006 * math/auto-libm-test-out: Regenerated.
12007 * sysdeps/i386/fpu/libm-test-ulps: Update.
12008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12010 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12011 exp2, expm1, j0 and j1.
12012 * math/auto-libm-test-out: Regenerated.
12013 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12014 (erfc_test_data): Likewise.
12015 (exp_test_data): Likewise.
12016 (exp_tonearest_test_data): Likewise.
12017 (exp_towardzero_test_data): Likewise.
12018 (exp_downward_test_data): Likewise.
12019 (exp_upward_test_data): Likewise.
12020 (exp10_test_data): Likewise.
12021 (exp2_test_data): Likewise.
12022 (expm1_test_data): Likewise.
12023 (j0_test_data): Likewise.
12024 (j1_test_data): Likewise.
12025 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12026 (input_flag_type): Add flag_xfail_rounding.
12027 (input_flags): Add xfail-rounding.
12028 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12029 (output_for_one_input_case): Handle flag_xfail_rounding.
12030 * sysdeps/i386/fpu/libm-test-ulps: Update.
12031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12033 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
12036 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12039 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12042 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12043 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12044 (STAP_PROBE0): New macro.
12045 (STAP_PROBE1): Likewise.
12046 (STAP_PROBE2): Likewise.
12047 (STAP_PROBE3): Likewise.
12048 (STAP_PROBE4): Likewise.
12050 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
12052 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12054 2013-12-02 Steve Ellcey <sellcey@mips.com>
12056 * benchtests/Makefile (bench): Add sqrt.
12057 (LDLIBS-bench-sqrt): New.
12058 * benchtests/sqrt-input: New.
12060 2013-12-02 Pavel Simerda <psimerda@redhat.com>
12062 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12063 (GAIH_EAI): Likewise.
12064 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12065 (gaih_inet): Likewise.
12066 (getaddrinfo): Don't use GAIH_EAI.
12068 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12069 (struct gaih): Remove definition.
12071 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12073 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12074 Use HERRNOP directly.
12076 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12080 2013-11-30 Joseph Myers <joseph@codesourcery.com>
12082 * math/gen-auto-libm-tests.c (test_functions): Add more
12083 single-argument functions.
12084 (special_fill_pi_2): New function.
12085 (special_fill_minus_pi_2): Likewise.
12086 (special_fill_pi_6): Likewise.
12087 (special_fill_minus_pi_6): Likewise.
12088 (special_fill_pi_3): Likewise.
12089 (special_fill_2pi_3): Likewise.
12090 (special_fill_e): Likewise.
12091 (special_fill_1_e): Likewise.
12092 (special_fill_e_minus_1): Likewise.
12093 (special_real_inputs): Add more special inputs.
12094 (output_for_one_input_case): Do not require ERANGE on underflow to
12095 zero if round-to-nearest result does not underflow to zero, unless
12096 exact results required.
12097 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12098 atan, atanh, cbrt, cos and cosh.
12099 * math/auto-libm-test-out: Regenerated.
12100 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12101 (acos_tonearest_test_data): Likewise.
12102 (acos_towardzero_test_data): Likewise.
12103 (acos_downward_test_data): Likewise.
12104 (acos_upward_test_data): Likewise.
12105 (acosh_test_data): Likewise.
12106 (asin_test_data): Likewise.
12107 (asin_tonearest_test_data): Likewise.
12108 (asin_towardzero_test_data): Likewise.
12109 (asin_upward_test_data): Likewise.
12110 (asinh_test_data): Likewise.
12111 (atan_test_data): Likewise.
12112 (atanh_test_data): Likewise.
12113 (cbrt_test_data): Likewise.
12114 (cos_test_data): Likewise.
12115 (cos_tonearest_test_data): Likewise.
12116 (cos_towardzero_test_data): Likewise.
12117 (cos_downward_test_data): Likewise.
12118 (cos_upward_test_data): Likewise.
12119 (cosh_test_data): Likewise.
12120 (cosh_tonearest_test_data): Likewise.
12121 (cosh_towardzero_test_data): Likewise.
12122 (cosh_downward_test_data): Likewise.
12123 (cosh_upward_test_data): Likewise.
12124 * sysdeps/i386/fpu/libm-test-ulps: Update.
12125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12127 2013-11-29 Joseph Myers <joseph@codesourcery.com>
12130 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12131 * math/w_exp10f.c (__exp10f): Likewise.
12132 * math/w_exp10l.c (__exp10l): Likewise.
12133 * math/libm-test.inc (exp10_test_data): Add more tests and expect
12134 errno settings in existing tests.
12137 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12138 precision control set to double precision.
12139 * sysdeps/i386/fpu/w_sqrt.c: New file.
12140 * math/auto-libm-test-in: Add more tests.
12141 * math/auto-libm-test-out: Update.
12143 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12144 (sqrt_test_tonearest): New function.
12145 (sqrt_towardzero_test_data): New variable.
12146 (sqrt_test_towardzero): New function.
12147 (sqrt_downward_test_data): New variable.
12148 (sqrt_test_downward): New function.
12149 (sqrt_upward_test_data): New variable.
12150 (sqrt_test_upward): New function.
12151 (main): Call the new functions.
12153 * math/gen-auto-libm-tests.c: New file.
12154 * math/auto-libm-test-in: Likewise.
12155 * math/auto-libm-test-out: New generated file.
12156 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12158 (%beautify): Add generated representations of zero.
12159 (top level): Set $auto_input and call parse_auto_input.
12160 (beautify): Remove trailing "f" from hex float constants.
12161 (parse_args): Handle XFAIL_TEST.
12162 (convert_condition): New function.
12163 (or_value): Likewise.
12164 (or_cond_value): Likewise.
12165 (generate_testfile): Handle AUTO_TESTS_* lines.
12166 (parse_auto_input): New function.
12167 * math/libm-test.inc (XFAIL_TEST): New macro.
12168 (ERRNO_UNCHANGED): Update value.
12169 (ERRNO_EDOM): Likewise.
12170 (ERRNO_ERANGE): Likewise.
12171 (IGNORE_RESULT): Likewise.
12172 (TEST_COND_flt_32): New macro.
12173 (TEST_COND_dbl_64): Likewise.
12174 (TEST_COND_ldbl_96_intel): Likewise.
12175 (TEST_COND_ldbl_96_m68k): Likewise.
12176 (TEST_COND_ldbl_128): Likewise.
12177 (TEST_COND_ldbl_128ibm): Likewise.
12178 (TEST_COND_long32): Likewise.
12179 (TEST_COND_long64): Likewise.
12180 (TEST_COND_before_rounding): Likewise.
12181 (TEST_COND_after_rounding): Likewise.
12182 (enable_test): Handle XFAIL_TEST flag.
12183 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12184 with finite results.
12185 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12186 auto-libm-test-out.
12188 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12189 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12192 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12193 __tls_get_addr_internal instead of __tls_get_offset in order to
12194 avoid GOT pointer dependency. Make rtld export
12195 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12196 __tls_get_addr since we are a __tls_get_offset platform.
12197 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12198 GOT pointer being set up before.
12199 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12201 2013-11-28 Joseph Myers <joseph@codesourcery.com>
12203 * manual/math.texi (Errors in Math Functions): Document accuracy
12207 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12208 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12209 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12210 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12211 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12212 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12213 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12214 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12215 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12216 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12217 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12218 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12219 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12220 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12221 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12222 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12224 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12225 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12226 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12227 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12228 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12230 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12232 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12234 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12235 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12236 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12237 atomic-feupdateenv and flt-rounds.
12238 * sysdeps/powerpc/nofpu/Versions (libc): Add
12239 __atomic_feholdexcept, __atomic_feclearexcept,
12240 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12241 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12242 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12243 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12244 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12249 * manual/arith.texi (FP Exceptions): Document that exceptions may
12250 not be raised when matherr is used.
12251 (Math Error Reporting): Document overflow in directed rounding
12252 modes. Document that errno may not be set when finite values are
12253 returned on overflow. Document intent to set errno on underflow
12254 only for underflow to zero.
12257 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12258 round-to-nearest then adjust result for other rounding modes.
12259 * include/fenv.h (fegetround): Use libm_hidden_proto.
12260 * math/fegetround.c (fegetround): Use libm_hidden_def.
12261 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12262 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12263 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12264 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12266 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12267 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12268 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12269 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12271 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12274 * nss/Versions (libnss_files): Add
12275 _nss_files_gethostbyname3_r.
12276 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12278 (HOST_DB_LOOKUP): Remove macro.
12279 (_nss_files_gethostbyname_r): Implement function without the
12280 HOST_DB_LOOKUP macro.
12281 (_nss_files_gethostbyname2_r): Likewise.
12283 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
12285 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12287 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
12289 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12290 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12293 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12295 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12296 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12297 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12298 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12299 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12300 __fe_nomask_env_priv and attribute_hidden.
12301 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12302 (libc_feupdateenv_test_ppc): Likewise.
12303 (libc_feresetround_ppc): Likewise.
12304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12305 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12306 compat_symbol macro.
12307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12308 (__fe_nomask_env): Likewise.
12309 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12311 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12313 * string/Makefile: Remove ifunc tests.
12314 * string/test-string.h: Define TEST_IFUNC.
12315 * string/test-bcopy-ifunc.c: Remove.
12316 * string/test-bzero-ifunc.c: Likewise.
12317 * string/test-memccpy-ifunc.c: Likewise.
12318 * string/test-memchr-ifunc.c: Likewise.
12319 * string/test-memcmp-ifunc.c: Likewise.
12320 * string/test-memcpy-ifunc.c: Likewise.
12321 * string/test-memmem-ifunc.c: Likewise.
12322 * string/test-memmove-ifunc.c: Likewise.
12323 * string/test-mempcpy-ifunc.c: Likewise.
12324 * string/test-memrchr-ifunc.c: Likewise.
12325 * string/test-memset-ifunc.c: Likewise.
12326 * string/test-rawmemchr-ifunc.c: Likewise.
12327 * string/test-stpcpy-ifunc.c: Likewise.
12328 * string/test-stpncpy-ifunc.c: Likewise.
12329 * string/test-strcasecmp-ifunc.c: Likewise.
12330 * string/test-strcasestr-ifunc.c: Likewise.
12331 * string/test-strcat-ifunc.c: Likewise.
12332 * string/test-strchr-ifunc.c: Likewise.
12333 * string/test-strchrnul-ifunc.c: Likewise.
12334 * string/test-strcmp-ifunc.c: Likewise.
12335 * string/test-strcpy-ifunc.c: Likewise.
12336 * string/test-strcspn-ifunc.c: Likewise.
12337 * string/test-strlen-ifunc.c: Likewise.
12338 * string/test-strncasecmp-ifunc.c: Likewise.
12339 * string/test-strncat-ifunc.c: Likewise.
12340 * string/test-strncmp-ifunc.c: Likewise.
12341 * string/test-strncpy-ifunc.c: Likewise.
12342 * string/test-strnlen-ifunc.c: Likewise.
12343 * string/test-strpbrk-ifunc.c: Likewise.
12344 * string/test-strrchr-ifunc.c: Likewise.
12345 * string/test-strspn-ifunc.c: Likewise.
12346 * string/test-strstr-ifunc.c: Likewise.
12348 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12350 * benchtests/Makefile: Remove ifunc tests.
12351 * benchtests/bench-string.h: Define TEST_IFUNC.
12352 * benchtests/bench-bcopy-ifunc.c: Remove.
12353 * benchtests/bench-bzero-ifunc.c: Likewise.
12354 * benchtests/bench-memccpy-ifunc.c: Likewise.
12355 * benchtests/bench-memchr-ifunc.c: Likewise.
12356 * benchtests/bench-memcmp-ifunc.c: Likewise.
12357 * benchtests/bench-memcpy-ifunc.c: Likewise.
12358 * benchtests/bench-memmem-ifunc.c: Likewise.
12359 * benchtests/bench-memmove-ifunc.c: Likewise.
12360 * benchtests/bench-mempcpy-ifunc.c: Likewise.
12361 * benchtests/bench-memrchr-ifunc.c: Likewise.
12362 * benchtests/bench-memset-ifunc.c: Likewise.
12363 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12364 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12365 * benchtests/bench-stpcpy-ifunc.c: Likewise.
12366 * benchtests/bench-stpncpy-ifunc.c: Likewise.
12367 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12368 * benchtests/bench-strcasestr-ifunc.c: Likewise.
12369 * benchtests/bench-strcat-ifunc.c: Likewise.
12370 * benchtests/bench-strchr-ifunc.c: Likewise.
12371 * benchtests/bench-strchrnul-ifunc.c: Likewise.
12372 * benchtests/bench-strcmp-ifunc.c: Likewise.
12373 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12374 * benchtests/bench-strcpy-ifunc.c: Likewise.
12375 * benchtests/bench-strcspn-ifunc.c: Likewise.
12376 * benchtests/bench-strlen-ifunc.c: Likewise.
12377 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12378 * benchtests/bench-strncat-ifunc.c: Likewise.
12379 * benchtests/bench-strncmp-ifunc.c: Likewise.
12380 * benchtests/bench-strncpy-ifunc.c: Likewise.
12381 * benchtests/bench-strnlen-ifunc.c: Likewise.
12382 * benchtests/bench-strpbrk-ifunc.c: Likewise.
12383 * benchtests/bench-strrchr-ifunc.c: Likewise.
12384 * benchtests/bench-strsep-ifunc.c: Likewise.
12385 * benchtests/bench-strspn-ifunc.c: Likewise.
12386 * benchtests/bench-strstr-ifunc.c: Likewise.
12388 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12390 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12392 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12394 * resolv/netdb.h: Use __glibc_reserved instead __unused.
12395 * rt/aio.h: Likewise.
12396 * sysdeps/gnu/bits/utmp.h: Likewise.
12397 * sysdeps/gnu/bits/utmpx.h: Likewise.
12398 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12399 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12400 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12401 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12402 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12403 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12404 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12405 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12406 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12407 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12408 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12409 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12410 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12412 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12413 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12414 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12415 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12416 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12417 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12418 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12419 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12420 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12421 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12422 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12423 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12424 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12425 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12426 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12427 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12428 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12429 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12430 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12431 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12432 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12433 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12434 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12435 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12436 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12437 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12438 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12439 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12441 2013-11-25 Carlos O'Donell <carlos@redhat.com>
12444 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12445 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12447 2013-11-25 Joseph Myers <joseph@codesourcery.com>
12449 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12450 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12453 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12455 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12456 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12457 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12458 (__fesetround): Remove define.
12459 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12460 rounding and exceptions handling.
12461 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12462 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12463 (__fe_nomask_env): Likewise.
12464 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12465 __fegetround instead of fegetround.
12466 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12467 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12469 2013-11-21 Roland McGrath <roland@hack.frob.com>
12471 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12474 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12476 2013-11-21 Meador Inge <meadori@codesourcery.com>
12479 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12480 (encrypt_r): Likewise.
12481 * malloc/obstack.h (obstack_free): Likewise.
12482 * posix/unistd.h (encrypt): Likewise.
12484 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
12486 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12487 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12488 DL_CALL_DT_FINI() that call the functions directly.
12489 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12490 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12491 * elf/dl-fini.c: Likewise.
12493 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
12495 * malloc/hooks.c (memalign_check): Add alignment rounding.
12496 * malloc/malloc.c (_mid_memalign): New function.
12497 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12498 Implement by calling _mid_memalign.
12499 * manual/probes.texi (Memory Allocation Probes): Remove
12500 memory_valloc_retry and memory_pvalloc_retry.
12502 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12504 * locale/programs/locarchive.c (open_archive): Add const
12505 qualifier to ARCHIVEFNAME and copy default fname to
12509 * libio/tst-widetext.input: Rename Oriya to Odia.
12510 * locale/iso-639.def: Likewise.
12512 * manual/probes.texi (Mathematical Function Probes): Add
12513 documentation for sin, cos, asin and acos probes.
12514 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12515 (__sin32): Add slowasin probe.
12516 (__cos32): Add slowacos probe.
12517 (__mpsin): Add slowsin probe.
12518 (__mpcos): Add slowcos probe.
12520 2013-11-19 Joseph Myers <joseph@codesourcery.com>
12523 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12524 thread-local __sim_exceptions_thread and global
12525 __sim_exceptions_global.
12526 (__sim_disabled_exceptions): Change to thread-local
12527 __sim_disabled_exceptions_thread and global
12528 __sim_disabled_exceptions_global.
12529 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12530 and global __sim_round_mode_global.
12531 (__simulate_exceptions): Use thread-local floating-point state and
12532 set global state from it as needed.
12533 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12534 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12535 __sim_round_mode_thread.
12536 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12537 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12538 and global __sim_exceptions_global.
12539 (__sim_disabled_exceptions): Change to thread-local
12540 __sim_disabled_exceptions_thread and global
12541 __sim_disabled_exceptions_global.
12542 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12543 and global __sim_round_mode_global.
12544 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12545 (SIM_SET_GLOBAL): Likewise.
12546 * sysdeps/powerpc/soft-fp/sfp-machine.h
12547 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12548 __sim_round_mode_thread.
12549 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12550 __sim_disabled_exceptions_thread.
12551 (__sim_exceptions): Change to __sim_exceptions_thread.
12552 (__sim_disabled_exceptions): Change to
12553 __sim_disabled_exceptions_thread.
12554 (__sim_round_mode): Change to __sim_round_mode_thread.
12555 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12556 thread-local floating-point state and set global state from it as
12558 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12559 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12560 (__sim_disabled_exceptions): Remove extern declaration.
12561 (feenableexcept): Use thread-local floating-point state and set
12562 global state from it as needed.
12563 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12564 extern declaration.
12565 (__sim_disabled_exceptions): Likewise.
12566 (__sim_round_mode): Likewise.
12567 (__fegetenv): Use thread-local floating-point state.
12568 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12569 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12570 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12571 floating-point state and set global state from it as needed.
12572 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12573 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12574 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12576 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12577 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12579 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12580 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12581 Use __sim_round_mode_thread.
12582 * math/test-fenv-tls.c: New file.
12583 * math/Makefile (tests): Add test-fenv-tls.
12584 ($(objpfx)test-fenv-tls): Depend on
12585 $(common-objpfx)nptl/libpthread.so.
12587 2013-11-19 Andreas Schwab <schwab@suse.de>
12589 * locale/programs/locale.c (show_info): Decode wordarray elements.
12590 * locale/categories.def (LC_MONETARY): Add element for
12591 _NL_MONETARY_CRNCYSTR.
12592 * locale/C-monetary.c (conversion_rate): New variable.
12593 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12596 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
12598 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12599 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12601 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12603 * elf/Makefile (tst-auxv): New test.
12604 * elf/tst-auxv.c: New
12605 * elf/rtld.c (dl_main): Adjust AT_EXECFN
12607 2013-11-18 Joseph Myers <joseph@codesourcery.com>
12609 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12610 (hidden_proto): Caller changed.
12611 (hidden_tls_proto): New macro.
12612 (libc_hidden_tls_proto): Likewise.
12613 (rtld_hidden_tls_proto): Likewise.
12614 (libm_hidden_tls_proto): Likewise.
12615 (libresolv_hidden_tls_proto): Likewise.
12616 (librt_hidden_tls_proto): Likewise.
12617 (libdl_hidden_tls_proto): Likewise.
12618 (libnss_files_hidden_tls_proto): Likewise.
12619 (libnsl_hidden_tls_proto): Likewise.
12620 (libnss_nisplus_hidden_tls_proto): Likewise.
12621 (libutil_hidden_tls_proto): Likewise.
12623 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
12626 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12627 (decompose_rpath): Defer expansion to fillin_rpath.
12628 (_dl_init_paths): Pass linkmap to fillin_rpath.
12630 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12632 * benchtests/Makefile: Add strsep.
12633 * benchtests/bench-strsep.c: New file: strsep benchtest.
12634 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12636 2013-11-18 Andreas Schwab <schwab@suse.de>
12638 * locale/programs/locale.c (show_info) [case byte]: Check for
12639 '\377' instead of '\177'.
12640 * locale/C-monetary.c (not_available): Always use "\377".
12641 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12642 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
12643 detect unavailable sign_posn locale elements.
12644 * locale/localeconv.c (__localeconv): For grouping and
12645 mon_grouping handle "\177" and "\377" like no grouping.
12646 (INT_ELEM): New macro. Use it to set all numeric members.
12647 * locale/programs/ld-monetary.c (monetary_read)
12648 <tok_mon_grouping>: Normalize single -1 to the empty string.
12649 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12652 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12655 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12656 when we match (nil).
12657 * stdio-common/tst-sscanf.c (struct test): Add testcase.
12659 2013-11-16 Joseph Myers <joseph@codesourcery.com>
12661 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12662 (NO_TEST_INLINE): Update value.
12663 (ERRNO_UNCHANGED): Likewise.
12664 (ERRNO_EDOM): Likewise.
12665 (ERRNO_ERANGE): Likewise.
12666 (IGNORE_RESULT): Likewise.
12667 (check_float_internal): Check signs of NaN results if
12668 TEST_NAN_SIGN used.
12669 (check_complex): Pass TEST_NAN_SIGN flag through to second
12670 check_float_internal call.
12671 (copysign_test_data): Add tests with quiet NaNs as second
12672 argument. Use TEST_NAN_SIGN.
12673 (fabs_test_data): Add test of negative quiet NaN argument. Use
12675 (signbit_test_data): Add tests of quiet NaN argument.
12676 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12678 * math/gen-libm-test.pl (show_exceptions): Take extra argument
12680 (parse_args): Handle function results specified as IGNORE.
12681 * math/libm-test.inc (IGNORE_RESULT): New macro.
12682 (check_float_internal): Do not check numerical result if flag
12684 (check_complex): Pass through IGNORE_RESULT to second
12685 check_float_internal call.
12686 (check_int): Do not check numerical result if flag IGNORE_RESULT
12688 (check_long): Likewise.
12689 (check_bool): Likewise.
12690 (check_longlong): Likewise.
12691 (lrint_test_data): Add tests of infinite and NaN arguments.
12692 (lrint_tonearest_test_data): Likewise.
12693 (lrint_towardzero_test_data): Likewise.
12694 (lrint_downward_test_data): Likewise.
12695 (lrint_upward_test_data): Likewise.
12696 (llrint_test_data): Likewise.
12697 (llrint_tonearest_test_data): Likewise.
12698 (llrint_towardzero_test_data): Likewise.
12699 (llrint_downward_test_data): Likewise.
12700 (llrint_upward_test_data): Likewise.
12701 (lround_test_data): Likewise.
12702 (llround_test_data): Likewise.
12704 * math/libm-test.inc (NO_TEST_INLINE): New macro.
12705 (ERRNO_UNCHANGED): Update value.
12706 (ERRNO_EDOM): Likewise.
12707 (ERRNO_ERANGE): Likewise.
12708 (NO_TEST_INLINE_FLOAT): New macro.
12709 (NO_TEST_INLINE_DOUBLE): Likewise.
12710 (enable_test): New function.
12711 (RUN_TEST_f_f): Check enable_test before running test.
12712 (RUN_TEST_2_f): Likewise.
12713 (RUN_TEST_fff_f): Likewise.
12714 (RUN_TEST_c_f): Likewise.
12715 (RUN_TEST_f_f1): Likewise.
12716 (RUN_TEST_fF_f1): Likewise.
12717 (RUN_TEST_fI_f1): Likewise.
12718 (RUN_TEST_ffI_f1): Likewise.
12719 (RUN_TEST_c_c): Likewise.
12720 (RUN_TEST_cc_c): Likewise.
12721 (RUN_TEST_f_i): Likewise.
12722 (RUN_TEST_f_i_tg): Likewise.
12723 (RUN_TEST_ff_i_tg): Likewise.
12724 (RUN_TEST_f_b): Likewise.
12725 (RUN_TEST_f_b_tg): Likewise.
12726 (RUN_TEST_f_l): Likewise.
12727 (RUN_TEST_f_L): Likewise.
12728 (RUN_TEST_fFF_11): Likewise.
12729 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12731 (cosh_test_data): Likewise.
12732 (exp_test_data): Likewise.
12733 (expm1_test_data): Likewise.
12734 (hypot_test_data): Likewise.
12735 (pow_test_data): Likewise.
12736 (sinh_test_data): Likewise.
12737 (tanh_test_data): Likewise.
12738 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12741 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12742 tests with quiet NaN input and output.
12743 (acosh_test_data): Likewise.
12744 (asin_test_data): Likewise.
12745 (asinh_test_data): Likewise.
12746 (atan_test_data): Likewise.
12747 (atanh_test_data): Likewise.
12748 (atan2_test_data): Likewise.
12749 (cbrt_test_data): Likewise.
12750 (cos_test_data): Likewise.
12751 (cosh_test_data): Likewise.
12752 (erf_test_data): Likewise.
12753 (erfc_test_data): Likewise.
12754 (exp_test_data): Likewise.
12755 (exp10_test_data): Likewise.
12756 (exp2_test_data): Likewise.
12757 (expm1_test_data): Likewise.
12758 (hypot_test_data): Likewise.
12759 (j0_test_data): Likewise.
12760 (j1_test_data): Likewise.
12761 (jn_test_data): Likewise.
12762 (lgamma_test_data): Likewise.
12763 (log_test_data): Likewise.
12764 (log10_test_data): Likewise.
12765 (log1p_test_data): Likewise.
12766 (log2_test_data): Likewise.
12767 (pow_test_data): Likewise.
12768 (scalb_test_data): Likewise.
12769 (sin_test_data): Likewise.
12770 (sincos_test_data): Likewise.
12771 (sinh_test_data): Likewise.
12772 (tan_test_data): Likewise.
12773 (tanh_test_data): Likewise.
12774 (tgamma_test_data): Likewise.
12775 (y0_test_data): Likewise.
12776 (y1_test_data): Likewise.
12777 (yn_test_data): Likewise.
12780 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12781 argument being NaN and avoid computations with second argument in
12783 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12784 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12785 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12787 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
12789 * locale/iso-639.def: Add Chitwani Tharu (the).
12791 2013-11-14 Andreas Schwab <schwab@suse.de>
12793 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12794 word instead of empty string.
12796 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12799 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12801 (__fe_nomask_env): Likewise.
12803 2013-11-13 Steve Ellcey <sellcey@mips.com>
12805 * benchtests/bench-timing.h: Include time.h.
12807 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
12810 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12812 * sysdeps/unix/sysv/linux/configure: Regenerated.
12814 2013-11-13 Joseph Myers <joseph@codesourcery.com>
12817 * stdlib/strtod_l.c (round_and_return): Do not consider
12818 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12819 exponent one less than half the least subnormal exponent.
12820 * stdlib/test-strtod-round-data: Add more tests.
12821 * stdlib/tst-strtod-round.c (tests): Regenerated.
12823 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12826 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
12827 (__fe_mask_env): Likewise.
12828 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
12829 libm_hidden_proto and add function prototype.
12830 (__fe_mask_env): Add function prototype.
12831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12832 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
12833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12834 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
12835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12836 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
12838 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12840 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
12841 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
12843 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12845 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
12846 of htab_find_slot().
12848 2013-11-11 David S. Miller <davem@davemloft.net>
12851 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
12852 symbol in the non-vis3 case in static builds.
12853 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
12854 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
12855 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
12856 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
12858 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12861 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
12864 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12866 * benchtests/Makefile: Add bench-strtod.
12867 * benchtests/bench-strtod.c: New file: strtod benchtest
12869 2013-11-11 Andreas Schwab <schwab@suse.de>
12872 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
12873 terminating NUL in key length.
12875 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12877 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12878 Add artificial ODP entry for vDSO symbol for PPC64.
12879 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
12880 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12882 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12885 * nss/getent.c (services_keys): Recognize services starting with digit.
12887 2013-11-06 David S. Miller <davem@davemloft.net>
12890 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
12891 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
12893 2013-11-06 Will Newton <will.newton@linaro.org>
12895 * manual/memory.texi (Malloc Examples): Remove register
12896 keyword from examples.
12898 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
12900 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
12902 2013-11-04 Joseph Myers <joseph@codesourcery.com>
12905 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
12906 depending on [__GCC_IEC_559 > 0].
12907 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
12908 depending on [__GCC_IEC_559_COMPLEX > 0].
12910 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
12912 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
12915 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
12917 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
12919 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
12922 * malloc/malloc (malloc_info): Do not handle first bin as
12925 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
12927 * locale/iso-639.def: Add Central Nahuatl (nhn).
12929 2013-11-01 Bruno Haible <bruno@clisp.org>
12932 * manual/math.texi (BSD Random): Specify range upper bound as
12935 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
12937 * locale/iso-639.def: Add Meadow Mari (mhr).
12939 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
12941 [BZ #14752], [BZ #15763]
12942 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
12944 * rt/tst_shm.c: Add test for escaping directory.
12946 2013-10-31 Andreas Schwab <schwab@suse.de>
12949 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
12950 followed by 'x' as part of digit sequence.
12951 * stdio-common/tst-sscanf.c (double_tests2): New tests.
12953 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
12956 * configure.ac: allow GNU Make 4.0 and greater.
12957 * configure: Regenerated.
12959 2013-10-30 Will Newton <will.newton@linaro.org>
12962 * malloc/hooks.c (memalign_check): Limit alignment to the
12963 maximum representable power of two.
12964 * malloc/malloc.c (__libc_memalign): Likewise.
12965 * malloc/tst-memalign.c (do_test): Add test for very
12966 large alignment values.
12967 * malloc/tst-posix_memalign.c (do_test): Likewise.
12969 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12972 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
12973 (munmap_chunk): Likewise.
12974 (mremap_chunk): Likewise.
12976 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12979 * stdlib/div.c (div): Remove obsolete code.
12980 * stdlib/ldiv.c (ldiv): Likewise.
12981 * stdlib/lldiv.c (lldiv): Likewise.
12983 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12986 * nss/nss_files/files-XXX.c (get_contents_ret): New
12988 (get_contents): New function.
12989 (internal_getent): Use it. Expand size of LINEBUFLEN.
12991 2013-10-30 Mike Frysinger <vapier@gentoo.org>
12993 * configure.in: Moved to ...
12994 * configure.ac: ... here. Change reference to configure.in
12996 * sysdeps/arm/preconfigure.ac: ... here.
12997 configure.in to configure.ac.
12998 * sysdeps/gnu/configure.in: Moved to ...
12999 * sysdeps/gnu/configure.ac: ... here.
13000 * sysdeps/i386/configure.in: Moved to ...
13001 * sysdeps/i386/configure.ac: ... here.
13002 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13003 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13004 * sysdeps/mach/configure.in: Moved to ...
13005 * sysdeps/mach/configure.ac: ... here.
13006 * sysdeps/mach/hurd/configure.in: Moved to ...
13007 * sysdeps/mach/hurd/configure.ac: ... here.
13008 * sysdeps/powerpc/configure.in: Moved to ...
13009 * sysdeps/powerpc/configure.ac: ... here.
13010 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13011 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13012 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13013 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13014 * sysdeps/s390/s390-32/configure.in: Moved to ...
13015 * sysdeps/s390/s390-32/configure.ac: ... here.
13016 * sysdeps/s390/s390-64/configure.in: Moved to ...
13017 * sysdeps/s390/s390-64/configure.ac: ... here.
13018 * sysdeps/sh/configure.in: Moved to ...
13019 * sysdeps/sh/configure.ac: ... here.
13020 * sysdeps/sparc/configure.in: Moved to ...
13021 * sysdeps/sparc/configure.ac: ... here.
13022 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13023 * sysdeps/unix/sysv/linux/configure.ac: ... here.
13024 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13025 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13026 * sysdeps/x86_64/configure.in: Moved to ...
13027 * sysdeps/x86_64/configure.ac: ... here.
13028 * sysdeps/x86_64/preconfigure.in: Moved to ...
13029 * sysdeps/x86_64/preconfigure.ac: ... here.
13030 * aclocal.m4: Change reference to configure.in to configure.ac.
13031 * config.h.in: Likewise.
13032 * manual/install.texi: Likewise.
13033 * manual/maint.texi: Likewise.
13034 * Makefile: Likewise.
13035 * malloc/Makefile: Likewise.
13036 * nscd/Makefile: Likewise.
13037 * Makeconfig: Change reference to configure.in and
13038 preconfigure.in to configure.ac and preconfigure.ac
13040 * INSTALL: Regenerated.
13041 * configure: Likewise.
13042 * sysdeps/gnu/configure: Likewise.
13043 * sysdeps/i386/configure: Likewise.
13044 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13045 * sysdeps/mach/configure: Likewise.
13046 * sysdeps/mach/hurd/configure: Likewise.
13047 * sysdeps/powerpc/configure: Likewise.
13048 * sysdeps/powerpc/powerpc32/configure: Likewise.
13049 * sysdeps/powerpc/powerpc64/configure: Likewise.
13050 * sysdeps/s390/s390-32/configure: Likewise.
13051 * sysdeps/s390/s390-64/configure: Likewise.
13052 * sysdeps/sh/configure: Likewise.
13053 * sysdeps/sparc/configure: Likewise.
13054 * sysdeps/unix/sysv/linux/configure: Likewise.
13055 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13056 * sysdeps/x86_64/configure: Likewise.
13057 * sysdeps/x86_64/preconfigure: Likewise.
13059 2013-10-29 Andreas Schwab <schwab@suse.de>
13061 * stdio-common/Makefile (tst-swscanf-ENV): Define.
13063 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13065 * benchtests/pow-inputs: Add new inputs.
13067 * benchtests/exp-inputs: Add new inputs.
13069 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13070 conditional check for return value.
13071 (__cos32): Likewise.
13073 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13075 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13076 to provide a boost for large inputs with word alignment.
13077 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13078 implementation based on optimized PPC64 strcpy.
13079 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13080 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13081 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13082 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13084 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13087 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13089 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13092 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13093 * time/tst-strptime.c (day_tests): Add testcase.
13095 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13098 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13100 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13103 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13104 MAP_FAILED on error.
13106 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13109 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13110 heap for large requests.
13112 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13115 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13116 result if the result has no associated interface.
13117 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13118 interface for all 127.X.Y.Z addresses.
13120 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
13122 * locale/iso-639.def: Add Ligurian (lij)
13124 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
13127 * sunrpc/rpc_main.c: Document rpcgen -5.
13129 2013-10-19 Michael Stahl <mstahl@redhat.com>
13131 * elf/rtld.c (do_preload): Print the reason why preloading failed.
13133 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13136 * posix/glob.c: Match only directories when trailing slash is present.
13137 * posix/tst-gnuglob.c (my_opendir): Do not open files.
13138 (main): Add testcase.
13140 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13143 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13145 2013-10-18 Carlos O'Donell <carlos@redhat.com>
13147 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13148 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13149 AUTH_DES and cindex for FIPS 140-2.
13150 (DES Encryption): Add cindex FIPS 46-3.
13152 * locale/locarchive.h (struct locarhandle): Add fname.
13153 * locale/programs/localedef.c (main): Pass ARGV[remaining]
13154 if an optional argument was specified to --list-archive,
13156 * locale/programs/locarchive.c (show_archive_content): Take new
13157 argument fname and pass it via ah.fname to open_archive.
13158 * locale/programs/localedef.h: Update decl.
13159 (open_archive): If AH->fname is non-null, open that file
13160 rather than the default file name, and don't ignore ENOENT.
13161 (create_archive): Set AH.fname to NULL.
13162 (delete_locales_from_archive): Likewise.
13163 (add_locales_to_archive): Likewise.
13164 * locale/programs/locfile.c (write_all_categories): Likewise.
13166 2013-10-18 Joseph Myers <joseph@codesourcery.com>
13167 Aldy Hernandez <aldyh@redhat.com>
13169 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13170 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13171 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13172 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13173 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13174 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13175 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13176 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13177 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13178 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13179 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13180 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13181 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13182 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13183 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13185 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13187 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13189 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13191 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13192 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13194 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13195 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13196 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13197 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13199 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13200 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13201 * sysdeps/powerpc/preconfigure: Likewise.
13202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13204 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13205 Replace contents of file by #include of <fenv_libc.h>.
13206 * sysdeps/powerpc/soft-fp/sfp-machine.h
13207 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13209 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13210 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13211 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13212 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13213 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13214 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13215 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13216 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13217 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13218 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13219 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13220 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13222 Allow copysignl PLT reference to be missing.
13224 2013-10-18 Richard Sandiford <richard@codesourcery.com>
13225 Joseph Myers <joseph@codesourcery.com
13228 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13230 (add_to_tablewc): Assert sequence of wide characters is nonempty.
13232 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13234 * elf/tst-tls-dlinfo.c: Don't include tls.h.
13235 * elf/tst-tls1.c: Likewise.
13236 * elf/tst-tls10.h: Likewise.
13237 * elf/tst-tls14.c: Likewise.
13238 * elf/tst-tls2.c: Likewise.
13239 * elf/tst-tls3.c: Likewise.
13240 * elf/tst-tls4.c: Likewise.
13241 * elf/tst-tls5.c: Likewise.
13242 * elf/tst-tls6.c: Likewise.
13243 * elf/tst-tls7.c: Likewise.
13244 * elf/tst-tls8.c: Likewise.
13245 * elf/tst-tls9.c: Likewise.
13246 * elf/tst-tlsmod1.c: Likewise.
13247 * elf/tst-tlsmod13.c: Likewise.
13248 * elf/tst-tlsmod13a.c: Likewise.
13249 * elf/tst-tlsmod14a.c: Likewise.
13250 * elf/tst-tlsmod16a.c: Likewise.
13251 * elf/tst-tlsmod16b.c: Likewise.
13252 * elf/tst-tlsmod2.c: Likewise.
13253 * elf/tst-tlsmod3.c: Likewise.
13254 * elf/tst-tlsmod4.c: Likewise.
13255 * elf/tst-tlsmod5.c: Likewise.
13256 * elf/tst-tlsmod6.c: Likewise.
13258 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
13261 * malloc/malloc.c: remove checks for statistics.
13263 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13266 * inet/inet_net.c (inet_network): Detect additional invalid strings.
13267 * inet/tst-network.c: Add testcase.
13269 2013-10-17 Andreas Schwab <schwab@suse.de>
13272 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13273 to determine canonical name.
13275 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13277 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13278 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13279 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13280 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13281 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13282 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13283 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13284 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13285 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13286 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13287 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13288 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13289 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13290 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13291 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13292 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13293 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13294 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13295 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13296 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13297 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13298 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13299 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13300 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13301 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13302 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13303 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13304 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13305 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13306 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13307 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13308 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13309 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13310 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13311 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13312 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13313 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13314 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13315 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13316 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13317 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13318 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13319 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13320 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13321 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13322 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13323 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13324 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13325 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13326 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13327 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13328 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13329 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13330 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13331 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13332 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13333 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13334 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13336 2013-10-17 Joseph Myers <joseph@codesourcery.com>
13339 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13340 make result into a quiet NaN.
13342 2013-10-16 Joseph Myers <joseph@codesourcery.com>
13344 * soft-fp/adddf3.c: Fix horizontal whitespace.
13345 * soft-fp/addsf3.c: Likewise.
13346 * soft-fp/addtf3.c: Likewise.
13347 * soft-fp/divdf3.c: Likewise.
13348 * soft-fp/divsf3.c: Likewise.
13349 * soft-fp/divtf3.c: Likewise.
13350 * soft-fp/double.h: Likewise.
13351 * soft-fp/eqdf2.c: Likewise.
13352 * soft-fp/eqsf2.c: Likewise.
13353 * soft-fp/eqtf2.c: Likewise.
13354 * soft-fp/extenddftf2.c: Likewise.
13355 * soft-fp/extended.h: Likewise.
13356 * soft-fp/extendsfdf2.c: Likewise.
13357 * soft-fp/extendsftf2.c: Likewise.
13358 * soft-fp/extendxftf2.c: Likewise.
13359 * soft-fp/fixdfdi.c: Likewise.
13360 * soft-fp/fixdfsi.c: Likewise.
13361 * soft-fp/fixdfti.c: Likewise.
13362 * soft-fp/fixsfdi.c: Likewise.
13363 * soft-fp/fixsfsi.c: Likewise.
13364 * soft-fp/fixsfti.c: Likewise.
13365 * soft-fp/fixtfdi.c: Likewise.
13366 * soft-fp/fixtfsi.c: Likewise.
13367 * soft-fp/fixtfti.c: Likewise.
13368 * soft-fp/fixunsdfdi.c: Likewise.
13369 * soft-fp/fixunsdfsi.c: Likewise.
13370 * soft-fp/fixunsdfti.c: Likewise.
13371 * soft-fp/fixunssfdi.c: Likewise.
13372 * soft-fp/fixunssfsi.c: Likewise.
13373 * soft-fp/fixunssfti.c: Likewise.
13374 * soft-fp/fixunstfdi.c: Likewise.
13375 * soft-fp/fixunstfsi.c: Likewise.
13376 * soft-fp/fixunstfti.c: Likewise.
13377 * soft-fp/floatdidf.c: Likewise.
13378 * soft-fp/floatdisf.c: Likewise.
13379 * soft-fp/floatditf.c: Likewise.
13380 * soft-fp/floatsidf.c: Likewise.
13381 * soft-fp/floatsisf.c: Likewise.
13382 * soft-fp/floatsitf.c: Likewise.
13383 * soft-fp/floattidf.c: Likewise.
13384 * soft-fp/floattisf.c: Likewise.
13385 * soft-fp/floattitf.c: Likewise.
13386 * soft-fp/floatundidf.c: Likewise.
13387 * soft-fp/floatundisf.c: Likewise.
13388 * soft-fp/floatunditf.c: Likewise.
13389 * soft-fp/floatunsidf.c: Likewise.
13390 * soft-fp/floatunsisf.c: Likewise.
13391 * soft-fp/floatunsitf.c: Likewise.
13392 * soft-fp/floatuntidf.c: Likewise.
13393 * soft-fp/floatuntisf.c: Likewise.
13394 * soft-fp/floatuntitf.c: Likewise.
13395 * soft-fp/fmadf4.c: Likewise.
13396 * soft-fp/fmasf4.c: Likewise.
13397 * soft-fp/fmatf4.c: Likewise.
13398 * soft-fp/gedf2.c: Likewise.
13399 * soft-fp/gesf2.c: Likewise.
13400 * soft-fp/getf2.c: Likewise.
13401 * soft-fp/ledf2.c: Likewise.
13402 * soft-fp/lesf2.c: Likewise.
13403 * soft-fp/letf2.c: Likewise.
13404 * soft-fp/muldf3.c: Likewise.
13405 * soft-fp/mulsf3.c: Likewise.
13406 * soft-fp/multf3.c: Likewise.
13407 * soft-fp/negdf2.c: Likewise.
13408 * soft-fp/negsf2.c: Likewise.
13409 * soft-fp/negtf2.c: Likewise.
13410 * soft-fp/op-1.h: Likewise.
13411 * soft-fp/op-2.h: Likewise.
13412 * soft-fp/op-4.h: Likewise.
13413 * soft-fp/op-8.h: Likewise.
13414 * soft-fp/op-common.h: Likewise.
13415 * soft-fp/quad.h: Likewise.
13416 * soft-fp/single.h: Likewise.
13417 * soft-fp/soft-fp.h: Likewise.
13418 * soft-fp/sqrtdf2.c: Likewise.
13419 * soft-fp/sqrtsf2.c: Likewise.
13420 * soft-fp/sqrttf2.c: Likewise.
13421 * soft-fp/subdf3.c: Likewise.
13422 * soft-fp/subsf3.c: Likewise.
13423 * soft-fp/subtf3.c: Likewise.
13424 * soft-fp/truncdfsf2.c: Likewise.
13425 * soft-fp/trunctfdf2.c: Likewise.
13426 * soft-fp/trunctfsf2.c: Likewise.
13427 * soft-fp/trunctfxf2.c: Likewise.
13428 * soft-fp/unorddf2.c: Likewise.
13429 * soft-fp/unordsf2.c: Likewise.
13430 * soft-fp/unordtf2.c: Likewise.
13432 2013-10-15 Joseph Myers <joseph@codesourcery.com>
13434 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13435 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13437 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
13439 * elf/dl-libc.c: Clear initfini list after freeing.
13441 2013-10-14 Joseph Myers <joseph@codesourcery.com>
13443 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13444 * soft-fp/addsf3.c: Likewise.
13445 * soft-fp/addtf3.c: Likewise.
13446 * soft-fp/divdf3.c: Likewise.
13447 * soft-fp/divsf3.c: Likewise.
13448 * soft-fp/divtf3.c: Likewise.
13449 * soft-fp/double.h: Likewise.
13450 * soft-fp/eqdf2.c: Likewise.
13451 * soft-fp/eqsf2.c: Likewise.
13452 * soft-fp/eqtf2.c: Likewise.
13453 * soft-fp/extenddftf2.c: Likewise.
13454 * soft-fp/extended.h: Likewise.
13455 * soft-fp/extendsfdf2.c: Likewise.
13456 * soft-fp/extendsftf2.c: Likewise.
13457 * soft-fp/extendxftf2.c: Likewise.
13458 * soft-fp/fixdfdi.c: Likewise.
13459 * soft-fp/fixdfsi.c: Likewise.
13460 * soft-fp/fixdfti.c: Likewise.
13461 * soft-fp/fixsfdi.c: Likewise.
13462 * soft-fp/fixsfsi.c: Likewise.
13463 * soft-fp/fixsfti.c: Likewise.
13464 * soft-fp/fixtfdi.c: Likewise.
13465 * soft-fp/fixtfsi.c: Likewise.
13466 * soft-fp/fixtfti.c: Likewise.
13467 * soft-fp/fixunsdfdi.c: Likewise.
13468 * soft-fp/fixunsdfsi.c: Likewise.
13469 * soft-fp/fixunsdfti.c: Likewise.
13470 * soft-fp/fixunssfdi.c: Likewise.
13471 * soft-fp/fixunssfsi.c: Likewise.
13472 * soft-fp/fixunssfti.c: Likewise.
13473 * soft-fp/fixunstfdi.c: Likewise.
13474 * soft-fp/fixunstfsi.c: Likewise.
13475 * soft-fp/fixunstfti.c: Likewise.
13476 * soft-fp/floatdidf.c: Likewise.
13477 * soft-fp/floatdisf.c: Likewise.
13478 * soft-fp/floatditf.c: Likewise.
13479 * soft-fp/floatsidf.c: Likewise.
13480 * soft-fp/floatsisf.c: Likewise.
13481 * soft-fp/floatsitf.c: Likewise.
13482 * soft-fp/floattidf.c: Likewise.
13483 * soft-fp/floattisf.c: Likewise.
13484 * soft-fp/floattitf.c: Likewise.
13485 * soft-fp/floatundidf.c: Likewise.
13486 * soft-fp/floatundisf.c: Likewise.
13487 * soft-fp/floatunsidf.c: Likewise.
13488 * soft-fp/floatunsisf.c: Likewise.
13489 * soft-fp/floatuntidf.c: Likewise.
13490 * soft-fp/floatuntisf.c: Likewise.
13491 * soft-fp/floatuntitf.c: Likewise.
13492 * soft-fp/fmadf4.c: Likewise.
13493 * soft-fp/fmasf4.c: Likewise.
13494 * soft-fp/fmatf4.c: Likewise.
13495 * soft-fp/gedf2.c: Likewise.
13496 * soft-fp/gesf2.c: Likewise.
13497 * soft-fp/getf2.c: Likewise.
13498 * soft-fp/ledf2.c: Likewise.
13499 * soft-fp/lesf2.c: Likewise.
13500 * soft-fp/letf2.c: Likewise.
13501 * soft-fp/muldf3.c: Likewise.
13502 * soft-fp/mulsf3.c: Likewise.
13503 * soft-fp/multf3.c: Likewise.
13504 * soft-fp/negdf2.c: Likewise.
13505 * soft-fp/negsf2.c: Likewise.
13506 * soft-fp/negtf2.c: Likewise.
13507 * soft-fp/op-1.h: Likewise.
13508 * soft-fp/op-2.h: Likewise.
13509 * soft-fp/op-4.h: Likewise.
13510 * soft-fp/op-8.h: Likewise.
13511 * soft-fp/op-common.h: Likewise.
13512 * soft-fp/quad.h: Likewise.
13513 * soft-fp/single.h: Likewise.
13514 * soft-fp/soft-fp.h: Likewise.
13515 * soft-fp/sqrtdf2.c: Likewise.
13516 * soft-fp/sqrtsf2.c: Likewise.
13517 * soft-fp/sqrttf2.c: Likewise.
13518 * soft-fp/subdf3.c: Likewise.
13519 * soft-fp/subsf3.c: Likewise.
13520 * soft-fp/subtf3.c: Likewise.
13521 * soft-fp/truncdfsf2.c: Likewise.
13522 * soft-fp/trunctfdf2.c: Likewise.
13523 * soft-fp/trunctfsf2.c: Likewise.
13524 * soft-fp/trunctfxf2.c: Likewise.
13525 * soft-fp/unorddf2.c: Likewise.
13526 * soft-fp/unordsf2.c: Likewise.
13527 * soft-fp/unordtf2.c: Likewise.
13529 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
13532 * misc/error.c (error_tail): Fix possible buffer overflow.
13534 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
13537 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13540 2013-10-14 P. J. McDermott <pj@pehjota.net>
13543 * elf/ldd.bash.in (try_trace): New function. Delete previous code
13544 testing pipefail option.
13546 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13548 * soft-fp/double.h: Indent preprocessor directives inside #if.
13549 * soft-fp/extended.h: Likewise.
13550 * soft-fp/op-2.h: Likewise.
13551 * soft-fp/op-4.h: Likewise.
13552 * soft-fp/op-common.h: Likewise.
13553 * soft-fp/quad.h: Likewise.
13554 * soft-fp/single.h: Likewise.
13555 * soft-fp/soft-fp.h: Likewise.
13557 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
13559 * iconv/iconv_prog.c: Fix typos.
13560 * stdio-common/psiginfo-data.h: Likewise.
13562 2013-10-12 Reuben Thomas <rrt@sc3d.org>
13565 * locale/setlocale.c: Fix typo.
13567 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13570 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13571 signaling NaN arguments.
13572 * soft-fp/unordsf2.c (__unordsf2): Likewise.
13573 * soft-fp/unordtf2.c (__unordtf2): Likewise.
13576 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13577 unordered operands.
13578 * soft-fp/gesf2.c (__gesf2): Likewise.
13579 * soft-fp/getf2.c (__getf2): Likewise.
13580 * soft-fp/ledf2.c (__ledf2): Likewise.
13581 * soft-fp/lesf2.c (__lesf2): Likewise.
13582 * soft-fp/letf2.c (__letf2): Likewise.
13584 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13585 * soft-fp/eqsf2.c (__eqsf2): Likewise.
13586 * soft-fp/eqtf2.c (__eqtf2): Likewise.
13587 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13588 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13589 * soft-fp/fixdfti.c (__fixdfti): Likewise.
13590 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13591 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13592 * soft-fp/fixsfti.c (__fixsfti): Likewise.
13593 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13594 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13595 * soft-fp/fixtfti.c (__fixtfti): Likewise.
13596 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13597 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13598 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13599 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13600 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13601 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13602 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13603 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13604 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13605 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13606 * soft-fp/floatdisf.c (__floatdisf): Likewise.
13607 * soft-fp/floatsisf.c (__floatsisf): Likewise.
13608 * soft-fp/floattidf.c (__floattidf): Likewise.
13609 * soft-fp/floattisf.c (__floattisf): Likewise.
13610 * soft-fp/floattitf.c (__floattitf): Likewise.
13611 * soft-fp/floatundidf.c (__floatundidf): Likewise.
13612 * soft-fp/floatundisf.c (__floatundisf): Likewise.
13613 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13614 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13615 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13616 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13617 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13618 * soft-fp/gesf2.c (__gesf2): Likewise.
13619 * soft-fp/getf2.c (__getf2): Likewise.
13620 * soft-fp/ledf2.c (__ledf2): Likewise.
13621 * soft-fp/lesf2.c (__lesf2): Likewise.
13622 * soft-fp/letf2.c (__letf2): Likewise.
13624 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13625 Undefine and redefine.
13626 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13627 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13628 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13629 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13630 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13631 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13632 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13633 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13634 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13635 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13636 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13637 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13638 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13639 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13640 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13643 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13644 without decrementing exponent if mantissa >= that for the
13645 denominator, not >.
13646 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13647 denominator, not >. Decrement exponent in < case instead of
13648 incrementing in >= case.
13649 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13650 without decrementing exponent if mantissa >= that for the
13651 denominator, not >.
13653 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13654 computing saturated result for unsigned overflow.
13656 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13657 Jeff Law <law@redhat.com>
13659 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13660 (atan2Mp): Add systemtap probe marker.
13661 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13662 (__ieee754_log): Add systemtap probe marker.
13663 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13664 (atanMp): Add systemtap probe marker.
13665 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13666 (tanMp): Add systemtap probe marker.
13667 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13668 (__slowexp): Add systemtap probe marker.
13669 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13670 (__slowpow): Add systemtap probe marker.
13671 * manual/probes.texi: Document probes.
13673 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
13676 * libio/fileops.c (_IO_new_file_write): Return count of bytes
13678 (_IO_new_file_xsputn): Don't return EOF if nothing has been
13680 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13681 written to buffer but not flushed.
13682 * libio/iofwrite_u.c: Likewise.
13683 * libio/iopadn.c: Return bytes returned even if EOF was
13685 * libio/iowpadn.c: Likewise.
13686 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13687 if _IO_padn does not write the whole buffer.
13688 [!COMPILE_WPRINTF] (PAD): Likewise.
13690 2013-10-10 David S. Miller <davem@davemloft.net>
13692 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13695 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13697 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
13698 instead of FSF address.
13699 * soft-fp/fixdfti.c: Likewise.
13700 * soft-fp/fixsfti.c: Likewise.
13701 * soft-fp/fixtfti.c: Likewise.
13702 * soft-fp/fixunsdfti.c: Likewise.
13703 * soft-fp/fixunssfti.c: Likewise.
13704 * soft-fp/fixunstfti.c: Likewise.
13705 * soft-fp/floattidf.c: Likewise.
13706 * soft-fp/floattisf.c: Likewise.
13707 * soft-fp/floattitf.c: Likewise.
13708 * soft-fp/floatuntidf.c: Likewise.
13709 * soft-fp/floatuntisf.c: Likewise.
13710 * soft-fp/floatuntitf.c: Likewise.
13711 * soft-fp/trunctfxf2.c: Likewise.
13713 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
13714 * soft-fp/fixdfti.c: Likewise.
13715 * soft-fp/fixsfti.c: Likewise.
13716 * soft-fp/fixtfti.c: Likewise.
13717 * soft-fp/fixunsdfti.c: Likewise.
13718 * soft-fp/fixunssfti.c: Likewise.
13719 * soft-fp/fixunstfti.c: Likewise.
13720 * soft-fp/floattidf.c: Likewise.
13721 * soft-fp/floattisf.c: Likewise.
13722 * soft-fp/floattitf.c: Likewise.
13723 * soft-fp/floatuntidf.c: Likewise.
13724 * soft-fp/floatuntisf.c: Likewise.
13725 * soft-fp/floatuntitf.c: Likewise.
13726 * soft-fp/trunctfxf2.c: Likewise.
13728 2013-10-10 David S. Miller <davem@davemloft.net>
13730 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13732 2013-10-10 Joseph Myers <joseph@codsourcery.com>
13734 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13735 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13736 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13737 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13738 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13739 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13740 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13742 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13743 for NaNs before doing comparisons on argument.
13744 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13747 2013-10-10 Will Newton <will.newton@linaro.org>
13749 * malloc/hooks.c (memalign_check): Ensure the value of bytes
13750 passed to _int_memalign does not overflow.
13752 2013-10-10 Torvald Riegel <triegel@redhat.com>
13754 * scripts/bench.pl: Add include-sources directive.
13755 * benchtests/README: Update documentation.
13757 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13759 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13760 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13761 instead of FP_INIT_ROUNDMODE.
13762 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13763 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13766 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
13767 copy class of input value.
13768 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
13769 not handle exceptions.
13770 * soft-fp/negsf2.c (__negsf2): Likewise.
13771 * soft-fp/negtf2.c (__negtf2): Likewise.
13772 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13774 2013-10-09 Joseph Myers <joseph@codesourcery.com>
13776 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13777 semicolon. From Linux kernel.
13779 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
13781 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13783 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
13786 * manual/socket.texi: Added statement about buffer
13787 for gethostbyname2_r.
13789 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
13791 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13792 Use .p2align directive instead, throughout.
13793 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13794 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13795 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13796 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13797 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13798 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13799 * sysdeps/x86_64/strchr.S: Likewise.
13800 * sysdeps/x86_64/strrchr.S: Likewise.
13802 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13804 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13806 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13808 * sysdeps/generic/math_private.h (__mpsin1): Remove
13810 (__mpcos1): Likewise.
13811 (__mpsin): New argument __range_reduce.
13812 (__mpcos): Likewise.
13813 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13814 (slow): Use __mpsin and __mpcos.
13818 (sloww1): Likewise.
13819 (sloww2): Likewise.
13820 (bsloww): Likewise.
13821 (bsloww1): Likewise.
13822 (bsloww2): Likewise.
13823 (cslow2): Likewise.
13824 (csloww): Likewise.
13825 (csloww1): Likewise.
13826 (csloww2): Likewise.
13827 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
13828 range_reduce. Merge in __mpsin1.
13829 (__mpcos): Likewise.
13830 (__mpsin1): Remove.
13831 (__mpcos1): Likewise.
13833 2013-10-07 Joseph Myers <joseph@codesourcery.com>
13835 * locale/loadlocale.c (_nl_intern_locale_data): Use
13837 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
13838 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
13839 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
13840 obstack data is appropriately aligned.
13841 (obstack_int32_grow_fast): Likewise.
13842 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
13843 * locale/programs/locfile.c (add_locale_uint32): Likewise.
13844 (add_locale_uint32_array): Likewise.
13846 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13848 * benchtests/Makefile: Remove ARGLIST and RET variables.
13849 ($(objpfx)bench-%.c): Pass only function name to the script.
13850 * benchtests/README: Update documentation.
13851 * benchtests/acos-inputs: Add new directives.
13852 * benchtests/acosh-inputs: Likewise.
13853 * benchtests/asin-inputs: Likewise.
13854 * benchtests/asinh-inputs: Likewise.
13855 * benchtests/atan-inputs: Likewise.
13856 * benchtests/atanh-inputs: Likewise.
13857 * benchtests/cos-inputs: Likewise.
13858 * benchtests/cosh-inputs: Likewise.
13859 * benchtests/exp-inputs: Likewise.
13860 * benchtests/log-inputs: Likewise.
13861 * benchtests/pow-inputs: Likewise.
13862 * benchtests/rint-inputs: Likewise.
13863 * benchtests/sin-inputs: Likewise.
13864 * benchtests/sinh-inputs: Likewise.
13865 * benchtests/tan-inputs: Likewise.
13866 * benchtests/tanh-inputs: Likewise.
13867 * scripts/bench.pl: Add support for new directives.
13869 2013-10-07 Alan Modra <amodra@gmail.com>
13871 * README: Fix careless merge.
13873 2013-10-05 Alan Modra <amodra@gmail.com>
13875 * NEWS: Mention powerpc64le support and bugs fixed.
13876 * README: Both big-endian and little-endian powerpc64 supported.
13878 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13880 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
13881 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
13882 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
13883 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
13885 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
13887 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
13890 2013-10-04 Joseph Myers <joseph@codesourcery.com>
13892 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
13893 Move -mhard-float appending from
13894 ports/sysdeps/powerpc/powerpc32/Makefile.
13895 [$(with-fp) = yes] (ASFLAGS): Likewise.
13896 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
13897 * sysdeps/powerpc/nofpu: Move directory from
13898 ports/sysdeps/powerpc/nofpu.
13899 * sysdeps/powerpc/soft-fp: Move directory from
13900 ports/sysdeps/powerpc/soft-fp.
13901 * sysdeps/powerpc/powerpc32/405: Move directory from
13902 ports/sysdeps/powerpc/powerpc32/405.
13903 * sysdeps/powerpc/powerpc32/440: Move directory from
13904 ports/sysdeps/powerpc/powerpc32/440.
13905 * sysdeps/powerpc/powerpc32/464: Move directory from
13906 ports/sysdeps/powerpc/powerpc32/464.
13907 * sysdeps/powerpc/powerpc32/476: Move directory from
13908 ports/sysdeps/powerpc/powerpc32/476.
13909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
13910 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
13911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
13912 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
13913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
13914 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
13915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
13916 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
13917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
13918 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
13919 * README: Update for powerpc-*-linux-gnu software floating point
13922 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
13923 case to powerpc/powerpc32*.
13924 * sysdeps/unix/sysv/linux/configure: Regenerated.
13926 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
13927 (_FPU_MASK_OM): Define as 0x04.
13928 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
13929 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
13931 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
13933 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
13935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
13936 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
13939 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
13942 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
13943 and setcontext_e500.
13945 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
13947 * locale/iso-3166.def: Update iso-1366.def and related occurrences
13949 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13951 * manual/threads.texi (Default Thread Attributes): Fix typo.
13953 2013-10-04 Will Newton <will.newton@linaro.org>
13955 * malloc/Makefile: Add tst-memalign.
13956 * malloc/tst-memalign.c: New file.
13958 * malloc/tst-posix_memalign.c: Add comments.
13959 (do_test): Add comments and call free on all potentially
13960 allocated pointers. Add space after cast.
13962 * malloc/tst-pvalloc.c: Add comments.
13963 (do_test): Add comments and call free on all potentially
13964 allocated pointers. Remove duplicate check for NULL pointer.
13965 Add space after cast.
13967 * malloc/tst-valloc.c: Add comments.
13968 (do_test): Add comments and call free on all potentially
13969 allocated pointers. Remove duplicate check for NULL pointer.
13970 Add space after cast.
13972 2013-10-04 Alan Modra <amodra@gmail.com>
13974 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13975 Use stdint types in rather than __attribute__((mode())).
13976 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13978 2013-10-04 Alan Modra <amodra@gmail.com>
13980 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13981 Correct handling of unaligned relocs for little-endian.
13982 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13984 2013-10-04 Alan Modra <amodra@gmail.com>
13986 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
13987 * configure: Regenerate.
13988 * nptl/shlib-versions: Powerpc*le starts at 2.18.
13989 * shlib-versions: Likewise.
13991 2013-10-04 Alan Modra <amodra@gmail.com>
13993 * string/tester.c (test_memrchr): Increment reported test cycle.
13995 2013-10-04 Alan Modra <amodra@gmail.com>
13997 * string/test-memcpy.c (do_one_test): When reporting errors, print
13998 string address and don't overrun end of string.
14000 2013-10-04 Alan Modra <amodra@gmail.com>
14002 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14003 insrdi. Make better use of reg selection to speed exit slightly.
14004 Schedule entry path a little better. Remove useless "are we done"
14005 checks on entry to main loop. Handle wrapping around zero address.
14006 Correct main loop count. Handle single left-over word from main
14007 loop inline rather than by using loop_small. Remove extra word
14008 case in loop_small caused by wrong loop count. Add little-endian
14010 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14011 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
14013 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14014 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14015 support. Avoid rlwimi.
14016 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14018 2013-10-04 Alan Modra <amodra@gmail.com>
14020 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14021 insrdi. Formatting.
14022 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14023 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14024 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14025 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14026 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14027 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14029 2013-10-04 Alan Modra <amodra@gmail.com>
14031 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14032 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14033 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14034 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14035 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14036 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14037 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14038 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14039 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
14040 use of regs. Use power7 mtocrf. Tidy function tails.
14042 2013-10-04 Alan Modra <amodra@gmail.com>
14044 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14045 Formatting. Consistently use rXXX register defines or rN defines.
14046 Use early exit labels that avoid restoring unused non-volatile regs.
14047 Make cr field use more consistent with rWORDn compares. Rename
14048 regs used as shift registers for unaligned loop, using rN defines
14049 for short lifetime/multiple use regs.
14050 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14051 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
14052 addi 1,1,64 to pop stack frame. Simplify return value code.
14053 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14055 2013-10-04 Alan Modra <amodra@gmail.com>
14057 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14058 support. Correct typos, formatting. Optimize tail. Use insrdi
14059 rather than rlwimi.
14060 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14061 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14062 little-endian support. Correct typos.
14063 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
14064 rather than rlwimi.
14065 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
14066 in loop and entry code to keep "and." results.
14067 (strchr): Add little-endian support. Comment. Move cntlzd
14069 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14071 2013-10-04 Alan Modra <amodra@gmail.com>
14073 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14074 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14075 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14076 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14078 2013-10-04 Alan Modra <amodra@gmail.com>
14080 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14081 (rTMP): Define as r11.
14082 (strcmp): Add little-endian support. Optimise tail.
14083 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14084 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14085 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14086 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14087 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14088 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14089 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14091 2013-10-04 Alan Modra <amodra@gmail.com>
14093 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14094 little-endian support. Remove unnecessary "are we done" tests.
14095 Handle "s" wrapping around zero and extremely large "size".
14096 Correct main loop count. Handle single left-over word from main
14097 loop inline rather than by using small_loop. Correct comments.
14098 Delete "zero" tail, use "end_max" instead.
14099 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14101 2013-10-04 Alan Modra <amodra@gmail.com>
14103 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14104 support. Don't branch over align.
14105 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14106 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14107 support. Rearrange tmp reg use to suit. Comment.
14108 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14110 2013-10-04 Alan Modra <amodra@gmail.com>
14112 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14114 2013-10-04 Alan Modra <amodra@gmail.com>
14116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14117 conditional form of branch and link when obtaining pc.
14118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14120 2013-10-04 Alan Modra <amodra@gmail.com>
14122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14127 2013-10-04 Alan Modra <amodra@gmail.com>
14129 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14130 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14131 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14132 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14133 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14134 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14135 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14136 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14137 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14138 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14140 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14141 Alistair Popple <alistair@ozlabs.au.ibm.com>
14142 Alan Modra <amodra@gmail.com>
14145 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14146 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14147 _dl_hwcap access for little-endian.
14148 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
14149 destroy vmx regs when saving unaligned.
14150 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14151 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
14152 destroy vmx regs when saving unaligned.
14154 2013-10-04 Alan Modra <amodra@gmail.com>
14156 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14157 Don't use a union to pack hi/low value.
14159 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14161 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14163 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14164 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14165 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14166 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14167 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14169 2013-10-04 Alan Modra <amodra@gmail.com>
14171 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14172 constants to usual value for .cst8 section, and remove redundant
14174 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14175 constant for 0x1p52. Load little-endian words of double from
14176 correct stack offsets.
14178 2013-10-04 Alan Modra <amodra@gmail.com>
14180 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14181 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14182 words of double from correct stack offsets.
14183 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14184 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14185 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14186 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14187 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14188 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14189 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14190 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14191 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14192 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14193 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14194 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14195 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14196 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14197 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14198 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14199 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14201 2013-10-04 Alan Modra <amodra@gmail.com>
14203 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14204 64-bit int/double union.
14205 (_FPU_SETCW): Likewise.
14206 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14207 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14209 2013-10-04 Alan Modra <amodra@gmail.com>
14211 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14212 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14214 2013-10-04 Alan Modra <amodra@gmail.com>
14216 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14217 use vector int constants.
14218 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14220 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14222 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14223 array with long long.
14224 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14225 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14226 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14227 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14228 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14229 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14230 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14231 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14232 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14233 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14234 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14235 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14236 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14238 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14240 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14241 (__signbit): Likewise. Correct for little-endian.
14242 (__signbitl): Call __signbit.
14243 (lrint): Correct for little-endian.
14244 (lrintf): Call lrint.
14246 2013-10-04 Alan Modra <amodra@gmail.com>
14248 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14249 union 32-bit int array member with 64-bit int array.
14250 (t515, tm256): Double rather than long double.
14251 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14253 2013-10-04 Alan Modra <amodra@gmail.com>
14255 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14257 (IEEE854_LONG_DOUBLE_BIAS): Delete.
14258 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14259 version of math_ldbl.h.
14261 2013-10-04 Alan Modra <amodra@gmail.com>
14263 [BZ #15734], [BZ #15735]
14264 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14265 all uses of ieee875 long double macros and unions. Simplify test
14266 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
14267 ldbl_extract_mantissa value for ix,iy exponents. Properly
14268 normalize after ldbl_extract_mantissa, and don't add hidden bit
14269 already handled. Don't treat low word of ieee854 mantissa like
14270 low word of IBM long double and mask off bit when testing for
14272 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14273 all uses of ieee875 long double macros and unions. Simplify tests
14274 for 0.0L and inf. Correct double adjustment of k. Delete dead code
14275 adjusting ha,hb. Simplify code setting kld. Delete two600 and
14276 two1022, instead use their values. Recognise that tests for large
14277 "a" and small "b" are mutually exclusive. Rename vars. Comment.
14278 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14279 Rewrite all uses of ieee875 long double macros and unions. Simplify
14280 test for 0.0L and nan. Correct negation.
14281 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14282 ieee875 long double macros and unions. Correct output for large
14283 magnitude x. Correct absolute value calculation.
14284 (__erfcl): Likewise.
14285 * math/libm-test.inc: Add tests for errors discovered in IBM long
14286 double versions of fmodl, remainderl, erfl and erfcl.
14288 2013-10-04 Alan Modra <amodra@gmail.com>
14290 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14291 all uses of ieee854 long double macros and unions. Simplify tests
14292 for long doubles that are fully specified by the high double.
14293 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14295 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14296 Remove dead code too.
14297 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14298 (__ieee754_ynl): Likewise.
14299 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14300 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14301 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14302 Remove dead code too.
14303 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14304 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14305 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14306 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14308 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14310 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14311 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14312 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14313 Comment on variable precision.
14314 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14315 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14317 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14318 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14319 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14320 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14321 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14323 2013-10-04 Alan Modra <amodra@gmail.com>
14325 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14326 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14327 all uses of ieee854 long double macros and unions.
14328 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14329 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14330 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14331 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14332 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14333 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14335 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14336 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14337 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14338 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14339 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14340 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14341 Simplify sign and nan test too.
14342 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14343 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14344 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14345 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14347 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14348 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14350 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14351 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14352 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14353 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14354 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14355 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14357 2013-10-04 Alan Modra <amodra@gmail.com>
14359 * stdio-common/printf_size.c (__printf_size): Don't use
14360 union ieee854_long_double in fpnum union.
14361 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
14362 signbit macro to retrieve sign from long double.
14363 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14364 retrieve sign from long double.
14365 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14366 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14367 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14368 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14369 * math/test-misc.c (main): Don't use union ieee854_long_double.
14371 2013-10-04 Alan Modra <amodra@gmail.com>
14374 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14375 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14376 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14377 calculation. Remove unnecessary test for denormal exponent.
14378 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14379 Correct handling of denormals. Avoid undefined shift behaviour.
14380 Correct normalisation of low mantissa when low double is denormal.
14381 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14382 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
14383 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14384 Correct normalisation of low mantissa. Test for overflow of high
14385 mantissa and normalise.
14386 (ldbl_nearbyint): Use more readable constant for two52.
14387 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14388 (__mpn_construct_long_double): Fix test for overflow of high
14389 mantissa and correct normalisation. Avoid undefined shift.
14391 2013-10-04 Alan Modra <amodra@gmail.com>
14393 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14394 (union ibm_extended_long_double): Define as an array of ieee754_double.
14395 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14396 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14397 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14398 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14399 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14400 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14401 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14402 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14403 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14404 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14405 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14407 2013-10-03 Joseph Myers <joseph@codesourcery.com>
14409 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14410 page size instead of calling getpagesize.
14412 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14413 (LOCFILE_ALIGN_MASK): Likewise.
14414 (LOCFILE_ALIGN_UP): Likewise.
14415 (LOCFILE_ALIGNED_P): Likewise.
14416 * locale/programs/ld-collate.c (collate_output): Use the new
14417 macros instead of __alignof__ (int32_t).
14418 * locale/weight.h (findidx): Likewise.
14420 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
14423 * manual/string.texi: Fix strncat and wcsncat.
14425 2013-10-03 Brooks Moses <bmoses@google.com>
14428 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14429 * Makerules: ...here, and adjust associated comments.
14431 2013-10-02 Will Newton <will.newton@linaro.org>
14433 * malloc/Makefile: Add tst-pvalloc.
14434 * malloc/tst-pvalloc.c: New file.
14436 2013-10-02 Will Newton <will.newton@linaro.org>
14438 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14439 improve test coverage.
14441 2013-10-02 Will Newton <will.newton@linaro.org>
14443 * malloc/Makefile: Add tst-posix_memalign.
14444 * malloc/tst-posix_memalign.c: New file.
14446 2013-10-01 Eric Blake <eblake@redhat.com>
14448 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14449 Use __THROWNL rather than __THROW on static functions.
14451 2013-09-30 Petr Machata <pmachata@redhat.com>
14453 * elf/elf.h (R_AARCH64_ABS16): New macro.
14454 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14455 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14456 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14457 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14458 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14459 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14460 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14461 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14462 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14463 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14464 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14465 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14466 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14467 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14468 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14469 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14470 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14471 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14472 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14473 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14474 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14475 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14476 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14477 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14478 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14479 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14480 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14481 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14482 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14483 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14484 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14485 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14486 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14487 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14488 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14489 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14490 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14491 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14492 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14493 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14494 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14495 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14496 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14497 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14498 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14499 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14500 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14501 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14502 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14503 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14504 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14505 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14506 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14507 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14508 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14509 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14510 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14511 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14512 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14513 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14514 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14515 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14516 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14517 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14518 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14519 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14520 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14521 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14522 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14523 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14524 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14525 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14526 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14527 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14528 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14529 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14530 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14531 (R_AARCH64_TLSDESC_LDR): Likewise.
14532 (R_AARCH64_TLSDESC_ADD): Likewise.
14533 (R_AARCH64_TLSDESC_CALL): Likewise.
14535 2013-09-30 Andreas Schwab <schwab@suse.de>
14538 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14539 the nss database lookup.
14540 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14541 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14543 2013-09-28 Mike Frysinger <vapier@gentoo.org>
14545 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14547 2013-09-28 P. J. McDermott <pj@pehjota.net>
14549 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14550 ${Bash-specific parameter/pattern/string} parameter expansion.
14551 * sysdeps/unix/make-syscalls.sh: Likewise.
14553 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14555 * sysdeps/sh/stackguard-macros.h: New file.
14557 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
14559 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14560 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14561 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14562 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14563 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14564 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14566 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14568 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14569 Fix thread ID register.
14571 2013-09-25 Joseph Myers <joseph@codesourcery.com>
14573 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14574 [POSIX || UNIX98]: Require rather than permitting all symbols from
14576 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14577 element of struct sched_param.
14578 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14579 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14580 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14581 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14584 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
14586 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14587 argument calculation.
14589 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14591 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14593 [POSIX] (pthread_attr_t): Do not require type.
14594 [POSIX] (pthread_cond_t): Likewise.
14595 [POSIX] (pthread_condattr_t): Likewise.
14596 [POSIX] (pthread_key_t): Likewise.
14597 [POSIX] (pthread_mutex_t): Likewise.
14598 [POSIX] (pthread_mutexattr_t): Likewise.
14599 [POSIX] (pthread_once_t): Likewise.
14600 [POSIX] (pthread_t): Likewise.
14601 [POSIX-based standards] (pthread_atfork): Expect function.
14603 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14604 Richard Sandiford <richard@codesourcery.com>
14606 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14607 (swap_endianness_p): New extern variable.
14608 (set_big_endian): New inline function.
14609 (maybe_swap_uint32): Likewise.
14610 (maybe_swap_uint32_array): Likewise.
14611 (maybe_swap_uint32_obstack): Likewise.
14612 * locale/programs/locfile.c: Include <stdbool.h>.
14613 (swap_endianness_p): New variable.
14614 (add_locale_uint32): Call maybe_swap_uint32.
14615 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14616 (write_locale_data): Call maybe_swap_uint32_array.
14617 * locale/programs/ld-collate.c (obstack_int32_grow): Call
14619 (obstack_int32_grow_fast): Likewise.
14620 (output_weightwc): Call maybe_swap_uint32_obstack.
14621 (collate_output): Likewise.
14622 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14623 (OPT_LITTLE_ENDIAN): Likewise.
14624 (options): Add --little-endian and --big-endian options.
14625 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14626 * locale/programs/locarchive.c: Include "locfile.h".
14630 (create_archive): Use the new macros to access fields of
14631 structures directly mapped from or written to locale archives.
14632 (oldlocrecentcmp): Likewise.
14633 (enlarge_archive): Likewise.
14634 (insert_name): Likewise.
14635 (add_alias): Likewise.
14636 (add_locale): Likewise.
14637 (delete_locales_from_archive): Likewise.
14638 (show_archive_content): Likewise.
14639 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
14642 2013-09-24 Roland McGrath <roland@hack.frob.com>
14644 * manual/freemanuals.texi: Updated from (newly) canonical copy at
14645 http://www.gnu.org/doc/freemanuals.texi.
14646 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14648 2013-09-24 Will Newton <will.newton@linaro.org>
14650 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14653 2013-09-23 Joseph Myers <joseph@codesourcery.com>
14655 * locale/hashval.h (compute_hashval): Interpret bytes of key as
14658 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
14660 * manual/threads.texi (POSIX Threads): Fix a typo.
14662 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14665 * string/tst-strcoll-overflow.c: New test case.
14666 * string/Makefile (xtests): Add tst-strcoll-overflow.
14667 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14668 cache if string sizes may cause integer overflow.
14671 * string/strcoll_l.c (coll_seq): New members rule, idx,
14672 save_idx and back_us.
14673 (get_next_seq_nocache): New function.
14674 (do_compare_nocache): New function.
14675 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14678 2013-09-23 Carlos O'Donell <carlos@redhat.com>
14681 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14682 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14683 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14686 * elf/Makefile (tests): Add tst-ptrguard1.
14687 (tests-static): Add tst-ptrguard1-static.
14688 (tst-ptrguard1-ARGS): Define.
14689 (tst-ptrguard1-static-ARGS): Define.
14690 * elf/tst-ptrguard1.c: New file.
14691 * elf/tst-ptrguard1-static.c: New file.
14692 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14693 * sysdeps/i386/stackguard-macros.h: Likewise.
14694 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14695 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14696 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14697 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14698 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14699 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14701 2013-09-23 Hector Marco <hecmargi@upv.es>
14702 Ismael Ripoll <iripoll@disca.upv.es>
14703 Carlos O'Donell <carlos@redhat.com>
14706 * sysdeps/generic/stackguard-macros.h: Define
14707 __pointer_chk_guard_local and POINTER_CHK_GUARD.
14708 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14709 Define __pointer_chk_guard_local.
14710 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14711 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14713 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
14716 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14718 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
14720 * include/string.h (__ffs): Declare as hidden.
14721 * string/ffs.c (__ffs): Define as hidden.
14722 * sysdeps/i386/ffs.c (__ffs): Likewise.
14723 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14724 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14725 * sysdeps/s390/ffs.c (__ffs): Likewise.
14726 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14728 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
14730 * NEWS: Mention malloc probes.
14732 * malloc/arena.c (new_heap): New memory_heap_new probe.
14733 (grow_heap): New memory_heap_more probe.
14734 (shrink_heap): New memory_heap_less probe.
14735 (heap_trim): New memory_heap_free probe.
14736 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14737 (systrim): New memory_sbrk_less probe.
14738 * manual/probes.texi: Document them.
14740 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14741 * manual/probes.texi: Document it.
14743 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14744 (__libc_realloc): Add memory_realloc_retry probe.
14745 (__libc_memalign): Add memory_memalign_retry probe.
14746 (__libc_valloc): Add memory_valloc_retry probe.
14747 (__libc_pvalloc): Add memory_pvalloc_retry probe.
14748 (__libc_calloc): Add memory_calloc_retry probe.
14749 * manual/probes.texi: Document them.
14751 * malloc/arena.c (get_free_list): Add probe
14752 memory_arena_reuse_free_list.
14753 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14754 and memory_arena_reuse.
14755 (arena_get2) [!PER_THREAD]: Likewise.
14756 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14757 memory_arena_reuse_realloc.
14758 * manual/probes.texi: Document them.
14760 * malloc/malloc.c (__libc_free): Add
14761 memory_mallopt_free_dyn_thresholds probe.
14762 (__libc_mallopt): Add multiple memory_mallopt probes.
14763 * manual/probes.texi: Document them.
14765 * malloc/malloc.c: Include stap-probe.h.
14766 (__libc_mallopt): Add memory_mallopt probe.
14767 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14768 * manual/probes.texi: New.
14769 * manual/Makefile (chapters): Add probes.
14770 * manual/threads.texi: Set next node.
14772 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
14774 [BZ #15963, #13985]
14775 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14776 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14777 Add `Chinese' to `nan' entry name.
14779 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14781 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14782 (POLYNOMIAL): Likewise.
14783 (TAYLOR_SINCOS): Likewise.
14784 (TAYLOR_SLOW): Likewise.
14785 (__sin): Use TAYLOR_SINCOS.
14787 (slow): Use TAYLOR_SLOW.
14789 (bsloww): Likewise.
14790 (csloww): Likewise.
14792 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14794 * stdlib/strtod_l.c: Fix buffer overrun.
14796 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14798 * benchtests/Makefile (bench): Add sincos.
14799 * benchtests/bench-sincos.c: New file.
14801 * math/libm-test.inc (cos_test_data): New test inputs.
14802 (sin_test_data): Likewise.
14804 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14810 (sloww1): Likewise.
14811 (sloww2): Likewise.
14812 (bsloww1): Likewise.
14813 (bsloww2): Likewise.
14814 (cslow2): Likewise.
14815 (csloww1): Likewise.
14816 (csloww2): Likewise.
14818 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
14823 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
14827 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
14829 * config.h.in (HAVE_MIPS_NAN2008): New macro.
14830 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
14831 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
14832 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
14833 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14834 * elf/cache.c (print_entry): Handle the new cache flags.
14836 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14837 Aldy Hernandez <aldyh@redhat.com>
14839 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
14840 Change condition to [_SOFT_FLOAT].
14841 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
14842 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
14843 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
14844 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
14845 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
14846 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
14847 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
14848 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
14849 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
14850 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
14851 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
14852 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
14853 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
14854 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
14855 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
14856 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
14859 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14861 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
14862 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14863 (__longjmp): Use LOAD_GP to load saved GPRs.
14864 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
14865 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14866 (__sigsetjmp): Use SAVE_GP to save GPRs.
14868 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
14869 Do not append -msoft-float.
14870 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
14872 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14874 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
14876 2013-09-17 Joseph Myers <joseph@codesourcery.com>
14879 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
14880 (_FPU_GETCW): Use initial "__" on variable and field names but not
14881 on macro parameter name.
14882 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
14883 parentheses around reference to macro parameter.
14885 2013-09-13 Richard Sandiford <richard@codesourcery.com>
14887 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
14889 (ctype_startup): Use uint32_t in cast and sizeof for
14892 2013-09-11 Jia Liu <proljc@gmail.com>
14894 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
14896 [__FreeBSD__]: Likewise.
14898 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
14900 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14901 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
14902 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
14903 (strchr): Remove __strchr_sse42 ifunc selection.
14904 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
14905 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
14907 2013-09-11 Will Newton <will.newton@linaro.org>
14909 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
14910 parameter to RES. Remove hardcoded 1000 value.
14911 * benchtests/bench-skeleton.c (main): Pass RES parameter
14912 to TIMING_INIT and multiply result by 1000.
14914 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14918 2013-09-11 Andreas Schwab <schwab@suse.de>
14920 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14922 (O_TMPFILE) [__USE_GNU]: Define.
14923 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
14926 2013-09-11 Will Newton <will.newton@linaro.org>
14929 * malloc/malloc.c (__libc_memalign): Check the value of bytes
14932 2013-09-11 Will Newton <will.newton@linaro.org>
14935 * malloc/malloc.c (__libc_valloc): Check the value of bytes
14938 2013-09-11 Will Newton <will.newton@linaro.org>
14941 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
14944 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
14946 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
14947 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14948 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14949 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14950 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14952 2013-09-10 Allan McRae <allan@archlinux.org>
14955 * manual/arith.texi (Parsing of Floats): Clarify
14959 * manual/install.texi (Running make install): Mention
14961 * INSTALL: Regenerated.
14963 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14965 * csu/init-first.c (_init): Remove the !SHARED condition around
14966 FPU control word initialization.
14967 * elf/dl-support.c (_dl_fpu_control): New variable.
14968 (_dl_aux_init) <AT_FPUCW>: Initialize it.
14969 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
14970 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
14971 * math/test-fpucw-static.c: New file.
14972 * math/test-fpucw-ieee.c: New file.
14973 * math/test-fpucw-ieee-static.c: New file.
14974 * math/Makefile (tests): Add `test-fpucw-ieee' and
14976 (tests-static): New variable.
14977 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
14979 [($(build-shared),yes)]
14980 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14982 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
14985 2013-09-09 Allan McRae <allan@archlinux.org>
14988 * manual/string.texi (Collation Functions): Fix typo in
14990 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
14993 * stdlib/isomac.c (get_null_defines): Fix memory leak.
14996 * libio/memstream.c (open_memstream): Fix memory leak.
14997 * libio/wmemstream.c (open_wmemstream): Likewise.
15000 * nscd/netgroupcache.c: Fix nesting of ifdefs.
15002 2013-09-09 Will Newton <will.newton@linaro.org>
15004 * malloc/Makefile: Add tst-realloc to tests.
15005 * malloc/tst-realloc.c: New file.
15007 2013-09-09 Allan McRae <allan@archlinux.org>
15010 * COPYING: Update from GNU website to fix FSF address.
15011 * COPYING.LIB: Likewise.
15013 2013-09-06 David S. Miller <davem@davemloft.net>
15015 * po/zh_TW.po: Update Chinese (traditional) translation from
15016 translation project.
15018 2013-09-06 Richard Sandiford <richard@codesourcery.com>
15019 Joseph Myers <joseph@codesourcery.com>
15021 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15023 (obstack_chunk_alloc): New macro.
15024 (obstack_chunk_free): Likewise.
15025 (record_offset): New function.
15026 (init_locale_data): Likewise.
15027 (align_locale_data): Likewise.
15028 (add_locale_empty): Likewise.
15029 (add_locale_raw_data): Likewise.
15030 (add_locale_raw_obstack): Likewise.
15031 (add_locale_string): Likewise.
15032 (add_locale_wstring): Likewise.
15033 (add_locale_uint32): Likewise.
15034 (add_locale_uint32_array): Likewise.
15035 (add_locale_char): Likewise.
15036 (start_locale_structure): Likewise.
15037 (end_locale_structure): Likewise.
15038 (start_locale_prelude): Likewise.
15039 (end_locale_prelude): Likewise.
15040 (write_locale_data): Take locale_file structure rather than an
15042 * locale/programs/locfile.h: Include "obstack.h".
15043 (struct locale_file): Change to store locale file contents instead
15045 (init_locale_data): New prototype.
15046 (align_locale_data): Likewise.
15047 (add_locale_empty): Likewise.
15048 (add_locale_raw_data): Likewise.
15049 (add_locale_raw_obstack): Likewise.
15050 (add_locale_string): Likewise.
15051 (add_locale_wstring): Likewise.
15052 (add_locale_uint32): Likewise.
15053 (add_locale_uint32_array): Likewise.
15054 (add_locale_char): Likewise.
15055 (start_locale_structure): Likewise.
15056 (end_locale_structure): Likewise.
15057 (start_locale_prelude): Likewise.
15058 (end_locale_prelude): Likewise.
15059 (write_locale_data): Update prototype.
15060 * locale/programs/3level.h (struct TABLE): Remove result field.
15061 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15062 Use new locale_file interface.
15063 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15064 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15065 * locale/programs/ld-address.c (address_output): Use new
15066 locale_file interface.
15067 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15069 (collate_finish): Don't call collseq_table_finalize.
15070 (collate_output): Use new locale_file interface.
15071 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15073 (NO_FINALIZE): Change to NO_ADD_LOCALE.
15074 (TABLE): Move defines earlier in file.
15075 (ELEMENT): Likewise.
15076 (DEFAULT): Likewise.
15077 (wctrans_table_add): Move macro and inline function earlier in
15079 (struct wctype_table): Move type earlier in file.
15080 (add_locale_wctype_table): New static prototype.
15081 (struct locale_ctype_t): Use logical types instead of struct iovec
15082 pointers for members.
15083 (ctype_output): Use new locale_file interface.
15084 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15085 new locale_file interface.
15086 (allocate_arrays): Update for use of new locale_file interface.
15087 * locale/programs/ld-identification.c (identification_output): Use
15088 new locale_file interface.
15089 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15090 * locale/programs/ld-messages.c (messages_output): Likewise.
15091 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15092 * locale/programs/ld-name.c (name_output): Likewise.
15093 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15094 * locale/programs/ld-paper.c (paper_output): Likewise.
15095 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15096 * locale/programs/ld-time.c (time_output): Likewise.
15098 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15100 * benchtests/Makefile: Add memrchr benchmark.
15101 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15102 benchmark as memrchr.
15103 * benchtests/bench-memrchr-ifunc.c: New file.
15104 * benchtests/bench-memrchr.c: New file.
15106 2013-09-06 Will Newton <will.newton@linaro.org>
15108 * benchtests/Makefile (string-bench): Add memcpy.
15110 2013-09-05 Carlos O'Donell <carlos@redhat.com>
15111 Cong Wang <amwang@redhat.com>
15114 * sysdeps/unix/sysv/linux/bits/in.h
15115 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15116 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15117 before __USE_KERNEL_IPV6_DEFS uses.
15118 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15120 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15121 sockaddr_in6, or ipv6_mreq.
15123 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15125 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15126 memory access for final bytes in some large inputs.
15127 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15129 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15131 * string/test-memrchr.c: New file.
15132 * string/test-memrchr-ifunc.c: New file.
15133 * string/Makefile: Add new memrchr testcase.
15135 2013-09-05 Mike Frysinger <vapier@gentoo.org>
15137 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15138 fanotify_init returns EPERM.
15140 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15142 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15144 (top level): Treat second token from macro or constant entries for
15145 allowed headers as allowed.
15146 * include/complex.h: Condition internal declarations on
15148 * include/fenv.h: Condition include of <stdbool.h> and internal
15149 declarations on [!_ISOMAC].
15151 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
15154 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15156 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15158 * configure.in (--enable-versioning): Remove configure option.
15159 (libc_cv_asm_symver_directive): Remove configure test.
15160 (libc_cv_ld_version_script_option): Likewise.
15161 (VERSIONING): Remove variable and AC_SUBST.
15162 (DO_VERSIONING): Remove AC_DEFINE.
15163 * configure: Regenerated.
15164 * config.h.in (DO_VERSIONING): Remove macro.
15165 * Makerules [$(versioning) = yes]: Change conditionals to
15166 [$(build-shared) = yes].
15167 * config.make.in (versioning): Remove variable.
15168 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15169 [$(build-shared) = yes].
15170 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15171 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15172 * elf/Makefile [$(versioning) = yes]: Change conditionals to
15173 [$(build-shared) = yes].
15174 * extra-lib.mk [$(versioning) = yes]: Likewise.
15175 * hurd/Makefile [$(versioning) = yes]: Likewise.
15176 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15178 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15180 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15181 [SHARED && !NO_HIDDEN].
15182 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15184 [SHARED && DO_VERSIONING]: Likewise..
15185 * libio/Makefile [$(versioning) = yes]: Change conditionals to
15186 [$(build-shared) = yes].
15187 * manual/install.texi (--disable-versioning): Remove
15189 * INSTALL: Regenerated.
15190 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15192 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15193 [$(build-shared) = yes].
15194 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15195 * sysdeps/i386/i686/multiarch/strstr-c.c
15196 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15197 [SHARED && !NO_HIDDEN].
15198 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15199 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15200 * sysdeps/powerpc/powerpc32/dl-machine.c
15201 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15202 * sysdeps/powerpc/powerpc32/sysdep.h
15203 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15204 to [SHARED && PIC && !NO_HIDDEN].
15205 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15206 conditional to [SHARED].
15208 2013-09-04 Will Newton <will.newton@linaro.org>
15210 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15211 * benchtests/bench-string.h: Include bench-timing.h instead
15212 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15213 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15214 call to HP_TIMING_DIFF_INIT.
15215 * benchtests/bench-memccpy.c: Use bench-timing.h macros
15216 instead of hp-timing.h macros.
15217 * benchtests/bench-memchr.c: Likewise.
15218 * benchtests/bench-memcmp.c: Likewise.
15219 * benchtests/bench-memcpy.c: Likewise.
15220 * benchtests/bench-memmem.c: Likewise.
15221 * benchtests/bench-memmove.c: Likewise.
15222 * benchtests/bench-memset.c: Likewise.
15223 * benchtests/bench-rawmemchr.c: Likewise.
15224 * benchtests/bench-strcasecmp.c: Likewise.
15225 * benchtests/bench-strcasestr.c: Likewise.
15226 * benchtests/bench-strcat.c: Likewise.
15227 * benchtests/bench-strchr.c: Likewise.
15228 * benchtests/bench-strcmp.c: Likewise.
15229 * benchtests/bench-strcpy.c: Likewise.
15230 * benchtests/bench-strcpy_chk.c: Likewise.
15231 * benchtests/bench-strlen.c: Likewise.
15232 * benchtests/bench-strncasecmp.c: Likewise.
15233 * benchtests/bench-strncat.c: Likewise.
15234 * benchtests/bench-strncmp.c: Likewise.
15235 * benchtests/bench-strncpy.c: Likewise.
15236 * benchtests/bench-strnlen.c: Likewise.
15237 * benchtests/bench-strpbrk.c: Likewise.
15238 * benchtests/bench-strrchr.c: Likewise.
15239 * benchtests/bench-strspn.c: Likewise.
15240 * benchtests/bench-strstr.c: Likewise.
15242 2013-09-04 Will Newton <will.newton@linaro.org>
15244 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15246 2013-09-03 Joseph Myers <joseph@codesourcery.com>
15249 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15250 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15251 * math/libm-test.inc (lgamma_test_data): Add more tests.
15252 * sysdeps/i386/fpu/libm-test-ulps: Update.
15253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15255 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
15257 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15258 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15260 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15261 Add strcmp-sse2-unaligned
15262 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15264 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15266 * Versions.def (libc): Add GLIBC_2.19.
15268 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15270 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15271 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15273 2013-09-02 Joseph Myers <joseph@codesourcery.com>
15276 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15277 intermediate calculations in recurrence.
15278 (__ieee754_ynf): Likewise.
15279 * math/libm-test.inc (jn_test_data): Do not allow spurious
15280 underflow exception. Add more tests.
15281 (yn_test_data): Add more tests.
15282 * sysdeps/i386/fpu/libm-test-ulps: Update.
15283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15285 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
15287 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15289 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15291 * csu/init-first.c: Fix then/than typos.
15292 * locale/programs/ld-collate.c: Likewise.
15293 * locale/programs/linereader.h: Likewise.
15294 * manual/charset.texi: Likewise.
15295 * manual/filesys.texi: Likewise.
15296 * manual/stdio.texi: Likewise.
15297 * manual/string.texi: Likewise.
15298 * stdlib/fmtmsg.c: Likewise.
15299 * sysdeps/i386/stpncpy.S: Likewise.
15300 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15301 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15302 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15303 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15305 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15307 * elf/dl-open.c: Fix typos.
15308 * iconvdata/gbbig5.c: Likewise.
15309 * iconvdata/iso-2022-jp.c: Likewise.
15310 * iconv/gconv_int.h: Likewise.
15311 * iconv/loop.c: Likewise.
15312 * nis/rpcsvc/nis.h: Likewise.
15313 * resolv/ns_name.c: Likewise.
15314 * stdio-common/vfscanf.c: Likewise.
15315 * streams/stropts.h: Likewise.
15316 * sunrpc/rpc_thread.c: Likewise.
15317 * sysdeps/i386/strpbrk.S: Likewise.
15318 * sysdeps/ieee754/k_standard.c: Likewise.
15319 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15320 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15321 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15322 * sysdeps/mach/hurd/profil.c: Likewise.
15323 * sysdeps/s390/dl-procinfo.h: Likewise.
15324 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15325 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15326 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15327 * sysdeps/x86_64/dl-trampoline.S: Likewise.
15328 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15330 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15332 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15333 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15335 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15337 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15338 aix specific files.
15339 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15340 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15341 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15342 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15343 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15344 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15345 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15346 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15348 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15349 Roland McGrath <roland@hack.frob.com>
15351 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15352 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15354 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15356 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15357 __executable_start symbol instead of _start.
15359 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15361 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15362 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15364 * sysdeps/gnu/ldsodefs.h: ... this new file.
15366 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15367 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15368 instead of ELFOSABI_LINUX.
15370 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15371 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15372 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15373 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15375 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15376 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15377 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15379 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15380 (ibm_extended_long_double): Add ieee_nan member.
15381 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15382 (do_test): New function.
15384 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15386 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15387 functions, renamed from truncdfsf_test, trunctfsf_test,
15389 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15391 (do_test): Run all these.
15393 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15395 * argp/argp-help.c: Fix typos.
15396 * argp/argp-parse.c: Likewise.
15397 * debug/backtracesyms.c: Likewise.
15398 * elf/elf.h: Likewise.
15399 * malloc/malloc.c: Likewise.
15400 * nis/nis_print.c: Likewise.
15401 * resolv/res_comp.c: Likewise.
15402 * stdlib/stdlib.h: Likewise.
15403 * sunrpc/clnt_tcp.c: Likewise.
15404 * sunrpc/clnt_udp.c: Likewise.
15405 * sunrpc/clnt_unix.c: Likewise.
15406 * sysdeps/unix/bsd/ptsname.c: Likewise.
15407 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15408 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15415 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15417 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15419 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15420 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15422 2013-08-27 Mike Frysinger <vapier@gentoo.org>
15425 * dlfcn/Makefile (tests): Add bug-dl-leaf.
15426 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15427 ($(objpfx)bug-dl-leaf): New rule.
15428 ($(objpfx)bug-dl-leaf.so): Likewise.
15429 ($(objpfx)bug-dl-leaf.out): Likewise.
15430 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15431 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15432 * dlfcn/bug-dl-leaf.c: New test.
15433 * dlfcn/bug-dl-leaf-lib.c: Likewise.
15434 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15435 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15436 (dlclose): Likewise.
15437 (dlmopen): Likewise.
15439 2013-08-27 Roland McGrath <roland@hack.frob.com>
15441 * include/netdb.h [!_ISOMAC]:
15442 Don't include <tls.h>.
15443 (h_errno, __libc_h_errno): Move declaration and macros out of
15446 * include/resolv.h [_RESOLV_H_]:
15447 Don't include <tls.h>.
15448 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15449 * resolv/res_libc.c: Don't include <tls.h>.
15450 (_res): Use __attribute__ ((nocommon)) in place of
15451 __attribute__ ((section (".bss"))).
15453 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15454 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15456 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15458 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15459 only under [SIOCGIFCONF && SIOCGIFNETMASK].
15461 * resolv/res_mkquery.c: Include <sys/time.h>.
15463 * inet/ifreq.c: Moved to ...
15464 * sysdeps/unix/ifreq.c: ... here.
15465 * inet/ifreq.c: New file, true stub version.
15467 * socket/sa_len.c: New file.
15468 * socket/Makefile (aux): Add it.
15469 * sysdeps/unix/sysv/linux/Makefile
15470 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15471 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15472 and #include <socket/sa_len.c>.
15473 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15474 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15476 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15477 * bits/socket.h: ... here.
15479 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15480 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15481 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15483 2013-08-27 Andreas Schwab <schwab@suse.de>
15486 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15487 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15488 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15489 * string/test-strcasecmp.c (test_main): Run tests in several
15491 * string/test-strncasecmp.c (test_main): Likewise.
15493 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15494 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15495 to __strcasecmp_nonascii and __strncasecmp_nonascii.
15496 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15497 (__strncasecmp_ssse3) [PIC]: Likewise.
15499 2013-08-26 Roland McGrath <roland@hack.frob.com>
15501 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15503 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15504 instead of explicitly declaring xdecrypt.
15505 * nis/nss_nis/nis-publickey.c: Likewise.
15507 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15510 * nscd/aicache.c: Include res_hconf.h.
15511 (addhstaiX): Initialize res_hconf.
15513 2013-08-26 Andreas Schwab <schwab@suse.de>
15515 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15516 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15518 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15520 * nscd/aicache.c (addhstaiX): Fix indentation.
15522 2013-08-25 Mike Frysinger <vapier@gentoo.org>
15524 * configure.ac: Quote $build_pt_chown test.
15525 * configure: Regenerated.
15527 2013-08-23 Joseph Myers <joseph@codesourcery.com>
15530 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15531 * math/s_cexpf.c (__cexpf): Likewise.
15532 * math/s_cexpl.c (__cexpl): Likewise.
15533 * math/libm-test.inc (cexp_test_data): Correct expected return
15534 value for NaN + i0. Add another test.
15536 2013-08-22 David S. Miller <davem@davemloft.net>
15538 * po/ca.po: Update Catalan translation from translation project.
15539 * po/uk.po: Add Ukrainian translations from translation project.
15541 2013-08-21 Joseph Myers <joseph@codesourcery.com>
15544 * math/s_fdim.c (__fdim): Check for infinite arguments if result
15545 is infinite, not alongside NaN test.
15546 * math/s_fdimf.c (__fdimf): Likewise.
15547 * math/s_fdiml.c (__fdiml): Likewise.
15548 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
15549 errno is unchanged.
15551 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
15553 * argp/argp-help.c: Fix typos.
15554 * crypt/speeds.c: Likewise.
15555 * csu/check_fds.c: Likewise.
15556 * elf/dl-load.c: Likewise.
15557 * elf/dl-open.c: Likewise.
15558 * elf/reldep3.c: Likewise.
15559 * elf/reldep.c: Likewise.
15560 * elf/sprof.c: Likewise.
15561 * iconv/iconv_charmap.c: Likewise.
15562 * iconv/skeleton.c: Likewise.
15563 * iconv/strtab.c: Likewise.
15564 * io/lockf64.c: Likewise.
15565 * libio/libioP.h: Likewise.
15566 * resolv/gai_notify.c: Likewise.
15567 * resolv/ns_name.c: Likewise.
15568 * resolv/ns_samedomain.c: Likewise.
15569 * resolv/res_send.c: Likewise.
15570 * stdlib/random.c: Likewise.
15571 * sunrpc/rpc/xdr.h: Likewise.
15572 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15573 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15574 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15575 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15576 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15577 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15578 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15579 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15580 * sysdeps/mach/hurd/check_fds.c: Likewise.
15581 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15582 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15583 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15584 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15585 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15586 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15587 * sysdeps/pthread/aio_notify.c: Likewise.
15588 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15589 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15590 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15591 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15592 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15594 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15596 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15597 version if bit_Slow_SSE4_2 is set.
15598 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15599 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15601 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15604 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15605 trampoline stack frame information.
15606 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15607 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15608 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15609 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15610 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15611 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15612 (_libc_vdso_platform_setup): Initialize the signal trampolines.
15613 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15615 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15616 interrupting a syscall and set with option SA_SIGINFO.
15618 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15621 * math/s_cproj.c (__cproj): Only return an infinity if one part of
15622 argument is infinite.
15623 * math/s_cprojf.c (__cprojf): Likewise.
15624 * math/s_cprojl.c (__cprojl): Likewise.
15625 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15626 * math/libm-test.inc (cproj_test_data): Add more tests.
15628 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15630 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15631 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15632 size. Use __ffs to determine corresponding shift.
15634 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15635 Roland McGrath <roland@hack.frob.com>
15637 * Makefile (INSTALL): Remove trailing blank lines from output of
15640 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15642 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15643 Align 32 bit compat elf_greg to 8 bytes.
15645 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15647 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15649 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15651 * string/strcoll_l.c (coll_seq): New structure.
15652 (get_next_seq_cached): New function.
15653 (get_next_seq): New function.
15654 (do_compare): New function.
15655 (STRCOLL): Use GNU style definition. Simplify implementation
15656 by using get_next_seq, get_next_seq_cached and do_compare.
15658 2013-08-16 Florian Weimer <fweimer@redhat.com>
15662 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15664 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15666 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15667 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15668 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
15670 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15671 GETDENTS_64BIT_ALIGNED.
15672 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15673 * manual/filesys.texi (Reading/Closing Directory): Document
15674 ENAMETOOLONG return value of readdir_r. Recommend readdir more
15676 * manual/conf.texi (Limits for Files): Add portability note to
15677 NAME_MAX, PATH_MAX.
15678 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15680 2013-08-13 Andreas Schwab <schwab@suse.de>
15683 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15685 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15686 LDBL_MAX_EXP >= 16384]: Add tests for it.
15688 2013-08-12 David S. Miller <davem@davemloft.net>
15690 * version.h (RELEASE): Set to "development".
15691 (VERSION): Set to "2.18.90".
15692 * NEWS: Add 2.19 section.
15694 2013-08-03 David S. Miller <davem@davemloft.net>
15696 * po/ko.po: Update Korean translation from translation project.
15698 2013-08-01 David S. Miller <davem@davemloft.net>
15700 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
15701 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15704 2013-07-30 David S. Miller <davem@davemloft.net>
15706 * po/fr.po: Update French translation from translation project.
15708 2013-07-28 David S. Miller <davem@davemloft.net>
15710 * po/cs.po: Update Czech translation from translation project.
15712 * po/sv.po: Update Swedish translation from translation project.
15714 2013-07-27 David S. Miller <davem@davemloft.net>
15716 * po/eo.po: Update Esperanto translation from translation project.
15718 * po/vi.po: Update Vietnamese translation from translation project.
15720 * po/de.po: Update German translation from translation project.
15722 2013-07-26 David S. Miller <davem@davemloft.net>
15724 * po/bg.po: Update Bulgarian translation from translation project.
15726 * po/nl.po: Update Dutch translation from translation project.
15727 * po/pl.po: Update Polish translation from translation project.
15728 * po/ru.po: Update Russian translation from translation project.
15730 2013-07-24 David S. Miller <davem@davemloft.net>
15732 * po/libc.pot: Update.
15734 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15736 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15737 variable page size.
15738 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15739 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15740 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15742 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15744 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15746 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15747 Andreas Schwab <schwab@suse.de>
15748 Roland McGrath <roland@hack.frob.com>
15749 Joseph Myers <joseph@codesourcery.com>
15750 Carlos O'Donell <carlos@redhat.com>
15753 * config.h.in: Define HAVE_PT_CHOWN.
15754 * config.make.in (build-pt-chown): New variable.
15755 * configure.in (--enable-pt_chown): New configure option.
15756 * configure: Regenerate.
15757 * login/Makefile: Include Makeconfig. Build pt_chown only if
15758 build-pt-chown is enabled.
15759 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15760 pt_chown to fix pty ownership.
15761 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15763 * manual/install.texi (Configuring and compiling): Mention
15764 --enable-pt_chown. Add @findex for grantpt.
15765 * INSTALL: Regenerate.
15767 2013-07-20 David S. Miller <davem@davemloft.net>
15769 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15770 difference between 32-bit and 64-bit.
15772 2013-07-15 Carlos O'Donell <carlos@redhat.com>
15775 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15776 Avoid system header dependency with -ffreestanding.
15777 ($(objpfx)bits/syscall%d): Likewise.
15779 2013-07-13 David S. Miller <davem@davemloft.net>
15781 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15782 underflows from atanl/atan2l due to bug 15319.
15783 (casinh_test_data): Likewise.
15785 2013-07-07 David S. Miller <davem@davemloft.net>
15787 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15789 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
15791 * sysdeps/i386/fpu/libm-test-ulps: Update.
15792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15794 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15796 * configure.in (--enable-lock-elision): Fix message text.
15797 * INSTALL: Regenerate.
15798 * configure: Regenerate.
15800 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15804 2013-07-03 Andreas Jaeger <aj@suse.de>
15806 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15808 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15809 (ptrace_peeksiginfo_args): Add.
15810 (__ptrace_peeksiginfo_flags): Add.
15811 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15812 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15813 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15815 2013-07-03 Allan McRae <allan@archlinux.org>
15817 * sysdeps/i386/fpu/libm-test-ulps: Update.
15819 2013-07-02 David S. Miller <davem@davemloft.net>
15821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15823 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
15825 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15827 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15829 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15832 2013-07-02 Andi Kleen <ak@linux.intel.com>
15834 * config.h.in (ENABLE_LOCK_ELISION): Add.
15835 * configure.in (--enable-lock-elision): Add option.
15836 * manual/install.texi: Document --enable lock elision.
15837 * configure: Regenerate
15838 * INSTALL: Regenerate.
15840 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
15842 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
15843 SSE4.2 strcasecmp for libc.a.
15844 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15846 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15849 * soft-fp/op-common.h (_FP_FMA): New macro.
15850 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
15851 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
15852 (_FP_MUL_MEAT_1_imm): ... here.
15853 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
15854 (_FP_MUL_MEAT_1_wide): ... here.
15855 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
15856 (_FP_MUL_MEAT_1_hard): ... here.
15857 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
15858 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
15859 (_FP_MUL_MEAT_2_wide): ... here.
15860 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
15861 (_FP_MUL_MEAT_2_wide_3mul): ... here.
15862 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
15863 (_FP_MUL_MEAT_2_gmp): ... here.
15864 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
15865 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
15866 (_FP_MUL_MEAT_4_wide): ... here.
15867 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
15868 (_FP_MUL_MEAT_4_gmp): ... here.
15869 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
15870 (_FP_WFRACBITS_DW_S): Likewise.
15871 (_FP_WFRACXBITS_DW_S): Likewise.
15872 (_FP_HIGHBIT_DW_S): Likewise.
15873 (FP_FMA_S): Likewise.
15874 (_FP_FRAC_HIGH_DW_S): Likewise.
15875 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
15876 (_FP_WFRACBITS_DW_D): Likewise.
15877 (_FP_WFRACXBITS_DW_D): Likewise.
15878 (_FP_HIGHBIT_DW_D): Likewise.
15879 (FP_FMA_D): Likewise.
15880 (_FP_FRAC_HIGH_DW_D): Likewise.
15881 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
15882 (_FP_WFRACBITS_DW_E): Likewise.
15883 (_FP_WFRACXBITS_DW_E): Likewise.
15884 (_FP_HIGHBIT_DW_E): Likewise.
15885 (FP_FMA_E): Likewise.
15886 (_FP_FRAC_HIGH_DW_E): Likewise.
15887 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
15888 (_FP_WFRACBITS_DW_Q): Likewise.
15889 (_FP_WFRACXBITS_DW_Q): Likewise.
15890 (_FP_HIGHBIT_DW_Q): Likewise.
15891 (FP_FMA_Q): Likewise.
15892 (_FP_FRAC_HIGH_DW_Q): Likewise.
15893 * soft-fp/fmasf4.c: New file.
15894 * soft-fp/fmadf4.c: Likewise.
15895 * soft-fp/fmatf4.c: Likewise.
15897 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15899 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15900 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
15902 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
15904 (index_Slow_SSE4_2): Likewise.
15905 (index_Prefer_PMINUB_for_stringop): Likewise.
15906 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
15907 bit_Slow_SSE4_2 is set.
15908 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15909 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15911 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15913 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
15914 rtld_global._dl_hwcap2.
15915 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
15917 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
15918 POWER8 feature descriptions defined in _dl_hwcap2.
15919 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
15920 string handling for POWER8 feature bits.
15921 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
15922 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
15923 _dl_powerpc_cap_flags.
15924 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
15925 * sysdeps/powerpc/rtld-global-offsets.sym
15926 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
15927 _dl_hwcap2 in the rtld_global_ro structure.
15929 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15931 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
15932 hardware capabilities in support of AT_HWCAP2.
15933 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
15934 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
15936 (_dl_show_auxv): Add support for calling _dl_procinfo to display
15937 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
15938 explicitly the unknown a_type display mechanism is used.
15939 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
15940 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
15942 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
15943 to macro prototype for AT_HWCAP2 support.
15944 * sysdeps/i386/dl-procinfo.h: Likewise.
15945 * sysdeps/s390/dl-procinfo.h: Likewise.
15946 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
15947 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
15948 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
15949 return -1 for unknown a_type display fallback.
15950 * sysdeps/sparc/dl-procinfo.h: Likewise.
15951 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
15952 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
15954 2013-06-28 Joseph Myers <joseph@codesourcery.com>
15956 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
15957 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
15959 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
15962 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
15963 mprotect making __stack_prot writable.
15965 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
15966 Joseph Myers <joseph@codesourcery.com>
15968 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
15969 as being properly aligned.
15971 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
15973 * dlfcn/modstatic5.c: New file.
15974 * dlfcn/tststatic5.c: New file.
15975 * dlfcn/Makefile (tests): Add tststatic5.
15976 (tests-static): Likewise.
15977 (modules-names): Add modstatic5.
15978 (tststatic5-ENV): New variable.
15979 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
15982 * elf/dl-support.c (_dl_main_map): New variable.
15983 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
15984 (_dl_nns, _dl_load_adds): Set to 1.
15985 (_dl_initial_searchlist): Refer to _dl_main_map.
15986 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
15987 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
15988 call to _dl_get_origin.
15989 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
15991 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
15992 * dlfcn/modstatic3.c: New file.
15993 * dlfcn/tststatic3.c: New file.
15994 * dlfcn/tststatic4.c: New file.
15995 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
15996 (tests-static): Likewise.
15997 (modules-names): Add modstatic3.
15998 (tststatic3-ENV, tststatic4-ENV): New variables.
15999 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16000 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16002 2013-06-26 Joseph Myers <joseph@codesourcery.com>
16004 * configure.in (CC): Require GCC version 4.4 or later.
16005 * configure: Regenerated.
16006 * manual/install.texi (Tools for Compilation): Update GCC version
16008 * INSTALL: Regenerated.
16010 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16013 * string/test-memcmp.c (check2): New.
16014 (main): Call check2.
16016 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16018 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
16021 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16023 (dl_open_worker) [!SHARED]: ... here.
16025 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16027 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16029 2013-06-25 Richard Henderson <rth@redhat.com>
16031 * locale/programs/locarchive.c: Include <libc-internal.h>
16033 2013-06-25 Joseph Myers <joseph@codesourcery.com>
16035 * manual/texinfo.tex: Update to version 2013-06-21.17, with
16036 trailing whitespace removed.
16038 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16041 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16042 * locale/programs/locarchive.c: Include libc-mmap.h.
16043 (prepare_address_space): Take two new outputs (the mmap base and len).
16044 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
16046 (create_archive): Declare new mmap base and len values for
16047 prepare_address_space, and store the result in ah.
16048 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16049 (enlarge_archive): If ah->mmap_base is not NULL, use that and
16050 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16051 Declare new mmap base and len values for
16052 prepare_address_space, and store the result in new_ah.
16053 (open_archive): Declare new mmap base and len values for
16054 prepare_address_space, and store the result in ah.
16055 (close_archive): If ah->mmap_base is not NULL, use that and
16056 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16057 * sysdeps/generic/libc-mmap.h: New file.
16059 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16061 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16062 (ALIGN_UP): Likewise.
16063 (PTR_ALIGN_DOWN): Likewise.
16064 (PTR_ALIGN_UP): Likewise.
16066 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16068 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16069 entry mapped to PPC_PLATFORM_POWER8.
16070 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16072 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16073 (_dl_string_platform): Add case for exporting platform position for
16075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16076 search path to sysdeps/powerpc/powerpc32/power8 directory.
16077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16078 search path to sysdeps/powerpc/powerpc64/power8 directory.
16079 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16080 power7 directories.
16081 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16082 power7 directories.
16084 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16086 * INSTALL: Regenerate.
16088 * nscd/connections.c (nscd_init): Fix comment.
16090 2013-06-22 Joseph Myers <joseph@codesourcery.com>
16092 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16095 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16096 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16098 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16100 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16102 (DL_DST_REQ_STATIC): Remove macro.
16104 2013-06-21 Joseph Myers <joseph@codesourcery.com>
16107 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16108 with a shift of 0 bits.
16110 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16112 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16115 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16118 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16120 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16122 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16123 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16124 accepts -fno-tree-loop-distribute-patterns.
16125 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16126 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16128 * string/memset.c (memset): Likewise.
16129 * string/test-memmove.c (simple_memmove): Disable loop transformation
16131 * string/test-memset.c (simple_memset): Likewise.
16132 * benchtests/bench-memmove.c (simple_memmove): Likewise.
16133 * benchtests/bench-memset.c (simple_memset): Likewise.
16134 * configure: Regenerated.
16136 2013-06-20 Joseph Myers <joseph@codesourcery.com>
16138 * math/test-misc.c (main): Ignore fesetround failure when failures
16139 of subsequent rounding tests would be ignored.
16142 * math/fedisblxcpt.c (fedisableexcept): Return 0.
16143 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16144 * math/fegetenv.c (__fegetenv): Return 0.
16145 * math/fegetexcept.c (fegetexcept): Return 0.
16146 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16148 * math/feholdexcpt.c (feholdexcept): Return 0.
16149 * math/fesetenv.c (__fesetenv): Return 0.
16150 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16151 argument FE_TONEAREST.
16152 * math/feupdateenv.c (__feupdateenv): Return 0.
16153 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16155 2013-06-18 Roland McGrath <roland@hack.frob.com>
16157 * elf/rtld-Rules (rtld-compile-command.S): New variable.
16158 (rtld-compile-command.s, rtld-compile-command.c): New variables.
16159 ($(objpfx)rtld-%.os rules): Use them.
16161 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16163 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16166 2013-06-17 Roland McGrath <roland@hack.frob.com>
16168 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16169 length of target pattern, then descending length of dependency pattern.
16170 * configure.in (AWK): Require gawk 3.1.2 or newer.
16171 * manual/install.texi (Tools for Compilation): Say that we do.
16172 * configure: Regenerated.
16174 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16175 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16176 * scripts/sysd-rules.awk: ... this new script.
16177 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16178 than a glob-style pattern.
16180 2013-06-17 Joseph Myers <joseph@codesourcery.com>
16182 * math/test-misc.c (main): Do not treat incorrectly rounded
16183 conversions as failure unless ROUNDING_TESTS passes.
16185 2013-06-15 Joseph Myers <joseph@codesourcery.com>
16188 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16189 restore exception state around main square root computation, then
16190 check for inexactness explicitly.
16192 * math/libm-test.inc (fma_test_data): Add another test.
16194 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16196 * manual/threads.texi (Non-POSIX Extensions): New document
16197 node. Document pthread_getattr_default_np and
16198 pthread_setattr_default_np.
16200 * Versions.def (libpthread): Add GLIBC_2.18.
16201 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16210 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16216 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16218 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16221 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16223 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16224 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16226 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16227 H.J. Lu <hjl.tools@gmail.com>
16230 * sysdeps/x86_64/rtld-memset.c: Remove file.
16231 * sysdeps/x86_64/rtld-memset.S: New file.
16233 2013-06-14 Joseph Myers <joseph@codesourcery.com>
16235 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16236 (test_in_one_mode): Take arguments for whether the rounding mode
16237 is supported for each floating-point type.
16238 (do_test): Pass new arguments to test_in_one_mode using
16241 2013-06-13 Roland McGrath <roland@hack.frob.com>
16243 * posix/tst-waitid.c (do_test): Distinguish different instances of
16244 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
16245 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16246 before entering the kernel for waitpid.
16248 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16250 * NEWS: Fix note on clock function precision. Text by Roland
16253 2013-06-13 Roland McGrath <roland@hack.frob.com>
16255 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16256 it into place only when and if the sanity check passes.
16258 2013-06-13 Joseph Myers <joseph@codesourcery.com>
16260 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16261 output for whether conversion result is exact. Take argument
16262 indicating whether type is IBM long double.
16263 (round_for_all): Change need_exact field to ibm_ld.
16264 * stdlib/tst-strtod-round.c (struct exactness): New type.
16265 (struct test): Change bool ld_ok field to struct exactness exact.
16266 (TEST): Update all definitions for change to field.
16267 (tests): Regenerate array contents.
16268 (test_in_one_mode): Take pointer to new field instead of old ld_ok
16269 field value. Check for IBM long double here.
16270 (do_test): Update calls to test_in_one_mode.
16272 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16275 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16276 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16278 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16281 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16282 generated by the compiler on loop optimizations.
16283 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16284 general definitions.
16286 2013-06-12 Joseph Myers <joseph@codesourcery.com>
16288 * math/bug-nextafter.c: Include <math-tests.h>.
16289 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16291 * math/bug-nexttoward.c: Include <math-tests.h>.
16292 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16294 * math/test-misc.c: Include <math-tests.h>.
16295 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16298 2013-06-12 Andreas Jaeger <aj@suse.de>
16300 * po/ia.po: Update Interlingua translation from translation
16303 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16305 * include/fenv.h: Include stdbool.h.
16306 (struct rm_ctx): New structure.
16307 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16309 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16310 (SET_RESTORE_ROUNDF): Likewise.
16311 (SET_RESTORE_ROUNDL): Likewise.
16312 (SET_RESTORE_ROUND_NOEX): Likewise.
16313 (SET_RESTORE_ROUND_NOEXF): Likewise.
16314 (SET_RESTORE_ROUND_NOEXL): Likewise.
16315 (SET_RESTORE_ROUND_53BIT): Likewise.
16316 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16317 (libc_feresetround_noexf_ctx): Likewise.
16318 (libc_feresetround_noexl_ctx): Likewise.
16319 (libc_feholdsetround_53bit_ctx): Likewise.
16320 (libc_feresetround_53bit_ctx): Likewise.
16321 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16322 (libc_feholdexcept_setround_sse_ctx): New function.
16323 (libc_fesetenv_sse_ctx): Likewise.
16324 (libc_feupdateenv_sse_ctx): Likewise.
16325 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16326 (libc_feholdexcept_setround_387_ctx): Likewise.
16327 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16328 (libc_feholdsetround_387_prec_ctx): Likewise.
16329 (libc_feholdsetround_387_ctx): Likewise.
16330 (libc_feholdsetround_387_53bit_ctx): Likewise.
16331 (libc_feholdsetround_sse_ctx): Likewise.
16332 (libc_feresetround_sse_ctx): Likewise.
16333 (libc_feresetround_387_ctx): Likewise.
16334 (libc_feupdateenv_387_ctx): Likewise.
16335 (libc_feholdexcept_setroundf_ctx): Define macro.
16336 (libc_fesetenvf_ctx): Likewise.
16337 (libc_feupdateenvf_ctx): Likewise.
16338 (libc_feholdsetroundf_ctx): Likewise.
16339 (libc_feresetroundf_ctx): Likewise.
16340 (libc_feholdexcept_setround_ctx): Likewise.
16341 (libc_fesetenv_ctx): Likewise.
16342 (libc_feupdateenv_ctx): Likewise.
16343 (libc_feholdsetround_ctx): Likewise.
16344 (libc_feresetround_ctx): Likewise.
16345 (libc_feholdexcept_setroundl_ctx): Likewise.
16346 (libc_feupdateenvl_ctx): Likewise.
16347 (libc_feholdsetroundl_ctx): Likewise.
16348 (libc_feresetroundl_ctx): Likewise.
16349 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16350 (libc_feresetround_53bit_ctx): Likewise.
16352 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16354 * locale/iso-639.def: Convert to UTF-8.
16356 2013-06-11 Joseph Myers <joseph@codesourcery.com>
16358 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16359 (EXCEPTION_TESTS_double): Likewise.
16360 (EXCEPTION_TESTS_long_double): Likewise.
16361 (EXCEPTION_TESTS): Likewise.
16362 * math/libm-test.inc (test_exceptions): Only test exceptions if
16363 EXCEPTION_TESTS (FLOAT).
16365 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16367 * benchtests/Makefile (string-bench): Add strcpy_chk and
16369 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16370 * benchtests/bench-stpcpy_chk.c: New file.
16371 * benchtests/bench-strcpy_chk-ifunc.c: New file.
16372 * benchtests/bench-strcpy_chk.c: New file.
16373 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16375 (do_test): Likewise.
16377 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16379 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16380 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16381 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16382 with tabs where appropriate.
16383 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16385 [PPC_PLATFORM_PPC440]: Likewise.
16386 [PPC_PLATFORM_PPC464]: Likewise.
16387 [PPC_PLATFORM_PPC476]: Likewise.
16388 (_dl_string_platform): Add support for detecting ppc405, ppc440,
16389 ppc464, and ppc476 platform strings merging from ports/
16392 2013-06-11 Andreas Schwab <schwab@suse.de>
16395 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16396 (from_ucs4_idx): Regenerate.
16397 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16398 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16399 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16400 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16401 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16402 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16403 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16404 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16405 from FROM_LOOP and TO_LOOP specific macros.
16406 (BODY): Handle combining characters.
16407 * iconvdata/BIG5HKSCS.irreversible: Update.
16408 * iconvdata/BIG5HKSCS.precomposed: New file.
16409 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16411 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16413 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16415 * include/sys/time.h: Fix indentation and add copyright header.
16417 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16418 (do_test): Likewise.
16419 * string/test-memchr.c (do_one_test): Likewise.
16420 (do_test): Likewise.
16421 * string/test-memcmp.c (do_one_test): Likewise.
16422 (do_test): Likewise.
16423 * string/test-memcpy.c (do_one_test): Likewise.
16424 (do_test): Likewise.
16425 * string/test-memmem.c (do_one_test): Likewise.
16426 (do_test): Likewise.
16427 (do_random_tests): Likewise.
16428 * string/test-memmove.c (do_one_test): Likewise.
16429 (do_test): Likewise.
16430 * string/test-memset.c (do_one_test): Likewise.
16431 (do_test): Likewise.
16432 * string/test-rawmemchr.c (do_one_test): Likewise.
16433 (do_test): Likewise.
16434 * string/test-strcasecmp.c (do_one_test): Likewise.
16435 (do_test): Likewise.
16436 * string/test-strcasestr.c (do_one_test): Likewise.
16437 (do_test): Likewise.
16438 * string/test-strcat.c (do_one_test): Likewise.
16439 (do_test): Likewise.
16440 * string/test-strchr.c (do_one_test): Likewise.
16441 (do_test): Likewise.
16442 * string/test-strcmp.c (do_one_test): Likewise.
16443 (do_test): Likewise.
16444 * string/test-strcpy.c (do_one_test): Likewise.
16445 (do_test): Likewise.
16446 * string/test-string.h: Likewise.
16447 (test_init): Likewise.
16448 * string/test-strlen.c (do_one_test): Likewise.
16449 (do_test): Likewise.
16450 * string/test-strncasecmp.c (do_one_test): Likewise.
16451 (do_test): Likewise.
16452 * string/test-strncat.c (do_one_test): Likewise.
16453 (do_test): Likewise.
16454 * string/test-strncmp.c (do_one_test): Likewise.
16455 (do_test_limit): Likewise.
16456 (do_test): Likewise.
16457 * string/test-strncpy.c (do_one_test): Likewise.
16458 (do_test): Likewise.
16459 * string/test-strnlen.c (do_one_test): Likewise.
16460 (do_test): Likewise.
16461 * string/test-strpbrk.c (do_one_test): Likewise.
16462 (do_test): Likewise.
16463 * string/test-strrchr.c (do_one_test): Likewise.
16464 (do_test): Likewise.
16465 * string/test-strspn.c (do_one_test): Likewise.
16466 (do_test): Likewise.
16467 * string/test-strstr.c (do_one_test): Likewise.
16468 (do_test): Likewise.
16470 * benchtests/Makefile (string-bench): Add string benchmarks.
16471 * benchtests/bench-bcopy-ifunc.c: New file.
16472 * benchtests/bench-bcopy.c: New file.
16473 * benchtests/bench-bzero-ifunc.c: New file.
16474 * benchtests/bench-bzero.c: New file.
16475 * benchtests/bench-memccpy-ifunc.c: New file.
16476 * benchtests/bench-memccpy.c: New file.
16477 * benchtests/bench-memchr-ifunc.c: New file.
16478 * benchtests/bench-memchr.c: New file.
16479 * benchtests/bench-memcmp-ifunc.c: New file.
16480 * benchtests/bench-memcmp.c: New file.
16481 * benchtests/bench-memmem-ifunc.c: New file.
16482 * benchtests/bench-memmem.c: New file.
16483 * benchtests/bench-memmove-ifunc.c: New file.
16484 * benchtests/bench-memmove.c: New file.
16485 * benchtests/bench-mempcpy-ifunc.c: New file.
16486 * benchtests/bench-mempcpy.c: New file.
16487 * benchtests/bench-memset-ifunc.c: New file.
16488 * benchtests/bench-memset.c: New file.
16489 * benchtests/bench-rawmemchr-ifunc.c: New file.
16490 * benchtests/bench-rawmemchr.c: New file.
16491 * benchtests/bench-stpcpy-ifunc.c: New file.
16492 * benchtests/bench-stpcpy.c: New file.
16493 * benchtests/bench-stpncpy-ifunc.c: New file.
16494 * benchtests/bench-stpncpy.c: New file.
16495 * benchtests/bench-strcasecmp-ifunc.c: New file.
16496 * benchtests/bench-strcasecmp.c: New file.
16497 * benchtests/bench-strcasestr-ifunc.c: New file.
16498 * benchtests/bench-strcasestr.c: New file.
16499 * benchtests/bench-strcat-ifunc.c: New file.
16500 * benchtests/bench-strcat.c: New file.
16501 * benchtests/bench-strchr-ifunc.c: New file.
16502 * benchtests/bench-strchr.c: New file.
16503 * benchtests/bench-strchrnul-ifunc.c: New file.
16504 * benchtests/bench-strchrnul.c: New file.
16505 * benchtests/bench-strcmp-ifunc.c: New file.
16506 * benchtests/bench-strcmp.c: New file.
16507 * benchtests/bench-strcpy-ifunc.c: New file.
16508 * benchtests/bench-strcpy.c: New file.
16509 * benchtests/bench-strcspn-ifunc.c: New file.
16510 * benchtests/bench-strcspn.c: New file.
16511 * benchtests/bench-strlen-ifunc.c: New file.
16512 * benchtests/bench-strlen.c: New file.
16513 * benchtests/bench-strncasecmp-ifunc.c: New file.
16514 * benchtests/bench-strncasecmp.c: New file.
16515 * benchtests/bench-strncat-ifunc.c: New file.
16516 * benchtests/bench-strncat.c: New file.
16517 * benchtests/bench-strncmp-ifunc.c: New file.
16518 * benchtests/bench-strncmp.c: New file.
16519 * benchtests/bench-strncpy-ifunc.c: New file.
16520 * benchtests/bench-strncpy.c: New file.
16521 * benchtests/bench-strnlen-ifunc.c: New file.
16522 * benchtests/bench-strnlen.c: New file.
16523 * benchtests/bench-strpbrk-ifunc.c: New file.
16524 * benchtests/bench-strpbrk.c: New file.
16525 * benchtests/bench-strrchr-ifunc.c: New file.
16526 * benchtests/bench-strrchr.c: New file.
16527 * benchtests/bench-strspn-ifunc.c: New file.
16528 * benchtests/bench-strspn.c: New file.
16529 * benchtests/bench-strstr-ifunc.c: New file.
16530 * benchtests/bench-strstr.c: New file.
16532 * benchtests/Makefile: Disable parallel execution of targets.
16533 (string-bench): Add memcpy.
16534 (benchset): New variable to store a list of benchmark sets.
16535 (bench-func): Renamed from bench.
16536 (bench-set): New target.
16537 (bench): Depend on bench-func and bench-set.
16538 * benchtests/README: Add section on benchmark sets.
16539 * benchtests/bench-memcpy-ifunc.c: New file.
16540 * benchtests/bench-memcpy.c: New file.
16541 * benchtests/bench-string.h: New file.
16543 2013-06-11 Andreas Schwab <schwab@suse.de>
16546 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16547 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16548 values in the triple.
16549 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16550 terminator in the group key.
16552 2013-06-11 Andreas Jaeger <aj@suse.de>
16554 * po/zh_TW.po: Update Chinese (traditional) translation from
16555 translation project.
16557 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16559 * include/time.h (__clock_gettime): Add libc_hidden_proto.
16560 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16561 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
16562 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16563 (clock_getcpuclockid): Likewise.
16564 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16565 Add weak_alias and libc_hidden_def.
16566 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16567 * rt/clock_gettime.c (clock_gettime): Rename to
16568 __clock_gettime. Add weak_alias and libc_hidden_def.
16569 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16570 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16571 __clock_nanosleep. Add weak_alias and libc_hidden_def.
16572 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16573 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16575 * rt/clock_settime.c (clock_settime): Rename to
16576 __clock_settime. Add weak_alias and libc_hidden_def.
16577 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16579 2013-06-10 Joseph Myers <joseph@codesourcery.com>
16581 * mach/err_boot.sub: Remove trailing whitespace.
16582 * mach/err_ipc.sub: Likewise.
16583 * mach/err_mach.sub: Likewise.
16585 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16586 (ROUNDING_TESTS_double): Likewise.
16587 (ROUNDING_TESTS_long_double): Likewise.
16588 (ROUNDING_TESTS): Likewise.
16589 * math/libm-test.inc: Include <math-tests.h>.
16590 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16591 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16592 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16593 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16595 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16597 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16600 2013-06-08 Joseph Myers <joseph@codesourcery.com>
16602 * sysdeps/gnu/errlist.awk: Do not generate space at end of
16603 otherwise empty TRANS lines.
16604 * sysdeps/gnu/errlist.c: Regenerated.
16606 * catgets/gencat.c (error_print): Use (void) in function
16608 * crypt/crypt_util.c (__init_des): Likewise.
16609 * crypt/speeds.c (Stop): Likewise.
16611 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16612 * inet/ruserpass.c (token): Likewise.
16613 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16614 * intl/localealias.c (extend_alias_table): Likewise.
16615 * intl/plural-exp.c (init_germanic_plural): Likewise.
16616 * libio/fcloseall.c (__fcloseall): Likewise.
16617 * libio/genops.c (_IO_flush_all): Likewise.
16618 (_IO_flush_all_linebuffered): Likewise.
16619 (_IO_cleanup): Likewise.
16620 (_IO_iter_begin): Likewise.
16621 (_IO_iter_end): Likewise.
16622 (_IO_list_lock): Likewise.
16623 (_IO_list_unlock): Likewise.
16624 (_IO_list_resetlock): Likewise.
16625 * libio/getchar.c (getchar): Likewise.
16626 * libio/getchar_u.c (getchar_unlocked): Likewise.
16627 * libio/getwchar.c (getwchar): Likewise.
16628 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16629 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16630 * login/getpt.c (__getpt): Likewise.
16631 * login/tst-utmp.c (main): Likewise.
16632 * malloc/hooks.c (__malloc_check_init): Likewise.
16633 * malloc/malloc.c (__malloc_stats): Likewise.
16634 * malloc/mtrace.c (tr_break): Likewise.
16635 (mtrace): Likewise.
16636 (muntrace): Likewise.
16637 * misc/fstab.c (endfsent): Likewise.
16638 * misc/getclktck.c (__getclktck): Likewise.
16639 * misc/getdtsz.c (__getdtablesize): Likewise.
16640 * misc/gethostid.c (gethostid): Likewise.
16641 * misc/getpagesize.c (__getpagesize): Likewise.
16642 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16643 (__get_nprocs): Likewise.
16644 (__get_phys_pages): Likewise.
16645 (__get_avphys_pages): Likewise.
16646 * misc/getttyent.c (getttyent): Likewise.
16647 (setttyent): Likewise.
16648 (endttyent): Likewise.
16649 * misc/getusershell.c (getusershell): Likewise.
16650 (endusershell): Likewise.
16651 (setusershell): Likewise.
16652 (initshells): Likewise.
16653 * misc/hsearch.c (__hdestroy): Likewise.
16654 * misc/sync.c (sync): Likewise.
16655 * misc/syslog.c (closelog_internal): Likewise.
16656 (closelog): Likewise.
16657 * misc/ttyslot.c (ttyslot): Likewise.
16658 * misc/vhangup.c (vhangup): Likewise.
16659 * posix/fork.c (__fork): Likewise.
16660 * posix/getegid.c (__getegid): Likewise.
16661 * posix/geteuid.c (__geteuid): Likewise.
16662 * posix/getgid.c (__getgid): Likewise.
16663 * posix/getpid.c (__getpid): Likewise.
16664 * posix/getppid.c (__getppid): Likewise.
16665 * posix/getuid.c (__getuid): Likewise.
16666 * posix/pause.c (pause): Likewise.
16667 * posix/setpgrp.c (setpgrp): Likewise.
16668 * posix/setsid.c (__setsid): Likewise.
16669 * posix/test-vfork.c (noop): Likewise.
16670 * resolv/gethnamaddr.c (_endhtent): Likewise.
16671 (_gethtent): Likewise.
16672 (ht_endhostent): Likewise.
16673 (gethostent): Likewise.
16674 (dns_service): Likewise.
16675 * stdlib/drand48.c (drand48): Likewise.
16676 * stdlib/lrand48.c (lrand48): Likewise.
16677 * stdlib/mrand48.c (mrand48): Likewise.
16678 * stdlib/rand.c (rand): Likewise.
16679 * stdlib/random.c (__random): Likewise.
16680 * stdlib/setenv.c (clearenv): Likewise.
16681 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16682 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16683 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16684 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16685 (__get_nprocs): Likewise.
16686 (__get_phys_pages): Likewise.
16687 (__get_avphys_pages): Likewise.
16688 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16689 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16690 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16691 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16692 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16693 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16694 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16695 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16696 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16697 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16698 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16699 * sysdeps/mach/hurd/sync.c (sync): Likewise.
16700 * sysdeps/posix/clock.c (clock): Likewise.
16701 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16702 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16703 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16704 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16705 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16706 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16707 (__get_nprocs_conf): Likewise.
16708 (__get_phys_pages): Likewise.
16709 (__get_avphys_pages): Likewise.
16710 * time/clock.c (clock): Likewise.
16711 * time/tzset.c (__tzname_max): Likewise.
16713 2013-06-07 Joseph Myers <joseph@codesourcery.com>
16715 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16716 (__bswap_32): Do not use "register".
16717 * crypt/crypt.c (_ufc_doit_r): Likewise.
16718 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16719 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16720 * gmon/gmon.c (__monstartup): Likewise.
16721 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16722 * hurd/hurdmalloc.c (more_memory): Likewise.
16723 (malloc): Likewise.
16725 (realloc): Likewise.
16726 (malloc_fork_prepare): Likewise.
16727 (malloc_fork_parent): Likewise.
16728 (malloc_fork_child): Likewise.
16729 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16730 (_svcauth_des): Likewise.
16731 * inet/inet_lnaof.c (inet_lnaof): Likewise.
16732 * inet/inet_net.c (inet_network): Likewise.
16733 * inet/inet_netof.c (inet_netof): Likewise.
16734 * inet/rcmd.c (__validuser2_sa): Likewise.
16735 * io/fts.c (fts_open): Likewise.
16736 (fts_load): Likewise.
16737 (fts_close): Likewise.
16738 (fts_read): Likewise.
16739 (fts_children): Likewise.
16740 (fts_build): Likewise.
16741 (fts_stat): Likewise.
16742 (fts_sort): Likewise.
16743 (fts_alloc): Likewise.
16744 (fts_lfree): Likewise.
16745 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16746 (_IO_file_xsgetn): Likewise.
16747 (_IO_file_xsgetn_mmap): Likewise.
16748 * libio/iofopncook.c (_IO_cookie_read): Likewise.
16749 (_IO_cookie_write): Likewise.
16750 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16751 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16752 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16753 * malloc/obstack.c (_obstack_begin): Likewise.
16754 (_obstack_begin_1): Likewise.
16755 (_obstack_newchunk): Likewise.
16756 (_obstack_allocated_p): Likewise.
16757 (obstack_free): Likewise.
16758 (_obstack_memory_used): Likewise.
16759 * misc/getttyent.c (getttynam): Likewise.
16760 (getttyent): Likewise.
16763 * misc/getusershell.c (initshells): Likewise.
16764 * misc/syslog.c (__vsyslog_chk): Likewise.
16765 * misc/ttyslot.c (ttyslot): Likewise.
16766 * nis/nis_hash.c (__nis_hash): Likewise.
16767 * posix/fnmatch_loop.c (FCT): Likewise.
16768 * posix/getconf.c (print_all): Likewise.
16770 * posix/getopt.c (exchange): Likewise.
16771 * posix/glob.c (globfree): Likewise.
16772 (prefix_array): Likewise.
16773 (__glob_pattern_type): Likewise.
16774 * resolv/arpa/nameser.h (NS_GET16): Likewise.
16775 (NS_GET32): Likewise.
16776 (NS_PUT16): Likewise.
16777 (NS_PUT32): Likewise.
16778 * resolv/gethnamaddr.c (getanswer): Likewise.
16779 (gethostbyname2): Likewise.
16780 (gethostbyaddr): Likewise.
16781 (_gethtent): Likewise.
16782 (_gethtbyname2): Likewise.
16783 (_gethtbyaddr): Likewise.
16784 * resolv/ns_print.c (dst_s_get_int16): Likewise.
16785 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16786 * resolv/res_init.c (__res_vinit): Likewise.
16787 (net_mask): Likewise.
16788 * resolv/res_mkquery.c (outchar): Likewise.
16790 * stdio-common/printf_fp.c (outchar): Likewise.
16792 * stdio-common/printf_fphex.c (outchar): Likewise.
16794 * stdio-common/printf_size.c (outchar): Likewise.
16796 * stdio-common/test_rdwr.c (main): Likewise.
16797 * stdio-common/tfformat.c (matches): Likewise.
16798 * stdio-common/vfprintf.c (outchar): Likewise.
16799 (printf_unknown): Likewise.
16800 (buffered_vfprintf): Likewise.
16801 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16802 * stdio-common/xbug.c (AppendToBuffer): Likewise.
16803 (ReadFile): Likewise.
16804 * stdlib/qsort.c (SWAP): Likewise.
16805 (_quicksort): Likewise.
16806 * stdlib/setenv.c (__add_to_environ): Likewise.
16807 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16808 * stdlib/strtol_l.c (__strtol_l): Likewise.
16809 * stdlib/tst-strtod.c (main): Likewise.
16810 * stdlib/tst-strtol.c (main): Likewise.
16811 * stdlib/tst-strtoll.c (main): Likewise.
16812 * string/bits/string2.h (__strcmp_cc): Likewise.
16813 (__strcmp_cg): Likewise.
16814 (__strcspn_c1): Likewise.
16815 (__strcspn_c2): Likewise.
16816 (__strcspn_c3): Likewise.
16817 (__strspn_c1): Likewise.
16818 (__strspn_c2): Likewise.
16819 (__strspn_c3): Likewise.
16820 (__strsep_1c): Likewise.
16821 (__strsep_2c): Likewise.
16822 (__strsep_3c): Likewise.
16823 * string/memccpy.c (__memccpy): Likewise.
16824 * string/stpcpy.c (__stpcpy): Likewise.
16825 * string/strcmp.c (strcmp): Likewise.
16826 * string/strrchr.c (strrchr): Likewise.
16827 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
16829 * sysdeps/mach/hurd/getcwd.c
16830 (_hurd_canonicalize_directory_name_internal): Likewise.
16831 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
16832 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
16833 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
16834 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
16835 Likewise, in both definitions.
16836 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
16838 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
16839 64] (__bswap_64): Likewise.
16840 * time/test_time.c (main): Likewise.
16841 * time/tzfile.c (__tzfile_read): Likewise.
16842 (__tzfile_compute): Likewise.
16843 * time/tzset.c (__tzset_parse_tz): Likewise.
16844 (tzset_internal): Likewise.
16845 (compute_change): Likewise.
16846 * wcsmbs/wcscat.c (__wcscat): Likewise.
16847 * wcsmbs/wcschr.c (wcschr): Likewise.
16848 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16849 * wcsmbs/wcscspn.c (wcscspn): Likewise.
16850 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16851 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
16852 * wcsmbs/wcsspn.c (wcsspn): Likewise.
16853 * wcsmbs/wcsstr.c (wcsstr): Likewise.
16854 * wcsmbs/wmemchr.c (wmemchr): Likewise.
16855 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16856 * wcsmbs/wmemset.c (wmemset): Likewise.
16858 2013-06-06 Joseph Myers <joseph@codesourcery.com>
16860 * scripts/config.guess: Update to version 2013-05-16.
16861 * scripts/config.sub: Update to version 2013-04-24.
16862 * scripts/install-sh: Update to version 2011-11-20.07.
16863 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
16864 * scripts/move-if-change: Update to version 2012-01-06 07:23.
16866 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
16868 * debug/fgetws_u_chk.c: Fix leading whitespaces.
16869 * elf/sln.c: Likewise.
16870 * hurd/hurd/ioctl.h: Likewise.
16871 * hurd/hurdmalloc.c: Likewise.
16872 * hurd/xattr.c: Likewise.
16873 * include/shlib-compat.h: Likewise.
16874 * inet/ruserpass.c: Likewise.
16875 * libio/iofgets_u.c: Likewise.
16876 * libio/iofgetws_u.c: Likewise.
16877 * locale/programs/ld-identification.c: Likewise.
16878 * locale/programs/ld-time.c: Likewise.
16879 * mach/msg-destroy.c: Likewise.
16880 * nss/nss_files/files-netgrp.c: Likewise.
16881 * resolv/res_data.c: Likewise.
16882 * soft-fp/op-1.h: Likewise.
16883 * soft-fp/op-2.h: Likewise.
16884 * soft-fp/op-4.h: Likewise.
16885 * soft-fp/op-common.h: Likewise.
16886 * stdio-common/printf_fphex.c: Likewise.
16887 * stdlib/strtod_l.c: Likewise.
16888 * sunrpc/rpc/clnt.h: Likewise.
16889 * sysdeps/generic/framestate.c: Likewise.
16890 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16891 * sysdeps/i386/bsd-setjmp.S: Likewise.
16892 * sysdeps/i386/__longjmp.S: Likewise.
16893 * sysdeps/i386/setjmp.S: Likewise.
16894 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16895 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16896 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16897 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16898 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16899 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16900 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16901 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16902 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16903 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16904 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16905 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16906 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16907 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16908 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16909 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16910 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16911 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
16912 * sysdeps/ieee754/support.c: Likewise.
16913 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16914 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
16915 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
16916 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
16917 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
16918 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
16919 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
16920 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
16921 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
16922 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
16923 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
16924 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
16925 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
16926 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
16927 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
16928 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
16929 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16932 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
16934 * posix/transbug.c: Remove executable mode.
16936 2013-06-05 Joseph Myers <joseph@codesourcery.com>
16938 * crypt/speeds.c: Remove trailing whitespace.
16939 * dlfcn/default.c: Likewise.
16940 * elf/ifuncdep2.c: Likewise.
16941 * elf/ifuncmain1.c: Likewise.
16942 * elf/ifuncmain1vis.c: Likewise.
16943 * elf/testobj.h: Likewise.
16944 * elf/tst-stackguard1.c: Likewise.
16945 * gmon/sys/gmon.h: Likewise.
16946 * hurd/hurdmsg.c: Likewise.
16947 * hurd/new-fd.c: Likewise.
16948 * hurd/ports-get.c: Likewise.
16949 * iconvdata/ibm1008_420.c: Likewise.
16950 * inet/tst-getni1.c: Likewise.
16951 * inet/tst-getni2.c: Likewise.
16952 * libio/ioungetc.c: Likewise.
16953 * libio/wfiledoalloc.c: Likewise.
16954 * manual/libm-err-tab.pl: Likewise.
16955 * math/w_dremf.c: Likewise.
16956 * misc/ftruncate.c: Likewise.
16957 * posix/bug-glob2.c: Likewise.
16958 * posix/tst-pcre.c: Likewise.
16959 * posix/wait4.c: Likewise.
16960 * resolv/README: Likewise.
16961 * resolv/res_debug.h: Likewise.
16962 * resolv/tst-inet_ntop.c: Likewise.
16963 * setjmp/bug269-setjmp.c: Likewise.
16964 * soft-fp/extended.h: Likewise.
16965 * soft-fp/op-1.h: Likewise.
16966 * soft-fp/op-2.h: Likewise.
16967 * soft-fp/op-4.h: Likewise.
16968 * soft-fp/op-8.h: Likewise.
16969 * soft-fp/testit.c: Likewise.
16970 * stdio-common/bug16.c: Likewise.
16971 * stdlib/random.c: Likewise.
16972 * sunrpc/rpcsvc/rquota.x: Likewise.
16973 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
16974 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16975 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16976 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16977 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16978 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16979 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16980 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16981 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16982 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16983 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16984 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16985 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16986 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16987 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16988 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16989 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16990 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16991 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16992 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16993 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16994 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16995 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16996 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16997 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16998 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16999 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17000 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17001 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17002 * sysdeps/ieee754/s_lib_version.c: Likewise.
17003 * sysdeps/mach/hurd/check_fds.c: Likewise.
17004 * sysdeps/mach/hurd/getsockname.c: Likewise.
17005 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17006 * sysdeps/mach/hurd/recvfrom.c: Likewise.
17007 * sysdeps/powerpc/bits/link.h: Likewise.
17008 * sysdeps/powerpc/dl-procinfo.c: Likewise.
17009 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17010 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17011 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17012 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17013 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17014 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17015 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17016 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17017 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17018 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17019 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17020 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17021 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17022 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17023 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17024 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17025 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17026 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17027 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17028 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17029 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17030 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17031 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17032 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17033 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17034 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17035 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17036 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17037 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17038 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17039 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17040 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17041 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17042 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17043 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17044 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17045 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17046 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17047 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17048 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17049 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17050 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17051 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17052 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17053 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17054 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17055 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17056 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17057 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17058 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17059 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17060 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17061 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17062 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17063 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17064 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17065 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17066 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17067 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17068 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17069 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17070 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17071 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17072 * sysdeps/powerpc/sysdep.h: Likewise.
17073 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17074 * sysdeps/s390/s390-64/sub_n.S: Likewise.
17075 * sysdeps/sh/dl-trampoline.S: Likewise.
17076 * sysdeps/sh/memset.S: Likewise.
17077 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17078 * sysdeps/sh/strlen.S: Likewise.
17079 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17080 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17081 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17082 * sysdeps/sparc/sparc32/rem.S: Likewise.
17083 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17084 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17085 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17086 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17087 * sysdeps/sparc/sparc32/urem.S: Likewise.
17088 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17089 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17090 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17091 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17092 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17093 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17094 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17095 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17096 * sysdeps/unix/bsd/times.c: Likewise.
17097 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17098 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17102 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17103 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17104 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17105 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17106 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17107 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17108 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17109 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17110 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17111 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17112 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17113 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17114 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17115 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17116 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17117 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17118 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17119 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17120 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17121 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17122 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17123 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17124 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17125 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17126 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17127 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17128 * sysdeps/x86_64/strcspn.S: Likewise.
17130 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17132 * locale/C-translit.h: Revert #include <stdint.h> because this is a
17133 generated file. Regenerate properly from gen-translit.pl.
17134 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
17135 locale/C-translit.h.
17137 2013-06-05 Andreas Schwab <schwab@suse.de>
17140 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17141 week as 6 instead of -1.
17142 * time/tst-strptime.c (day_tests): Add test case.
17144 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17146 * sysdeps/generic/math_private.h
17147 (libc_feholdexcept_setround_53bit): Replace with
17148 libc_feholdsetround_53bit.
17149 (libc_feupdateenv_53bit): Replace with
17150 libc_feresetround_53bit.
17151 (SET_RESTORE_ROUND_53BIT): Adjust.
17153 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17155 * string/test-strchrnul.c: Add copyright header.
17157 * posix/tst-getaddrinfo4.c: Increase test timeout.
17159 2013-06-03 Carlos O'Donell <carlos@redhat.com>
17162 * math/libm-test.inc (MAX_EXP): Remove
17164 (ulp): Use MIN_EXP - MANT_DIG.
17165 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17167 2013-05-31 Carlos O'Donell <carlos@redhat.com>
17169 * po/be.po: Revert last change.
17170 * po/zh_CN.po: Likewise.
17171 * po/header.pot: Likewise.
17173 2013-05-31 Joseph Myers <joseph@codesourcery.com>
17175 * Makefile ($(common-objpfx)linkobj/libc.so): Define
17176 link-libc-deps to empty as target-specific variable.
17177 * Makerules (link-libc-args): New variable.
17178 (libc-for-link): Likewise.
17179 (link-libc-deps): Likewise.
17180 (lib%.so): Depend on $(link-libc-deps). Link with
17182 (build-module): Link with $(link-libc-args).
17183 (build-module-asneeded): Likewise.
17184 (build-module-helper-objlist): Filter out $(link-libc-deps) from
17186 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17187 target-specific variable.
17188 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17189 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17190 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17192 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17194 ($(objpfx)libpcprofile.so): Likewise.
17195 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17197 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17198 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17199 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17201 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17202 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17203 * login/Makefile ($(objpfx)libutil.so): Likewise.
17204 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17205 * math/Makefile ($(objpfx)libm.so): Likewise.
17206 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17207 $(objpfx)libnsl.so): Define libc-for-link as target-specific
17208 variable instead of depending directly on libc.
17209 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17210 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17212 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17214 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17215 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17216 ($(objpfx)libanl.so): Likewise.
17217 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17219 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17221 * sysdeps/i386/fpu/Makefile: Remove file.
17222 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17223 ($(objpfx)libm.so): Remove dependency on ld.so.
17225 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
17228 * nis/yp_xdr.c (XDRMAXNAME): Define.
17229 (XDRMAXRECORD): Define.
17230 (xdr_domainname): Use XDRMAXNAME.
17231 (xdr_mapname): Likewise.
17232 (xdr_peername): Likewise.
17233 (xdr_keydat): Use XDRMAXRECORD.
17234 (xdr_valdat): Likewise.
17236 2013-05-30 Jeff Law <law@redhat.com>
17239 * manual/errno.texi (ESTALE): Update to account for more than
17240 just NFS file systems.
17241 * sysdeps/gnu/errlist.c: Regenerated.
17243 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17246 * elf/Makefile (tests): Add tst-null-argv.
17247 (modules-names): Add tst-null-argv-lib.
17248 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17249 (tst-null-argv-ENV): Set environment for tst-null-argv.
17250 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17251 (RTLD_PROGNAME): New macro.
17252 * elf/tst-null-argv.c: New test case.
17253 * elf/tst-null-argv-lib.c: Library for test case.
17254 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17255 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17256 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17257 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17258 * elf/dl-init.c (call_init): Likewise.
17259 (_dl_init): Likewise.
17260 * elf/dl-load.c (print_search_path): Likewise.
17261 (_dl_map_object): Likewise.
17262 * elf/dl-lookup.c (do_lookup_x): Likewise.
17263 (add_dependency): Likewise.
17264 (_dl_lookup_symbol_x): Likewise.
17265 (_dl_debug_bindings): Likewise.
17266 * elf/dl-open.c (_dl_show_scope): Likewise.
17267 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17268 * elf/dl-version.c (match_symbol): Likewise.
17269 (_dl_check_map_versions): Likewise.
17270 * elf/rtld.c (dl_main): Likewise.
17271 (print_unresolved): Use RTLD_PROGNAME.
17272 (print_missing_version): Likewise.
17273 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17274 (elf_machine_rela): Likewise.
17275 * sysdeps/powerpc/powerpc32/dl-machine.c
17276 (__process_machine_rela): Likewise.
17277 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17279 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17281 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17283 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17284 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17286 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17288 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17290 2013-05-28 Carlos O'Donell <carlos@redhat.com>
17292 * po/be.po: Add descriptive title.
17293 * po/zh_CN.po: Likewise.
17294 * po/header.pot: Likewise.
17296 2013-05-28 Mike Frysinger <vapier@gentoo.org>
17298 * locale/programs/locarchive.c (create_archive): Inlucde fname in
17300 (enlarge_archive): Likewise.
17302 2013-05-28 Ben North <ben@redfrontdoor.org>
17304 * manual/arith.texi (frexp): It is the magnitude of the return
17305 value which lies in [0.5, 1), not the return value itself.
17307 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17311 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
17313 * stdio-common/bug26.c (main): Correct fscanf template.
17315 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17316 declare _dl_skip_args.
17318 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17321 * manual/platform.texi: Add missing @end deftypefun.
17323 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17326 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17327 bit of mantissa of 2^16382.
17328 * math/libm-test.inc (hypot_test_data): Add more tests.
17330 * math/libm-test.inc: Add drem and pow10 to list of tested
17332 (pow10_test): New function.
17333 (drem_test): Likewise.
17334 (drem_test_tonearest): Likewise.
17335 (drem_test_towardzero): Likewise.
17336 (drem_test_downward): Likewise.
17337 (drem_test_upward): Likewise.
17338 (main): Call the new functions.
17340 * math/libm-test.inc (finite_test_data): Remove.
17341 (finite_test): Run tests from isfinite_test_data.
17342 (gamma_test_data): Remove.
17343 (gamma_test): Run tests from lgamma_test_data.
17344 * sysdeps/i386/fpu/libm-test-ulps: Update.
17345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17347 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17349 * manual/platform.texi: Add PowerPC PPR function set documentation.
17350 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17353 2013-05-24 Carlos O'Donell <carlos@redhat.com>
17355 * math/libm-test.inc (MAX_EXP): Define.
17357 (ulp): New function.
17358 (check_float_internal): Use ULPDIFF.
17359 (cpow_test): Disable failing test.
17360 (check_ulp): Test ulp() implemetnation.
17361 (main): Call check_ulp before starting tests.
17363 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17365 * math/gen-libm-test.pl (generate_testfile): Do not handle
17366 START_DATA and END_DATA.
17367 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17369 (acos_tonearest_test_data): Likewise.
17370 (acos_towardzero_test_data): Likewise.
17371 (acos_downward_test_data): Likewise.
17372 (acos_upward_test_data): Likewise.
17373 (acosh_test_data): Likewise.
17374 (asin_test_data): Likewise.
17375 (asin_tonearest_test_data): Likewise.
17376 (asin_towardzero_test_data): Likewise.
17377 (asin_downward_test_data): Likewise.
17378 (asin_upward_test_data): Likewise.
17379 (asinh_test_data): Likewise.
17380 (atan_test_data): Likewise.
17381 (atanh_test_data): Likewise.
17382 (atan2_test_data): Likewise.
17383 (cabs_test_data): Likewise.
17384 (cacos_test_data): Likewise.
17385 (cacosh_test_data): Likewise.
17386 (carg_test_data): Likewise.
17387 (casin_test_data): Likewise.
17388 (casinh_test_data): Likewise.
17389 (catan_test_data): Likewise.
17390 (catanh_test_data): Likewise.
17391 (cbrt_test_data): Likewise.
17392 (ccos_test_data): Likewise.
17393 (ccosh_test_data): Likewise.
17394 (ceil_test_data): Likewise.
17395 (cexp_test_data): Likewise.
17396 (cimag_test_data): Likewise.
17397 (clog_test_data): Likewise.
17398 (clog10_test_data): Likewise.
17399 (conj_test_data): Likewise.
17400 (copysign_test_data): Likewise.
17401 (cos_test_data): Likewise.
17402 (cos_tonearest_test_data): Likewise.
17403 (cos_towardzero_test_data): Likewise.
17404 (cos_downward_test_data): Likewise.
17405 (cos_upward_test_data): Likewise.
17406 (cosh_test_data): Likewise.
17407 (cosh_tonearest_test_data): Likewise.
17408 (cosh_towardzero_test_data): Likewise.
17409 (cosh_downward_test_data): Likewise.
17410 (cosh_upward_test_data): Likewise.
17411 (cpow_test_data): Likewise.
17412 (cproj_test_data): Likewise.
17413 (creal_test_data): Likewise.
17414 (csin_test_data): Likewise.
17415 (csinh_test_data): Likewise.
17416 (csqrt_test_data): Likewise.
17417 (ctan_test_data): Likewise.
17418 (ctan_tonearest_test_data): Likewise.
17419 (ctan_towardzero_test_data): Likewise.
17420 (ctan_downward_test_data): Likewise.
17421 (ctan_upward_test_data): Likewise.
17422 (ctanh_test_data): Likewise.
17423 (ctanh_tonearest_test_data): Likewise.
17424 (ctanh_towardzero_test_data): Likewise.
17425 (ctanh_downward_test_data): Likewise.
17426 (ctanh_upward_test_data): Likewise.
17427 (erf_test_data): Likewise.
17428 (erfc_test_data): Likewise.
17429 (exp_test_data): Likewise.
17430 (exp_tonearest_test_data): Likewise.
17431 (exp_towardzero_test_data): Likewise.
17432 (exp_downward_test_data): Likewise.
17433 (exp_upward_test_data): Likewise.
17434 (exp10_test_data): Likewise.
17435 (exp2_test_data): Likewise.
17436 (expm1_test_data): Likewise.
17437 (fabs_test_data): Likewise.
17438 (fdim_test_data): Likewise.
17439 (finite_test_data): Likewise.
17440 (floor_test_data): Likewise.
17441 (fma_test_data): Likewise.
17442 (fma_towardzero_test_data): Likewise.
17443 (fma_downward_test_data): Likewise.
17444 (fma_upward_test_data): Likewise.
17445 (fmax_test_data): Likewise.
17446 (fmin_test_data): Likewise.
17447 (fmod_test_data): Likewise.
17448 (fpclassify_test_data): Likewise.
17449 (frexp_test_data): Likewise.
17450 (gamma_test_data): Likewise.
17451 (hypot_test_data): Likewise.
17452 (ilogb_test_data): Likewise.
17453 (isfinite_test_data): Likewise.
17454 (isgreater_test_data): Likewise.
17455 (isgreaterequal_test_data): Likewise.
17456 (isinf_test_data): Likewise.
17457 (isless_test_data): Likewise.
17458 (islessequal_test_data): Likewise.
17459 (islessgreater_test_data): Likewise.
17460 (isnan_test_data): Likewise.
17461 (isnormal_test_data): Likewise.
17462 (issignaling_test_data): Likewise.
17463 (isunordered_test_data): Likewise.
17464 (j0_test_data): Likewise.
17465 (j1_test_data): Likewise.
17466 (jn_test_data): Likewise.
17467 (ldexp_test_data): Likewise.
17468 (lgamma_test_data): Likewise.
17469 (lrint_test_data): Likewise.
17470 (lrint_tonearest_test_data): Likewise.
17471 (lrint_towardzero_test_data): Likewise.
17472 (lrint_downward_test_data): Likewise.
17473 (lrint_upward_test_data): Likewise.
17474 (llrint_test_data): Likewise.
17475 (llrint_tonearest_test_data): Likewise.
17476 (llrint_towardzero_test_data): Likewise.
17477 (llrint_downward_test_data): Likewise.
17478 (llrint_upward_test_data): Likewise.
17479 (log_test_data): Likewise.
17480 (log10_test_data): Likewise.
17481 (log1p_test_data): Likewise.
17482 (log2_test_data): Likewise.
17483 (logb_test_data): Likewise.
17484 (logb_downward_test_data): Likewise.
17485 (lround_test_data): Likewise.
17486 (llround_test_data): Likewise.
17487 (modf_test_data): Likewise.
17488 (nearbyint_test_data): Likewise.
17489 (nextafter_test_data): Likewise.
17490 (nexttoward_test_data): Likewise.
17491 (pow_test_data): Likewise.
17492 (pow_tonearest_test_data): Likewise.
17493 (pow_towardzero_test_data): Likewise.
17494 (pow_downward_test_data): Likewise.
17495 (pow_upward_test_data): Likewise.
17496 (remainder_test_data): Likewise.
17497 (remainder_tonearest_test_data): Likewise.
17498 (remainder_towardzero_test_data): Likewise.
17499 (remainder_downward_test_data): Likewise.
17500 (remainder_upward_test_data): Likewise.
17501 (remquo_test_data): Likewise.
17502 (rint_test_data): Likewise.
17503 (rint_tonearest_test_data): Likewise.
17504 (rint_towardzero_test_data): Likewise.
17505 (rint_downward_test_data): Likewise.
17506 (rint_upward_test_data): Likewise.
17507 (round_test_data): Likewise.
17508 (scalb_test_data): Likewise.
17509 (scalbn_test_data): Likewise.
17510 (scalbln_test_data): Likewise.
17511 (signbit_test_data): Likewise.
17512 (sin_test_data): Likewise.
17513 (sin_tonearest_test_data): Likewise.
17514 (sin_towardzero_test_data): Likewise.
17515 (sin_downward_test_data): Likewise.
17516 (sin_upward_test_data): Likewise.
17517 (sincos_test_data): Likewise.
17518 (sinh_test_data): Likewise.
17519 (sinh_tonearest_test_data): Likewise.
17520 (sinh_towardzero_test_data): Likewise.
17521 (sinh_downward_test_data): Likewise.
17522 (sinh_upward_test_data): Likewise.
17523 (sqrt_test_data): Likewise.
17524 (tan_test_data): Likewise.
17525 (tan_tonearest_test_data): Likewise.
17526 (tan_towardzero_test_data): Likewise.
17527 (tan_downward_test_data): Likewise.
17528 (tan_upward_test_data): Likewise.
17529 (tanh_test_data): Likewise.
17530 (tgamma_test_data): Likewise.
17531 (trunc_test_data): Likewise.
17532 (y0_test_data): Likewise.
17533 (y1_test_data): Likewise.
17534 (yn_test_data): Likewise.
17535 (significand_test_data): Likewise.
17537 * math/gen-libm-test.pl (@functions): Remove variable.
17538 (generate_testfile): Don't handle START and END lines.
17539 * math/libm-test.inc (START): New macro.
17541 (END_COMPLEX): Likewise.
17542 (acos_test): Use END macro without arguments.
17543 (acos_test_tonearest): Likewise.
17544 (acos_test_towardzero): Likewise.
17545 (acos_test_downward): Likewise.
17546 (acos_test_upward): Likewise.
17547 (acosh_test): Likewise.
17548 (asin_test): Likewise.
17549 (asin_test_tonearest): Likewise.
17550 (asin_test_towardzero): Likewise.
17551 (asin_test_downward): Likewise.
17552 (asin_test_upward): Likewise.
17553 (asinh_test): Likewise.
17554 (atan_test): Likewise.
17555 (atanh_test): Likewise.
17556 (atan2_test): Likewise.
17557 (cabs_test): Likewise.
17558 (cacos_test): Use END_COMPLEX macro without arguments.
17559 (cacosh_test): Likewise.
17560 (carg_test): Use END macro without arguments.
17561 (casin_test): Use END_COMPLEX macro without arguments.
17562 (casinh_test): Likewise.
17563 (catan_test): Likewise.
17564 (catanh_test): Likewise.
17565 (cbrt_test): Use END macro without arguments.
17566 (ccos_test): Use END_COMPLEX macro without arguments.
17567 (ccosh_test): Likewise.
17568 (ceil_test): Use END macro without arguments.
17569 (cexp_test): Use END_COMPLEX macro without arguments.
17570 (cimag_test): Use END macro without arguments.
17571 (clog_test): Use END_COMPLEX macro without arguments.
17572 (clog10_test): Likewise.
17573 (conj_test): Likewise.
17574 (copysign_test): Use END macro without arguments.
17575 (cos_test): Likewise.
17576 (cos_test_tonearest): Likewise.
17577 (cos_test_towardzero): Likewise.
17578 (cos_test_downward): Likewise.
17579 (cos_test_upward): Likewise.
17580 (cosh_test): Likewise.
17581 (cosh_test_tonearest): Likewise.
17582 (cosh_test_towardzero): Likewise.
17583 (cosh_test_downward): Likewise.
17584 (cosh_test_upward): Likewise.
17585 (cpow_test): Use END_COMPLEX macro without arguments.
17586 (cproj_test): Likewise.
17587 (creal_test): Use END macro without arguments.
17588 (csin_test): Use END_COMPLEX macro without arguments.
17589 (csinh_test): Likewise.
17590 (csqrt_test): Likewise.
17591 (ctan_test): Likewise.
17592 (ctan_test_tonearest): Likewise.
17593 (ctan_test_towardzero): Likewise.
17594 (ctan_test_downward): Likewise.
17595 (ctan_test_upward): Likewise.
17596 (ctanh_test): Likewise.
17597 (ctanh_test_tonearest): Likewise.
17598 (ctanh_test_towardzero): Likewise.
17599 (ctanh_test_downward): Likewise.
17600 (ctanh_test_upward): Likewise.
17601 (erf_test): Use END macro without arguments.
17602 (erfc_test): Likewise.
17603 (exp_test): Likewise.
17604 (exp_test_tonearest): Likewise.
17605 (exp_test_towardzero): Likewise.
17606 (exp_test_downward): Likewise.
17607 (exp_test_upward): Likewise.
17608 (exp10_test): Likewise.
17609 (exp2_test): Likewise.
17610 (expm1_test): Likewise.
17611 (fabs_test): Likewise.
17612 (fdim_test): Likewise.
17613 (finite_test): Likewise.
17614 (floor_test): Likewise.
17615 (fma_test): Likewise.
17616 (fma_test_towardzero): Likewise.
17617 (fma_test_downward): Likewise.
17618 (fma_test_upward): Likewise.
17619 (fmax_test): Likewise.
17620 (fmin_test): Likewise.
17621 (fmod_test): Likewise.
17622 (fpclassify_test): Likewise.
17623 (frexp_test): Likewise.
17624 (gamma_test): Likewise.
17625 (hypot_test): Likewise.
17626 (ilogb_test): Likewise.
17627 (isfinite_test): Likewise.
17628 (isgreater_test): Likewise.
17629 (isgreaterequal_test): Likewise.
17630 (isinf_test): Likewise.
17631 (isless_test): Likewise.
17632 (islessequal_test): Likewise.
17633 (islessgreater_test): Likewise.
17634 (isnan_test): Likewise.
17635 (isnormal_test): Likewise.
17636 (issignaling_test): Likewise.
17637 (isunordered_test): Likewise.
17638 (j0_test): Likewise.
17639 (j1_test): Likewise.
17640 (jn_test): Likewise.
17641 (ldexp_test): Likewise.
17642 (lgamma_test): Likewise.
17643 (lrint_test): Likewise.
17644 (lrint_test_tonearest): Likewise.
17645 (lrint_test_towardzero): Likewise.
17646 (lrint_test_downward): Likewise.
17647 (lrint_test_upward): Likewise.
17648 (llrint_test): Likewise.
17649 (llrint_test_tonearest): Likewise.
17650 (llrint_test_towardzero): Likewise.
17651 (llrint_test_downward): Likewise.
17652 (llrint_test_upward): Likewise.
17653 (log_test): Likewise.
17654 (log10_test): Likewise.
17655 (log1p_test): Likewise.
17656 (log2_test): Likewise.
17657 (logb_test): Likewise.
17658 (logb_test_downward): Likewise.
17659 (lround_test): Likewise.
17660 (llround_test): Likewise.
17661 (modf_test): Likewise.
17662 (nearbyint_test): Likewise.
17663 (nextafter_test): Likewise.
17664 (nexttoward_test): Likewise.
17665 (pow_test): Likewise.
17666 (pow_test_tonearest): Likewise.
17667 (pow_test_towardzero): Likewise.
17668 (pow_test_downward): Likewise.
17669 (pow_test_upward): Likewise.
17670 (remainder_test): Likewise.
17671 (remainder_test_tonearest): Likewise.
17672 (remainder_test_towardzero): Likewise.
17673 (remainder_test_downward): Likewise.
17674 (remainder_test_upward): Likewise.
17675 (remquo_test): Likewise.
17676 (rint_test): Likewise.
17677 (rint_test_tonearest): Likewise.
17678 (rint_test_towardzero): Likewise.
17679 (rint_test_downward): Likewise.
17680 (rint_test_upward): Likewise.
17681 (round_test): Likewise.
17682 (scalb_test): Likewise.
17683 (scalbn_test): Likewise.
17684 (scalbln_test): Likewise.
17685 (signbit_test): Likewise.
17686 (sin_test): Likewise.
17687 (sin_test_tonearest): Likewise.
17688 (sin_test_towardzero): Likewise.
17689 (sin_test_downward): Likewise.
17690 (sin_test_upward): Likewise.
17691 (sincos_test): Likewise.
17692 (sinh_test): Likewise.
17693 (sinh_test_tonearest): Likewise.
17694 (sinh_test_towardzero): Likewise.
17695 (sinh_test_downward): Likewise.
17696 (sinh_test_upward): Likewise.
17697 (sqrt_test): Likewise.
17698 (tan_test): Likewise.
17699 (tan_test_tonearest): Likewise.
17700 (tan_test_towardzero): Likewise.
17701 (tan_test_downward): Likewise.
17702 (tan_test_upward): Likewise.
17703 (tanh_test): Likewise.
17704 (tgamma_test): Likewise.
17705 (trunc_test): Likewise.
17706 (y0_test): Likewise.
17707 (y1_test): Likewise.
17708 (yn_test): Likewise.
17709 (significand_test): Likewise.
17711 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
17714 * libio/genops.c (_IO_no_init): Initialize wide struct info.
17716 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
17719 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17720 __ppc_mdoio and __ppc_mdoom.
17721 * manual/platform.texi: Document new functions __ppc_yield,
17722 __ppc_mdoio and __ppc_mdoom.
17724 2013-05-22 Carlos O'Donell <carlos@redhat.com>
17726 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17727 (main): Mention "tls" pseudo-hwcap is legacy.
17728 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17730 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17732 * math/gen-libm-test.pl (parse_args): Output only string of
17733 arguments as text for test name, not full call or descriptions of
17734 tests for extra outputs.
17735 (generate_testfile): Do not pass function name to parse_args.
17736 Generate this_func variable from START.
17737 * math/libm-test.inc (struct test_f_f_data): Rename test_name
17739 (struct test_ff_f_data): Likewise.
17740 (test_ff_f_data_nexttoward): Likewise.
17741 (struct test_fi_f_data): Likewise.
17742 (struct test_fl_f_data): Likewise.
17743 (struct test_if_f_data): Likewise.
17744 (struct test_fff_f_data): Likewise.
17745 (struct test_c_f_data): Likewise.
17746 (struct test_f_f1_data): Likewise. Remove field extra_name.
17747 (struct test_fF_f1_data): Likewise.
17748 (struct test_ffI_f1_data): Likewise.
17749 (struct test_c_c_data): Rename test_name field to arg_str.
17750 (struct test_cc_c_data): Likewise.
17751 (struct test_f_i_data): Likewise.
17752 (struct test_ff_i_data): Likewise.
17753 (struct test_f_l_data): Likewise.
17754 (struct test_f_L_data): Likewise.
17755 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
17757 (COMMON_TEST_SETUP): New macro.
17758 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17759 (COMMON_TEST_CLEANUP): Likewise.
17760 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17761 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
17763 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17764 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
17766 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17767 (RUN_TEST_fff_f): Take argument string. Call new setup and
17769 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17770 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
17772 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17773 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
17775 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17776 (RUN_TEST_fF_f1): Take argument string. Call new setup and
17778 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17779 (RUN_TEST_fI_f1): Take argument string. Call new setup and
17781 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17782 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
17784 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17785 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
17787 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17788 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
17790 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17791 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
17793 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17794 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
17796 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17797 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
17799 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17800 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
17802 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17803 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
17805 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17806 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
17808 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17809 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
17811 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17812 (RUN_TEST_fFF_11): Take argument string. Call new setup and
17814 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17816 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17818 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17819 to _sifields.sigfault.
17820 (si_addr_lsb): Define new macro.
17821 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17822 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17823 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
17825 2013-05-03 Carlos O'Donell <carlos at redhat.com>
17828 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
17830 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
17832 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
17833 loading the domain.
17835 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17837 * math/gen-libm-test.pl (parse_args): Do not include expected
17838 result in test name.
17839 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
17840 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17841 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17842 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17843 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17846 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17848 * benchtests/Makefile: Sort function entries.
17850 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
17851 tanh, asinh, acosh, atanh.
17852 * benchtests/acos-inputs: New file.
17853 * benchtests/acosh-inputs: New file.
17854 * benchtests/asin-inputs: New file.
17855 * benchtests/asinh-inputs: New file.
17856 * benchtests/atanh-inputs: New file.
17857 * benchtests/cosh-inputs: New file.
17858 * benchtests/log-inputs: New file.
17859 * benchtests/sinh-inputs: New file.
17860 * benchtests/tanh-inputs: New file.
17862 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
17865 * posix/tst-getaddrinfo4.c: New test.
17866 * posix/Makefile (tests): Add it.
17868 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17871 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
17872 when no services were used.
17873 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
17874 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
17876 2013-05-21 Andreas Schwab <schwab@suse.de>
17879 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
17880 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
17882 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
17883 redundant variable declarations and reallocation of buffer when
17884 parsing as IPv6 address. Always set NSS status when called from
17885 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
17886 buffer too small. Correct computation of needed size.
17887 * nss/Makefile (tests): Add test-digits-dots.
17888 * nss/test-digits-dots.c: New test.
17890 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17892 * benchtests/Makefile: Remove instructions for adding
17894 * benchtests/README: New file to explain how to execute and
17895 enhance the benchmark tests.
17897 2013-05-21 Andreas Schwab <schwab@suse.de>
17900 * setjmp/Makefile (tests): Add tst-sigsetjmp.
17901 * setjmp/tst-sigsetjmp.c: New test.
17903 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17905 * sysdeps/x86_64/memset.S (memset): New implementation.
17906 (__bzero): Likewise.
17907 (__memset_tail): New function.
17909 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17911 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
17912 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
17913 __memcpy_sse2_unaligned ifunc selection.
17914 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17915 Add memcpy-sse2-unaligned.S.
17916 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17917 Add: __memcpy_sse2_unaligned.
17919 2013-05-19 Joseph Myers <joseph@codesourcery.com>
17922 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17923 math_force_eval before restoring floating-point envrionment.
17924 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
17925 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17927 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
17929 (__nearbyintl): Use math_force_eval before restoring
17930 floating-point environment.
17931 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
17933 * math/gen-libm-test.pl (special_functions): Remove.
17934 (parse_args): Don't handle TEST_extra. Handle functions with no
17936 * math/libm-test.inc (struct test_sincos_data): Replace with
17937 struct test_fFF_11_data.
17938 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
17939 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
17940 (sincos_test_data): Change element type to struct
17941 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
17942 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
17943 RUN_TEST_LOOP_sincos.
17944 * math/README.libm-test: Don't mention special handling of
17945 individual functions.
17946 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
17947 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17948 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17949 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17950 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17953 * math/gen-libm-test.pl (get_variable): Remove function.
17954 (parse_args): Don't show pointer parameters to call in test
17955 names. Use "extra output N" in test names for extra outputs
17956 rather than naming variables.
17958 2013-05-18 Joseph Myers <joseph@codesourcery.com>
17961 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
17962 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
17963 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
17965 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
17967 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
17970 * math/gen-libm-test.pl (@tests): Remove variable.
17971 ($count): Likewise.
17972 (new_test): Remove function.
17973 (show_exceptions): New function.
17974 (special_functions): Use show_exceptions instead of new_test.
17975 (parse_args): Likewise.
17976 (generate_testfile): Pass only function name in generated call to
17977 print_max_error or print_complex_max_error.
17978 (get_ulps): Do not handle complex tests specially.
17979 (output_test): Rename to ...
17980 (get_all_ulps_for_test): ... this. Return a string rather than
17981 printing to a file. Require ulps to be present.
17982 (output_ulps): Generate arrays rather than #defines.
17983 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
17984 (struct ulp_data): New type.
17985 (BUILD_COMPLEX_ULP): Remove macro.
17986 (compare_ulp_data): New function.
17987 (find_ulps): Likewise.
17988 (find_test_ulps): Likewise.
17989 (find_function_ulps): Likewise.
17990 (find_complex_function_ulps): Likewise.
17991 (print_max_error): Determine allowed ulps using
17992 find_function_ulps.
17993 (print_complex_max_error): Determine allowed ulps using
17994 find_complex_function_ulps.
17995 (check_float_internal): Determine max ulps using find_test_ulps.
17996 (check_float): Do not take max_ulp parameter. Update call to
17997 check_float_internal.
17998 (check_complex): Likewise.
17999 (check_int): Do not take max_ulp parameter.
18000 (check_long): Likewise.
18001 (check_bool): Likewise.
18002 (check_longlong): Likewise.
18003 (struct test_f_f_data): Remove max_ulp field.
18004 (struct test_ff_f_data): Likewise.
18005 (struct test_ff_f_data_nexttoward): Likewise.
18006 (struct test_fi_f_data): Likewise.
18007 (struct test_fl_f_data): Likewise.
18008 (struct test_if_f_data): Likewise.
18009 (struct test_fff_f_data): Likewise.
18010 (struct test_c_f_data): Likewise.
18011 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18012 (struct test_fF_f1_data): Likewise.
18013 (struct test_ffI_f1_data): Likewise.
18014 (struct test_c_c_data): Remove max_ulp field.
18015 (struct test_cc_c_data): Likewise.
18016 (struct test_f_i_data): Likewise.
18017 (struct test_ff_i_data): Likewise.
18018 (struct test_f_l_data): Likewise.
18019 (struct test_f_L_data): Likewise.
18020 (struct test_sincos_data): Likewise.
18021 (RUN_TEST_f_f): Do not handle ulps.
18022 (RUN_TEST_LOOP_f_f): Likewise.
18023 (RUN_TEST_2_f): Likewise.
18024 (RUN_TEST_LOOP_2_f): Likewise.
18025 (RUN_TEST_fff_f): Likewise.
18026 (RUN_TEST_LOOP_fff_f): Likewise.
18027 (RUN_TEST_c_f): Likewise.
18028 (RUN_TEST_LOOP_c_f): Likewise.
18029 (RUN_TEST_f_f1): Likewise.
18030 (RUN_TEST_LOOP_f_f1): Likewise.
18031 (RUN_TEST_fF_f1): Likewise.
18032 (RUN_TEST_LOOP_fF_f1): Likewise.
18033 (RUN_TEST_fI_f1): Likewise.
18034 (RUN_TEST_LOOP_fI_f1): Likewise.
18035 (RUN_TEST_ffI_f1): Likewise.
18036 (RUN_TEST_LOOP_ffI_f1): Likewise.
18037 (RUN_TEST_c_c): Likewise.
18038 (RUN_TEST_LOOP_c_c): Likewise.
18039 (RUN_TEST_cc_c): Likewise.
18040 (RUN_TEST_LOOP_cc_c): Likewise.
18041 (RUN_TEST_f_i): Likewise.
18042 (RUN_TEST_LOOP_f_i): Likewise.
18043 (RUN_TEST_f_i_tg): Likewise.
18044 (RUN_TEST_LOOP_f_i_tg): Likewise.
18045 (RUN_TEST_ff_i_tg): Likewise.
18046 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18047 (RUN_TEST_f_b): Likewise.
18048 (RUN_TEST_LOOP_f_b): Likewise.
18049 (RUN_TEST_f_b_tg): Likewise.
18050 (RUN_TEST_LOOP_f_b_tg): Likewise.
18051 (RUN_TEST_f_l): Likewise.
18052 (RUN_TEST_LOOP_f_l): Likewise.
18053 (RUN_TEST_f_L): Likewise.
18054 (RUN_TEST_LOOP_f_L): Likewise.
18055 (RUN_TEST_sincos): Likewise.
18056 (RUN_TEST_LOOP_sincos): Likewise.
18058 2013-05-17 Joseph Myers <joseph@codesourcery.com>
18062 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18063 main case of finite arguments, set rounding mode to FE_TONEAREST
18064 and discard exceptions.
18065 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18067 (remainder_tonearest_test_data): New variable.
18068 (remainder_test_tonearest): New function.
18069 (remainder_towardzero_test_data): New variable.
18070 (remainder_test_towardzero): New function.
18071 (remainder_downward_test_data): New variable.
18072 (remainder_test_downward): New function.
18073 (remainder_upward_test_data): New variable.
18074 (remainder_test_upward): New function.
18075 (main): Call the new test functions.
18077 * math/libm-test.inc (struct test_f_f1_data): Remove field
18079 (struct test_fF_f1_data): Likewise.
18080 (struct test_ffI_f1_data): Likewise.
18081 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
18082 based on value of EXTRA_EXPECTED.
18083 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18084 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18085 EXTRA_VAR based on value of EXTRA_EXPECTED.
18086 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18087 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18088 EXTRA_VAR based on value of EXTRA_EXPECTED.
18089 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18090 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18091 EXTRA_VAR based on value of EXTRA_EXPECTED.
18092 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18093 * math/gen-libm-test.pl (parse_args): Don't output initializers
18094 for extra output values.
18096 * math/libm-test.inc (check_int): Expect result to be exactly
18097 equal to expected value and do not handle ulps.
18098 (check_long): Likewise.
18099 (check_longlong): Likewise.
18101 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18103 (cimag_test_data): Likewise.
18104 (conj_test_data): Likewise.
18105 (copysign_test_data): Likewise.
18106 (cproj_test_data): Likewise.
18107 (creal_test_data): Likewise.
18108 (fabs_test_data): Likewise.
18109 (fdim_test_data): Likewise.
18110 (finite_test_data): Likewise.
18111 (floor_test_data): Likewise.
18112 (fmax_test_data): Likewise.
18113 (fmin_test_data): Likewise.
18114 (fmod_test_data): Likewise.
18115 (fpclassify_test_data): Likewise.
18116 (frexp_test_data): Likewise.
18117 (ilogb_test_data): Likewise.
18118 (isfinite_test_data): Likewise.
18119 (isgreater_test_data): Likewise.
18120 (isgreaterequal_test_data): Likewise.
18121 (isinf_test_data): Likewise.
18122 (isless_test_data): Likewise.
18123 (islessequal_test_data): Likewise.
18124 (islessgreater_test_data): Likewise.
18125 (isnan_test_data): Likewise.
18126 (isnormal_test_data): Likewise.
18127 (issignaling_test_data): Likewise.
18128 (isunordered_test_data): Likewise.
18129 (ldexp_test_data): Likewise.
18130 (lrint_test_data): Likewise.
18131 (lrint_test_data) [TEST_FLOAT]: Disable one test.
18132 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18133 (lrint_tonearest_test_data): Test for "inexact" exceptions.
18134 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18135 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18136 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18138 (lrint_towardzero_test_data): Test for "inexact" exceptions.
18139 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18140 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18141 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18143 (lrint_downward_test_data): Test for "inexact" exceptions.
18144 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18145 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18146 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18148 (lrint_upward_test_data): Test for "inexact" exceptions.
18149 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18151 (llrint_test_data): Test for "inexact" exceptions.
18152 (llrint_test_data) [TEST_FLOAT]: Disable one test.
18153 (llrint_tonearest_test_data): Test for "inexact" exceptions.
18154 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18155 (llrint_towardzero_test_data): Test for "inexact" exceptions.
18156 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18157 (llrint_downward_test_data): Test for "inexact" exceptions.
18158 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18159 (llrint_upward_test_data): Test for "inexact" exceptions.
18160 (logb_test_data): Likewise.
18161 (logb_downward_test_data): Likewise.
18162 (nextafter_test_data): Likewise.
18163 (nexttoward_test_data): Likewise.
18164 (remainder_test_data): Likewise.
18165 (remquo_test_data): Likewise.
18166 (scalbn_test_data): Likewise.
18167 (scalbln_test_data): Likewise.
18168 (signbit_test_data): Likewise.
18169 (sqrt_test_data): Likewise.
18170 (significand_test_data): Likewise.
18172 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18175 * benchtests/bench-modf.c (struct args): Mark arg0 as
18177 * scripts/bench.pl: Mark members of struct args as volatile.
18179 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18182 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18183 negative infinity on POWER6 or lower.
18184 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18186 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18189 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18190 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18191 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18192 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18193 (_FP_SETQNAN): New macro.
18194 (_FP_SETQNAN_SEMIRAW): Likewise.
18195 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18196 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18197 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18198 (FP_EXTEND): Use _FP_FRAC_SNANP.
18199 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18200 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18202 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18204 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18207 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18209 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18210 with DIVIDE_BY_ZERO_EXCEPTION.
18211 (gamma_test_data): Likewise.
18212 (lgamma_test_data): Likewise.
18213 (log_test_data): Likewise.
18214 (log10_test_data): Likewise.
18215 (log2_test_data): Likewise.
18216 (tgamma_test_data): Likewise.
18218 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18219 (acos_test_tonearest): Likewise.
18220 (acos_test_towardzero): Likewise.
18221 (acos_test_downward): Likewise.
18222 (acos_test_upward): Likewise.
18223 (acosh_test): Likewise.
18224 (asin_test): Likewise.
18225 (asin_test_tonearest): Likewise.
18226 (asin_test_towardzero): Likewise.
18227 (asin_test_downward): Likewise.
18228 (asin_test_upward): Likewise.
18229 (asinh_test): Likewise.
18230 (atan_test): Likewise.
18231 (atanh_test): Likewise.
18232 (atan2_test): Likewise.
18233 (cabs_test): Likewise.
18234 (cacos_test): Likewise.
18235 (cacosh_test): Likewise.
18236 (casin_test): Likewise.
18237 (casinh_test): Likewise.
18238 (catan_test): Likewise.
18239 (catanh_test): Likewise.
18240 (cbrt_test): Likewise.
18241 (ccos_test): Likewise.
18242 (ccosh_test): Likewise.
18243 (cexp_test): Likewise.
18244 (clog_test): Likewise.
18245 (clog10_test): Likewise.
18246 (cos_test): Likewise.
18247 (cos_test_tonearest): Likewise.
18248 (cos_test_towardzero): Likewise.
18249 (cos_test_downward): Likewise.
18250 (cos_test_upward): Likewise.
18251 (cosh_test): Likewise.
18252 (cosh_test_tonearest): Likewise.
18253 (cosh_test_towardzero): Likewise.
18254 (cosh_test_downward): Likewise.
18255 (cosh_test_upward): Likewise.
18256 (cpow_test): Likewise.
18257 (csin_test): Likewise.
18258 (csinh_test): Likewise.
18259 (csqrt_test): Likewise.
18260 (ctan_test): Likewise.
18261 (ctan_test_tonearest): Likewise.
18262 (ctan_test_towardzero): Likewise.
18263 (ctan_test_downward): Likewise.
18264 (ctan_test_upward): Likewise.
18265 (ctanh_test): Likewise.
18266 (ctanh_test_tonearest): Likewise.
18267 (ctanh_test_towardzero): Likewise.
18268 (ctanh_test_downward): Likewise.
18269 (ctanh_test_upward): Likewise.
18270 (erf_test): Likewise.
18271 (erfc_test): Likewise.
18272 (exp_test): Likewise.
18273 (exp_test_tonearest): Likewise.
18274 (exp_test_towardzero): Likewise.
18275 (exp_test_downward): Likewise.
18276 (exp_test_upward): Likewise.
18277 (exp10_test): Likewise.
18278 (exp2_test): Likewise.
18279 (expm1_test): Likewise.
18280 (fmod_test): Likewise.
18281 (gamma_test): Likewise.
18282 (hypot_test): Likewise.
18283 (j0_test): Likewise.
18284 (j1_test): Likewise.
18285 (jn_test): Likewise.
18286 (lgamma_test): Likewise.
18287 (log_test): Likewise.
18288 (log10_test): Likewise.
18289 (log1p_test): Likewise.
18290 (log2_test): Likewise.
18291 (logb_test_downward): Likewise.
18292 (pow_test): Likewise.
18293 (pow_test_tonearest): Likewise.
18294 (pow_test_towardzero): Likewise.
18295 (pow_test_downward): Likewise.
18296 (pow_test_upward): Likewise.
18297 (remainder_test): Likewise.
18298 (remquo_test): Likewise.
18299 (sin_test): Likewise.
18300 (sin_test_tonearest): Likewise.
18301 (sin_test_towardzero): Likewise.
18302 (sin_test_downward): Likewise.
18303 (sin_test_upward): Likewise.
18304 (sincos_test): Likewise.
18305 (sinh_test): Likewise.
18306 (sinh_test_tonearest): Likewise.
18307 (sinh_test_towardzero): Likewise.
18308 (sinh_test_downward): Likewise.
18309 (sinh_test_upward): Likewise.
18310 (sqrt_test): Likewise.
18311 (tan_test): Likewise.
18312 (tan_test_tonearest): Likewise.
18313 (tan_test_towardzero): Likewise.
18314 (tan_test_downward): Likewise.
18315 (tan_test_upward): Likewise.
18316 (tanh_test): Likewise.
18317 (tgamma_test): Likewise.
18318 (y0_test): Likewise.
18319 (y1_test): Likewise.
18320 (yn_test): Likewise.
18322 * math/gen-libm-test.pl (adjust_arg): Remove function.
18323 (special_function): Remove argument $in_func. Only handle
18324 generating output for tables of tests, not inside functions.
18325 (parse_args): Likewise.
18326 (generate_testfile): Remove variable $in_func. Update call to
18328 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18329 (MINUS_ZERO_INIT): Rename macro to minus_zero.
18330 (PLUS_INFTY_INIT): Rename macro to plus_infty.
18331 (MINUS_INFTY_INIT): Rename macro to minus_infty.
18332 (QNAN_VALUE_INIT): Rename macro to qnan_value.
18333 (MAX_VALUE_INIT): Rename macro to max_value.
18334 (MIN_VALUE_INIT): Rename macro to min_value.
18335 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18336 (plus_zero): Remove variable.
18337 (minus_zero): Likewise.
18338 (plus_infty): Likewise.
18339 (minus_infty): Likewise.
18340 (qnan_value): Likewise.
18341 (max_value): Likewise.
18342 (min_value): Likewise.
18343 (min_subnorm_value): Likewise.
18345 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18347 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18348 uint64_t or uint32_t usage.
18349 * crypt/sha256-block.c: Likewise.
18350 * crypt/sha256-crypt.c: Likewise.
18351 * crypt/sha256.c: Likewise.
18352 * crypt/sha512-block.c: Likewise.
18353 * crypt/sha512-crypt.c: Likewise.
18354 * crypt/sha512.c: Likewise.
18355 * debug/backtrace-tst.c: Likewise.
18356 * debug/pcprofiledump.c: Likewise.
18357 * elf/cache.c: Likewise.
18358 * elf/dl-cache.c: Likewise.
18359 * elf/dl-misc.c: Likewise.
18360 * elf/dl-profile.c: Likewise.
18361 * elf/dl-support.c: Likewise.
18362 * elf/ldconfig.c: Likewise.
18363 * elf/sprof.c: Likewise.
18364 * iconv/dummy-repertoire.c: Likewise.
18365 * iconv/iconv_charmap.c: Likewise.
18366 * iconv/skeleton.c: Likewise.
18367 * iconvdata/8bit-generic.c: Likewise.
18368 * iconvdata/cp737.h: Likewise.
18369 * iconvdata/cp775.h: Likewise.
18370 * iconvdata/ibm1008.h: Likewise.
18371 * iconvdata/ibm1025.h: Likewise.
18372 * iconvdata/ibm1046.h: Likewise.
18373 * iconvdata/ibm1097.h: Likewise.
18374 * iconvdata/ibm1112.h: Likewise.
18375 * iconvdata/ibm1122.h: Likewise.
18376 * iconvdata/ibm1123.h: Likewise.
18377 * iconvdata/ibm1124.h: Likewise.
18378 * iconvdata/ibm1129.h: Likewise.
18379 * iconvdata/ibm1130.h: Likewise.
18380 * iconvdata/ibm1132.h: Likewise.
18381 * iconvdata/ibm1133.h: Likewise.
18382 * iconvdata/ibm1137.h: Likewise.
18383 * iconvdata/ibm1140.h: Likewise.
18384 * iconvdata/ibm1141.h: Likewise.
18385 * iconvdata/ibm1142.h: Likewise.
18386 * iconvdata/ibm1143.h: Likewise.
18387 * iconvdata/ibm1144.h: Likewise.
18388 * iconvdata/ibm1145.h: Likewise.
18389 * iconvdata/ibm1146.h: Likewise.
18390 * iconvdata/ibm1147.h: Likewise.
18391 * iconvdata/ibm1148.h: Likewise.
18392 * iconvdata/ibm1149.h: Likewise.
18393 * iconvdata/ibm1153.h: Likewise.
18394 * iconvdata/ibm1154.h: Likewise.
18395 * iconvdata/ibm1155.h: Likewise.
18396 * iconvdata/ibm1156.h: Likewise.
18397 * iconvdata/ibm1157.h: Likewise.
18398 * iconvdata/ibm1158.h: Likewise.
18399 * iconvdata/ibm1160.h: Likewise.
18400 * iconvdata/ibm1161.h: Likewise.
18401 * iconvdata/ibm1162.h: Likewise.
18402 * iconvdata/ibm1163.h: Likewise.
18403 * iconvdata/ibm1164.h: Likewise.
18404 * iconvdata/ibm1166.h: Likewise.
18405 * iconvdata/ibm1167.h: Likewise.
18406 * iconvdata/ibm12712.h: Likewise.
18407 * iconvdata/ibm1390.h: Likewise.
18408 * iconvdata/ibm1399.h: Likewise.
18409 * iconvdata/ibm16804.h: Likewise.
18410 * iconvdata/ibm4517.h: Likewise.
18411 * iconvdata/ibm4899.h: Likewise.
18412 * iconvdata/ibm4909.h: Likewise.
18413 * iconvdata/ibm4971.h: Likewise.
18414 * iconvdata/ibm5347.h: Likewise.
18415 * iconvdata/ibm803.h: Likewise.
18416 * iconvdata/ibm856.h: Likewise.
18417 * iconvdata/ibm901.h: Likewise.
18418 * iconvdata/ibm902.h: Likewise.
18419 * iconvdata/ibm9030.h: Likewise.
18420 * iconvdata/ibm9066.h: Likewise.
18421 * iconvdata/ibm921.h: Likewise.
18422 * iconvdata/ibm922.h: Likewise.
18423 * iconvdata/ibm9448.h: Likewise.
18424 * iconvdata/isiri-3342.h: Likewise.
18425 * iconvdata/jis0201.h: Likewise.
18426 * include/link.h: Likewise.
18427 * include/netdb.h: Likewise.
18428 * inet/check_native.c: Likewise.
18429 * inet/check_pf.c: Likewise.
18430 * inet/getipv4sourcefilter.c: Likewise.
18431 * inet/getnameinfo.c: Likewise.
18432 * inet/getsourcefilter.c: Likewise.
18433 * inet/htonl.c: Likewise.
18434 * inet/setipv4sourcefilter.c: Likewise.
18435 * inet/setsourcefilter.c: Likewise.
18436 * inet/test-inet6_opt.c: Likewise.
18437 * inet/tst-network.c: Likewise.
18438 * locale/C-collate.c: Likewise.
18439 * locale/C-ctype.c: Likewise.
18440 * locale/C-time.c: Likewise.
18441 * locale/C-translit.h: Likewise.
18442 * locale/loadarchive.c: Likewise.
18443 * locale/programs/3level.h: Likewise.
18444 * locale/programs/charmap.c: Likewise.
18445 * locale/programs/charmap.h: Likewise.
18446 * locale/programs/ld-address.c: Likewise.
18447 * locale/programs/ld-collate.c: Likewise.
18448 * locale/programs/ld-ctype.c: Likewise.
18449 * locale/programs/ld-identification.c: Likewise.
18450 * locale/programs/ld-measurement.c: Likewise.
18451 * locale/programs/ld-messages.c: Likewise.
18452 * locale/programs/ld-monetary.c: Likewise.
18453 * locale/programs/ld-name.c: Likewise.
18454 * locale/programs/ld-numeric.c: Likewise.
18455 * locale/programs/ld-paper.c: Likewise.
18456 * locale/programs/ld-telephone.c: Likewise.
18457 * locale/programs/ld-time.c: Likewise.
18458 * locale/programs/linereader.c: Likewise.
18459 * locale/programs/locale.c: Likewise.
18460 * locale/programs/locarchive.c: Likewise.
18461 * locale/programs/locfile.h: Likewise.
18462 * locale/programs/repertoire.c: Likewise.
18463 * locale/programs/simple-hash.c: Likewise.
18464 * locale/programs/simple-hash.h: Likewise.
18465 * malloc/memusage.c: Likewise.
18466 * malloc/memusagestat.c: Likewise.
18467 * nis/nis_defaults.c: Likewise.
18468 * nis/nis_hash.c: Likewise.
18469 * nis/nis_print.c: Likewise.
18470 * nis/nis_xdr.c: Likewise.
18471 * nscd/connections.c: Likewise.
18472 * nscd/hstcache.c: Likewise.
18473 * nscd/nscd_gethst_r.c: Likewise.
18474 * nscd/nscd_getserv_r.c: Likewise.
18475 * nscd/nscd_helper.c: Likewise.
18476 * nscd/servicescache.c: Likewise.
18477 * nss/makedb.c: Likewise.
18478 * nss/nss_db/db-XXX.c: Likewise.
18479 * nss/nss_db/db-initgroups.c: Likewise.
18480 * nss/nss_db/db-netgrp.c: Likewise.
18481 * nss/nss_files/files-network.c: Likewise.
18482 * nss/nss_files/files-parse.c: Likewise.
18483 * posix/bug-regex5.c: Likewise.
18484 * posix/fnmatch_loop.c: Likewise.
18485 * posix/regcomp.c: Likewise.
18486 * posix/regexec.c: Likewise.
18487 * posix/tst-rfc3484-2.c: Likewise.
18488 * posix/tst-rfc3484-3.c: Likewise.
18489 * posix/tst-rfc3484.c: Likewise.
18490 * resolv/nss_dns/dns-canon.c: Likewise.
18491 * resolv/nss_dns/dns-network.c: Likewise.
18492 * resolv/res_init.c: Likewise.
18493 * resolv/res_mkquery.c: Likewise.
18494 * resolv/tst-aton.c: Likewise.
18495 * stdlib/cxa_atexit.c: Likewise.
18496 * stdlib/cxa_finalize.c: Likewise.
18497 * stdlib/gen-fpioconst.c: Likewise.
18498 * stdlib/strtol_l.c: Likewise.
18499 * string/tst-endian.c: Likewise.
18500 * sunrpc/auth_des.c: Likewise.
18501 * sunrpc/clnt_udp.c: Likewise.
18502 * sunrpc/rtime.c: Likewise.
18503 * sunrpc/svcauth_des.c: Likewise.
18504 * sunrpc/xdr.c: Likewise.
18505 * sunrpc/xdr_intXX_t.c: Likewise.
18506 * sunrpc/xdr_rec.c: Likewise.
18507 * sysdeps/generic/ldconfig.h: Likewise.
18508 * sysdeps/generic/ldsodefs.h: Likewise.
18509 * sysdeps/generic/memusage.h: Likewise.
18510 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18511 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18512 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18513 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18514 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18515 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18516 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18517 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18518 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18519 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18520 * sysdeps/posix/getaddrinfo.c: Likewise.
18521 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18522 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18523 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18524 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18525 * sysdeps/powerpc/test-gettimebase.c: Likewise.
18526 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18527 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18528 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18529 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18530 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18531 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18532 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18533 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18534 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18535 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18536 * sysdeps/x86_64/dl-tls.h: Likewise.
18537 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18538 * time/alt_digit.c: Likewise.
18539 * time/era.c: Likewise.
18540 * wcsmbs/tst-c16c32-1.c: Likewise.
18542 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18544 * math/libm-test.inc (struct test_sincos_data): New type.
18545 (RUN_TEST_LOOP_sincos): New macro.
18546 (sincos_test_data): New variable.
18547 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18549 2013-05-16 Richard Henderson <rth@redhat.com>
18551 * math/atest-exp2.c (LIMB64): New macro.
18552 (CONSTSZ): New macro.
18553 (mp_exp1, mp_exp_m1, mp_log2): New variables.
18555 (print_mpn_fp): ... to function scope.
18556 (read_mpn_hex): Remove.
18557 (get_log2): Remove.
18558 (exp2_mpn): Use mp_log2.
18559 (main): Use mp_exp1.
18561 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18563 * math/libm-test.inc: Remove comment about not testing "inexact"
18565 (INEXACT_EXCEPTION): New macro.
18566 (NO_INEXACT_EXCEPTION): Likewise.
18567 (INVALID_EXCEPTION_OK): Update value.
18568 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18569 (OVERFLOW_EXCEPTION_OK): Likewise.
18570 (UNDERFLOW_EXCEPTION_OK): Likewise.
18571 (IGNORE_ZERO_INF_SIGN): Likewise.
18572 (ERRNO_UNCHANGED): Likewise.
18573 (ERRNO_EDOM): Likewise.
18574 (ERRNO_ERANGE): Likewise.
18575 (test_exceptions): Handle testing "inexact" exceptions.
18576 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18577 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18578 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18579 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18581 (rint_towardzero_test_data): Likewise.
18582 (rint_downward_test_data): Likewise.
18583 (rint_upward_test_data): Likewise.
18585 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18586 with OVERFLOW_EXCEPTION.
18587 (exp10_test_data): Likewise.
18588 (exp2_test_data): Likewise.
18589 (expm1_test_data): Likewise.
18590 (lgamma_test_data): Likewise.
18591 (pow_test_data): Likewise.
18592 (tgamma_test_data): Likewise.
18593 (yn_test_data): Remove duplicate test of overflow.
18595 * math/libm-test.inc (struct test_cc_c_data): New type.
18596 (RUN_TEST_LOOP_cc_c): New macro.
18597 (cpow_test_data): New variable.
18598 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18600 * math/libm-test.inc (struct test_f_L_data): New type.
18601 (RUN_TEST_LOOP_f_L): New macro.
18602 (llrint_test_data): New variable.
18603 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18604 (llrint_tonearest_test_data): New variable.
18605 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18606 (llrint_towardzero_test_data): New variable.
18607 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18608 (llrint_downward_test_data): New variable.
18609 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18610 (llrint_upward_test_data): New variable.
18611 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18612 (llround_test_data): New variable.
18613 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18615 2013-05-13 Peter Collingbourne <pcc@google.com>
18617 * math/atest-exp2.c (get_log2): Remove const attribute.
18619 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18621 * math/libm-test.inc (struct test_f_l_data): New type.
18622 (RUN_TEST_LOOP_f_l): New macro.
18623 (lrint_test_data): New variable.
18624 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18625 (lrint_tonearest_test_data): New variable.
18626 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18627 (lrint_towardzero_test_data): New variable.
18628 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18629 (lrint_downward_test_data): New variable.
18630 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18631 (lrint_upward_test_data): New variable.
18632 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18633 (lround_test_data): New variable.
18634 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18636 2013-05-15 Peter Collingbourne <pcc@google.com>
18638 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18639 (EXTRACT_WORDS64) Use where appropriate.
18640 (INSERT_WORDS64) Likewise.
18642 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18643 constraints with x constraints.
18644 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18646 * malloc/obstack.c (_obstack_compat): Add initializer.
18648 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
18650 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18651 si_trapno and add si_addr_lsb to _sifields.sigfault.
18652 (si_trapno): Remove macro.
18653 (si_addr_lsb): Define new macro.
18654 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18656 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18658 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18659 instead of TEST_f_l.
18660 (llrint_test_tonearest): Likewise.
18661 (llrint_test_towardzero): Likewise.
18662 (llrint_test_downward): Likewise.
18663 (llrint_test_upward): Likewise.
18664 (llround_test): Likewise.
18666 * math/libm-test.inc (struct test_f_i_data): Add comment.
18667 (RUN_TEST_LOOP_f_b): New macro.
18668 (RUN_TEST_LOOP_f_b_tg): Likewise.
18669 (finite_test_data): New variable.
18670 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18671 (isfinite_test_data): New variable.
18672 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18673 (isinf_test_data): New variable.
18674 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18675 (isnan_test_data): New variable.
18676 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18677 (isnormal_test_data): New variable.
18678 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18679 (issignaling_test_data): New variable.
18680 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18681 (signbit_test_data): New variable.
18682 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18684 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18685 with INVALID_EXCEPTION.
18686 (acosh_test_data): Likewise.
18687 (asin_test_data): Likewise.
18688 (atanh_test_data): Likewise.
18689 (fmod_test_data): Likewise.
18690 (log_test_data): Likewise.
18691 (log10_test_data): Likewise.
18692 (log2_test_data): Likewise.
18693 (pow_test_data): Likewise.
18694 (sqrt_test_data): Likewise.
18695 (y0_test_data): Likewise.
18696 (y1_test_data): Likewise.
18697 (yn_test_data): Likewise.
18699 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18702 * math/libm-test.inc (struct test_ff_i_data): New type.
18703 (RUN_TEST_LOOP_ff_i_tg): New macro.
18704 (isgreater_test_data): New variable.
18705 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18706 (isgreaterequal_test_data): New variable.
18707 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18708 (isless_test_data): New variable.
18709 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18710 (islessequal_test_data): New variable.
18711 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18712 (islessgreater_test_data): New variable.
18713 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18714 (isunordered_test_data): New variable.
18715 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18717 2013-05-14 David S. Miller <davem@davemloft.net>
18719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18721 2013-05-14 Joseph Myers <joseph@codesourcery.com>
18723 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18725 * math/libm-test.inc (struct test_fF_f1_data): Change type of
18727 (struct test_f_i_data): Change type of max_ulp to int.
18729 * math/libm-test.inc (test_ffI_f1_data): New type.
18730 (RUN_TEST_LOOP_ffI_f1): New macro.
18731 (remquo_test_data): New variable.
18732 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18734 * setjmp/tst-setjmp-fp.c: New file.
18735 * setjmp/Makefile (tests): Add tst-setjmp-fp.
18736 (link-libm): New variable.
18737 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18739 * math/libm-test.inc (struct test_f_i_data): New type.
18740 (RUN_TEST_LOOP_f_i): New macro.
18741 (RUN_TEST_LOOP_f_i_tg): Likewise.
18742 (fpclassify_test_data): New variable.
18743 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18744 (ilogb_test_data): New variable.
18745 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18747 * math/libm-test.inc (scalbln_test): Correct function name in END
18750 * math/libm-test.inc (struct test_f_f1_data): Add comment.
18751 (RUN_TEST_LOOP_fI_f1): New macro.
18752 (frexp_test_data): New variable.
18753 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18755 * math/libm-test.inc (struct test_fF_f1_data): New type.
18756 (RUN_TEST_LOOP_fF_f1): New macro.
18757 (modf_test_data): New variable.
18758 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18760 * math/libm-test.inc (struct test_f_f1_data): New type.
18761 (RUN_TEST_LOOP_f_f1): New macro.
18762 (gamma_test_data): New variable.
18763 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18764 (lgamma_test_data): New variable.
18765 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18767 2013-05-13 Carlos O'Donell <carlos@redhat.com>
18769 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18770 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18771 (main): Comment "tls" pseudo-hwcap.
18773 2013-05-13 Joseph Myers <joseph@codesourcery.com>
18775 * math/libm-test.inc (struct test_fl_f_data): New type.
18776 (RUN_TEST_LOOP_fl_f): New variable.
18777 (scalbln_test_data): New variable.
18778 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18780 * math/libm-test.inc (struct test_fi_f_data): New type.
18781 (RUN_TEST_LOOP_fi_f): New macro.
18782 (ldexp_test_data): New variable.
18783 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18784 (scalbn_test_data): New variable.
18785 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18787 * math/libm-test.inc (struct test_c_f_data): New type.
18788 (RUN_TEST_LOOP_c_f): New macro.
18789 (cabs_test_data): New variable.
18790 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18791 (carg_test_data): New variable.
18792 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18793 (cimag_test_data): New variable.
18794 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18795 (creal_test_data): New variable.
18796 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18798 * math/libm-test.inc (struct test_if_f_data): New type.
18799 (RUN_TEST_LOOP_if_f): New macro.
18800 (jn_test_data): New variable.
18801 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18802 (yn_test_data): New variable.
18803 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18805 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18807 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18809 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18810 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18812 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18814 * benchtests/Makefile (CPPFLAGS-nonlib): Add
18815 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18816 (bench-deps): Add bench-timing.h.
18817 * benchtests-bench-skeleton.c: Include bench-timing.h.
18818 (main): Use TIMING_* macros instead of clock_gettime.
18819 * benchtests/bench-timing.h: New file.
18822 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
18823 Renamed from _LIB_VERSION.
18824 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
18826 2013-05-12 Joseph Myers <joseph@codesourcery.com>
18828 * math/libm-test.inc (struct test_fff_f_data): New type.
18829 (RUN_TEST_LOOP_fff_f): New macro.
18830 (fma_test_data): New variable.
18831 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
18832 (fma_towardzero_test_data): New variable.
18833 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
18834 (fma_downward_test_data): New variable.
18835 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18836 (fma_upward_test_data): New variable.
18837 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
18839 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
18840 (struct test_c_c_data): New type.
18841 (RUN_TEST_LOOP_c_c): New macro.
18842 (cacos_test_data): New variable.
18843 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
18844 (cacosh_test_data): New variable.
18845 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
18846 (casin_test_data): New variable.
18847 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
18848 (casinh_test_data): New variable.
18849 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
18850 (catan_test_data): New variable.
18851 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
18852 (catanh_test_data): New variable.
18853 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
18854 (ccos_test_data): New variable.
18855 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
18856 (ccosh_test_data): New variable.
18857 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
18858 (cexp_test_data): New variable.
18859 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
18860 (clog_test_data): New variable.
18861 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
18862 (clog10_test_data): New variable.
18863 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
18864 (conj_test_data): New variable.
18865 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
18866 (cproj_test_data): New variable.
18867 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
18868 (csin_test_data): New variable.
18869 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
18870 (csinh_test_data): New variable.
18871 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
18872 (csqrt_test_data): New variable.
18873 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
18874 (ctan_test_data): New variable.
18875 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
18876 (ctan_tonearest_test_data): New variable.
18877 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18878 (ctan_towardzero_test_data): New variable.
18879 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18880 (ctan_downward_test_data): New variable.
18881 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18882 (ctan_upward_test_data): New variable.
18883 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18884 (ctanh_test_data): New variable.
18885 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
18886 (ctanh_tonearest_test_data): New variable.
18887 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18888 (ctanh_towardzero_test_data): New variable.
18889 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18890 (ctanh_downward_test_data): New variable.
18891 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18892 (ctanh_upward_test_data): New variable.
18893 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18894 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
18897 * math/libm-test.inc (struct test_ff_f_data): New type.
18898 (struct test_ff_f_data_nexttoward): Likewise.
18899 (RUN_TEST_LOOP_2_f): New macro.
18900 (RUN_TEST_LOOP_ff_f): Likewise.
18901 (atan2_test_data): New variable.
18902 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
18903 (copysign_test_data): New variable.
18904 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
18905 (fdim_test_data): New variable.
18906 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
18907 (fmax_test_data): New variable.
18908 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
18909 (fmin_test_data): New variable.
18910 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
18911 (fmod_test_data): New variable.
18912 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
18913 (hypot_test_data): New variable.
18914 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
18915 (nextafter_test_data): New variable.
18916 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
18917 (nexttoward_test_data): New variable.
18918 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
18919 (pow_test_data): New variable.
18920 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
18921 (pow_tonearest_test_data): New variable.
18922 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
18923 (pow_towardzero_test_data): New variable.
18924 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
18925 (pow_downward_test_data): New variable.
18926 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
18927 (pow_upward_test_data): New variable.
18928 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
18929 (remainder_test_data): New variable.
18930 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
18931 (scalb_test_data): New variable.
18932 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
18933 * sysdeps/i386/fpu/libm-test-ulps: Update.
18935 2013-05-11 Joseph Myers <joseph@codesourcery.com>
18937 * math/libm-test.inc (fma_test): Use max_value instead of local
18939 (nextafter_test): Likewise.
18941 * math/libm-test.inc (acos_towardzero_test_data): New variable.
18942 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18943 (acos_downward_test_data): New variable.
18944 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18945 (acos_upward_test_data): New variable.
18946 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18947 (acosh_test_data): New variable.
18948 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
18949 (asin_test_data): New variable.
18950 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
18951 (asin_tonearest_test_data): New variable.
18952 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18953 (asin_towardzero_test_data): New variable.
18954 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18955 (asin_downward_test_data): New variable.
18956 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18957 (asin_upward_test_data): New variable.
18958 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18959 (asinh_test_data): New variable.
18960 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
18961 (atan_test_data): New variable.
18962 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
18963 (atanh_test_data): New variable.
18964 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
18965 (cbrt_test_data): New variable.
18966 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
18967 (ceil_test_data): New variable.
18968 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
18969 (cos_test_data): New variable.
18970 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
18971 (cos_tonearest_test_data): New variable.
18972 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18973 (cos_towardzero_test_data): New variable.
18974 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18975 (cos_downward_test_data): New variable.
18976 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18977 (cos_upward_test_data): New variable.
18978 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18979 (cosh_test_data): New variable.
18980 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
18981 (cosh_tonearest_test_data): New variable.
18982 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18983 (cosh_towardzero_test_data): New variable.
18984 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18985 (cosh_downward_test_data): New variable.
18986 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18987 (cosh_upward_test_data): New variable.
18988 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18989 (erf_test_data): New variable.
18990 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
18991 (erfc_test_data): New variable.
18992 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
18993 (exp_test_data): New variable.
18994 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
18995 (exp_tonearest_test_data): New variable.
18996 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18997 (exp_towardzero_test_data): New variable.
18998 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18999 (exp_downward_test_data): New variable.
19000 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19001 (exp_upward_test_data): New variable.
19002 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19003 (exp10_test_data): New variable.
19004 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19005 (exp2_test_data): New variable.
19006 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19007 (expm1_test_data): New variable.
19008 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19009 (fabs_test_data): New variable.
19010 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19011 (floor_test_data): New variable.
19012 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19013 (j0_test_data): New variable.
19014 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19015 (j1_test_data): New variable.
19016 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19017 (log_test_data): New variable.
19018 (log_test): Run tests with RUN_TEST_LOOP_f_f.
19019 (log10_test_data): New variable.
19020 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19021 (log1p_test_data): New variable.
19022 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19023 (log2_test_data): New variable.
19024 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19025 (logb_test_data): New variable.
19026 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19027 (logb_downward_test_data): New variable.
19028 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19029 (nearbyint_test_data): New variable.
19030 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19031 (rint_test_data): New variable.
19032 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19033 (rint_tonearest_test_data): New variable.
19034 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19035 (rint_towardzero_test_data): New variable.
19036 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19037 (rint_downward_test_data): New variable.
19038 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19039 (rint_upward_test_data): New variable.
19040 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19041 (round_test_data): New variable.
19042 (round_test): Run tests with RUN_TEST_LOOP_f_f.
19043 (sin_test_data): New variable.
19044 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19045 (sin_tonearest_test_data): New variable.
19046 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19047 (sin_towardzero_test_data): New variable.
19048 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19049 (sin_downward_test_data): New variable.
19050 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19051 (sin_upward_test_data): New variable.
19052 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19053 (sinh_test_data): New variable.
19054 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19055 (sinh_tonearest_test_data): New variable.
19056 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19057 (sinh_towardzero_test_data): New variable.
19058 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19059 (sinh_downward_test_data): New variable.
19060 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19061 (sinh_upward_test_data): New variable.
19062 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19063 (sqrt_test_data): New variable.
19064 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19065 (tan_test_data): New variable.
19066 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19067 (tan_tonearest_test_data): New variable.
19068 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19069 (tan_towardzero_test_data): New variable.
19070 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19071 (tan_downward_test_data): New variable.
19072 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19073 (tan_upward_test_data): New variable.
19074 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19075 (tanh_test_data): New variable.
19076 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19077 (tgamma_test_data): New variable.
19078 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19079 (trunc_test_data): New variable.
19080 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19081 (y0_test_data): New variable.
19082 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19083 (y1_test_data): New variable.
19084 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19085 (significand_test_data): New variable.
19086 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19088 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19091 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19093 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19095 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19097 2013-05-10 Andreas Jaeger <aj@suse.de>
19100 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19101 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19103 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19105 * math/gen-libm-test.pl (adjust_arg): New function.
19106 (special_functions): Handle generating output in both functions
19108 (parse_args): Likewise.
19109 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19110 $in_func argument to parse_args.
19111 * math/libm-test.inc (struct test_f_f_data): New type.
19112 (IF_ROUND_INIT_): New macro.
19113 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19114 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19115 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19116 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19117 (ROUND_RESTORE_): Likewise.
19118 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19119 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19120 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19121 (ROUND_RESTORE_FE_UPWARD): Likewise.
19122 (RUN_TEST_LOOP_f_f): New macro.
19123 (acos_test_data): New variable.
19124 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19125 (acos_tonearest_test_data): New variable.
19126 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19128 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19130 * benchtests/bench-skeleton.c (startup): Fix coding style.
19132 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19135 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19136 negative infinity argument.
19137 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19138 negative infinity argument.
19139 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19140 negative infinity argument.
19141 * math/libm-test.inc (tgamma_test): Expect errno to be set for
19144 2013-05-10 Florian Weimer <fweimer@redhat.com>
19146 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19147 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19148 * iconv/iconv_prog.c (main): Likewise.
19149 * locale/programs/charmap-dir.c (charmap_readdir)
19150 (fopen_uncompressed): Likewise.
19151 * locale/programs/locfile.c (siblings_uncached)
19152 (write_locale_data): Use lstat64 instead of lstat.
19153 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19156 2013-05-10 Andreas Jaeger <aj@suse.de>
19159 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19161 Include <locale.h>.
19163 2013-05-09 Carlos O'Donell <carlos@redhat.com>
19165 * elf/dl-close.c (_dl_close_worker): Add comments.
19167 2013-05-09 Joseph Myers <joseph@codesourcery.com>
19170 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19172 (__ieee754_rem_pio2l): Update comments.
19175 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19177 (__ieee754_rem_pio2l): Update comments.
19179 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19180 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19182 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19185 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19186 (M_PI_34_LOG10El): Likewise.
19187 (M_PI2_LOG10El): Likewise.
19188 (M_PI4_LOG10El): Likewise.
19189 (M_PI_LOG10El): Likewise.
19191 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19193 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19195 2013-05-08 Joseph Myers <joseph@codesourcery.com>
19197 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19198 (MINUS_ZERO_INIT): Likewise.
19199 (PLUS_INFTY_INIT): Likewise.
19200 (MINUS_INFTY_INIT): Likewise.
19201 (QNAN_VALUE_INIT): Likewise.
19202 (MAX_VALUE_INIT): Likewise.
19203 (MIN_VALUE_INIT): Likewise.
19204 (MIN_SUBNORM_VALUE_INIT): Likewise.
19205 (plus_zero): Initialize with PLUS_ZERO_INIT.
19206 (minus_zero): Initialize with MINUS_ZERO_INIT.
19207 (plus_infty): Initialize with PLUS_INFTY_INIT.
19208 (minus_infty): Initialize with MINUS_INFTY_INIT.
19209 (qnan_value): Initialize with QNAN_VALUE_INIT.
19210 (max_value): Initialize with MAX_VALUE_INIT.
19211 (min_value): Initialize with MIN_VALUE_INIT.
19212 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19214 * math/libm-test.inc (RUN_TEST_if_f): New macro.
19215 (jn_test): Use TEST_if_f instead of TEST_ff_f.
19216 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19217 (yn_test): Use TEST_if_f instead of TEST_ff_f.
19219 * math/libm-test.inc (RUN_TEST_f_f): New macro.
19220 (RUN_TEST_2_f): Likewise.
19221 (RUN_TEST_ff_f): Likewise.
19222 (RUN_TEST_fi_f): Likewise.
19223 (RUN_TEST_fl_f): Likewise.
19224 (RUN_TEST_fff_f): Likewise.
19225 (RUN_TEST_c_f): Likewise.
19226 (RUN_TEST_f_f1): Likewise.
19227 (RUN_TEST_fF_f1): Likewise.
19228 (RUN_TEST_fI_f1): Likewise.
19229 (RUN_TEST_ffI_f1): Likewise.
19230 (RUN_TEST_c_c): Likewise.
19231 (RUN_TEST_cc_c): Likewise.
19232 (RUN_TEST_f_i): Likewise.
19233 (RUN_TEST_f_i_tg): Likewise.
19234 (RUN_TEST_ff_i_tg): Likewise.
19235 (RUN_TEST_f_b): Likewise.
19236 (RUN_TEST_f_b_tg): Likewise.
19237 (RUN_TEST_f_l): Likewise.
19238 (RUN_TEST_f_L): Likewise.
19239 (RUN_TEST_sincos): Likewise.
19240 * math/gen-libm-test.pl (new_test): Take new argument to indicate
19241 whether to show exceptions. Do not include ");\n" in return
19243 (special_functions): Output call to RUN_TEST_sincos instead of
19244 check_float calls. Update calls to new_test.
19245 (parse_args): Output call to single RUN_TEST_* macro instead of
19246 check_* calls and other assignments. Update calls to new_test.
19252 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19253 input to result for tgamma overflow.
19254 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19255 (gamma_coeff): New variable.
19256 (NCOEFF): New macro.
19257 (gamma_positive): New function.
19258 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19259 underflow here. Use gamma_positive instead of exp (lgamma) for
19261 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19262 (gamma_coeff): New variable.
19263 (NCOEFF): New macro.
19264 (gammaf_positive): New function.
19265 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19266 underflow here. Use gamma_positive instead of exp (lgamma) for
19268 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19269 (gamma_coeff): New variable.
19270 (NCOEFF): New macro.
19271 (gammal_positive): New function.
19272 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19273 underflow here. Use gamma_positive instead of exp (lgamma) for
19275 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19276 (gamma_coeff): New variable.
19277 (NCOEFF): New macro.
19278 (gammal_positive): New function.
19279 (__ieee754_gammal_r): Handle positive infinity, overflow and
19280 underflow here. Handle NaN the same as positive infinity. Remove
19281 check x < 0xffffffff for negative integers. Use gamma_positive
19282 instead of exp (lgamma) for other arguments.
19283 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19284 (gamma_coeff): New variable.
19285 (NCOEFF): New macro.
19286 (gammal_positive): New function.
19287 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19288 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19289 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19290 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19291 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19292 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19293 * sysdeps/generic/math_private.h (__gamma_productf): New
19295 (__gamma_product): Likewise.
19296 (__gamma_productl): Likewise.
19297 * math/Makefile (libm-calls): Add gamma_product.
19298 * math/libm-test.inc (tgamma_test): Add more tests.
19299 * sysdeps/i386/fpu/libm-test-ulps: Update.
19300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19302 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
19304 * benchtests/bench-skeleton.c (main): Preheat CPU.
19306 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
19308 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19310 2013-05-07 Roland McGrath <roland@hack.frob.com>
19312 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19313 and _dl_skip_args_internal.
19315 2013-05-07 Carlos O'Donell <carlos@redhat.com>
19317 * manual/message.texi (Message Translation): Talk about users.
19318 Message to key mapping impacts design.
19320 2013-05-06 Roland McGrath <roland@hack.frob.com>
19322 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19324 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19326 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19327 * sysdeps/wordsize-64/glob64.c: ... here.
19329 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19330 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19333 * debug/getlogin_r_chk.c: Moved to ...
19334 * login/getlogin_r_chk.c: ... here.
19335 * debug/Makefile (routines): Move getlogin_r_chk to ...
19336 * login/Makefile (routines): ... here.
19337 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19338 * login/Versions (libc: GLIBC_2.4): ... here.
19340 * io/poll.c (__poll): Renamed from poll.
19341 Add libc_hidden_def.
19342 (poll): Define as weak alias.
19344 * debug/ptsname_r_chk.c: Moved to ...
19345 * login/ptsname_r_chk.c: ... here.
19346 * debug/Makefile (routines): Move ptsname_r_chk to ...
19347 * login/Makefile (routines): ... here.
19348 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19349 * login/Versions (libc: GLIBC_2.4): ... here.
19351 * posix/getlogin.c: Moved to ...
19352 * login/getlogin.c: ... here.
19353 * posix/getlogin_r.c: Moved to ...
19354 * login/getlogin_r.c: ... here.
19355 * posix/getlogin_r.c: Moved to ...
19356 * login/getlogin_r.c: ... here.
19357 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19358 * login/Makefile (routines): ... here.
19359 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19360 * login/Versions (libc: GLIBC_2.0): ... here.
19362 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19363 (setrlimit): Define as weak alias.
19365 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19366 Call __ names for open, ftruncate, and close.
19367 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19368 (truncate): Define as weak alias.
19370 2013-05-06 Joseph Myers <joseph@codesourcery.com>
19372 * math/gen-libm-test.pl (parse_args): Initialize x before each
19373 test of frexp, modf and remquo.
19375 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19376 test signgam value.
19378 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19382 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19384 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19386 2013-05-06 Roland McGrath <roland@hack.frob.com>
19388 * elf/dl-writev.h: New file.
19389 * elf/dl-misc.c: Include it.
19390 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19391 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19393 2013-05-04 Joseph Myers <joseph@codesourcery.com>
19395 * math/libm-test.inc (noXFails): Remove variable.
19396 (noXPasses): Likewise.
19397 (BUILD_COMPLEX_INT): Remove macro.
19398 (print_screen): Remove xfail argument.
19399 (print_screen_max_error): Likewise.
19400 (update_stats): Likewise.
19401 (print_max_error): Likewise. Update calls to other affected
19403 (print_complex_max_error): Likewise.
19404 (test_single_exception): Update calls to print_screen.
19405 (test_single_errno): Likewise.
19406 (check_float_internal): Remove xfail argument. Update calls to
19407 other affected functions.
19408 (check_float): Likewise.
19409 (check_complex): Likewise.
19410 (check_int): Likewise.
19411 (check_long): Likewise.
19412 (check_bool): Likewise.
19413 (check_longlong): Likewise.
19414 (main): Don't print noXFails and noXPasses.
19415 * math/gen-libm-test.pl (top level): Don't mention expected
19416 failure handling in comment.
19417 (new_test): Don't handle expected failures.
19418 (parse_args): Don't mention expected failure handling in comment.
19419 (generate_testfile): Don't handle expected failures.
19420 (parse_ulps): Likewise.
19421 (print_ulps_file): Likewise.
19422 (get_failure): Remove function.
19423 (output_test): Don't handle expected failures.
19424 * make/README.libm-test: Don't mention expected failure handling.
19426 * math/libm-test.inc (plus_zero): Make const. Add initializer.
19427 (minus_zero): Likewise.
19428 (plus_infty): Likewise.
19429 (minus_infty): Likewise.
19430 (qnan_value): Likewise.
19431 (max_value): Likewise.
19432 (min_value): Likewise.
19433 (min_subnorm_value): Likewise.
19434 (initialize): Do not initialize those variables dynamically.
19436 2013-05-03 Roland McGrath <roland@hack.frob.com>
19438 * io/open.c (__open_2): Moved to ...
19439 * io/open_2.c: ... this new file.
19440 * io/open64.c (__open64_2): Moved to ...
19441 * io/open64_2.c: ... this new file.
19442 * io/openat.c (__openat_2): Moved to ...
19443 * io/openat_2.c: ... this new file.
19444 * io/openat64.c (__openat64_2): Moved to ...
19445 * io/openat64_2.c: ... this new file.
19446 * io/Makefile (routines): Add them.
19447 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19448 * sysdeps/unix/sysv/linux/open_2.c: File removed.
19449 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19450 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19451 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19452 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19453 (__openat64): Add hidden_ver.
19454 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19455 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19457 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19458 Separately conditionalize setting of GLRO(dl_sysinfo) so
19459 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19460 as well, but the actual setting is only under [NEED_DL_SYSINFO].
19462 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19464 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19465 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19467 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19468 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19469 (_libc_vdso_platform_setup): Add __vdso_time initialization.
19470 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19471 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19473 2013-05-03 Joseph Myers <joseph@codesourcery.com>
19475 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19476 test signgam value.
19478 * math/libm-test.inc (hypot_test): Do not use
19479 IGNORE_ZERO_INF_SIGN.
19481 2013-05-03 Andreas Jaeger <aj@suse.de>
19483 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19485 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19486 (PF_MAX): Adjust for VSOCK change.
19488 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19492 2013-05-02 Carlos O'Donell <carlos@redhat.com>
19495 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19496 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19497 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19499 2013-05-02 David S. Miller <davem@davemloft.net>
19501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19503 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
19505 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19507 2013-05-01 Roland McGrath <roland@hack.frob.com>
19509 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19511 2013-05-01 Richard Smith <richard@metafoo.co.uk>
19514 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19515 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19516 Use __attribute__ ((__gnu_inline__)).
19517 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19518 Don't use __attribute__ ((__gnu_inline__)).
19520 2013-05-01 Joseph Myers <joseph@codesourcery.com>
19523 * math/s_catan.c (__catan): Handle small real or imaginary part of
19524 input specially to avoid spurious underflow.
19525 * math/s_catanf.c (__catanf): Likewise.
19526 * math/s_catanh.c (__catanh): Likewise.
19527 * math/s_catanhf.c (__catanhf): Likewise.
19528 * math/s_catanhl.c (__catanhl): Likewise.
19529 * math/s_catanl.c (__catanl): Likewise.
19530 * math/libm-test.inc (catan_test): Add more tests.
19531 (catanh_test): Likewise.
19532 * sysdeps/i386/fpu/libm-test-ulps: Update.
19533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19535 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19539 2013-04-30 Joseph Myers <joseph@codesourcery.com>
19542 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19543 accurately for denominator in atan2.
19544 * math/s_catanf.c (__catanf): Likewise.
19545 * math/s_catanh.c (__catanh): Likewise.
19546 * math/s_catanhf.c (__catanhf): Likewise.
19547 * math/s_catanhl.c (__catanhl): Likewise.
19548 * math/s_catanl.c (__catanl): Likewise.
19549 * math/libm-test.inc (catan_test): Add more tests.
19550 (catanh_test): Likewise.
19551 * sysdeps/i386/fpu/libm-test-ulps: Update.
19552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19554 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19556 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19558 * benchtests/Makefile (bench): Remove slow benchmarks.
19559 * benchtests/atan-inputs: Add slow benchmark inputs.
19560 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19561 (BENCH_FUNC): Accept variant offset.
19563 * benchtests/bench-skeleton.c (main): Run benchmark for each
19565 * benchtests/cos-inputs: Add slow benchmark inputs.
19566 * benchtests/exp-inputs: Likewise.
19567 * benchtests/pow-inputs: Likewise.
19568 * benchtests/sin-inputs: Likewise.
19569 * benchtests/slowatan-inputs: Remove.
19570 * benchtests/slowatan.c: Remove.
19571 * benchtests/slowcos-inputs: Remove.
19572 * benchtests/slowcos.c: Remove.
19573 * benchtests/slowexp-inputs: Remove.
19574 * benchtests/slowexp.c: Remove.
19575 * benchtests/slowpow-inputs: Remove.
19576 * benchtests/slowpow.c: Remove.
19577 * benchtests/slowsin-inputs: Remove.
19578 * benchtests/slowsin.c: Remove.
19579 * benchtests/slowtan-inputs: Remove.
19580 * benchtests/slowtan.c: Remove.
19581 * benchtests/tan-inputs: Add slow benchmark inputs.
19582 * scripts/bench.pl: Parse comments and directives.
19584 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
19586 ($(objpfx)bench-%.c): Remove *-ITER.
19587 * benchtests/bench-modf.c: Remove definition of ITER.
19588 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19589 (main): Loop for DURATION seconds instead of fixed number of
19591 * scripts/bench.pl: Don't expect iterations in parameters.
19593 2013-04-29 Roland McGrath <roland@hack.frob.com>
19595 * io/fchdir.c (__fchdir): Renamed from fchdir.
19596 (fchdir): Define as weak alias.
19598 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19600 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19601 (ERRNO_EDOM): Likewise.
19602 (ERRNO_ERANGE): Likewise.
19603 (noErrnoTests): New variable.
19604 (init_max_error): Set errno to 0.
19605 (test_single_errno): New function.
19606 (test_errno): Likewise.
19607 (check_float_internal): Call test_errno. Set errno to 0.
19608 (check_complex): Refer to errno tests in comment.
19609 (check_int): Call test_errno. Set errno to 0.
19610 (check_long): Likewise.
19611 (check_bool): Likewise.
19612 (check_longlong): Likewise.
19613 (cos_test): Use ERRNO_* flags for errno tests instead of
19615 (expm1_test): Likewise.
19616 (fmod_test): Likewise.
19617 (ilogb_test): Likewise.
19618 (lgamma_test): Likewise.
19619 (pow_test): Likewise.
19620 (remainder_test): Likewise.
19621 (sin_test): Likewise.
19622 (tan_test): Likewise.
19623 (yn_test): Likewise.
19624 (initialize): Set errno to 0.
19625 (main): Print number of errno tests.
19626 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19628 2013-04-29 Andreas Jaeger <aj@suse.de>
19631 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19635 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19636 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19640 * stdlib/random.c (__initstate): Return NULL if
19644 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19645 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19648 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19652 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19654 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19655 of individual tests.
19656 (casin_test): Likewise.
19657 (casinh_test): Likewise.
19659 2013-04-27 Joseph Myers <joseph@codesourcery.com>
19662 * math/s_catan.c (__catan): Handle arguments with large real or
19663 imaginary part separately without squaring.
19664 * math/s_catanf.c (__catanf): Likewise.
19665 * math/s_catanh.c (__catanh): Likewise.
19666 * math/s_catanhf.c (__catanhf): Likewise.
19667 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19669 (__catanhl): Handle arguments with large real or imaginary part
19670 separately without squaring.
19671 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19673 (__catanl): Handle arguments with large real or imaginary part
19674 separately without squaring.
19675 * math/libm-test.inc (catan_test): Add more tests.
19676 (catanh_test): Likewise.
19677 * sysdeps/i386/fpu/libm-test-ulps: Update.
19678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19680 2013-04-27 Andreas Jaeger <aj@suse.de>
19683 * stdlib/stdlib.h: Update guards for qecvt.
19684 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19687 2013-04-27 Allan McRae <allan@archlinux.org>
19689 * sysdeps/i386/fpu/libm-test-ulps: Update.
19691 2013-04-26 Joseph Myers <joseph@codesourcery.com>
19694 * math/s_catan.c: Include <float.h>.
19695 (__catan): Ensure underflow exception occurs for underflowed
19697 * math/s_catanf.c: Include <float.h>.
19698 (__catanf): Ensure underflow exception occurs for underflowed
19700 * math/s_catanh.c: Include <float.h>.
19701 (__catanh): Ensure underflow exception occurs for underflowed
19703 * math/s_catanhf.c: Include <float.h>.
19704 (__catanhf): Ensure underflow exception occurs for underflowed
19706 * math/s_catanhl.c: Include <float.h>.
19707 (__catanhl): Ensure underflow exception occurs for underflowed
19709 * math/s_catanl.c: Include <float.h>.
19710 (__catanl): Ensure underflow exception occurs for underflowed
19712 * math/libm-test.inc (catan_test): Add more tests.
19713 (catanh_test): Likewise.
19716 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19717 underflowed result.
19718 * math/s_ccoshf.c (__ccoshf): Likewise.
19719 * math/s_ccoshl.c (__ccoshl): Likewise.
19720 * math/s_csin.c (__csin): Likewise.
19721 * math/s_csinf.c (__csinf): Likewise.
19722 * math/s_csinh.c (__csinh): Likewise.
19723 * math/s_csinhf.c (__csinhf): Likewise.
19724 * math/s_csinhl.c (__csinhl): Likewise.
19725 * math/s_csinl.c (__csinl): Likewise.
19726 * math/libm-test.inc (ccos_test): Add more tests.
19727 (ccosh_test): Likewise.
19728 (csin_test): Likewise.
19729 (csinh_test): Likewise.
19731 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19733 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19734 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19735 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19736 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19737 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19738 powerpc/power5+/fpu folders.
19739 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19742 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19744 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19746 2013-04-25 Joseph Myers <joseph@codesourcery.com>
19748 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19749 additions to variable.
19750 [$(config-machine) = x86_64] (modules-names): Likewise.
19751 ($(objpfx)tst-audit3): Remove dependency.
19752 ($(objpfx)tst-audit3.out): Likewise.
19753 ($(objpfx)tst-audit4): Likewise.
19754 ($(objpfx)tst-audit4.out): Likewise.
19755 ($(objpfx)tst-audit5): Likewise.
19756 ($(objpfx)tst-audit5.out): Likewise.
19757 ($(objpfx)tst-audit6): Likewise.
19758 ($(objpfx)tst-audit6.out): Likewise.
19759 ($(objpfx)tst-audit7): Likewise.
19760 ($(objpfx)tst-audit7.out): Likewise.
19761 (tst-audit3-ENV): Remove variable.
19762 (tst-audit4-ENV): Likewise.
19763 (tst-audit5-ENV): Likewise.
19764 (tst-audit6-ENV): Likewise.
19765 (tst-audit7-ENV): Likewise.
19766 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19767 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19768 addition to variable.
19769 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19770 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19771 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19772 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19773 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19774 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19775 tst-audit3, tst-audit4 and tst-audit5.
19776 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19777 tst-audit6 and tst-audit7.
19778 [$(subdir) = elf] (modules-names): Add audit modules for those
19780 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19781 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19782 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19783 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19784 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19785 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19786 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19787 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19788 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19789 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19790 [$(subdir) = elf] (tst-audit3-ENV): New variable.
19791 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19792 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19793 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19794 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19795 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19797 [$(subdir) = elf && $(config-cflags-avx) = yes]
19798 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19799 [$(subdir) = elf && $(config-cflags-avx) = yes]
19800 (CFLAGS-tst-auditmod4a.c): Likewise.
19801 [$(subdir) = elf && $(config-cflags-avx) = yes]
19802 (CFLAGS-tst-auditmod4b.c): Likewise.
19803 [$(subdir) = elf && $(config-cflags-avx) = yes]
19804 (CFLAGS-tst-auditmod6b.c): Likewise.
19805 [$(subdir) = elf && $(config-cflags-avx) = yes]
19806 (CFLAGS-tst-auditmod6c.c): Likewise.
19807 [$(subdir) = elf && $(config-cflags-avx) = yes]
19808 (CFLAGS-tst-auditmod7b.c): Likewise.
19809 * elf/tst-audit3.c: Move to ...
19810 * sysdeps/x86_64/tst-audit3.c: ... here.
19811 * elf/tst-audit4.c: Move to ...
19812 * sysdeps/x86_64/tst-audit4.c: ... here.
19813 * elf/tst-audit5.c: Move to ...
19814 * sysdeps/x86_64/tst-audit5.c: ... here.
19815 * elf/tst-audit6.c: Move to ...
19816 * sysdeps/x86_64/tst-audit6.c: ... here.
19817 * elf/tst-audit7.c: Move to ...
19818 * sysdeps/x86_64/tst-audit7.c: ... here.
19819 * elf/tst-auditmod3a.c: Move to ...
19820 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
19821 * elf/tst-auditmod3b.c: Move to ...
19822 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
19823 * elf/tst-auditmod4a.c: Move to ...
19824 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
19825 * elf/tst-auditmod4b.c: Move to ...
19826 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
19827 * elf/tst-auditmod5a.c: Move to ...
19828 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
19829 * elf/tst-auditmod5b.c: Move to ...
19830 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
19831 * elf/tst-auditmod6a.c: Move to ...
19832 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
19833 * elf/tst-auditmod6b.c: Move to ...
19834 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
19835 * elf/tst-auditmod6c.c: Move to ...
19836 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
19837 * elf/tst-auditmod7a.c: Move to ...
19838 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
19839 * elf/tst-auditmod7b.c: Move to ...
19840 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
19842 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
19845 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
19846 define unconditionally.
19847 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
19848 define unconditionally.
19849 (INT8_C, INT16_C, etc.): Likewise.
19851 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
19853 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
19854 __ehdr_start with hidden visibility.
19856 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
19858 2013-04-24 Carlos O'Donell <carlos@redhat.com>
19860 * math/libm-test.inc (cos_test): Use accurate hex constants.
19861 (sincost_test): Likewise.
19863 2013-04-24 Joseph Myers <joseph@codesourcery.com>
19865 * math/libm-test.inc (catan_test): Add more tests.
19866 (catanh_test): Likewise.
19868 * math/s_catanf.c (__catanf): Use suffixed floating-point
19870 * math/s_catanhf.c (__catanhf): Likewise.
19871 * math/s_catanhl.c (__catanhl): Likewise.
19872 * math/s_catanl.c (__catanl): Likewise.
19875 * math/s_catan.c (__catan): Calculate imaginary part of result
19876 with log1p not log unless computing log of number close to 0.
19877 * math/s_catanf.c (__catanf): Likewise.
19878 * math/s_catanl.c (__catanl): Likewise.
19879 * math/s_catanh.c (__catanh): Calculate real part of result with
19880 log1p not log unless computing log of number close to 0.
19881 * math/s_catanhf.c (__catanhf): Likewise.
19882 * math/s_catanhl.c (__catanhl): Likewise.
19883 * math/libm-test.inc (catan_test): Add more tests.
19884 (catanh_test): Likewise.
19885 * sysdeps/i386/fpu/libm-test-ulps: Update.
19886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19888 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19890 * benchtests/Makefile: Mention files in which fast and slow
19891 paths of math functions are implemented.
19893 2013-04-23 Roland McGrath <roland@hack.frob.com>
19895 * sysdeps/posix/timespec_get.c: New file.
19897 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19899 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
19901 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
19903 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
19904 powerpc/power5/fpu folders.
19905 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
19906 * benchtests/Makefile: Add modf testcase.
19907 * benchtests/bench-modf.c: New file: Benchmark test for mo
19909 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19912 * time/Makefile (tests): Add tst-strptime-whitespace.
19913 * time/strptime_l.c (get_number): Use ISSPACE.
19914 (__strptime_internal): Likewise.
19915 * time/tst-strptime-whitespace.c: New test case.
19917 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
19919 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
19921 (_nss_files_init): Set it here.
19923 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
19925 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
19926 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
19929 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
19931 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
19933 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19935 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
19938 2013-04-21 David S. Miller <davem@davemloft.net>
19940 * po/ru.po: Update Russion translation from translation project.
19942 2013-04-17 Adam Conrad <adconrad@0c3.net>
19944 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
19947 2013-04-17 Carlos O'Donell <carlos@redhat.com>
19949 * configure.in: Remove i386 configure warning. Remove i386 case.
19950 * configure: Regenerate.
19951 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
19952 Add example to error message.
19953 * sysdeps/i386/configure: Regenerate.
19955 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19957 * benchtests/Makefile (bench): Add cos, tan, slowcos and
19959 * benchtests/cos-inputs: New file.
19960 * benchtests/slowcos-inputs: New file.
19961 * benchtests/slowcos.c: New file.
19962 * benchtests/slowtan-inputs: New file.
19963 * benchtests/slowtan.c: New file.
19964 * benchtests/tan-inputs: New file.
19966 2013-04-16 Roland McGrath <roland@hack.frob.com>
19968 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
19971 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19973 * benchtests/Makefile: Include cppflags-iterator.mk to add
19974 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
19976 * Makefile.in (bench-clean): New target.
19977 * benchtests/Makefile (bench-clean): Likewise.
19979 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
19981 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
19983 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
19985 * stdio-common/tstdiomisc.c: Fix coding-style violation.
19987 2013-04-15 Andreas Schwab <schwab@suse.de>
19989 * nscd/grpcache.c (cache_addgr): Properly check for short write.
19990 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19991 * nscd/pwdcache.c (cache_addpw): Likewise.
19992 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
19995 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19997 * benchtests/Makefile (bench): Write all output to
19998 bench-out.tmp together.
20000 2013-04-15 Andreas Schwab <schwab@suse.de>
20002 * nscd/nscd.c (main): Don't fork again after closing files.
20004 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20006 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20008 * benchtests/Rules (bench-deps): Collect dependencies into a
20009 single variable. Add Makefile to dependencies.
20010 ($(objpfx)bench-%.c): Depend on bench-deps.
20012 2013-04-12 Roland McGrath <roland@hack.frob.com>
20013 Xavier Roche <roche+kml2@exalead.com>
20016 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20017 just that it's a file descriptor.
20018 * manual/llio.texi (Synchronizing AIO Operations): Update description
20019 for EBADF error from aio_fsync.
20021 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20023 * Rules (bench): Move target definition...
20024 * benchtests/Makefile: ... here.
20026 2013-04-11 Carlos O'Donell <carlos@redhat.com>
20028 * math/libm-test.inc (cos_test): Fix PI/2 test.
20029 (sincos_test): Likewise.
20030 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20031 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20033 2013-04-11 Andreas Schwab <schwab@suse.de>
20036 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20037 accept exponent character only when digits were seen.
20038 * stdio-common/Makefile (tests): Add bug26.
20039 * stdio-common/bug26.c: New file.
20042 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20045 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20047 * Makeconfig (rtld-prefix): Define built linker prefix.
20048 * Rules (run-bench): Use it.
20049 * math/Makefile (run-regen-ulps): Likewise.
20051 * Rules (bench): Remove eval.
20053 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20054 Roland McGrath <roland@hack.frob.com>
20055 Ondrej Bilka <neleai@seznam.cz>
20058 * time/getdate.c: Include ctype.h and alloca.h.
20059 (__getdate_r): Trim leading and trailing spaces of input.
20060 * time/tst-getdate.c (tests): Add tests with leading and
20063 2013-04-08 Roland McGrath <roland@hack.frob.com>
20066 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20067 when computing value.
20069 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20071 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20072 Use testrun.sh to run libm tests.
20075 * elf/dl-open.c (dl_open_worker): memset all of seen array.
20077 2013-04-06 Marko Myllynen <myllynen@redhat.com>
20080 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20082 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20084 * Makefile.in (regen-ulps): New target.
20085 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20086 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20087 [ifneq (no,$(PERL)] (regen-ulps): New target.
20088 [ifeq (no,$(PERL)] (regen-ulps): New target.
20089 * math/libm-test.inc (ulps_file_name): Define.
20090 (output_dir): New variable.
20091 (options): Add "output-dir" option.
20092 (parse_opt): Handle 'o' case.
20093 (main): If output_dir is non-NULL use it as a prefix
20095 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20097 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20099 [BZ #10060, #10062]
20100 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20101 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20102 fail configure if __sync_val_compare_and_swap is not inlined.
20103 * sysdeps/i386/configure: Regenerate.
20104 * configure.in: Build for i686 when configured for i386.
20105 * configure: Regenerate.
20106 * README: Remove i386 reference.
20108 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20110 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20111 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20113 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20115 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20116 (lmsnanval): New variables.
20117 (F): Add conversion tests.
20118 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20119 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20121 * stdio-common/tstdiomisc.c (F): Properly collect individual
20124 [BZ #14686, #15336]
20125 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20126 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20127 Instead, use input NaN values or generate a qNaN by arithmetic
20128 operation. Also fix bugs to comply with the standard.
20129 * math/libm-test.inc (remainder_test): Add more tests.
20131 [BZ #15335, #15342]
20132 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20133 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20134 input NaN values or generate a qNaN by arithmetic operation.
20136 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20139 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20142 2013-04-03 Joseph Myers <joseph@codesourcery.com>
20145 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20146 underflowed result.
20147 * math/s_cexpf.c (__cexpf): Likewise.
20148 * math/s_cexpl.c (__cexpl): Likewise.
20149 * math/libm-test.inc (cexp_test): Add more tests.
20151 2013-04-03 Andreas Schwab <schwab@suse.de>
20154 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20155 order arrays from heap if bigger than alloca cutoff.
20157 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
20159 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20160 (SNAN_TESTS_double): Refer to GCC PR56831.
20161 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20164 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20166 * Rules (bench): Move bench.out after the run is complete.
20168 * Rules (bench): Echo currently running benchmark.
20170 * benchtests/Makefile (bench): Add atan and slowatan.
20171 * benchtests/atan-inputs: New file.
20172 * benchtests/slowatan-inputs: New file.
20173 * benchtests/slowatan.c: New file.
20175 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20176 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20180 * sysdeps/unix/sysv/linux/kernel-features.h
20181 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20182 __ASSUME_XFS_RESTRICTED_CHOWN.
20183 * sysdeps/unix/sysv/linux/pathconf.c
20184 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20185 Save and restore errno.
20187 2013-04-02 Joseph Myers <joseph@codesourcery.com>
20190 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20191 arguments using __kernel_casinh.
20192 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20193 arguments using __kernel_casinhf.
20194 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20195 arguments using __kernel_casinhl.
20196 * math/libm-test.inc (cacosh_test): Add more tests.
20197 * sysdeps/i386/fpu/libm-test-ulps: Update.
20198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20200 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20202 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20203 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20205 * bench/Makefile (bench): Add sin and slowsin.
20206 * benchtests/sin-inputs: New file.
20207 * benchtests/slowsin-inputs: New file.
20208 * benchtests/slowsin.c: New file.
20210 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20211 (bench): Add slowexp and slowpow.
20212 (exp-ITER): Increase iterations.
20213 (pow-ITER): Likewise.
20214 * benchtests/exp-inputs: Change input.
20215 * benchtests/pow-inputs: Likewise.
20216 * benchtests/slowexp-inputs: New file.
20217 * benchtests/slowexp.c: New file.
20218 * benchtests/slowpow-inputs: New file.
20219 * benchtests/slowpow.c: New file.
20221 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20223 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20225 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20226 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20227 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20228 * benchtests/Makefile: Add rint benchtest.
20229 * benchtests/rint-inputs: Input for rint benchtest.
20231 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
20233 * Versions.def (libm): Add GLIBC_2.18.
20234 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20235 hidden libm prototypes.
20236 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20237 * math/Makefile (libm-calls): Add s_issignaling.
20238 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20239 __issignalingf, __issignalingl. Adjust all libm.abilist files.
20240 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20242 * math/math.h [__USE_GNU] (issignaling): New macro.
20243 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20244 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20245 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20246 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20247 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20248 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20249 * manual/arith.texi (issignaling): New section.
20250 * manual/libm-err-tab.pl (@all_functions): Update comment.
20251 * math/gen-libm-test.pl (parse_args): Apply special handling for
20253 * math/libm-test.inc (print_float, issignaling_test): New
20255 (check_float_internal): Add issignaling checks.
20256 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20257 default definition.
20258 * sysdeps/powerpc/math-tests.h: New file.
20259 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20261 * math/test-snan.c (TEST_FUNC): Likewise.
20263 2013-03-30 David S. Miller <davem@davemloft.net>
20265 * po/de.po: Update from translation team.
20267 2013-03-30 Joseph Myers <joseph@codesourcery.com>
20270 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20271 imaginary part less than 1.0 and real part less than 0.5
20273 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20274 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20275 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20276 (cacos_test): Add more tests.
20277 (casin_test): Likewise.
20278 (casinh_test): Likewise.
20279 * sysdeps/i386/fpu/libm-test-ulps: Update.
20280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20282 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20284 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20285 ONE with its value.
20287 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20288 (__pow_mp): Replace ONE and MONE with their values.
20289 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20290 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20291 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20292 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20293 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20294 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20296 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20298 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20299 (__pow_mp): Replace ZERO and MZERO with their values.
20300 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20301 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20302 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20303 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20304 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20305 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20308 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20310 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20312 2013-03-28 Roland McGrath <roland@hack.frob.com>
20314 * include/stdlib.h [!SHARED] (__call_tls_dtors):
20315 Declare with __attribute__ ((weak)).
20316 * stdlib/exit.c (__libc_atexit) [!SHARED]:
20317 Call __call_tls_dtors only if it's not NULL.
20319 2013-03-28 Roland McGrath <roland@hack.frob.com>
20321 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20322 didn't do it already, then set _dl_phdr and _dl_phnum based on the
20323 magic __ehdr_start linker symbol if it's defined.
20324 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20325 them up here if it was already done.
20327 * elf/dl-support.c (_dl_phdr): Make pointer to const.
20328 (_dl_aux_init): Use const in cast when setting it.
20329 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20330 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20331 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20333 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20335 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20336 * csu/libc-tls.c: Nor here.
20337 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20339 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20340 (__libc_message): Never call vsyslog.
20342 2013-03-28 Alan Modra <amodra@gmail.com>
20344 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20346 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20349 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20352 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20356 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20359 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20360 Don't add gid passed as argument.
20362 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20364 2013-03-27 Joseph Myers <joseph@codesourcery.com>
20367 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20368 imaginary part between 1.0 and 1.5 and real part less than 0.5
20370 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20371 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20372 * math/libm-test.inc (cacos_test): Add more tests.
20373 (casin_test): Likewise.
20374 (casinh_test): Likewise.
20375 * sysdeps/i386/fpu/libm-test-ulps: Update.
20376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20378 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20380 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20383 (denorm): Likewise.
20384 (__dbl_mp): Likewise.
20385 (add_magnitudes): Likewise.
20386 (sub_magnitudes): Likewise.
20394 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20396 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20397 (__dubcos): Likewise.
20398 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20399 (__ieee754_acos): Likewise.
20400 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20401 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20402 (__exp1): Likewise.
20403 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20404 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20406 (my_log2): Likewise.
20407 (checkint): Likewise.
20408 * sysdeps/ieee754/dbl-64/e_remainder.c
20409 (__ieee754_remainder): Likewise.
20410 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20411 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20412 (bsloww): Likewise.
20413 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20415 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20416 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20417 MANTISSA_STORE_T to store computations on mantissa. Use
20418 macros for rounding and division.
20419 (denorm): Likewise.
20420 (__dbl_mp): Likewise.
20421 (add_magnitudes): Likewise.
20422 (sub_magnitudes): Likewise.
20425 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20426 powers of two in terms of TWOPOW macro.
20427 (mp_no): Make type of mantissa as MANTISSA_T.
20428 [!RADIXI]: Define RADIXI.
20429 [!TWO52]: Define TWO52.
20430 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20432 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20434 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20435 llroundl symbol when building for PPC32.
20437 2013-03-24 Mark H Weaver <mhw@netris.org>
20439 * manual/arith.texi (Normalization Functions): Fix prototypes for
20440 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20442 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20445 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20446 high value to check if expl overflow.
20447 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20448 to check for underflow and overflow.
20449 * math/libm-test.inc: Add exp test.
20451 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
20454 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20457 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20459 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20462 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
20464 * math/gen-libm-test.pl (parse_args, special_functions): Properly
20465 wrap blocks consisting of several statements.
20467 * sysdeps/generic/math-tests.h: New file.
20468 * sysdeps/i386/fpu/math-tests.h: Likewise.
20469 * math/test-snan.c: Include it.
20470 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20472 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20475 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20476 (__ieee754_j0l): Do not improve calculations using cos of twice
20477 input for inputs above LDBL_MAX / 2.0L.
20478 (__ieee754_y0l): Likewise.
20479 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20480 (__ieee754_j1l): Do not improve calculations using cos of twice
20481 input for inputs above LDBL_MAX / 2.0L.
20482 (__ieee754_y1l): Likewise.
20483 * math/libm-test.inc (j0_test): Add another test.
20484 (j1_test): Likewise.
20485 (y0_test): Likewise.
20486 (y1_test): Likewise.
20487 * sysdeps/i386/fpu/libm-test-ulps: Update.
20489 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20491 * Rules ($(objpfx)bench-%.c): Include code from a C source
20494 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20497 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20498 imaginary part 1.0 and real part less than 0.5 specially.
20499 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20500 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20501 * math/libm-test.inc (cacos_test): Add more tests.
20502 (casin_test): Likewise.
20503 (casinh_test): Likewise.
20504 * sysdeps/i386/fpu/libm-test-ulps: Update.
20505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20507 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20509 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20510 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20512 2013-03-20 Joseph Myers <joseph@codesourcery.com>
20514 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20515 * config.make.in (config-cflags-sse4): Remove variable.
20516 (config-cflags-avx): Likewise.
20517 (config-cflags-sse2avx): Likewise.
20518 (config-cflags-novzeroupper): Likewise.
20519 (config-asflags-i686): Likewise.
20520 (have-mfma4): Likewise.
20521 (have-as-vis3): Likewise.
20523 * configure.in (MIG): Do not AC_SUBST.
20524 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20525 (libc_cv_cc_sse4): Do not AC_SUBST.
20526 (libc_cv_cc_avx): Likewise.
20527 (libc_cv_cc_sse2avx): Likewise.
20528 (libc_cv_cc_novzeroupper): Likewise.
20529 (libc_cv_cc_fma4): Likewise.
20530 (libc_cv_as_i686): Likewise.
20531 (libc_cv_sparc_as_vis3): Likewise.
20532 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20534 (config-asflags-i686): Likewise.
20535 (config-cflags-avx): Likewise.
20536 (config-cflags-sse2avx): Likewise.
20537 (have-mfma4): Likewise.
20538 (config-cflags-novzeroupper): Likewise.
20539 * sysdeps/mach/configure.in (MIG): Likewise.
20540 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20541 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20543 (config-cflags-avx): Likewise.
20544 (config-cflags-sse2avx): Likewise.
20545 (have-mfma4): Likewise.
20546 (config-cflags-novzeroupper): Likewise.
20547 * configure: Regenerated.
20548 * sysdeps/i386/configure: Likewise.
20549 * sysdeps/mach/configure: Likewise.
20550 * sysdeps/sparc/configure: Likewise.
20551 * sysdeps/x86_64/configure: Likewise.
20553 2013-03-20 Roland McGrath <roland@hack.frob.com>
20556 * locale/programs/localedef.c (options): Put N_ translation marker
20557 on argument names, not just descriptions.
20559 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20561 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20563 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
20566 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20568 2013-03-19 Roland McGrath <roland@hack.frob.com>
20570 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20571 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20572 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20573 [!BEFORE_ABORT] (before_abort): New function.
20574 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20575 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20576 (writev_for_fatal): New function.
20577 (WRITEV_FOR_FATAL): New macro; call that.
20578 (backtrace_and_maps): New function.
20579 (BEFORE_ABORT): New macro; call that.
20580 (struct str_list): Type removed.
20581 (__libc_message, __libc_fatal): Functions removed.
20582 Include <sysdeps/posix/libc_fatal.c> instead.
20584 2013-03-19 Joseph Myers <joseph@codesourcery.com>
20586 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20588 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20591 2013-03-19 Andreas Schwab <schwab@suse.de>
20593 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20594 * sysdeps/gnu/configure: Regenerate.
20596 * configure.in: Substitute libc_cv_rtlddir.
20597 * configure: Regenerate.
20598 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20599 * Makeconfig (rtlddir, inst_rtlddir): New variables.
20600 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20601 * elf/Makefile (install-others, CFLAGS-interp.c)
20602 (ldso_install, common-ldd-rewrite): Likewise.
20603 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20604 $(inst_slibdir)/$(rtld-installed-name).
20605 * scripts/rellns-sh: Add -p option.
20606 * Makerules (make-shlib-link): Use rellns-sh to get relative name
20609 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20611 * manual/nptl.texi: Renamed to ...
20612 * manual/threads.texi: ... this.
20613 * manual/Makefile (chapters): Update.
20615 2013-03-18 Roland McGrath <roland@hack.frob.com>
20618 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20619 on argument names, not just descriptions.
20620 * malloc/memusagestat.c (options): Likewise.
20621 * nss/getent.c (options): Likewise.
20623 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
20626 * iconv/iconv_prog.c (options): Put N_ translation marker
20627 on argument names, not just descriptions.
20628 * iconv/iconvconfig.c (options): Likewise.
20630 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
20632 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20633 implementation which is faster on all x86_64 architectures.
20634 Tested on AMD, Intel Nehalem, SNB, IVB.
20635 * sysdeps/x86_64/strnlen.S: Likewise.
20637 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20638 Remove all multiarch strlen and strnlen versions.
20639 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20640 Remove strlen and strnlen related parts.
20642 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20643 Inline strlen part.
20644 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20646 * sysdeps/x86_64/multiarch/strlen.S: Remove.
20647 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20648 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20649 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20650 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20651 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20653 2013-03-17 Carlos O'Donell <carlos@redhat.com>
20655 * manual/memory.texi (Malloc Tunable Parameters):
20656 Sort parameters alphabetically. Add comments for missing entries.
20658 2013-03-17 David S. Miller <davem@davemloft.net>
20660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20662 2013-03-16 Joseph Myers <joseph@codesourcery.com>
20665 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20666 for arguments at most half maximum finite value.
20667 * math/libm-test.inc (j0_test): Add more tests.
20668 (j1_test): Likewise.
20669 (y0_test): Likewise.
20670 (y1_test): Likewise.
20671 * sysdeps/i386/fpu/libm-test-ulps: Update.
20672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20675 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20676 1 / x and functions P and Q for arguments above 0x1p256L.
20677 (__ieee754_y0l): Likewise.
20678 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20679 (__ieee754_y1l): Likewise.
20680 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20681 (j1_test): Likewise.
20682 (y0_test): Likewise.
20683 (y1_test): Likewise.
20685 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
20687 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20690 2013-03-15 Roland McGrath <roland@hack.frob.com>
20692 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20693 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20694 zero since it's initialized to EXEC_PAGESIZE.
20696 * sysdeps/unix/sysv/linux/ldsodefs.h
20697 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20698 * sysdeps/generic/ldsodefs.h: ... here.
20700 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
20702 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20704 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20706 * math/test-snan.c: Renamed from
20707 sysdeps/powerpc/fpu/test-powerpc-snan.c.
20708 * math/Makefile (tests): Add test-snan.
20709 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20712 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20713 SUFFIX. Initialize qNaN_var with __builtin_nan family of
20715 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
20716 __builtin_nan family of functions.
20717 * math/libm-test.inc (initialize): Initialize qnan_value with
20718 __builtin_nan family of functions.
20719 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20721 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20723 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
20724 storage class. Initialize qNaN_var and sNaN_var with
20725 __builtin_nan and __builtin_nans families of functions,
20728 * math/libm-test.inc (acosh_test): Also test with qNaN input.
20729 (sqrt_test): Remove duplicate test with qNaN input.
20730 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20731 (round_test, signbit_test, significand_test): Note missing +/-Inf
20732 as well as qNaN tests.
20734 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20735 qNaN_var. Fix a few strings, too.
20736 * math/libm-test.inc (nan_value): Rename to qnan_value.
20737 * math/gen-libm-test.pl (%beautify): Adjust to that.
20738 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20739 * math/test-misc.c (main): Likewise.
20740 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20741 to __qnan_bytes, and __qnan_union, respectively.
20742 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20744 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20745 and lqnanval, respectively.
20746 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20747 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20748 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20749 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20751 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20752 * math/test-misc.c (main) [__x86_64__]: Enable test for long
20755 * math/test-misc.c (main): Fix copy'n'pastos.
20756 * misc/tst-efgcvt.c (special): Likewise.
20758 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20759 Remove declarations.
20761 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20763 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20764 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20765 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20766 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20768 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20770 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20771 macro to return vdso values correctly in IFUNC implementations.
20772 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20773 Optimization by using IFUNC.
20775 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20776 Richard Henderson <rth@redhat.com>
20777 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20779 * Makefile.in (bench): New target.
20780 * NEWS: Mention the benchmark framework.
20781 * Rules (bench): Likewise.
20782 (binaries-bench): Generate binaries for functions to
20784 * benchtests/Makefile: New makefile for benchmark tests.
20785 * benchtests/bench-skeleton.c: New skeleton file for benchmark
20787 * benchtests/exp-inputs: New input file for EXP function.
20788 * benchtests/pow-inputs: New input file for POW function.
20789 * scripts/bench.pl: New script to generate source files for
20790 benchmark programs.
20792 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20794 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20795 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20796 computations on mantissa. Use macros for rounding and
20798 (denorm): Likewise.
20799 (__dbl_mp): Likewise.
20800 (add_magnitudes): Likewise.
20801 (sub_magnitudes): Likewise.
20804 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20805 powers of two in terms of TWOPOW macro.
20806 (mp_no): Make type of mantissa as MANTISSA_T.
20807 [!RADIXI]: Define RADIXI.
20808 [!TWO52]: Define TWO52.
20809 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20811 * manual/nptl.texi (cindex): Modify threads to pthreads.
20813 2013-03-15 Joseph Myers <joseph@codesourcery.com>
20815 * sysdeps/x86_64/preconfigure: Regenerated.
20817 2013-03-14 Joseph Myers <joseph@codesourcery.com>
20820 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
20822 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
20823 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
20825 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
20826 * math/libm-test.inc (j0_test): Do not allow one spurious
20827 underflow exception.
20828 (y1_test): Likewise.
20830 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20832 * manual/Makefile (chapters): Add nptl.
20833 * manual/debug.texi (Debugging Support): Add link to Threads
20835 * manual/nptl.texi: New file.
20837 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
20839 2013-03-14 Petr Baudis <pasky@ucw.cz>
20841 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
20842 for non-NULL pointer before the memory validity test. Pointed
20843 out by Holger Brunck <holger.brunck@keymile.com>.
20845 2013-03-13 Andreas Schwab <schwab@suse.de>
20847 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
20850 2013-03-13 Joseph Myers <joseph@codesourcery.com>
20852 * timezone/zic.c: Update from tzcode 2013b.
20854 2013-03-12 Carlos O'Donell <carlos@redhat.com>
20856 * manual/install.texi (Configuring and compiling):
20857 Mention i686 and i586.
20858 * INSTALL: Regenerate.
20860 2013-03-12 Roland McGrath <roland@hack.frob.com>
20862 * sysdeps/init_array/elf-init.c: New file.
20864 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
20865 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
20867 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
20868 __gmon_start__ as global, but as static with a .preinit_array pointer.
20869 * sysdeps/init_array/gmon-start.c: New file. Use that.
20870 * sysdeps/init_array/crti.S: New file, empty except for comments.
20871 * sysdeps/init_array/crtn.S: Likewise.
20873 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
20875 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
20877 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20878 Remove Prefer_SSE_for_memop.
20879 * sysdeps/x86_64/multiarch/init-arch.h: Remove
20880 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
20881 HAS_PREFER_SSE_FOR_MEMOP.
20882 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20884 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20885 Remove bzero, memset ifunc support.
20886 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
20887 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
20888 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20889 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20891 2013-03-11 Andreas Schwab <schwab@suse.de>
20894 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
20896 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
20897 (GLIBC_2.16): Remove pthread_atfork.
20899 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
20901 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
20902 (ptestcases.h): Likewise.
20904 2013-03-08 Roland McGrath <roland@hack.frob.com>
20906 * Makeconfig ($(common-objpfx)config.status): Depend on
20907 sysdeps/*/preconfigure{,.in} too.
20909 2013-03-08 Joseph Myers <joseph@codesourcery.com>
20911 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
20912 (__free_hook): Use void * instead of __malloc_ptr_t.
20913 (__malloc_hook): Likewise.
20914 (__realloc_hook): Likewise.
20915 (__memalign_hook): Likewise.
20916 (__after_morecore_hook): Likewise.
20917 * malloc/arena.c (save_malloc_hook): Likewise.
20918 (save_free_hook): Likewise.
20919 * malloc/hooks.c (malloc_hook_ini): Likewise.
20920 (realloc_hook_ini): Likewise.
20921 (memalign_hook_ini): Likewise.
20922 * malloc/malloc.c (malloc_hook_ini): Likewise.
20923 (realloc_hook_ini): Likewise.
20924 (memalign_hook_ini): Likewise.
20925 (__free_hook): Likewise.
20926 (__malloc_hook): Likewise.
20927 (__realloc_hook): Likewise.
20928 (__memalign_hook): Likewise.
20929 (__libc_malloc): Likewise.
20930 (__libc_free): Likewise.
20931 (__libc_realloc): Likewise.
20932 (__libc_memalign): Likewise.
20933 (__libc_valloc): Likewise.
20934 (__libc_pvalloc): Likewise.
20935 (__libc_calloc): Likewise.
20936 (__posix_memalign): Likewise.
20937 * malloc/morecore.c (__sbrk): Likewise.
20938 (__default_morecore): Likewise.
20940 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
20942 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
20943 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
20944 __malloc_ptrdiff_t.
20946 * malloc/malloc.h (__malloc_size_t): Remove macro.
20947 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
20949 (old_memalign_hook): Likewise.
20950 (old_realloc_hook): Likewise.
20951 (struct hdr): Likewise.
20953 (mallochook): Likewise.
20954 (memalignhook): Likewise.
20955 (reallochook): Likewise.
20956 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20957 (tr_old_realloc_hook): Likewise.
20958 (tr_old_memalign_hook): Likewise.
20959 (tr_mallochook): Likewise.
20960 (tr_reallochook): Likewise.
20961 (tr_memalignhook): Likewise.
20963 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20965 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
20966 default_ldbl_pack and using as default implementation.
20967 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
20969 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
20970 redundant definition.
20971 (ldbl_insert_mantissa): Likewise.
20972 (ldbl_canonicalize): Likewise.
20973 (ldbl_nearbyint): Likewise.
20974 (ldbl_pack): Rename to ldbl_pack_ppc.
20975 (ldbl_unpack): Rename to ldbl_unpack_ppc.
20976 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
20977 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
20979 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20981 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
20982 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
20983 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
20984 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
20985 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
20986 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
20987 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
20988 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
20990 2013-03-07 Andreas Jaeger <aj@suse.de>
20992 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20995 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20997 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20998 Include mpa.h and declare __MPEXP.
20999 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21000 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21001 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21002 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21003 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21004 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21005 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21007 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21008 (__slowpow): Use long double EXPL and LOGL functions to
21010 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21011 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21012 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21013 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21014 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21015 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21017 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21018 intermediate variable to calculate exponent.
21020 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21024 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21025 [!NO__SQR]: Define __sqr.
21026 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21027 and NO__SQR. Remove all code except __mul and __sqr. Include
21028 sysdeps/ieee754/dbl-64/mpa.c.
21029 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21032 * posix/Makefile (tests): Add tst-pathconf.
21033 * posix/tst-pathconf.c: New test case.
21034 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21036 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21038 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
21040 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21042 2013-03-06 Andreas Jaeger <aj@suse.de>
21044 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21045 definition via __MAP_ANONYMOUS.
21047 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21048 it's not part of Linux headers.
21050 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21051 (MAP_HUGE_MASK): Define.
21053 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21055 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21056 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21058 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21059 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21061 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21062 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21064 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21066 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21067 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21068 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21069 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21070 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21071 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21073 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21076 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21077 Handle f2fs and efivarfs.
21079 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21082 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21083 (EFIVARFS_MAGIC): Add.
21084 (F2FS_LINK_MAX): Add.
21086 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21088 * stdio-common/vfprintf.c: Replace __builtin_expect with
21091 2013-03-06 Joseph Myers <joseph@codesourcery.com>
21094 * sysdeps/generic/bp-sym.h: Remove file.
21095 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21096 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21097 <bp-sym.h> and <bp-asm.h>.
21098 (__longjmp): Don't use BP_SYM.
21099 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21101 (memcpy): Don't use BP_SYM.
21102 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21103 <bp-sym.h> and <bp-asm.h>.
21104 (memcpy): Don't use BP_SYM.
21105 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21107 (memcpy): Don't use BP_SYM.
21108 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21110 (memset): Don't use BP_SYM.
21111 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21112 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21113 (__bzero): Don't use BP_SYM.
21114 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21115 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21116 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21117 <bp-sym.h> and <bp-asm.h>.
21118 (memcmp): Don't use BP_SYM. Remove comment about bounded
21120 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21121 <bp-sym.h> and <bp-asm.h>.
21122 (memcpy): Don't use BP_SYM.
21123 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21124 <bp-sym.h> and <bp-asm.h>.
21125 (memset): Don't use BP_SYM.
21126 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21127 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21128 (__bzero): Don't use BP_SYM.
21129 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21130 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21131 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21132 <bp-sym.h> and <bp-asm.h>.
21133 (strncmp): Don't use BP_SYM. Remove comment about bounded
21135 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21136 <bp-sym.h> and <bp-asm.h>.
21137 (memcpy): Don't use BP_SYM.
21138 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21139 <bp-sym.h> and <bp-asm.h>.
21140 (memset): Don't use BP_SYM.
21141 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21142 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21143 (__bzero): Don't use BP_SYM.
21144 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21145 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21146 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21147 <bp-sym.h> and <bp-asm.h>.
21148 (__memchr): Don't use BP_SYM.
21149 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21150 <bp-sym.h> and <bp-asm.h>.
21151 (memcmp): Don't use BP_SYM. Remove comment about bounded
21153 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21154 <bp-sym.h> and <bp-asm.h>.
21155 (memcpy): Don't use BP_SYM.
21156 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21157 <bp-sym.h> and <bp-asm.h>.
21158 (__mempcpy): Don't use BP_SYM.
21159 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21160 <bp-sym.h> and <bp-asm.h>.
21161 (__memrchr): Don't use BP_SYM.
21162 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21163 <bp-sym.h> and <bp-asm.h>.
21164 (memset): Don't use BP_SYM.
21165 (__bzero): Likewise.
21166 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21167 <bp-sym.h> and <bp-asm.h>.
21168 (__rawmemchr): Don't use BP_SYM.
21169 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21170 <bp-sym.h> and <bp-asm.h>.
21171 (__STRCMP): Don't use BP_SYM.
21172 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21173 <bp-sym.h> and <bp-asm.h>.
21174 (strchr): Don't use BP_SYM.
21175 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21176 <bp-sym.h> and <bp-asm.h>.
21177 (__strchrnul): Don't use BP_SYM.
21178 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21179 <bp-sym.h> and <bp-asm.h>.
21180 (strlen): Don't use BP_SYM.
21181 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21182 <bp-sym.h> and <bp-asm.h>.
21183 (strncmp): Don't use BP_SYM. Remove comment about bounded
21185 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21186 <bp-sym.h> and <bp-asm.h>.
21187 (__strnlen): Don't use BP_SYM.
21188 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21189 <bp-sym.h> and <bp-asm.h>.
21190 (__GI__setjmp): Don't use BP_SYM.
21191 (_setjmp): Likewise.
21192 (__sigsetjmp): Likewise.
21193 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21194 (L(start_addresses)): Don't use BP_SYM.
21195 (_start): Likewise.
21196 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21198 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21199 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21200 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21201 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21202 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21204 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21205 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
21206 about bounded pointers.
21207 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21208 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21209 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21211 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21212 about bounded pointers. Remove GKM FIXME comments.
21213 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21214 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21216 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21217 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
21218 Remove GKM FIXME comments.
21219 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21220 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21221 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21223 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21224 about bounded pointers. Remove GKM FIXME comment.
21225 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21227 (strncmp): Don't use BP_SYM. Remove comment about bounded
21229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21230 <bp-sym.h> and <bp-asm.h>.
21231 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21233 <bp-sym.h> and <bp-asm.h>.
21234 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21237 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21239 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21242 2013-03-05 David S. Miller <davem@davemloft.net>
21244 * po/es.po: Update from translation team.
21246 2013-03-05 Andreas Jaeger <aj@suse.de>
21248 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21249 <bits/mman-linux.h>.
21250 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21252 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21253 <bits/mman-linux.h> to end of file.
21254 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21256 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21257 <bits/mman-linux.h> to end of file.
21258 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21260 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21261 <bits/mman-linux.h> to end of file.
21263 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21264 (MCL_CURRENT, MCL_FUTURE): Define here.
21266 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21269 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21271 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21273 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21275 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21276 fourth parameter needed for rt_sigprocmask syscall.
21277 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21278 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21279 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21280 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21281 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21282 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21284 2013-03-04 Joseph Myers <joseph@codesourcery.com>
21287 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21288 comment about bounded pointers.
21289 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21290 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21292 2013-03-04 Andreas Jaeger <aj@suse.de>
21294 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21295 common definitions.
21297 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21298 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21299 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21300 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21301 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21302 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21304 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21307 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21308 __ieee754_sqrl instead of __sqrl.
21310 2013-03-01 Joseph Myers <joseph@codesourcery.com>
21312 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21313 * sysdeps/powerpc/fpu_control.h: ... here.
21314 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21315 * sysdeps/powerpc/bits/fenvinline.h: ... here.
21316 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21317 * sysdeps/powerpc/bits/mathinline.h: ... here.
21319 2013-03-01 Roland McGrath <roland@hack.frob.com>
21321 * elf/dl-hwcaps.c (_dl_important_hwcaps):
21322 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21323 to just [NEED_DL_SYSINFO_DSO].
21324 * elf/dl-support.c: Likewise.
21325 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21326 * elf/rtld.c (dl_main): Likewise.
21327 * elf/setup-vdso.h (setup_vdso): Likewise.
21328 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21329 * sysdeps/unix/sysv/linux/dl-sysdep.c
21330 (_dl_discover_osversion): Likewise.
21332 2013-03-01 Carlos O'Donell <carlos@redhat.com>
21334 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21335 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21337 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
21339 * NEWS: Mention libm performance improvements and non-x86 PI
21342 * csu/libc-start.c (__pthread_initialize_minimal): Change
21343 function arguments.
21344 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21346 2013-02-28 Joseph Myers <joseph@codesourcery.com>
21349 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21350 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21351 <bp-sym.h> and <bp-asm.h>.
21352 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21353 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21355 (memcpy): Don't use BP_SYM.
21356 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21358 (__mpn_add_n): Don't use BP_SYM.
21359 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21360 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21362 (__mpn_addmul_1): Don't use BP_SYM.
21363 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21364 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21366 (_setjmp): Don't use BP_SYM.
21367 (__novmx_setjmp): Likewise.
21368 (__GI__setjmp): Likewise.
21369 (__vmx_setjmp): Likewise.
21370 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21372 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21373 (__bzero): Don't use BP_SYM.
21374 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21375 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21376 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21377 <bp-sym.h> and <bp-asm.h>.
21378 (memcpy): Don't use BP_SYM.
21379 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21380 <bp-sym.h> and <bp-asm.h>.
21381 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21382 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21383 <bp-sym.h> and <bp-asm.h>.
21384 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21385 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21387 (__mpn_lshift): Don't use BP_SYM.
21388 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21389 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21391 (memset): Don't use BP_SYM.
21392 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21393 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21394 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21396 (__mpn_mul_1): Don't use BP_SYM.
21397 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21398 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21399 <bp-sym.h> and <bp-asm.h>.
21400 (memcmp): Don't use BP_SYM.
21401 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21402 <bp-sym.h> and <bp-asm.h>.
21403 (memcpy): Don't use BP_SYM.
21404 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21405 <bp-sym.h> and <bp-asm.h>.
21406 (memset): Don't use BP_SYM.
21407 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21408 <bp-sym.h> and <bp-asm.h>.
21409 (strncmp): Don't use BP_SYM.
21410 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21411 <bp-sym.h> and <bp-asm.h>.
21412 (memcpy): Don't use BP_SYM.
21413 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21414 <bp-sym.h> and <bp-asm.h>.
21415 (memset): Don't use BP_SYM.
21416 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21417 <bp-sym.h> and <bp-asm.h>.
21418 (__memchr): Don't use BP_SYM.
21419 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21420 <bp-sym.h> and <bp-asm.h>.
21421 (memcmp): Don't use BP_SYM.
21422 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21423 <bp-sym.h> and <bp-asm.h>.
21424 (memcpy): Don't use BP_SYM.
21425 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21426 <bp-sym.h> and <bp-asm.h>.
21427 (__mempcpy): Don't use BP_SYM.
21428 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21429 <bp-sym.h> and <bp-asm.h>.
21430 (__memrchr): Don't use BP_SYM.
21431 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21432 <bp-sym.h> and <bp-asm.h>.
21433 (memset): Don't use BP_SYM.
21434 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21435 <bp-sym.h> and <bp-asm.h>.
21436 (__rawmemchr): Don't use BP_SYM.
21437 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21438 <bp-sym.h> and <bp-asm.h>.
21439 (__STRCMP): Don't use BP_SYM.
21440 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21441 <bp-sym.h> and <bp-asm.h>.
21442 (strchr): Don't use BP_SYM.
21443 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21444 <bp-sym.h> and <bp-asm.h>.
21445 (__strchrnul): Don't use BP_SYM.
21446 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21447 <bp-sym.h> and <bp-asm.h>.
21448 (strlen): Don't use BP_SYM.
21449 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21450 <bp-sym.h> and <bp-asm.h>.
21451 (strncmp): Don't use BP_SYM.
21452 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21453 <bp-sym.h> and <bp-asm.h>.
21454 (__strnlen): Don't use BP_SYM.
21455 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21457 (__mpn_rshift): Don't use BP_SYM.
21458 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21459 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21460 <bp-sym.h> and <bp-asm.h>.
21461 (__sigsetjmp): Don't use BP_SYM.
21462 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21463 (L(start_addresses)): Don't use BP_SYM.
21464 (_start): Likewise.
21465 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21467 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21468 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21469 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21470 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21472 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21473 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21474 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21475 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21477 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21479 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21480 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21482 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
21484 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21485 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21486 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21488 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21490 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21492 (strncmp): Don't use BP_SYM,
21493 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21495 (__mpn_sub_n): Don't use BP_SYM.
21496 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21497 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21499 (__mpn_submul_1): Don't use BP_SYM.
21500 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21502 <bp-sym.h> and <bp-asm.h>.
21503 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21505 <bp-sym.h> and <bp-asm.h>.
21506 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21509 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21511 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21512 Use ZK to minimize writes to Z.
21513 (sub_magnitudes): Simplify code a bit.
21514 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21515 Use ZK to minimize writes to Z.
21516 (sub_magnitudes): Simplify code a bit.
21518 2013-02-27 Roland McGrath <roland@hack.frob.com>
21520 * csu/gmon-start.c: Add special exception to license text.
21522 2013-02-27 Richard Henderson <rth@redhat.com>
21524 * scripts/config.guess: Update from config.git.
21525 * scripts/config.sub: Likewise.
21527 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21529 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21531 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21533 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21535 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21537 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21539 2013-02-26 Roland McGrath <roland@hack.frob.com>
21541 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21542 [$(build-shared = yes].
21544 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21546 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21547 (__mul): Reduce iterations for calculating mantissa.
21549 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21551 (__mpranred): Likewise.
21554 * malloc/memusagestat.c (main): Draw graphs for heap and stack
21555 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21557 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
21559 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21560 Define __attribute__.
21562 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21564 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21566 * posix/regex_internal.h (__attribute): Remove.
21567 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21568 (re_string_context_at): Likewise.
21569 (bitset_not): Use __attribute__ and mark function as possibly
21571 (bitset_merge): Likewise.
21572 (bitset_mask): Likewise.
21573 (re_string_char_size_at): Likewise.
21574 (re_string_wchar_at): Likewise.
21575 (re_string_elem_size_at): Likewise.
21577 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21579 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21583 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21587 (denorm): Likewise.
21588 (__dbl_mp): Likewise.
21589 (add_magnitudes): Likewise.
21590 (sub_magnitudes): Likewise.
21594 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21597 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21600 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21603 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21604 up changes with default code.
21605 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21608 2013-02-24 Allan McRae <allan@archlinux.org>
21610 * manual/socket.texi (The Internet Namespace): Order menu items
21611 to match that in the file.
21613 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21614 node listing of the info page menu.
21616 2013-02-21 Joseph Myers <joseph@codesourcery.com>
21619 * sysdeps/i386/bp-asm.h: Remove file.
21620 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21621 (PARMS): Do not use macros from bp-asm.h.
21625 (__mpn_add_n): Do not use BP_SYM
21626 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21628 (PARMS): Do not use macros from bp-asm.h.
21631 (__mpn_addmul_1): Do not use BP_SYM
21632 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21634 (PARMS): Do not use macros from bp-asm.h.
21635 (SIGMSK): Likewise.
21636 (_setjmp): Likewise. Do not use BP_SYM.
21637 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21639 (PARMS): Do not use macros from bp-asm.h.
21640 (SIGMSK): Likewise.
21641 (setjmp): Likewise. Do not use BP_SYM.
21642 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21644 (PARMS): Do not use macros from bp-asm.h.
21645 (__frexp): Do not use BP_SYM.
21647 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21649 (PARMS): Do not use macros from bp-asm.h.
21650 (__frexpf): Do not use BP_SYM.
21651 (frexpf): Likewise.
21652 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21654 (PARMS): Do not use macros from bp-asm.h.
21655 (__frexpl): Do not use BP_SYM.
21656 (frexpl): Likewise.
21657 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21659 (PARMS): Do not use macros from bp-asm.h.
21660 (__remquo): Do not use BP_SYM.
21661 (remquo): Likewise.
21662 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21664 (PARMS): Do not use macros from bp-asm.h.
21665 (__remquof): Do not use BP_SYM.
21666 (remquof): Likewise.
21667 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21669 (PARMS): Do not use macros from bp-asm.h.
21670 (__remquol): Do not use BP_SYM.
21671 (remquol): Likewise.
21672 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21674 (PARMS): Do not use macros from bp-asm.h.
21677 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
21678 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21680 (PARMS): Do not use macros from bp-asm.h.
21681 (strlen): Do not use BP_SYM.
21682 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21684 (PARMS): Do not use macros from bp-asm.h.
21688 (__mpn_add_n): Do not use BP_SYM.
21689 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21691 (PARMS): Do not use macros from bp-asm.h.
21694 (__mpn_addmul_1): Do not use BP_SYM.
21695 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21698 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21700 (PARMS): Do not use macros from bp-asm.h.
21703 (__mpn_lshift): Do not use BP_SYM.
21704 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21706 (PARMS): Do not use macros from bp-asm.h.
21710 (memcpy): Likewise. Do not use BP_SYM.
21711 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21712 libc_hidden_def and weak_alias.
21713 (mempcpy): Do not use BP_SYM in weak_alias.
21714 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21716 (PARMS): Do not use macros from bp-asm.h.
21719 [!BZERO_P] (CHR): Likewise.
21720 (memset): Likewise. Do not use BP_SYM.
21721 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21723 (PARMS): Do not use macros from bp-asm.h.
21726 (__mpn_mul_1): Do not use BP_SYM.
21727 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21729 (PARMS): Do not use macros from bp-asm.h.
21732 (__mpn_rshift): Do not use BP_SYM.
21733 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21735 (PARMS): Do not use macros from bp-asm.h.
21738 (strchr): Likewise. Do not use BP_SYM.
21739 (index): Do not use BP_SYM in weak_alias.
21740 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21742 (PARMS): Do not use macros from bp-asm.h.
21745 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
21746 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21748 (PARMS): Do not use macros from bp-asm.h.
21749 (strlen): Do not use BP_SYM.
21750 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21752 (PARMS): Do not use macros from bp-asm.h.
21756 (__mpn_sub_n): Do not use BP_SYM.
21757 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21759 (PARMS): Do not use macros from bp-asm.h.
21762 (__mpn_submul_1): Do not use BP_SYM.
21763 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21765 (PARMS): Do not use macros from bp-asm.h.
21769 (__mpn_add_n): Do not use BP_SYM.
21770 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21773 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21775 (PARMS): Do not use macros from bp-asm.h.
21778 (memcmp): Do not use BP_SYM.
21779 (bcmp): Do not use BP_SYM in weak_alias.
21780 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21782 (PARMS): Do not use macros from bp-asm.h.
21786 (memcpy): Likewise. Do not use BP_SYM.
21787 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21789 (PARMS): Do not use macros from bp-asm.h.
21793 (memmove): Likewise. Do not use BP_SYM.
21794 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21796 (PARMS): Do not use macros from bp-asm.h.
21800 (__mempcpy): Likewise. Do not use BP_SYM.
21801 (mempcpy): Do not use BP_SYM in weak_alias.
21802 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21804 (PARMS): Do not use macros from bp-asm.h.
21807 [!BZERO_P] (CHR): Likewise.
21808 (memset): Likewise. Do not use BP_SYM.
21809 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21811 (PARMS): Do not use macros from bp-asm.h.
21813 (strcmp): Do not use BP_SYM.
21814 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21816 (PARMS): Do not use macros from bp-asm.h.
21819 [USE_AS_STRTOK_R] (SAVE): Likewise.
21820 (FUNCTION): Likewise. Do not use BP_SYM.
21821 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
21823 (strtok_r): Likewise.
21824 (__GI___strtok_r): Likewise.
21825 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21826 (PARMS): Do not use macros from bp-asm.h.
21829 (__mpn_lshift): Do not use BP_SYM.
21830 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21831 (PARMS): Do not use macros from bp-asm.h.
21834 (__memchr): Do not use BP_SYM.
21835 (memchr): Do not use BP_SYM in weak_alias.
21836 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21837 (PARMS): Do not use macros from bp-asm.h.
21840 (memcmp): Do not use BP_SYM.
21841 (bcmp): Do not use BP_SYM in weak_alias.
21842 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
21843 (PARMS): Do not use macros from bp-asm.h.
21846 (__mpn_mul_1): Do not use BP_SYM.
21847 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
21849 (PARMS): Do not use macros from bp-asm.h.
21852 (__rawmemchr): Do not use BP_SYM.
21853 (rawmemchr): Do not use BP_SYM in weak_alias.
21854 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21855 (PARMS): Do not use macros from bp-asm.h.
21858 (__mpn_rshift): Do not use BP_SYM.
21859 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21860 (PARMS): Do not use macros from bp-asm.h.
21861 (SIGMSK): Likewise.
21862 (__sigsetjmp): Likewise. Do not use BP_SYM.
21863 * sysdeps/i386/start.S: Do not include "bp-sym.h".
21864 (_start): Do not use BP_SYM.
21865 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
21866 (PARMS): Do not use macros from bp-asm.h.
21869 (__stpcpy): Likewise. Do not use BP_SYM.
21870 (stpcpy): Do not use BP_SYM in weak_alias.
21871 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
21873 (PARMS): Do not use macros from bp-asm.h.
21877 (__stpncpy): Likewise. Do not use BP_SYM.
21878 (stpncpy): Do not use BP_SYM in weak_alias.
21879 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21880 (PARMS): Do not use macros from bp-asm.h.
21883 (strchr): Likewise. Do not use BP_SYM.
21884 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
21886 (PARMS): Do not use macros from bp-asm.h.
21889 (__strchrnul): Likewise. Do not use BP_SYM.
21890 (strchrnul): Do not use BP_SYM in weak_alias.
21891 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
21893 (PARMS): Do not use macros from bp-asm.h.
21895 (strcspn): Do not use BP_SYM.
21896 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
21898 (PARMS): Do not use macros from bp-asm.h.
21901 (strpbrk): Likewise. Do not use BP_SYM.
21902 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
21904 (PARMS): Do not use macros from bp-asm.h.
21907 (strrchr): Likewise. Do not use BP_SYM.
21908 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
21909 (PARMS): Do not use macros from bp-asm.h.
21911 (strspn): Do not use BP_SYM.
21912 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
21913 (PARMS): Do not use macros from bp-asm.h.
21917 (FUNCTION): Likewise. Do not use BP_SYM.
21918 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
21920 (strtok_r): Likewise.
21921 (__GI___strtok_r): Likewise.
21922 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21923 (PARMS): Do not use macros from bp-asm.h.
21927 (__mpn_sub_n): Do not use BP_SYM.
21928 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
21930 (PARMS): Do not use macros from bp-asm.h.
21933 (__mpn_submul_1): Do not use BP_SYM.
21934 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
21936 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
21938 (PARMS): Do not use macros from bp-asm.h.
21943 (__clone): Do not use BP_SYM.
21944 (clone): Do not use BP_SYM in weak_alias.
21945 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
21947 (PARMS): Do not use macros from bp-asm.h.
21949 (__mmap64): Do not use BP_SYM.
21950 (mmap64): Do not use BP_SYM in weak_alias.
21951 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21952 <bp-sym.h> and <bp-asm.h>.
21953 (PARMS): Do not use macros from bp-asm.h.
21954 (__posix_fadvise64_l64): Do not use BP_SYM.
21955 * sysdeps/unix/sysv/linux/i386/semtimedop.S
21956 (PARMS): Do not use macros from bp-asm.h.
21958 (semtimedop): Do not use BP_SYM.
21959 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
21962 2013-02-21 Allan McRae <allan@archlinux.org>
21964 * manual/message.texi (Charset conversion in gettext):
21965 Move @end statement to beginning of line.
21967 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21969 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
21971 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21974 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
21975 (denorm): Likewise.
21976 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
21977 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
21979 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21981 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21982 tail-call to the resolved function if pltexit isn't needed.
21984 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21986 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
21987 or Y being zero as being unlikely.
21988 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21991 2013-02-20 Carlos O'Donell <carlos@redhat.com>
21993 * manual/nss.texi (System Databases and Name Service Switch):
21994 Remove frobnicate @pxref.
21996 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21998 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21999 __attribute__ ((unused)) to __attribute__ ((__unused__)).
22001 2013-02-20 Petr Machata <pmachata@redhat.com>
22003 * elf/elf.h (R_ARM_TARGET1): New macro.
22004 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22005 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22006 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22007 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22008 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22009 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22010 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22011 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22012 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22013 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22014 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22015 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22016 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22017 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22018 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22019 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22020 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22021 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22022 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22023 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22024 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22025 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22026 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22027 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22028 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22029 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22030 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22031 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22032 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22033 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22034 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22035 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22036 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22037 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22038 (R_ARM_THM_GOT_BREL12): Likewise.
22039 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22040 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22041 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22042 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22043 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22044 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22045 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22046 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22047 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22049 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22051 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22052 __attribute_used__ to __attribute__ ((unused)).
22054 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22056 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22058 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22059 comment formatting.
22060 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22062 2013-02-19 Joseph Myers <joseph@codesourcery.com>
22065 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22067 (ENTER): Remove both macro definitions.
22069 (CHECK_BOUNDS_LOW): Likewise.
22070 (CHECK_BOUNDS_HIGH): Likewise.
22071 (CHECK_BOUNDS_BOTH): Likewise.
22072 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22073 (RETURN_BOUNDED_POINTER): Likewise.
22074 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22075 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22076 (POP_ERRNO_LOCATION_RETURN): Likewise.
22077 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22078 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22079 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22081 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22082 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22083 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22084 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22085 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22086 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22087 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22088 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22089 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22090 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22091 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22092 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22093 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22094 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22096 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22097 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22099 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22100 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22101 * sysdeps/i386/i586/memset.S (memset): Likewise.
22102 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22103 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22104 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22106 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22107 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22108 Change uses of L(2) to L(out).
22109 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22110 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22111 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22112 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22113 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22115 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22116 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22118 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22119 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22120 (RETURN): Do not use macro LEAVE.
22121 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22122 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22123 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22124 * sysdeps/i386/i686/memset.S (memset): Likewise.
22125 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22126 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22127 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22128 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22130 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22131 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
22132 L(1_2) and L(1_3) into L(1).
22133 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22134 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22135 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22136 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22137 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22138 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22139 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22140 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22141 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22143 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22144 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22145 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22146 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22147 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22148 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22149 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22150 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22151 * sysdeps/i386/strcspn.S (strcspn): Likewise.
22152 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22153 * sysdeps/i386/strrchr.S (strrchr): Likewise.
22154 * sysdeps/i386/strspn.S (strspn): Likewise.
22155 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22157 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22158 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22159 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22160 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
22161 L(1_3) into L(1_1).
22162 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22163 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22164 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22166 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22168 2013-02-19 Jakub Jelinek <jakub@redhat.com>
22170 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22173 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22175 * math/atest-exp.c (exp_mpn): Remove ROUND.
22176 * math/atest-exp2.c (exp_mpn): Likewise.
22177 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22179 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22180 * stdlib/tst-tls-atexit-lib.c: Likewise.
22181 * stdlib/tst-tls-atexit.c: Likewise.
22183 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22185 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22186 and __attribute_alloc_size__.
22188 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22190 * include/programs/xmalloc.h: Change __attribute_alloc_size to
22191 __attribute_alloc_size__.
22192 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22193 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22195 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22197 * include/programs/xmalloc.h: New file.
22198 * catgets/gencat.c: Include it.
22199 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22200 * elf/pldd.c: Likewise.
22201 * iconv/iconv_charmap.c: Likewise.
22202 * iconv/iconvconfig.c: Likewise.
22203 * iconv/strtab.c: Likewise.
22204 * locale/programs/locale.c: Likewise.
22205 * locale/programs/localedef.h: Likewise.
22206 * locale/programs/simple-hash.c: Likewise.
22207 * nscd/nscd.h: Likewise.
22208 * nss/makedb.c: Likewise.
22209 * sysdeps/generic/ldconfig.h: Likewise.
22211 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22213 * Versions.def: Add GLIBC_2.18.
22214 * include/link.h (struct link_map): New member l_tls_dtor_count.
22215 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22216 (__call_tls_dtors): Likewise.
22217 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22218 __cxa_thread_atexit_impl.
22219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22227 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22235 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22236 (tests): Add test case tst-tls-atexit.
22237 (modules-names): Add shared library for tst-tls-atexit.
22238 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22239 (GLIBC_PRIVATE): Add __call_tls_dtors.
22240 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22242 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22243 * stdlib/tst-tls-atexit.c: New test case.
22244 * stdlib/tst-tls-atexit-lib.c: New test case.
22246 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22248 * elf/Versions (ld): Add _dl_find_dso_for_object.
22249 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22250 * elf/dl-open.c (_dl_find_dso_for_object): New function.
22251 (dl_open_worker): Use _dl_find_dso_for_object.
22252 * elf/dl-sym.c (do_sym): Likewise.
22253 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22255 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22257 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22258 Syntactic changes only.
22259 (_dl_runtime_profile): Do a tail-call to the resolved function.
22261 2013-02-17 Joseph Myers <joseph@codesourcery.com>
22264 * sysdeps/x86_64/bp-asm.h: Remove file.
22265 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22266 <bp-sym.h> and <bp-asm.h>.
22267 (__clone): Do not use BP_SYM.
22268 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22269 <bp-sym.h> and <bp-asm.h>.
22270 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22271 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22273 (_setjmp): Do not use BP_SYM.
22274 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22276 (setjmp): Do not use BP_SYM.
22277 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22279 (mempcpy): Do not use BP_SYM in weak_alias.
22280 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22282 (strchr): Do not use BP_SYM.
22283 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22285 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22286 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22287 (_start): Do not use BP_SYM.
22288 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22290 (strcat): Do not use BP_SYM.
22291 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22293 (STRCMP): Do not use BP_SYM.
22294 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22296 (STRCPY): Do not use BP_SYM.
22297 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22299 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22301 (FUNCTION): Do not use BP_SYM.
22302 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22304 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22306 2013-02-17 Andreas Jaeger <aj@suse.de>
22308 * time/Versions: Sort entries.
22309 * string/Versions: Likewise.
22310 * resolv/Versions: Likewise.
22311 * posix/Versions: Likewise.
22312 * iconv/Versions: Likewise.
22313 * elf/Versions: Likewise.
22314 * wcsmbs/Versions: Likewise.
22316 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22318 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22319 loop termination condition.
22321 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22322 variable to calculate EZ.
22325 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22326 the lower precision input.
22328 2013-02-15 Joseph Myers <joseph@codesourcery.com>
22331 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22332 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22333 (run-via-rtld-prefix): Do not handle %-bp tests.
22334 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22335 (all-object-suffixes): Remove .ob.
22336 (bppfx): Remove variable.
22337 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22338 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22339 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22340 [$(build-bounded) = yes] (libtype.ob): Likewise.
22341 * Makerules (elide-routines.ob): Remove variable.
22342 (do-tests-clean): Do not handle *-bp.out.
22343 (common-mostlyclean): Do not handle *-bp and *-bp.out.
22344 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22345 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22346 (tests): Do not include $(tests-bp.out).
22347 (xtests): Do not include $(xtests-bp.out).
22348 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22349 [$(build-bounded) = yes] ($(addprefix
22350 $(objpfx),$(binaries-bounded))): Remove rule.
22351 ($(objpfx)%-bp.out): Remove rule.
22352 * config.make.in (build-bounded): Remove variable.
22353 * crypt/Makefile [$(build-bounded) = yes]
22354 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22355 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22356 append to variable.
22357 [$(build-bounded) = yes] (install-lib): Likewise.
22358 [$(build-bounded) = yes] (generated): Likewise.
22359 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22361 * intl/Makefile [$(build-bounded) = yes]
22362 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22363 * math/Makefile [$(build-bounded) = yes]
22364 ($(tests:%=$(objpfx)%-bp): Likewise.
22365 * misc/Makefile [$(build-bounded) = yes]
22366 ($(objpfx)tst-tsearch-bp): Likewise.
22367 * nptl/Makeconfig (bounded-thread-library): Remove variable.
22368 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22370 * string/Makefile (o-objects.ob): Remove variable.
22371 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22372 (CFLAGS-.ob): Remove variable.
22373 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22374 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22375 both definitions of variable.
22376 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22377 (ASFLAGS-.ob): Remove variable.
22379 2013-02-14 Joseph Myers <joseph@codesourcery.com>
22382 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22383 Remove __BOUNDED_POINTERS__ from condition.
22384 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22385 * string/bits/string2.h [!__NO_STRING_INLINES &&
22386 !__BOUNDED_POINTERS__]: Likewise.
22387 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22389 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22390 Remove conditional code.
22391 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22392 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22393 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22397 * csu/libc-start.c: Do not include <bp-sym.h>.
22398 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22399 * elf/dl-open.c: Do not include <bp-sym.h>.
22400 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22401 * math/fegetenv.c: Do not include <bp-sym.h>.
22402 (fegetenv): Do not use BP_SYM in versioned symbols.
22403 * nptl/sysdeps/pthread/bits/libc-lockP.h
22404 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22406 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22407 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22408 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22409 (__pthread_mutex_destroy): Likewise.
22410 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22411 (__pthread_mutex_lock): Likewise.
22412 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22413 (__pthread_mutex_trylock): Likewise.
22414 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22415 (__pthread_mutex_unlock): Likewise.
22416 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22417 (__pthread_mutexattr_init): Likewise.
22418 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22419 (__pthread_mutexattr_destroy): Likewise.
22420 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22421 (__pthread_mutexattr_settype): Likewise.
22422 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22423 (__pthread_rwlock_init): Likewise.
22424 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22425 (__pthread_rwlock_destroy): Likewise.
22426 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22427 (__pthread_rwlock_rdlock): Likewise.
22428 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22429 (__pthread_rwlock_tryrdlock): Likewise.
22430 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22431 (__pthread_rwlock_wrlock): Likewise.
22432 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22433 (__pthread_rwlock_trywrlock): Likewise.
22434 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22435 (__pthread_rwlock_unlock): Likewise.
22436 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22437 (__pthread_key_create): Likewise.
22438 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22439 (__pthread_setspecific): Likewise.
22440 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22441 (__pthread_getspecific): Likewise.
22442 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22444 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22445 (_pthread_cleanup_push_defer): Likewise.
22446 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22447 (_pthread_cleanup_pop_restore): Likewise.
22448 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22449 (pthread_setcancelstate): Likewise.
22450 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22452 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22453 (memchr): Do not use BP_SYM in weak_alias.
22454 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22455 (fegetenv): Do not use BP_SYM in versioned symbols.
22456 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22457 (fesetenv): Do not use BP_SYM in versioned symbols.
22458 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22459 (feupdateenv): Do not use BP_SYM in versioned symbols.
22460 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22461 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22462 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22463 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22464 (open64): Do not use BP_SYM in weak_alias.
22465 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22466 (fegetenv): Do not use BP_SYM in versioned symbols.
22467 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22468 (fesetenv): Do not use BP_SYM in versioned symbols.
22469 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22470 (feupdateenv): Do not use BP_SYM in versioned symbols.
22471 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22472 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22473 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22474 (feraiseexcept): Do not use BP_SYM in versioned symbols.
22475 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22476 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22477 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22479 (__libc_start_main): Do not use BP_SYM.
22481 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22483 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22484 redundant return line.
22486 (denorm): Likewise.
22487 (dbl_mp): Likewise.
22488 (sub_magnitudes): Likewise.
22494 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22496 (denorm): Likewise.
22497 (dbl_mp): Likewise.
22498 (sub_magnitudes): Likewise.
22505 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22507 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22508 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22511 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22512 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22513 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22514 of __mul for squares.
22515 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22517 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22519 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22520 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22522 2013-02-13 Joseph Myers <joseph@codesourcery.com>
22525 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22527 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22528 prototype or function definition. Rename ubp_* variables and
22529 parameters. Remove argv definitions conditional on
22530 [__BOUNDED_POINTERS__].
22531 * debug/backtrace.c (__backtrace): Do not use __unbounded.
22532 * elf/dl-runtime.c (_dl_fixup): Likewise.
22533 * include/set-hooks.h (RUN_HOOK): Likewise.
22534 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22536 * string/strcpy.c (strcpy): Do not use __unbounded.
22537 * sysdeps/generic/frame.h (struct layout): Likewise.
22538 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22539 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22540 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22541 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22542 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22543 (__backtrace): Likewise.
22544 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22546 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22547 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22548 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22550 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22551 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22552 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22553 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22554 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22555 Do not use __unbounded.
22556 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22557 Rename __unboundedrlimits parameter to rlimits in prototype.
22558 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22559 Do not use __unbounded.
22560 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22561 not use __ptrvalue.
22562 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22563 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22564 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22565 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22566 __ptrvalue or __unbounded.
22567 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22568 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22570 (__new_msgctl): Do not use __ptrvalue.
22571 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22573 (__libc_msgrcv): Do not use __ptrvalue.
22574 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22575 startup_info): Do not use __unbounded.
22576 (__libc_start_main): Likewise. Rename ubp_* variables and
22577 parameters. Remove argv definitions conditional on
22578 [__BOUNDED_POINTERS__].
22579 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22581 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22583 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22585 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22587 (__new_shmctl): Do not use __ptrvalue.
22588 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22589 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22591 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22592 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22593 (__libc_sigaction): Likewise.
22594 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22595 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22597 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22599 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
22601 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22603 * string/mempcpy.c: Implement by calling memcpy.
22605 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22607 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22609 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22612 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22613 values in the mantissa.
22615 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22616 minimize writes to Z.
22617 (sub_magnitudes): Simplify code a bit.
22619 2013-02-12 Roland McGrath <roland@hack.frob.com>
22621 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22622 from the message. The linker prefixes all warnings with that already.
22624 2013-02-12 Andreas Schwab <schwab@suse.de>
22627 * posix/regexec.c (extend_buffers): Add parameter min_len.
22628 (check_matching): Pass minimum needed length.
22629 (clean_state_log_if_needed): Likewise.
22630 (get_subexp): Likewise.
22631 * posix/Makefile (tests): Add bug-regex34.
22632 (bug-regex34-ENV): Define.
22633 * posix/bug-regex34.c: New file.
22636 * posix/regcomp.c (parse_bracket_exp): When looking up collating
22637 elements compare against the byte sequence of it, not its name.
22638 * posix/Makefile (tests): Add bug-regex35.
22639 (bug-regex35-ENV): Define.
22640 * posix/bug-regex35.c: New file.
22642 2013-02-11 Tom de Vries <tom@codesourcery.com>
22644 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
22646 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22647 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22648 (CHECK_EOL): Add undef.
22650 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
22652 * bits/stdlib-bsearch.h: New file.
22653 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22654 * stdlib/stdlib.h: Likewise.
22656 2013-02-11 Roland McGrath <roland@hack.frob.com>
22658 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22659 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22661 * manual/search.texi (Array Search Function): Add missing const in
22663 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22664 declaration to use rlim_t.
22665 (Basic Scheduling Functions): Remove erroneous const from
22666 sched_getparam prototype. Remove erroneous * from
22667 sched_get_priority_max and sched_get_priority_min prototypes.
22668 (Resource Usage): Fix summary @comment on vtimes to refer to
22669 sys/vtimes.h rather than vtimes.h.
22670 Add missing *s in vtimes prototype.
22671 (Limits on Resources): Fix ulimit prototype to return long int.
22672 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22673 prototypes to use long int rather than double.
22674 (BSD Random): Fix initstate and setstate to use char *, not void *.
22675 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22676 prototype to make second argument 'struct aiocb64 *const[]'.
22677 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22678 (Status of AIO Operations): Remove erroneous const in aio_return and
22679 aio_return64 prototypes.
22680 (Synchronizing I/O): Fix sync prototype to return void.
22681 * manual/startup.texi (Suboptions): Remove an erroneous const in
22682 getsubopt prototype.
22683 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22684 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22685 use size_t rather than int.
22686 (Scanning All Users): Likewise for getpwent_r.
22687 (Setting Groups): Add missing const to setgroups prototype.
22688 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22689 * manual/socket.texi (Host Names): Fix gethostbyaddr and
22690 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22691 'const void *' rather than 'const char *'.
22692 (Host Address Functions): Likewise for inet_ntop.
22693 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22694 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22695 ssize_t for return value.
22696 (Sending Data): Likewise for send, sendto, sendmsg.
22697 (Socket Option Functions): Add a missing const in setsockopt prototype.
22698 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22699 use wchar_t for the argument.
22700 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22701 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22703 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22704 double/float/long double for second argument.
22705 Fix return types of significand, significandf, significandl.
22706 * manual/filesys.texi (Setting Permissions): Use mode_t for second
22707 argument in fchmod prototype.
22708 (File Owner): Use uid_t and gid_t in fchown prototype.
22709 (File Times): Add const to utimes, futimes, and lutimes prototypes.
22710 (Making Special Files): Use mode_t and dev_t in mknod prototype.
22711 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22712 use 'const struct dirent **' as argument types to CMP function pointer
22714 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22715 (File Times): Fix summary magic @comment for struct utimbuf and utime
22716 to refer to utime.h, not time.h.
22717 * manual/string.texi (Argz Functions): Add missing const in
22718 argz_extract and argz_next prototypes.
22719 (Finding Tokens in a String): Likewise for basename.
22720 (String/Array Comparison): Fix typo in wcscasecmp prototype.
22721 (Copying and Concatenation): Fix typo in wmemmove prototype.
22722 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22723 (Signal Stack): Remove erroneous const in sigstack prototype.
22724 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22726 (Simple Calendar Time): Likewise for stime.
22727 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22729 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22730 say sys/sysctl.h instead.
22731 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22732 and vsyslog prototypes.
22734 2013-02-11 Tom de Vries <tom@codesourcery.com>
22736 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22739 2013-02-11 Roland McGrath <roland@hack.frob.com>
22741 * misc/sys/mman.h: Fix typo in mremap comment.
22743 2013-02-08 Roland McGrath <roland@hack.frob.com>
22745 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22746 the '\0' terminator.
22748 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22751 * debug/segfault.c: Don't include <bp-checks.h>.
22752 * sysdeps/generic/bp-checks.h: Remove file.
22753 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22754 (__GETDENTS): Don't use CHECK_N.
22755 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22756 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22757 (__getgroups): Don't use CHECK_N.
22758 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22759 (setgroups): Don't use CHECK_N.
22760 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22761 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22762 (__libc_msgrcv): Don't use CHECK_N.
22763 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22764 (__libc_msgsnd): Don't use CHECK_N.
22765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22767 (__libc_pread): Don't use CHECK_N.
22768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22769 include <bp-checks.h>.
22770 (__libc_pread64): Don't use CHECK_N.
22771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22772 include <bp-checks.h>.
22773 (__libc_pwrite): Don't use CHECK_N.
22774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22775 include <bp-checks.h>.
22776 (__libc_pwrite64): Don't use CHECK_N.
22777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22779 (__libc_pread): Don't use CHECK_N.
22780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22781 include <bp-checks.h>.
22782 (__libc_pread64): Don't use CHECK_N.
22783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22784 include <bp-checks.h>.
22785 (__libc_pwrite): Don't use CHECK_N.
22786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22787 include <bp-checks.h>.
22788 (__libc_pwrite64): Don't use CHECK_N.
22789 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22790 (do_pread): Don't use CHECK_N.
22791 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22792 (do_pread64): Don't use CHECK_N.
22793 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22794 (do_pwrite): Don't use CHECK_N.
22795 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22796 (do_pwrite64): Don't use CHECK_N.
22797 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22798 (__libc_readv): Don't use CHECK_N.
22799 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22800 (semop): Don't use CHECK_N.
22801 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22803 (semtimedop): Don't use CHECK_N.
22804 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22805 (__libc_pread): Don't use CHECK_N.
22806 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22808 (__libc_pread64): Don't use CHECK_N.
22809 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22811 (__libc_pwrite): Don't use CHECK_N.
22812 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22814 (__libc_pwrite64): Don't use CHECK_N.
22815 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22817 (__libc_msgrcv): Don't use CHECK_N.
22818 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22819 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
22820 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
22821 (__libc_writev): Don't use CHECK_N.
22823 2013-02-08 Roland McGrath <roland@hack.frob.com>
22825 * string/strcpy.c: Removed unused variable.
22827 * Makeconfig (+sysdep-includes): Define with := rather than =.
22828 Use an existing include/ subdir of each sysdeps dir before it.
22830 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22832 * nscd/connection.c (register_traced_file): Comment function.
22833 [HAVE_INOTIFY] (union __inev): Define.
22834 [HAVE_INOTIFY] (inotify_check_files): New function.
22835 [HAVE_INOTIFY] (clear_db_cache): Likewise.
22836 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
22838 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
22840 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22842 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
22843 loaded if not already and that a failure is permanent.
22845 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22848 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
22849 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
22851 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22854 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
22855 (CHECK_1_NULL_OK): Likewise.
22856 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
22857 (__fxstat): Do not use CHECK_1.
22858 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
22860 (___fxstat64): Do not use CHECK_1.
22861 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22863 (__fxstatat): Do not use CHECK_1.
22864 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22866 (__fxstatat64): Do not use CHECK_1.
22867 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
22869 (__fxstat): Do not use CHECK_1.
22870 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22872 (__fxstatat): Do not use CHECK_1.
22873 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22875 (__getresgid): Do not use CHECK_1.
22876 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22878 (__getresuid): Do not use CHECK_1.
22879 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
22881 (__lxstat): Do not use CHECK_1.
22882 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22884 (__old_msgctl): Do not use CHECK_1.
22885 (__new_msgctl): Likewise.
22886 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
22888 (__new_setrlimit): Do not use CHECK_1.
22889 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22891 (__old_shmctl): Do not use CHECK_1.
22892 (__new_shmctl): Likewise.
22893 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
22895 (__xstat): Do not use CHECK_1.
22896 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
22897 (__lxstat): Do not use CHECK_1.
22898 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
22900 (___lxstat64): Do not use CHECK_1.
22901 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
22902 (__old_msgctl): Do not use CHECK_1.
22903 (__new_msgctl): Likewise.
22904 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
22906 (__gettimeofday): Do not use CHECK_1.
22907 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
22908 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
22909 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
22911 (__gettimeofday): Do not use CHECK_1.
22912 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
22913 (__old_shmctl): Do not use CHECK_1_NULL_OK.
22914 (__new_shmctl): Do not use CHECK_1.
22915 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
22917 (do_sigtimedwait): Do not use CHECK_1.
22918 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
22920 (do_sigwaitinfo): Do not use CHECK_1.
22921 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
22923 (msgctl): Do not use CHECK_1.
22924 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
22926 (shmctl): Do not use CHECK_1.
22927 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
22928 (ustat): Do not use CHECK_1.
22929 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
22931 (__fxstat): Do not use CHECK_1.
22932 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22934 (__fxstatat): Do not use CHECK_1.
22935 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
22937 (__lxstat): Do not use CHECK_1.
22938 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
22940 (__xstat): Do not use CHECK_1.
22941 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
22942 (__xstat): Do not use CHECK_1.
22943 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
22944 (___xstat64): Do not use CHECK_1.
22947 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
22949 (CHECK_BOUNDS_HIGH): Likewise.
22950 * string/strcpy.c: Do not include <bp-checks.h>.
22951 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
22953 2013-02-07 Roland McGrath <roland@hack.frob.com>
22955 * nscd/nscd-client.h (__nscd_drop_map_ref):
22956 Add __attribute__ ((unused)).
22957 * nis/nss-nisplus.h (niserr2nss): Likewise.
22959 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
22960 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
22962 * csu/libc-tls.c (init_static_tls, init_slotinfo):
22963 Remove inline keyword.
22964 * include/rounding-mode.h (round_away): Likewise.
22965 * libio/wfileops.c (adjust_wide_data): Likewise.
22966 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
22967 (__m128i_strloadu_tolower): Likewise.
22968 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
22969 (__m128i_strloadu_tolower): Likewise.
22970 * time/mktime.c (ydhms_diff): Likewise.
22971 * locale/elem-hash.h (elem_hash): Likewise.
22972 * locale/setlocale.c (setdata): Likewise.
22973 * posix/regex_internal.h (re_string_char_size_at): Likewise.
22974 (re_string_wchar_at): Likewise.
22975 (bitset_not, bitset_merge, bitset_mask): Likewise.
22976 [!(__GNUC__ > 3)] (inline): Remove macro.
22977 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
22978 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
22979 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22980 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22981 * string/memcmp.c (memcmp_bytes): Likewise.
22982 * locale/programs/locarchive.c (compute_hashval): Likewise.
22983 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
22984 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
22985 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
22986 * nss/getent.c (print_rpc, print_protocols): Likewise.
22987 (print_passwd, print_group, print_aliases): Likewise.
22988 * nis/nss-nisplus.h (niserr2nss): Likewise.
22989 * nscd/connections.c (restart_p): Likewise.
22990 Change return type to bool.
22992 2013-02-05 Roland McGrath <roland@hack.frob.com>
22994 * Makeconfig (all-Depend-files): Add existing
22995 $(sorted-subdirs:=/Depend) files.
22996 (all-subdirs): Remove nss.
22997 * sysdeps/unix/inet/Subdirs: Add it here instead.
22998 * hesiod/Depend: New file.
23000 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23001 instead of calling alloca.
23003 * io/lseek.c (__lseek): Rename to __libc_lseek.
23004 Define __lseek as an alias.
23006 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23008 2013-02-04 Carlos O'Donell <carlos@redhat.com>
23010 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23011 else clause and remove check for non-standard endianness.
23013 2013-02-04 David S. Miller <davem@davemloft.net>
23015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23017 2013-02-04 Joseph Myers <joseph@codesourcery.com>
23020 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23021 (__ubp_memchr): Remove prototype.
23022 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23023 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23024 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23025 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23026 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23028 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23029 (__ubp_memchr): Likewise.
23030 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23031 (__ubp_memchr): Likewise.
23032 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23033 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23034 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23035 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23037 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23038 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23039 (__getcwd): Do not use CHECK_STRING.
23040 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23042 (__real_chown): Do not use CHECK_STRING.
23043 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23045 (fchownat): Do not use CHECK_STRING.
23046 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23048 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23050 (__lchown): Do not use CHECK_STRING.
23051 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23052 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23053 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23054 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23056 include <bp-checks.h>.
23057 (truncate64): Do not use CHECK_STRING.
23058 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23060 (__real_chown): Do not use CHECK_STRING.
23061 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23063 (__lchown): Do not use CHECK_STRING.
23064 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23066 (__chown): Do not use CHECK_STRING.
23067 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23069 (truncate64): Do not use CHECK_STRING.
23070 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23072 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23073 (__xmknod): Do not use CHECK_STRING.
23074 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23076 (__xmknodat): Do not use CHECK_STRING.
23077 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23078 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23080 2013-02-04 Andreas Schwab <schwab@suse.de>
23083 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23084 * include/netdb.h: Likewise for h_errno.
23085 * elf/tst-stackguard1.c: Include <tls.h>.
23087 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23089 * elf/link.h (struct link_map): Extend the l_addr comment.
23090 * include/link.h (struct link_map): Likewise.
23092 2013-02-01 Joseph Myers <joseph@codesourcery.com>
23095 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23096 (BOUNDED_1): Remove macro.
23097 * debug/backtrace.c: Don't include <bp-checks.h>.
23098 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23099 (__backtrace): Likewise.
23100 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23102 (__backtrace): Don't use BOUNDED_1.
23103 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23105 (__backtrace): Don't use BOUNDED_1.
23106 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23107 (__backtrace): Don't use BOUNDED_1.
23108 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23109 (shmat): Don't use BOUNDED_N.
23111 2013-01-31 Joseph Myers <joseph@codesourcery.com>
23114 * sysdeps/generic/bp-start.h: Remove file.
23115 * csu/libc-start.c: Don't include <bp-start.h>.
23116 (LIBC_START_MAIN): Set up __environ directly instead of using
23117 INIT_ARGV_and_ENVIRON.
23118 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23122 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23124 (CHECK_FCNTL): Likewise.
23125 (CHECK_N_PAGES): Likewise.
23128 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23130 (CHECK_SIGSET_NULL_OK): Likewise.
23131 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23133 (sigpending): Don't use CHECK_SIGSET.
23134 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23136 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23137 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23139 (do_sigsuspend): Don't use CHECK_SIGSET.
23140 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23142 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23143 (do_sigwait): Don't use CHECK_SIGSET.
23144 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23146 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23147 include <bp-checks.h>.
23148 (sigpending): Don't use CHECK_SIGSET.
23149 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23150 include <bp-checks.h>.
23151 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23152 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23154 (sigpending): Don't use CHECK_SIGSET.
23155 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23157 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23160 * sysdeps/generic/bp-semctl.h: Remove file.
23161 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23162 <bp-checks.h> and <bp-semctl.h>.
23163 (__old_semctl): Don't use CHECK_SEMCTL.
23164 (__new_semctl): Likewise.
23165 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23167 (__old_semctl): Don't use CHECK_SEMCTL.
23168 (__new_semctl): Likewise.
23169 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23170 <bp-checks.h> and <bp-semctl.h>.
23171 (__old_semctl): Don't use CHECK_SEMCTL.
23172 (__new_semctl): Likewise.
23173 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23174 <bp-checks.h> and <bp-semctl.h>.
23175 (semctl): Don't use CHECK_SEMCTL.
23178 * Makerules (elide-bp-thunks): Remove variable.
23179 (elide-routines.oS): Don't use $(elide-bp-thunks).
23180 (elide-routines.os): Likewise.
23181 (elide-routines.o): Likewise.
23182 (elide-routines.op): Likewise.
23183 (elide-routines.og): Likewise.
23184 (objects): Don't use $(bp-thunks).
23185 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23187 (common-generated): Do not add s-proto-bp.d.
23188 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23191 Do not generate makefile rules for bounded-pointer thunks.
23192 * sysdeps/generic/bp-thunks.h: Remove file.
23193 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23194 * sysdeps/unix/s-proto-bp.S: Likewise.
23197 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23198 parts of result separately when argument is not close to line from
23199 -i to i and one part of argument is small.
23200 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23201 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23202 * math/libm-test.inc (cacos_test): Add more tests.
23203 (casin_test): Likewise.
23204 (casinh_test): Likewise.
23205 * sysdeps/i386/fpu/libm-test-ulps: Update.
23206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23208 2013-01-31 David S. Miller <davem@davemloft.net>
23210 * po/de.po: Update from translation team.
23212 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
23214 * time/tzfile.c: Include stdint.h for SIZE_MAX.
23216 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
23218 * configure.in (_AC_PROG_CC_C89): New definition.
23219 * configure: Regenerate.
23221 * configure.in (AC_PROG_CPP): New definition.
23222 * configure: Regenerate.
23224 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23226 * debug/tst-backtrace.h: New file.
23227 * debug/tst-backtrace2.c: Include tst-backtrace.h.
23228 (ret): Remove variable.
23230 (FAIL): Remove macro.
23231 (NO_INLINE): Likewise.
23232 (fn1): Use match function instead of strstr.
23233 * debug/tst-backtrace3.c: Include tst-backtrace.h.
23234 (ret): Remove variable.
23236 (FAIL): Remove macro.
23237 (NO_INLINE): Likewise.
23238 (fn): Use match function instead of strstr.
23239 * debug/tst-backtrace4.c: Include tst-backtrace.h.
23240 (ret): Remove variable.
23242 (FAIL): Remove macro.
23243 (NO_INLINE): Likewise.
23244 (handle_signal): Use match function instead of strstr.
23245 * debug/tst-backtrace5.c: Include tst-backtrace.h.
23246 (ret): Remove variable.
23248 (FAIL): Remove macro.
23249 (NO_INLINE): Likewise.
23250 (handle_signal): Use match function instead of strstr.
23252 2013-01-23 Roland McGrath <roland@hack.frob.com>
23254 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23256 2013-01-23 David S. Miller <davem@davemloft.net>
23258 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23259 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23260 argument of CAS if possible.
23261 * sysdeps/sparc/sparc64/bits/atomic.h
23262 (__arch_compare_and_exchange_val_32_acq): Likewise.
23263 (__arch_compare_and_exchange_val_64_acq): Likewise.
23265 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
23267 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23268 * sysdeps/posix/ulimit.c: ... this.
23269 Include <limits.h>.
23270 * sysdeps/unix/bsd/ulimit.c: Remove file.
23272 2013-01-23 Adam Conrad <adconrad@0c3.net>
23274 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23275 (LDFLAGS-tst-array5): Likewise.
23277 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23280 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23281 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23282 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23283 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23285 2013-01-21 David S. Miller <davem@davemloft.net>
23287 * sysdeps/sparc/backtrace.c: New file.
23288 * sysdeps/sparc/sparc32/backtrace.h: New file.
23289 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23290 * sysdeps/sparc/sparc64/backtrace.h: New file.
23291 * sysdeps/sparc/sparc64/backtrace.c: Delete.
23292 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23295 2013-01-21 Andreas Schwab <schwab@suse.de>
23298 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23301 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
23303 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23305 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23307 2013-01-18 Joseph Myers <joseph@codesourcery.com>
23308 Mark Mitchell <mark@codesourcery.com>
23309 Tom de Vries <tom@codesourcery.com>
23310 Paul Pluzhnikov <ppluzhnikov@google.com>
23312 * debug/tst-backtrace2.c: New file.
23313 * debug/tst-backtrace3.c: Likewise.
23314 * debug/tst-backtrace4.c: Likewise.
23315 * debug/tst-backtrace5.c: Likewise.
23316 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23317 (CFLAGS-tst-backtrace3.c): Likewise.
23318 (CFLAGS-tst-backtrace4.c): Likewise.
23319 (CFLAGS-tst-backtrace5.c): Likewise.
23320 (LDFLAGS-tst-backtrace2): Likewise.
23321 (LDFLAGS-tst-backtrace3): Likewise.
23322 (LDFLAGS-tst-backtrace4): Likewise.
23323 (LDFLAGS-tst-backtrace5): Likewise.
23324 (tests): Add new tests tst-backtrace2, tst-backtrace3,
23325 tst-backtrace4 and tst-backtrace5.
23327 2013-01-18 Anton Blanchard <anton@samba.org>
23328 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23330 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23331 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23332 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23333 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23335 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23336 "+r" and remove output regs list as redundant. Add explicit inline
23337 asm to specify register of return val to work around compiler codegen
23338 bug. Remove (int) cast on return value. Add return type parameter to
23339 use in macro so that this macro does not truncate return value for
23341 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23342 pass to INTERNAL_VSYSCALL_NCS.
23343 (INLINE_VSYSCALL): Add 'long int' as return type to
23344 INTERNAL_VSYSCALL_NCS macro invocation.
23345 (INTERNAL_VSYSCALL): Add 'long int' as return type to
23346 INTERNAL_VSYSCALL_NCS macro invocation.
23347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23349 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23352 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23353 Fix application of SIMD FP exception mask.
23355 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23356 mp_no from a power of two.
23357 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23358 __mpexp_twomm1. Use __pow_mp.
23360 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23363 2013-01-17 David S. Miller <davem@davemloft.net>
23365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23367 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23370 * include/complex.h: Condition contents on [!_COMPLEX_H].
23371 (__kernel_casinhf): New prototype.
23372 (__kernel_casinh): Likewise.
23373 (__kernel_casinhl): Likewise.
23374 * math/Makefile (libm_calls): Add k_casinh.
23375 * math/k_casinh.c: New file.
23376 * math/k_casinhf.c: Likewise.
23377 * math/k_casinhl.c: Likewise.
23378 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23379 finite nonzero arguments.
23380 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23381 finite nonzero arguments.
23382 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23383 finite nonzero arguments.
23384 * math/s_casinh.c: Do not include <float.h>.
23385 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23386 * math/s_casinhf.c: Do not include <float.h>.
23387 (__casinhf): Move code for finite nonzero arguments to
23389 * math/s_casinhl.c: Do not include <float.h>.
23390 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23392 (__casinhl): Move code for finite nonzero arguments to
23394 * math/libm-test.inc (cacos_test): Add more tests.
23395 * sysdeps/i386/fpu/libm-test-ulps: Update.
23396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23398 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
23400 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23401 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23402 [!HAVE_MREMAP]: Remove [defined linux] case.
23403 * malloc/arena.c: Do not include <malloc-sysdep.h>.
23405 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23407 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23409 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
23411 * elf/elf.h (R_386_SIZE32): New relocation.
23412 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23414 (elf_machine_rela): Likewise.
23415 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23416 R_X86_64_SIZE64 and R_X86_64_SIZE32.
23418 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23420 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23421 (FP_FAST_FMA): Do not define.
23422 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23423 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23424 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23425 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23426 !_SOFT_FLOAT]: Likewise.
23427 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23428 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23430 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23431 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23432 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23433 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23434 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23435 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23438 2013-01-16 Andreas Schwab <schwab@suse.de>
23441 * include/stdlib.h (__mktemp): Add declaration.
23442 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23443 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23445 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23447 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23449 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23450 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23451 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23453 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23454 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23456 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23458 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23459 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23460 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23462 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23463 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23465 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23467 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23469 2013-01-15 David S. Miller <davem@davemloft.net>
23471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23472 trunc{,f} to libm-sysdep_routes.
23473 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23483 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23484 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23485 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23486 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23487 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23488 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23491 nearbyint{,f} to libm-sysdep_routes.
23492 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23503 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23505 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23506 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23508 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23509 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23510 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23512 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23513 libc_feholdexcept and libc_fesetenv.
23515 2013-01-15 Mike Frysinger <vapier@gentoo.org>
23517 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23519 2013-01-14 David S. Miller <davem@davemloft.net>
23521 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23522 (SPARC_ASM_VIS2_IFUNC): Likewise.
23523 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23525 use of 'siam' instruction.
23526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23532 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23533 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23534 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23535 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23544 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23545 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23546 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23547 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23554 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23555 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23556 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23557 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23559 routines to libm-sysdep_routines.
23560 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23563 fdim/fdimf to libm-sysdep_routines.
23564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23572 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23573 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23574 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23575 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23577 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23579 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23580 to optimize copies.
23582 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23583 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23584 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23586 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23587 local variable MPTWO.
23588 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23591 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23593 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23596 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23598 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23600 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23602 * manual/pattern.texi (glob_t): Document gl_flags.
23603 (glob64_t): Likewise.
23605 2013-01-11 David S. Miller <davem@davemloft.net>
23607 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23608 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23609 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
23610 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23611 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23612 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23613 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23614 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23615 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23616 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23617 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23618 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23619 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23621 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23622 sparc V9 rather than using V8 code.
23623 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23624 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23626 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23628 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23631 2013-01-11 Roland McGrath <roland@hack.frob.com>
23633 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23634 not in the main loop.
23635 * configure: Regenerated.
23637 2013-01-11 Joseph Myers <joseph@codesourcery.com>
23639 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23640 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23642 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
23643 [!__GLIBC_HAVE_LONG_LONG] case.
23644 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23645 condition to just #else.
23646 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23647 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23648 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23649 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23651 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23652 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23653 #elif condition to just #else.
23654 * sysdeps/unix/sysv/linux/sys/sysmacros.h
23655 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23656 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23657 #elif condition to just #else.
23659 2013-01-11 Steve Ellcey <sellcey@mips.com>
23661 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23662 (EF_MIPS_ARCH_64): Fix value.
23663 (EF_MIPS_ARCH_32R2): New.
23664 (EF_MIPS_ARCH_64R2): New.
23666 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
23668 * Makeconfig (+link-pie-before-libc): New.
23669 (+link-pie-after-libc): Likewise.
23670 (+link-pie-tests): Likewise.
23671 (+link-pie): Rewritten.
23672 (link-before-libc): Remove $(config-LDFLAGS).
23673 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23674 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23675 (config-LDFLAGS): Renamed to ...
23676 (rtld-LDFLAGS): This.
23677 (rtld-tests-LDFLAGS): New macro.
23678 (link-libc-rpath-link): Likewise.
23679 (link-libc-tests-rpath-link): Likewise.
23680 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23681 (link-libc): Prepand $(link-libc-rpath-link).
23682 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23683 (test-program-prefix): New macro.
23684 (test-via-rtld-prefix): Likewise.
23685 (test-program-cmd): Likewise.
23686 (host-test-program-cmd): Likewise.
23687 * Makefile ($(common-objpfx)testrun.sh): Replace
23688 $(run-program-prefix) with $(test-program-prefix).
23689 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23691 ($(common-objpfx)shlib.lds): Likewise.
23692 (build-module-helper): Likewise.
23693 ($(common-objpfx)format.lds): Likewise.
23694 * Rules (binaries-pie-tests): New.
23695 (binaries-pie-notests): Likewise.
23696 (binaries-pie): Rewritten.
23697 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23698 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23699 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23700 (make-test-out): Replace $(host-built-program-cmd) with
23701 $(host-test-program-cmd).
23702 * config.make.in (build-hardcoded-path-in-tests): New variable.
23703 * configure.in (--enable-hardcoded-path-in-tests): New configure
23705 (hardcoded_path_in_tests): New AC_SUBST.
23706 * configure: Regenerated.
23707 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23708 $(built-program-cmd) with $(test-program-cmd).
23709 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23710 (test_program_cmd): This.
23711 * elf/Makefile ($(objpfx)order.out): Run test with
23712 $(test-program-prefix).
23713 ($(objpfx)order2.out): Likewise.
23714 ($(objpfx)tst-initorder.out): Likewise.
23715 ($(objpfx)tst-initorder2.out): Likewise.
23716 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23717 $(test-program-cmd).
23718 ($(objpfx)tst-array1-static.out): Likewise.
23719 ($(objpfx)tst-array2.out): Likewise.
23720 ($(objpfx)tst-array3.out): Likewise.
23721 ($(objpfx)tst-array4.out): Likewise.
23722 ($(objpfx)tst-array5.out): Likewise.
23723 ($(objpfx)tst-array5-static.out): Likewise.
23724 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23725 $(test-program-cmd).
23726 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23727 $(run-program-prefix) with $(test-program-prefix).
23728 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23729 (test_program_prefix): This.
23730 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23731 $(run-program-prefix) with $(test-program-prefix).
23732 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23733 (test_program_prefix): This.
23734 * iconvdata/tst-tables.sh: Likewise.
23735 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23736 $(run-program-prefix) with $(test-program-prefix).
23737 ($(objpfx)tst-translit.out): Likewise.
23738 ($(objpfx)tst-gettext2.out): Likewise.
23739 ($(objpfx)tst-gettext4.out): Likewise.
23740 ($(objpfx)tst-gettext6.out): Likewise.
23741 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23742 (test_program_prefix): This.
23743 * intl/tst-gettext2.sh: Likewise.
23744 * intl/tst-gettext4.sh Likewise.
23745 * intl/tst-gettext6.sh: Likewise.
23746 * intl/tst-translit.sh: Likewise.
23747 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23748 with $(test-program-cmd).
23749 * libio/Makefile ($(objpfx)test-freopen.out): Replace
23750 $(run-program-prefix) with $(test-program-prefix).
23751 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23752 (test_program_prefix): This.
23753 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23754 $(run-program-prefix) with $(test-program-prefix).
23755 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23756 (test_program_prefix): This.
23757 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23758 * posix/Makefile ($(objpfx)globtest.out): Replace
23759 $(run-via-rtld-prefix) and $(test-wrapper) with
23760 $(test-program-prefix) and $(test-via-rtld-prefix).
23761 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23762 $(test-program-prefix).
23763 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23764 $(host-test-program-cmd).
23765 (tst-spawn-ARGS): Likewise.
23766 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23767 $(test-program-prefix).
23768 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23769 (test_via_rtld_prefix): This.
23770 (test_wrapper): Renamed to ...
23771 (test_program_prefix): This.
23772 (run_program_prefix): Replaced by test_program_prefix.
23773 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23774 (test_program_prefix): This.
23775 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23776 with $(host-test-program-cmd).
23777 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23778 $(run-program-prefix) with $(test-program-prefix).
23779 ($(objpfx)tst-printf.out): Likewise.
23780 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23781 $(test-program-cmd).
23782 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23783 (test_program_prefix): This.
23784 * stdio-common/tst-unbputc.sh: Likewise.
23785 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23786 $(run-program-prefix) with $(test-program-prefix).
23787 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23788 (test_program_prefix): This.
23789 * string/Makefile ($(objpfx)tst-svc.out): Replace
23790 $(built-program-cmd) with $(test-program-cmd).
23792 2013-01-11 Andreas Jaeger <aj@suse.de>
23795 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23796 value. Sync with Linux 3.7.
23798 2013-01-10 David S. Miller <davem@davemloft.net>
23800 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23801 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23802 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23804 2013-01-10 Roland McGrath <roland@hack.frob.com>
23806 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23808 * configure: Regenerated.
23810 2013-01-10 David S. Miller <davem@davemloft.net>
23812 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23813 sparc V9 rather than using V8 code.
23814 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23815 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23817 2013-01-10 Roland McGrath <roland@hack.frob.com>
23819 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
23820 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
23821 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
23822 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
23823 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
23824 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
23825 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23826 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
23827 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
23828 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
23829 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
23830 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
23831 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23832 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
23833 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
23834 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
23835 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
23836 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
23837 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
23838 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23839 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
23840 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
23841 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
23842 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
23843 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
23844 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
23845 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
23847 2013-01-10 David S. Miller <davem@davemloft.net>
23849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23851 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23853 * posix/Makefile (tests-static): New variable.
23854 (tests): Add $(tests-static).
23855 (tst-exec-static-ARGS): New variable.
23856 (tst-spawn-static-ARGS): Likewise.
23857 * posix/tst-exec-static.c: New file.
23858 * posix/tst-spawn-static.c: Likewise.
23859 * posix/tst-exec.c: Support run directly.
23860 * posix/tst-spawn.c: Likewise.
23862 2013-01-10 Joseph Myers <joseph@codesourcery.com>
23864 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
23866 * math/bits/mathcalls.h (llrint): Likewise.
23867 (llround): Likewise.
23868 * stdlib/stdlib.h (struct drand48_data): Likewise.
23869 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
23870 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
23871 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
23873 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
23875 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
23876 (elf_greg_t): Likewise.
23877 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
23878 (__jmp_buf): Likewise.
23879 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
23881 (llrint): Likewise, for all definitions.
23882 (llrintl): Likewise.
23884 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
23885 Remove [__GNUC__] condition.
23886 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
23887 condition to just [__USE_ISOC99].
23888 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
23890 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23893 * sysdeps/unix/sysv/linux/x86/bits/environments.h
23894 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
23896 (_POSIX_V6_ILP32_OFF32): Likewise.
23897 (_XBS5_ILP32_OFF32): Likewise.
23898 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
23899 (__ILP32_OFFBIG_LDFLAGS): Likewise.
23901 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23903 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
23905 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
23906 doubles __mpexp_twomm1. Adjust usage.
23907 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
23910 2013-01-10 Andreas Schwab <schwab@suse.de>
23913 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
23914 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
23916 2013-01-09 David S. Miller <davem@davemloft.net>
23919 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
23920 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
23921 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
23922 (TCP_FASTOPEN): Define.
23923 (tcp_repair_opt): New structure.
23924 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
23926 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
23927 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
23928 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
23929 (tcp_cookie_transactions): New structure.
23931 2013-01-09 Anton Blanchard <anton@samba.org>
23933 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
23934 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
23935 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
23936 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23938 2013-01-09 Joseph Myers <joseph@codesourcery.com>
23940 * include/features.h (__USE_ANSI): Remove.
23942 2013-01-09 Roland McGrath <roland@hack.frob.com>
23944 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
23946 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
23948 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
23950 * sysdeps/s390/fpu/libm-test-ulps: Update.
23952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23954 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
23958 (denorm): Likewise.
23959 (__mp_dbl): Likewise.
23960 (__dbl_mp): Likewise.
23961 (add_magnitudes): Likewise.
23962 (sub_magnitudes): Likewise.
23968 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
23972 (denorm): Likewise.
23973 (__mp_dbl): Likewise.
23974 (__dbl_mp): Likewise.
23975 (add_magnitudes): Likewise.
23976 (sub_magnitudes): Likewise.
23982 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
23986 (denorm): Likewise.
23987 (__mp_dbl): Likewise.
23988 (__dbl_mp): Likewise.
23989 (add_magnitudes): Likewise.
23990 (sub_magnitudes): Likewise.
23997 2013-01-08 Joseph Myers <joseph@codesourcery.com>
23999 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24000 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24001 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24002 2 && __USE_EXTERN_INLINES]: Likewise.
24004 2013-01-08 Andreas Jaeger <aj@suse.de>
24007 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24009 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24010 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24012 2013-01-07 Anton Blanchard <anton@samba.org>
24014 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24015 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24016 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24017 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24018 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24019 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24020 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24021 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24022 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24023 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24024 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24025 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24026 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24027 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24028 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24029 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24030 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24031 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24032 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24033 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24034 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24035 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24036 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24037 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24038 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24039 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24040 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24041 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24042 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24043 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24044 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24045 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24046 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24047 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24048 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24049 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24050 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24051 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24052 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24053 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24054 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24055 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24056 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24058 2013-01-07 Joseph Myers <joseph@codesourcery.com>
24060 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24061 (__MALLOC_PMT): Likewise.
24062 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24063 [__GNUC__], only on [_LIBC].
24064 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24065 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24066 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24067 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24068 forward declaration.
24069 (realloc_hook_ini): Likewise.
24070 (memalign_hook_ini): Likewise.
24071 (__libc_memalign): Do not use __MALLOC_PMT in variable
24073 (__libc_valloc): Likewise.
24074 (__libc_pvalloc): Likewise.
24075 (__libc_calloc): Likewise.
24076 (__posix_memalign): Likewise.
24079 * math/s_casinh.c: Include <float.h>.
24080 (__casinh): Do not do computation with squaring and square root
24081 for large arguments.
24082 * math/s_casinhf.c: Include <float.h>.
24083 (__casinhf): Do not do computation with squaring and square root
24084 for large arguments.
24085 * math/s_casinhl.c: Include <float.h>.
24086 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24087 (__casinhl): Do not do computation with squaring and square root
24088 for large arguments.
24089 * math/libm-test.inc (casin_test): Add more tests.
24090 (casinh_test): Likewise.
24091 * sysdeps/i386/fpu/libm-test-ulps: Update.
24092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24094 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24096 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24097 (__x86_64_raw_data_cache_size): Likewise.
24098 (__x86_64_data_cache_size_half): Likewise.
24099 (__x86_64_raw_data_cache_size_half): Likewise.
24100 (__x86_64_shared_cache_size): Likewise.
24101 (__x86_64_raw_shared_cache_size): Likewise.
24102 (__x86_64_shared_cache_size_half): Likewise.
24103 (__x86_64_raw_shared_cache_size_half): Likewise.
24104 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24106 (__x86_data_cache_size): This.
24107 (__x86_64_raw_data_cache_size): Renamed to ...
24108 (__x86_raw_data_cache_size): This.
24109 (__x86_64_data_cache_size_half): Renamed to ...
24110 (__x86_data_cache_size_half): This.
24111 (__x86_64_raw_data_cache_size_half): Renamed to ...
24112 (__x86_raw_data_cache_size_half): This.
24113 (__x86_64_shared_cache_size): Renamed to ...
24114 (__x86_shared_cache_size): This.
24115 (__x86_64_raw_shared_cache_size): Renamed to ...
24116 (__x86_raw_shared_cache_size): This.
24117 (__x86_64_shared_cache_size_half): Renamed to ...
24118 (__x86_shared_cache_size_half): This.
24119 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24120 (__x86_raw_shared_cache_size_half): This.
24121 * sysdeps/x86_64/memcpy.S: Updated.
24122 * sysdeps/x86_64/memset.S: Likewise.
24123 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24124 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24125 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24127 2013-01-04 David S. Miller <davem@davemloft.net>
24129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24131 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
24133 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24134 1 to avoid redefinition warning.
24135 (__USE_GNU): Don't define.
24136 (init_signaling_nan): Protoize.
24138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24140 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24142 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24143 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24144 (__cpymn): Likewise.
24145 (norm): Remove commented code.
24146 (denorm): Likewise.
24147 (__mp_dbl): Likewise.
24149 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24150 (__cpymn): Likewise.
24151 (norm): Remove commented code.
24152 (denorm): Likewise.
24153 (__mp_dbl): Likewise.
24156 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24157 mp_no value for 1.0 and 2.0.
24158 (norm): Use RADIXI instead of radixi.d.
24159 (denorm): Likewise.
24160 (__mul): Use 0.0 instead of zero.d.
24161 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24162 mp_no value for 1.0 and 2.0.
24163 (norm): Use RADIXI instead of radixi.d.
24164 (denorm): Likewise.
24165 (__mul): Use 0.0 instead of zero.d.
24167 2013-01-04 Joseph Myers <joseph@codesourcery.com>
24170 * math/s_casinh.c (__casinh): Reduce finite argument to first
24171 quadrant then set signs of results at the end.
24172 * math/s_casinhf.c (__casinhf): Likewise.
24173 * math/s_casinhl.c (__casinhl): Likewise.
24174 * math/libm-test.inc (casin_test): Add more tests.
24175 (casinh_test): Likewise.
24176 * sysdeps/i386/fpu/libm-test-ulps: Update.
24177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24179 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24181 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24183 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24185 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24187 (denorm): Likewise.
24188 (__mp_dbl): Likewise.
24191 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24192 and adjust the header comment.
24194 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24195 variable name from declaration.
24197 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
24199 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24200 Initialize COMMON_CPUID_INDEX_7 element.
24201 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24202 (CPUID_RTM): Likewise.
24203 (HAS_RTM): Likewise.
24204 (COMMON_CPUID_INDEX_7): New enum.
24206 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
24209 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24210 size is zero, record memory as freed.
24212 2013-01-03 Andreas Jaeger <aj@suse.de>
24214 * po/ia.po: Add new Interlingua translation.
24216 2012-01-03 Allan McRae <allan@archlinux.org>
24218 * locale/programs/localedef.c: Fix description of '--posix' flag.
24220 2013-01-02 Joseph Myers <joseph@codesourcery.com>
24222 * NEWS: Update dates in second copyright notice.
24223 * README: Update copyright dates in example.
24224 * manual/libc.texinfo: Update copyright dates.
24225 * scripts/test-installation.pl: Update copyright date in --version
24228 * hurd/ctty-input.c: Fix copyright notice formatting.
24229 * hurd/ctty-output.c: Likewise.
24230 * hurd/dtable.c: Likewise.
24231 * hurd/hurd-raise.c: Likewise.
24232 * hurd/hurdprio.c: Likewise.
24233 * hurd/msgportdemux.c: Likewise.
24234 * misc/sys/file.h: Likewise.
24235 * misc/sys/ioctl.h: Likewise.
24236 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24237 * sysdeps/mach/hurd/chdir.c: Likewise.
24238 * sysdeps/mach/hurd/fchdir.c: Likewise.
24239 * sysdeps/mach/hurd/rename.c: Likewise.
24240 * sysdeps/mach/hurd/rmdir.c: Likewise.
24241 * sysdeps/mach/hurd/seekdir.c: Likewise.
24242 * sysdeps/mach/hurd/setsid.c: Likewise.
24243 * sysdeps/posix/wait3.c: Likewise.
24245 * All files with FSF copyright notices: Update copyright dates
24246 using scripts/update-copyrights.
24247 * intl/plural.c: Regenerated.
24248 * locale/programs/charmap-kw.h: Likewise.
24249 * locale/programs/locfile-kw.h: Likewise.
24251 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24253 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24256 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24257 calculation loop and add branch prediction.
24259 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24260 check access beyond bounds of m1np.
24262 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24264 (__inv): Remove local variable MPTWO to use the global
24266 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24267 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24269 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24270 MP3HALFS static const.
24272 2013-01-01 David S. Miller <davem@davemloft.net>
24274 * po/ca.po: Update from translation team.
24276 2013-01-01 Joseph Myers <joseph@codesourcery.com>
24278 * scripts/update-copyrights: New file.
24279 * Makeconfig: Reformat copyright notice.
24280 * ctype/ctype.h: Likewise.
24281 * debug/swprintf_chk.c: Likewise.
24282 * elf/dl-cache.c: Likewise.
24283 * elf/dl-debug.c: Likewise.
24284 * elf/dl-object.c: Likewise.
24285 * grp/initgroups.c: Likewise.
24286 * hurd/Makefile: Likewise.
24287 * hurd/hurd/signal.h: Likewise.
24288 * hurd/hurdfault.c: Likewise.
24289 * hurd/hurdioctl.c: Likewise.
24290 * hurd/hurdlookup.c: Likewise.
24291 * hurd/intr-msg.c: Likewise.
24292 * iconv/gconv_open.c: Likewise.
24293 * libio/swprintf.c: Likewise.
24294 * locale/lc-ctype.c: Likewise.
24295 * locale/nl_langinfo.c: Likewise.
24296 * mach/Machrules: Likewise.
24297 * mach/Makefile: Likewise.
24298 * malloc/obstack.h: Likewise.
24299 * manual/Makefile: Likewise.
24300 * manual/tsort.awk: Likewise.
24301 * misc/bits/stab.def: Likewise.
24302 * nis/nis_print_group_entry.c: Likewise.
24303 * nis/nis_table.c: Likewise.
24304 * nis/nss_compat/compat-pwd.c: Likewise.
24305 * nis/nss_compat/compat-spwd.c: Likewise.
24306 * po/Makefile: Likewise.
24307 * posix/fnmatch.c: Likewise.
24308 * posix/regex.h: Likewise.
24309 * resolv/Makefile: Likewise.
24310 * resolv/nss_dns/dns-network.c: Likewise.
24311 * resolv/res_hconf.c: Likewise.
24312 * scripts/gen-sorted.awk: Likewise.
24313 * soft-fp/soft-fp.h: Likewise.
24314 * stdio-common/printf.h: Likewise.
24315 * stdlib/monetary.h: Likewise.
24316 * stdlib/random.c: Likewise.
24317 * stdlib/random_r.c: Likewise.
24318 * sysdeps/generic/Makefile: Likewise.
24319 * sysdeps/gnu/Makefile: Likewise.
24320 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24321 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24322 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24323 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24324 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24325 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24326 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24327 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24328 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24329 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24330 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24331 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24332 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24333 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24334 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24335 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24336 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24337 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24338 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24339 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24340 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24341 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24342 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24343 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24344 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24345 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24346 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24347 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24348 * sysdeps/mach/hurd/errnos.awk: Likewise.
24349 * sysdeps/mach/hurd/fork.c: Likewise.
24350 * sysdeps/mach/hurd/getcwd.c: Likewise.
24351 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24352 * sysdeps/mach/hurd/mmap.c: Likewise.
24353 * sysdeps/mach/hurd/utimes.c: Likewise.
24354 * sysdeps/mach/hurd/xmknod.c: Likewise.
24355 * sysdeps/posix/profil.c: Likewise.
24356 * sysdeps/posix/readdir_r.c: Likewise.
24357 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24358 * sysdeps/powerpc/bits/setjmp.h: Likewise.
24359 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24360 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24361 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24362 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24363 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24364 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24365 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24366 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24367 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24368 * sysdeps/pthread/lio_listio.c: Likewise.
24369 * sysdeps/sparc/dl-procinfo.h: Likewise.
24370 * sysdeps/unix/i386/sysdep.S: Likewise.
24371 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24372 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24373 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24374 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24376 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24377 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24378 * sysdeps/unix/sysv/linux/speed.c: Likewise.
24379 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24380 * sysdeps/wordsize-32/divdi3.c: Likewise.
24381 * time/sys/time.h: Likewise.
24382 * wcsmbs/Makefile: Likewise.
24384 2013-01-01 David S. Miller <davem@davemloft.net>
24386 * po/fr.po: Update from translation team.
24388 * catgets/gencat.c: Update copyright year.
24389 * csu/version.c: Likewise.
24390 * debug/catchsegv.sh: Likewise.
24391 * debug/pcprofiledump.c: Likewise.
24392 * debug/xtrace.sh: Likewise.
24393 * elf/ldconfig.c: Likewise.
24394 * elf/ldd.bash.in: Likewise.
24395 * elf/pldd.c: Likewise.
24396 * elf/sotruss.ksh: Likewise.
24397 * elf/sprof.c: Likewise.
24398 * iconv/iconv_prog.c: Likewise.
24399 * iconv/iconvconfig.c: Likewise.
24400 * locale/programs/locale.c: Likewise.
24401 * locale/programs/localedef.c: Likewise.
24402 * login/programs/pt_chown.c: Likewise.
24403 * malloc/memusage.sh: Likewise.
24404 * malloc/memusagestat.c: Likewise.
24405 * malloc/mtrace.pl: Likewise.
24406 * nscd/nscd.c: Likewise.
24407 * nss/getent.c: Likewise.
24408 * nss/makedb.c: Likewise.
24409 * posix/getconf.c: Likewise.
24411 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24413 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24416 2012-12-30 Mike Frysinger <vapier@gentoo.org>
24418 * math/bits/mathcalls.h (modf): Use __nonnull.
24420 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24422 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24423 (split): Use macro CN instead of the bare value.
24424 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24426 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24427 instead of the bare value.
24428 (power1): Likewise.
24430 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24432 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24434 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24436 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24438 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24439 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24440 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24441 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24443 2012-12-28 Andreas Jaeger <aj@suse.de>
24445 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
24446 values are from Linux 3.7.
24448 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24449 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
24451 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24453 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24456 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24458 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24459 variables with preprocessor constants.
24460 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24461 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24462 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24464 2012-12-27 Bruno Haible <bruno@clisp.org>
24467 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24470 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24472 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24473 and use variable directly.
24474 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24476 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24478 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24479 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24481 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24482 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24483 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24484 include directive. Remove local variable MPONE.
24485 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24486 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24487 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24489 2012-12-25 David S. Miller <davem@davemloft.net>
24491 * version.h (RELEASE): Set to "development".
24492 (VERSION): Set to "2.17.90".
24493 * NEWS: Add 2.18 section.
24495 2012-12-21 David S. Miller <davem@davemloft.net>
24497 * po/hr.po: Update from translation team.
24499 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24501 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24503 2012-12-19 Steve Ellcey <sellcey@mips.com>
24505 * NEWS: Mention new memcpy for MIPS.
24507 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24509 * manual/contrib.texi (Contributors): Spelling correction.
24511 2012-12-15 David S. Miller <davem@davemloft.net>
24513 * po/ru.po: Update from translation team.
24515 2012-12-13 David S. Miller <davem@davemloft.net>
24517 * NEWS: Mention IFUNC testsuite enhancements.
24519 * po/pl.po: Update from translation team.
24520 * po/bg.po: Likewise.
24522 * manual/contrib.texi (Contributors): Update entries for Hongjiu
24523 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
24525 2012-12-11 David S. Miller <davem@davemloft.net>
24527 * po/sv.po: Update from translation team.
24529 * po/vi.po: Update from translation team.
24531 * po/cs.po: Update from translation team.
24533 * po/de.po: Update from translation team.
24534 * po/eo.po: Likewise.
24535 * po/nl.po: Likewise.
24537 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24540 * manual/argp.texi (Argp Helper Functions): Move node to follow
24541 Argp Parsing State.
24544 * manual/conf.texi (Limits on File System Capacity): Mention if
24545 terminating null is included in the max size.
24547 2012-12-10 Andreas Jaeger <aj@suse.de>
24549 * po/cs.po: Update from translation team.
24551 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24553 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24554 void pointer and cast to uintptr_t.
24555 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24557 * sysdeps/s390/s390-64/memcpy.S: Likewise.
24558 * sysdeps/s390/s390-64/memset.S: Likewise.
24560 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
24563 * menual/message.texi (Message Translation): Fix typos.
24564 (Helper programs for gettext): Likewise.
24566 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
24569 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24572 2012-12-07 David S. Miller <davem@davemloft.net>
24574 * po/libc.pot: Update.
24576 2012-12-07 Richard Henderson <rth@redhat.com>
24579 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24580 normal/normal case to before the switch.
24581 (_FP_DIV): Likewise.
24583 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
24584 Mike Frysinger <vapier@gentoo.org>
24586 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24587 check for __NR_fadvise64_64.
24589 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
24591 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24592 0, not just to plain "0" as a statement.
24593 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24596 2012-12-06 Joseph Myers <joseph@codesourcery.com>
24598 * NEWS: Use sourceware.org in Bugzilla URL.
24600 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24603 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24605 * stdio-common/tst-put-error.c (do_test): Add newline to the
24606 padded test to ensure flush.
24608 2012-12-05 Jeff Law <law@redhat.com>
24610 * sunrpc/etc.rpc (fedfs_admin): Add entry.
24612 2012-12-05 Joseph Myers <joseph@codesourcery.com>
24614 * README: Don't refer to ports add-on as distributed separately.
24615 Mention AArch64 in list of systems supported in the ports add-on.
24617 * LICENSES: Add more non-FSF copyright and license notices.
24619 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24622 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24624 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24625 10000 as width of padded output.
24627 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24629 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24631 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24632 variable LX with __attribute__ ((unused)).
24633 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24635 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24636 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24637 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24638 with __attribute__ ((unused)).
24640 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
24642 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24644 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24646 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24647 (CFLAGS-nldbl-acos.c): New variable.
24648 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24649 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24650 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24651 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24652 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24653 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24654 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24655 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24656 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24657 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24658 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24659 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24660 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24661 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24662 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24663 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24664 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24665 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24666 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24667 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24668 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24669 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24670 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24671 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24672 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24673 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24674 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24675 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24676 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24677 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24678 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24679 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24680 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24681 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24682 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24683 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24684 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24685 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24686 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24687 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24688 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24689 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24690 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24691 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24692 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24693 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24694 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24695 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24696 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24697 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24698 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24699 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24700 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24701 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24702 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24703 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24704 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24705 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24706 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24707 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24708 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24709 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24710 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24711 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24712 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24713 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24714 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24715 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24716 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24717 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24718 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24719 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24720 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24721 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24722 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24723 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24724 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24725 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24726 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24727 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24728 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24729 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24730 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24731 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24732 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24733 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24734 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24735 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24736 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24737 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24738 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24739 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24740 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24741 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24742 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24743 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24744 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24747 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24750 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24751 whole low double instead of just low 47 bits when splitting values
24754 2012-12-03 Allan McRae <allan@archlinux.org>
24756 * manual/stdio.texi (Predefined Printf Handlers): Remove
24757 @hsep and @vsep usage.
24759 2012-12-03 Mike Frysinger <vapier@gentoo.org>
24761 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24762 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24764 2012-12-03 Jeff Law <law@redhat.com>
24766 * time/sys/time.h (settimeofday): Do not mark TV argument
24769 2012-12-01 Mike Frysinger <vapier@gentoo.org>
24771 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24772 when currently writing and seek to current position when not.
24773 * libio/Makefile (tests): Remove bug-fclose1.
24774 * libio/bug-fclose1.c: Delete.
24776 2012-12-01 Joseph Myers <joseph@codesourcery.com>
24778 * manual/arith.texi (feenableexcept): Fix typo.
24779 (fedisableexcept): Likewise.
24781 2012-11-30 Roland McGrath <roland@hack.frob.com>
24783 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24784 second, differently-typed declaration, rather than a cast.
24786 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24788 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24789 * include/rpc/svc.h: ... here.
24791 2012-11-30 Aurelien Jarno <aurel32@debian.org>
24794 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24795 depending n and resplen2 to catch cases where answer
24798 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
24800 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24801 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24803 2012-11-29 Mike Frysinger <vapier@gentoo.org>
24805 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24807 2012-11-29 Roland McGrath <roland@hack.frob.com>
24809 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24811 2012-11-28 Jeff Law <law@redhat.com>
24814 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24815 dataset_temporary. Track alloca usage into alloca_used.
24816 If dataset is large allocate and release it via malloc/free.
24818 2012-06-04 Florian Weimer <fweimer@redhat.com>
24821 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
24823 2012-11-28 David S. Miller <davem@davemloft.net>
24825 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24827 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24830 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
24831 of pi/2 rounded to nearest to 64 bits.
24832 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
24833 nearest to 64 bits.
24834 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24837 2012-11-28 Jeff Law <law@redhat.com>
24838 Martin Osvald <mosvald@redhat.com>
24841 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
24842 * sunrpc/svc.c: Include time.h.
24843 (__svc_accept_failed): New function.
24844 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
24845 any reason other than EINTR, call __svc_accept_failed.
24846 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
24847 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
24849 2012-11-28 Andreas Schwab <schwab@suse.de>
24851 * scripts/abilist.awk: Also handle indirect functions in .opd
24854 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24857 * sysdeps/x86/fpu/powl_helper.c: New file.
24858 * sysdeps/x86/fpu/Makefile: Likewise.
24859 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
24861 (__ieee754_powl): Use __powl_helper for finite arguments except
24862 integer exponents below 8.
24863 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
24865 (__ieee754_powl): Use __powl_helper for finite arguments except
24866 integer exponents below 8.
24867 * math/libm-test.inc (pow_test): Add more tests and enable some
24868 previously disabled tests.
24869 * sysdeps/i386/fpu/libm-test-ulps: Update.
24870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24872 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24873 Carlos O'Donell <carlos_odonell@mentor.com>
24875 * nss/makedb.c (is_prime): Assert that input is odd and greater
24876 than 4. Note that fact in a comment too.
24877 (next_prime): Add 4 to input.
24879 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24882 * libio/Makefile (tests): Add test case tst-fwrite-error.
24883 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
24884 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24885 * libio/tst-fwrite-error.c: New test case.
24887 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
24889 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
24890 before casting to void *.
24891 * include/libc-internal.h (__pointer_type): New macro.
24892 (__integer_if_pointer_type_sub): Likewise.
24893 (__integer_if_pointer_type): Likewise.
24894 (cast_to_integer): Likewise.
24895 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
24896 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
24897 before casting to atomic64_t.
24898 (atomic_exchange_acq): Likewise.
24899 (__arch_exchange_and_add_body): Likewise.
24900 (__arch_add_body): Likewise.
24901 (atomic_add_negative): Likewise.
24902 (atomic_add_zero): Likewise.
24904 2012-11-26 Joseph Myers <joseph@codesourcery.com>
24906 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
24907 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
24908 (add_fdes): Likewise.
24909 (linear_search_fdes): Likewise.
24910 (binary_search_unencoded_fdes): Likewise.
24912 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
24914 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
24916 2012-11-24 Adam Conrad <adconrad@0c3.net>
24918 * configure.in: Autodetect C++ header directories.
24919 * configure: Regenerated.
24921 2012-11-23 Mike Frysinger <vapier@gentoo.org>
24923 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
24925 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
24927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24929 2012-11-22 Joseph Myers <joseph@codesourcery.com>
24931 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
24932 LDBL_MANT_DIG == 106]: Disable some tests.
24933 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24935 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24939 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
24940 input for small inputs. Return +/- pi/2 for large inputs.
24941 * math/libm-test.inc (atan_test): Add more tests.
24943 * sysdeps/generic/unwind-dw2-fde-glibc.c
24944 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
24945 __attribute__ ((unused)).
24948 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
24949 x * y if x and y are nonzero and z is zero.
24952 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
24953 nonzero exponents with absolute value below 0x1p-117 to +/-
24957 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
24958 up arguments below 2**-450, not just those below 2**-500.
24959 * math/libm-test.inc (hypot_test): Add another test.
24962 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24963 Return a+b for ratio over 2**120, not 2**60.
24964 * math/libm-test.inc (hypot_test): Add another test.
24966 * math/libm-test.inc (clog_test): Use
24967 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24968 (clog10_test): Likewise.
24971 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
24973 2012-11-22 Andreas Schwab <schwab@suse.de>
24975 * sysdeps/i386/fpu/libm-test-ulps: Update.
24977 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
24979 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
24980 printf output with newline.
24982 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
24985 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
24986 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
24987 -z nodlopen, -z initfirst and -z execstack support.
24988 * configure: Regenerated.
24990 * elf/elf.h (DF_1_NODIRECT): New macro.
24991 (DF_1_IGNMULDEF): Likewise.
24992 (DF_1_NOKSYMS): Likewise.
24993 (DF_1_NOHDR): Likewise.
24994 (DF_1_EDITED): Likewise.
24995 (DF_1_NORELOC): Likewise.
24996 (DF_1_SYMINTPOSE): Likewise.
24997 (DF_1_GLOBAUDIT): Likewise.
24998 (DF_1_SINGLETON): Likewise.
24999 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25000 DT_1_SUPPORTED_MASK bits.
25001 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25003 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
25005 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25007 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
25009 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25012 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25013 (sendmmsg): Move declarations...
25014 * socket/sys/socket.h: ... here.
25015 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25016 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25018 * socket/recvmmsg.c: ... this new file.
25019 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25020 (sendmmsg): Rename to __sendmmsg, create weak alias and make
25021 definition of __sendmmsg hidden.
25022 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25023 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25024 Move ENOSYS stub into and include it from...
25025 * socket/sendmmsg.c: ... this new file.
25026 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25027 (sysdep_routines): Move recvmmsg and sendmmsg...
25028 * socket/Makefile (routines): ... here.
25029 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25030 (GLIBC_PRIVATE): Add __sendmmsg.
25031 * include/sys/socket.h (__sendmmsg): Add declarations.
25032 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25035 2012-11-20 Joseph Myers <joseph@codesourcery.com>
25037 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25038 variable I1 with __attribute__ ((unused)).
25039 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25041 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25043 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25044 DUMMY variables with __attribute__ ((unused)).
25046 * bits/byteswap.h: Include <bits/types.h>.
25047 (__bswap_64): Use __uint64_t instead of unsigned long long int.
25049 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25051 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25052 string_t. Do not manually set errno.
25053 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25054 length with __strnlen. Make sure to both set errno and return it on
25057 2012-11-19 David S. Miller <davem@davemloft.net>
25059 With help from Joseph Myers.
25060 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25061 very large arguments properly.
25062 * math/libm-test.inc (atan_test): New tests.
25063 (atan2_test): New tests.
25064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25065 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25067 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25070 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25073 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25074 [POSIX] (EADDRNOTAVAIL): Likewise.
25075 [POSIX] (EAFNOSUPPORT): Likewise.
25076 [POSIX] (EALREADY): Likewise.
25077 [POSIX] (ECONNABORTED): Likewise.
25078 [POSIX] (ECONNREFUSED): Likewise.
25079 [POSIX] (ECONNRESET): Likewise.
25080 [POSIX] (EDESTADDRREQ): Likewise.
25081 [POSIX] (EDQUOT): Likewise.
25082 [POSIX] (EHOSTUNREACH): Likewise.
25083 [POSIX] (EIDRM): Likewise.
25084 [POSIX] (EISCONN): Likewise.
25085 [POSIX] (ELOOP): Likewise.
25086 [POSIX] (EMULTIHOP): Likewise.
25087 [POSIX] (ENETDOWN): Likewise.
25088 [POSIX] (ENETUNREACH): Likewise.
25089 [POSIX] (ENOBUFS): Likewise.
25090 [POSIX] (ENODATA): Likewise.
25091 [POSIX] (ENOLINK): Likewise.
25092 [POSIX] (ENOMSG): Likewise.
25093 [POSIX] (ENOPROTOOPT): Likewise.
25094 [POSIX] (ENOSR): Likewise.
25095 [POSIX] (ENOSTR): Likewise.
25096 [POSIX] (ENOTCONN): Likewise.
25097 [POSIX] (ENOTSOCK): Likewise.
25098 [POSIX] (EOPNOTSUPP): Likewise.
25099 [POSIX] (EOVERFLOW): Likewise.
25100 [POSIX] (EPROTO): Likewise.
25101 [POSIX] (EPROTONOSUPPORT): Likewise.
25102 [POSIX] (EPROTOTYPE): Likewise.
25103 [POSIX] (ESTALE): Likewise.
25104 [POSIX] (ETIME): Likewise.
25105 [POSIX] (ETXTBSY): Likewise.
25106 [POSIX] (EWOULDBLOCK): Likewise.
25107 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25108 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25109 [POSIX] (SEEK_CUR): Likewise.
25110 [POSIX] (SEEK_END): Likewise.
25111 [POSIX || UNIX98] (mode_t): Do not require.
25112 [POSIX] (off_t): Likewise.
25113 [POSIX] (pid_t): Likewise.
25114 [POSIX] (sys/stat.h): Do not allow header.
25115 [POSIX] (unistd.h): Likewise.
25116 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25117 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25118 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25119 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25121 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25122 sigevent): Specify elements.
25123 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25125 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25126 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25128 * conform/data/cpio.h-data [POSIX]: Disable whole file.
25129 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25130 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25131 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25132 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25133 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25134 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25135 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25136 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25137 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25138 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25139 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25140 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25141 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25143 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25145 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25147 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25149 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25150 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25151 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25152 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25153 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25154 Specify lower bound on value.
25155 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25156 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25157 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25158 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25159 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25160 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25161 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25162 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25164 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25166 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25167 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25168 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25169 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25170 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25171 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25172 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25173 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25174 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25175 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25176 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25177 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25178 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25179 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25180 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25181 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25183 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25185 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25186 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25187 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25188 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25189 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25190 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25192 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25193 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25194 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25195 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25196 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
25197 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25198 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25200 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25201 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25202 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25203 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25204 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25205 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25206 specify as optional.
25207 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25208 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25209 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25210 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25211 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25212 [XPG3] (NL_LANGMAX): Likewise.
25213 [POSIX || XPG3] (NL_MSGMAX): Likewise.
25214 [POSIX || XPG3] (NL_NMAX): Likewise.
25215 [POSIX || XPG3] (NL_SETMAX): Likewise.
25216 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25217 [XPG3] (NZERO): Likewise.
25218 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25219 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25220 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25221 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25222 (REG_ERANGE): Expect.
25223 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25225 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25226 Use (void) in prototype.
25227 [POSIX] (*_t): Allow.
25228 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25229 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25230 (WRDE_BADVAL): Expect.
25232 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25234 [XPG3 || XPG4] (O_RSYNC): Likewise.
25235 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25237 [XPG3 || XPG4] (pthread_sigmask): Likewise.
25238 [XPG3 || XPG4] (sigqueue): Likewise.
25239 [XPG3 || XPG4] (sigtimedwait): Likewise.
25240 [XPG3 || XPG4] (sigwaitinfo): Likewise.
25241 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25242 [XPG3 || XPG4] (vsnprintf): Likewise.
25243 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25245 [XPG3 || XPG4] (blksize_t): Likewise.
25246 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25248 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25249 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25250 [XPG3 || XPG4] (struct itimerspec): Likewise.
25251 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25252 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25253 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25254 [XPG3 || XPG4] (clockid_t): Likewise.
25255 [XPG3 || XPG4] (timer_t): Likewise.
25256 [XPG3 || XPG4] (clock_getres): Likewise.
25257 [XPG3 || XPG4] (clock_gettime): Likewise.
25258 [XPG3 || XPG4] (clock_settime): Likewise.
25259 [XPG3 || XPG4] (nanosleep): Likewise.
25260 [XPG3 || XPG4] (timer_create): Likewise.
25261 [XPG3 || XPG4] (timer_delete): Likewise.
25262 [XPG3 || XPG4] (timer_gettime): Likewise.
25263 [XPG3 || XPG4] (timer_getoverrun): Likewise.
25264 [XPG3 || XPG4] (timer_settime): Likewise.
25265 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25266 [XPG3 || XPG4] (getlogin_r): Likewise.
25267 [XPG3 || XPG4] (pread): Likewise.
25268 [XPG3 || XPG4] (pthread_atfork): Likewise.
25269 [XPG3 || XPG4] (pwrite): Likewise.
25272 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25275 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25277 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25278 finalizing MALLSTREAM.
25280 * sysdeps/mach/hurd/syncfs.c: New file.
25282 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25285 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25286 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25287 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25288 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25289 (_nss_dns_gethostbyname4_r): Likewise.
25290 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25291 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25293 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
25296 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25298 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
25300 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25301 * elf/cache.c (print_entry): Print ",AArch64" for
25304 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25305 * elf/cache.c (print_entry): Print ",hard-float" for
25308 2012-11-18 David S. Miller <davem@davemloft.net>
25310 With help from Joseph Myers.
25311 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25313 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25315 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25316 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25318 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25319 * math/libm-test.inc (y0_test): New tests.
25320 (y1_test): New tests.
25321 * sysdeps/i386/fpu/libm-test-ulps: Update.
25322 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25325 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
25327 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25329 * configure: Regenerated.
25331 2012-11-17 David S. Miller <davem@davemloft.net>
25334 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25335 nonzero exponents with absolute value below 0x1p-128 to +/-
25338 2012-11-17 Joseph Myers <joseph@codesourcery.com>
25340 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25342 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25344 * posix/getconf-speclist.c: New file.
25345 * posix/posix-envs.def: Likewise.
25346 * posix/confstr.c (START_ENV_GROUP): New macro.
25347 (END_ENV_GROUP): Likewise.
25348 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25349 (KNOWN_PRESENT_ENV_STRING): Likewise.
25350 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25351 (UNKNOWN_ENVIRONMENT): Likewise.
25352 (confstr): Include posix-envs.def instead of handling
25353 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25354 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25355 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25356 (END_ENV_GROUP): Likewise.
25357 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25358 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25359 (UNKNOWN_ENVIRONMENT): Likewise.
25360 (__sysconf): Include posix-envs.def instead of handling associated
25361 cases directly here.
25362 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25363 preprocessing getconf-speclist.c rather than running getconf or
25364 generating empty file.
25366 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
25368 * scripts/check-local-headers.sh: Ignore 'mach' headers.
25370 2012-11-16 Andrej Lajovic <natrij@gmail.com>
25373 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25375 2012-11-16 David S. Miller <davem@davemloft.net>
25377 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25378 smaller than LDBL_EPSILON/2.0L, just return xm1.
25380 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
25382 * elf/tst-array1.c (init): Set constructor priority to 1000.
25383 (fini): Set destructor priority to 1000.
25384 * elf/tst-array2dep.c: Likewise.
25386 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25389 * libio/fileops.c (_IO_new_file_write): Correctly return error.
25390 (_IO_new_file_xsputn): Also return EOF if none of the input
25391 data was written when overflow failed.
25392 * libio/iopadn.c (_IO_padn): Likewise.
25393 * libio/iowpadn.c (_IO_wpadn): Likewise.
25394 * stdio-common/tst-put-error.c: Add copyright notice.
25395 (do_test): Add case for printing padded string.
25396 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25397 _IO_padn returned error.
25398 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25399 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25402 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25404 * libio/libioP.h: Add comment note that the references to C++
25405 bits are now obsolete.
25407 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25409 * math/libm-test.inc (check_complex): Use asprintf.
25411 2012-11-14 Joseph Myers <joseph@codesourcery.com>
25413 * debug/pcprofiledump.c (print_version): Update copyright year.
25414 * malloc/memusagestat.c (print_version): Likewise.
25416 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
25419 * elf/Makefile (tests): Add tst-audit8.
25420 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25421 ($(objpfx)tst-audit8.out): New target.
25422 (tst-audit8-ENV): New variable.
25423 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25424 audit if l_reloc_result is NULL.
25425 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25426 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25427 * elf/tst-audit8.c: New file.
25429 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25431 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25432 * misc/Makefile (CFLAGS-select.c): Define.
25433 * posix/Makefile (CFLAGS-pause.c): Define.
25435 2012-11-13 David S. Miller <davem@davemloft.net>
25437 * crypt/Makefile: Move test targets after toplevel Rules
25438 inclusion. Grab any necessary sysdep routines when linking.
25439 * crypt/md5.c (md5_process_block): Remove define, we will always
25440 name it __md5_process_block.
25441 (md5_finish_ctx): Update md5_process_block call.
25442 (md5_stream): Likewise.
25443 (md5_process_bytes): Likewise.
25444 (md5_process_block): Rename to __md5_process_block and move to ...
25445 * crypt/md5-block.c: ... here.
25446 * crypt/sha256.c (sha256_process_block): Move to ...
25447 * crypt/sha256-block.c: ... here.
25448 * crypt/sha512.c (sha512_process_block): Move to ...
25449 * crypt/sha512-block.c: ... here.
25450 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25452 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25453 * sysdeps/sparc/sparc64/multiarch/Makefile
25454 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25456 (localedef-aux): Add md5 crypto assembler when in locale subdir.
25457 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25459 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25460 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25461 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25462 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25463 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25464 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25465 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25466 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25467 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25469 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25470 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25472 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25474 2012-11-13 Joseph Myers <joseph@codesourcery.com>
25476 * timezone/tzselect.ksh: Update from tzcode git revision
25477 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25478 * timezone/zdump.c: Likewise.
25479 * timezone/zic.c: Likewise.
25480 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25481 in TZVERSION setting, not $(PKGVERSION).
25482 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
25483 REPORT_BUGS_TO settings.
25486 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25489 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25491 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25492 detection to immediately after _FP_ROUND().
25493 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25496 2012-11-11 David S. Miller <davem@davemloft.net>
25498 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25500 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25501 __close rather than their public counterparts.
25503 2012-11-10 Joseph Myers <joseph@codesourcery.com>
25505 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25507 [UNIX98] (sem_timedwait): Do not expect.
25508 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25509 [XPG4 || UNIX98] (sockatmark): Do not expect.
25510 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25511 (clock_getcpuclockid): Do not expect.
25512 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25513 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25515 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25516 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25517 [UNIX98] (vwscanf): Likewise.
25518 [UNIX98] (vswscanf): Likewise.
25520 2012-11-09 Joseph Myers <joseph@codesourcery.com>
25522 * timezone/version.h: Remove file.
25523 * timezone/README: Do not refer to version.h.
25524 * timezone/Makefile ($(objpfx)zic.o): New dependency on
25525 $(objpfx)version.h.
25526 ($(objpfx)zdump.o): Likewise.
25527 ($(objpfx)version.h): New target.
25529 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25531 * timezone/README: Don't mention modification to tzselect.ksh.
25532 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25533 work on unmodified tzselect.ksh. Substitute version numbers in
25536 * Makefile (format-me): Remove.
25537 (INSTALL): Adjust indentation. Use commands directly instead of
25538 using $(format-me).
25540 * aclocal.m4 (ACX_PKGVERSION): New macro.
25541 (ACX_BUGURL): Likewise.
25542 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25543 (PKGVERSION): New AC_DEFINE_UNQUOTED.
25544 (REPORT_BUGS_TO): Likewise.
25545 * configure: Regenerated.
25546 * config.h.in (PKGVERSION): New macro.
25547 (REPORT_BUGS_TO): Likewise.
25548 * config.make.in (PKGVERSION): New variable.
25549 (PKGVERSION_TEXI): Likewise.
25550 (REPORT_BUGS_TO): Likewise.
25551 (REPORT_BUGS_TEXI): Likewise.
25552 * Makefile (format-me): Use -I$(common-objpfx)manual.
25553 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25554 ($(common-objpfx)manual/%): New target.
25555 (manual/%): Remove target.
25556 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25557 (print_version): Use PKGVERSION.
25558 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25559 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25560 and REPORT_BUGS_TO.
25561 ($(objpfx)xtrace): Likewise.
25562 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25563 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25564 (print_version): Use PKGVERSION.
25565 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25566 (do_version): Use PKGVERSION.
25567 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25569 (common-ldd-rewrite): Likewise.
25570 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25571 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25572 (print_version): Use PKGVERSION.
25573 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25574 * elf/pldd.c (argp_program_bug_address): Remove variable.
25575 (more_help): New function.
25576 (argp): Use more_help.
25577 (print_version): Use PKGVERSION.
25578 * elf/sln.c (main): Use PKGVERSION.
25579 (usage): Use REPORT_BUGS_TO.
25580 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25581 (top level): Use PKGVERSION.
25582 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25583 (print_version): Use PKGVERSION.
25584 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25585 (print_version): Use PKGVERSION.
25586 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25587 (print_version): Use PKGVERSION.
25588 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25589 (print_version): Use PKGVERSION.
25590 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25591 (print_version): Use PKGVERSION.
25592 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25593 (print_version): Use PKGVERSION.
25594 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25596 ($(objpfx)memusage): Likewise.
25597 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25598 (do_version): Use PKGVERSION.
25599 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25600 (print_version): Use PKGVERSION.
25601 * malloc/mtrace.pl ($PACKAGE): Remove variable.
25602 ($PKGVERSION): New variable.
25603 ($REPORT_BUGS_TO): Likewise.
25604 (usage): Use $REPORT_BUGS_TO.
25605 (top level): Use $PKGVERSION.
25606 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25607 ($(objpfx)pkgvers.texi): New rule.
25608 ($(objpfx)stamp-pkgvers): Likewise.
25609 * manual/install.texi: Include pkgvers.texi.
25610 (--with-pkgversion): Document new configure option.
25611 (--with-bugurl): Likewise.
25612 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25613 than necessarily for this particular distribution. Use
25614 REPORT_BUGS_TO for where to report bugs.
25615 * INSTALL: Regenerated.
25616 * manual/libc.texinfo: Include pkgvers.texi.
25617 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25618 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25619 (print_version): Use PKGVERSION.
25620 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25621 (print_version): Use PKGVERSION.
25622 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25623 (print_version): Use PKGVERSION.
25624 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25625 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25627 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25628 (print_version): Use PKGVERSION.
25629 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25630 (print_version): Use PKGVERSION.
25631 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25634 * timezone/checktab.awk: Update from tzcode 2012i.
25635 * timezone/ialloc.c: Likewise.
25636 * timezone/private.h: Likewise.
25637 * timezone/scheck.c: Likewise.
25638 * timezone/tzfile.h: Likewise.
25639 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25640 (TZVERSION): Hardcode tzcode version number.
25641 * timezone/zdump.c: Update from tzcode 2012i.
25642 * timezone/zic.c: Likewise.
25643 * timezone/version.h: New file.
25644 * timezone/README: Describe version.h. Update upstream location.
25647 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25648 (mktemp): Enable declaration.
25649 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25650 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25651 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25652 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25654 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25656 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25658 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25660 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25662 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25666 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25667 offset in buffer as u_int32_t not u_long. Consistently use memcpy
25668 for copies of such integer values.
25669 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25670 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25672 2012-11-09 Andreas Jaeger <aj@suse.de>
25674 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25675 definitions and declarations that are provided by
25676 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25678 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25680 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25681 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25682 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25685 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25687 * elf/elf.h: Update comment before AArch64 relocations.
25689 2012-11-07 David S. Miller <davem@davemloft.net>
25691 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25692 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25693 (__start_context): Declare.
25694 (__makecontext_ret): Delete.
25695 (__makecontext): Hook up __start_context instead of
25697 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25698 (sysdep_routines): Add __start_context when in stdlib.
25700 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25702 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25703 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25704 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
25706 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
25707 (READELF): New variable. Use it instead of hardcoded "readelf".
25709 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
25711 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25712 * sysdeps/x86/Makefile: Here.
25713 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25714 * sysdeps/x86/tst-xmmymm.sh: This.
25716 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25718 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25720 [UNIX98] (pthread_barrier_t): Do not expect.
25721 [UNIX98] (pthread_barrierattr_t): Likewise.
25722 [UNIX98] (pthread_spinlock_t): Likewise.
25723 [UNIX98] (pthread_barrier_destroy): Likewise.
25724 [UNIX98] (pthread_barrier_init): Likewise.
25725 [UNIX98] (pthread_barrier_wait): Likewise.
25726 [UNIX98] (pthread_barrierattr_destroy): Likewise.
25727 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25728 [UNIX98] (pthread_barrierattr_init): Likewise.
25729 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25730 [UNIX98] (pthread_getcpuclockid): Likewise.
25731 [UNIX98] (pthread_mutex_timedlock): Likewise.
25732 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25733 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25734 [UNIX98] (pthread_sigmask): Likewise.
25735 [UNIX98] (pthread_spin_destroy): Likewise.
25736 [UNIX98] (pthread_spin_init): Likewise.
25737 [UNIX98] (pthread_spin_lock): Likewise.
25738 [UNIX98] (pthread_spin_trylock): Likewise.
25739 [UNIX98] (pthread_spin_unlock): Likewise.
25740 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25742 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25743 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25744 [XPG3 || XPG4] (pthread_cond_t): Likewise.
25745 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25746 [XPG3 || XPG4] (pthread_key_t): Likewise.
25747 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25748 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25749 [XPG3 || XPG4] (pthread_once_t): Likewise.
25750 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25751 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25752 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25753 [XPG3 || XPG4] (pthread_t): Likewise.
25755 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25757 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25759 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25760 Change function return type to int.
25762 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25763 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25764 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25765 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25766 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25767 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25768 [!POSIX] (posix_madvise): Likewise.
25769 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25771 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25772 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25773 (mode_t): Likewise.
25774 (posix_mem_offset): Likewise.
25775 (posix_typed_mem_get_info): Likewise.
25776 (posix_typed_mem_open): Likewise.
25778 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25779 Change condition to [XOPEN2K8].
25781 * conform/conformtest.pl: Preprocess allow-header data with -x c
25782 instead of from stdin.
25783 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25784 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25785 [C99-based standards] (cerfc): Likewise.
25786 [C99-based standards] (cexp2): Likewise.
25787 [C99-based standards] (cexpm1): Likewise.
25788 [C99-based standards] (clog10): Likewise.
25789 [C99-based standards] (clog1p): Likewise.
25790 [C99-based standards] (clog2): Likewise.
25791 [C99-based standards] (clgamma): Likewise.
25792 [C99-based standards] (ctgamma): Likewise.
25793 [C99-based standards] (cerff): Likewise.
25794 [C99-based standards] (cerfcf): Likewise.
25795 [C99-based standards] (cexp2f): Likewise.
25796 [C99-based standards] (cexpm1f): Likewise.
25797 [C99-based standards] (clog10f): Likewise.
25798 [C99-based standards] (clog1pf): Likewise.
25799 [C99-based standards] (clog2f): Likewise.
25800 [C99-based standards] (clgammaf): Likewise.
25801 [C99-based standards] (ctgammaf): Likewise.
25802 [C99-based standards] (cerfl): Likewise.
25803 [C99-based standards] (cerfcl): Likewise.
25804 [C99-based standards] (cexp2l): Likewise.
25805 [C99-based standards] (cexpm1l): Likewise.
25806 [C99-based standards] (clog10l): Likewise.
25807 [C99-based standards] (clog1pl): Likewise.
25808 [C99-based standards] (clog2l): Likewise.
25809 [C99-based standards] (clgammal): Likewise.
25810 [C99-based standards] (ctgammal): Likewise.
25811 * conform/data/inttypes.h-data [C99-based standards]: Include
25812 stdint.h-data. Remove all expectations for stdint.h contents.
25813 [C99-based standards] (PRI*): Do not allow.
25814 [C99-based standards] (SCN*): Likewise.
25815 [C99-based standards] (*_t): Likewise.
25816 [C99-based-standards] (PRId8): Expect macro.
25817 [C99-based-standards] (PRIi8): Likewise.
25818 [C99-based-standards] (PRIo8): Likewise.
25819 [C99-based-standards] (PRIu8): Likewise.
25820 [C99-based-standards] (PRIx8): Likewise.
25821 [C99-based-standards] (PRIX8): Likewise.
25822 [C99-based-standards] (SCNd8): Likewise.
25823 [C99-based-standards] (SCNi8): Likewise.
25824 [C99-based-standards] (SCNo8): Likewise.
25825 [C99-based-standards] (SCNu8): Likewise.
25826 [C99-based-standards] (SCNx8): Likewise.
25827 [C99-based-standards] (PRIdLEAST8): Likewise.
25828 [C99-based-standards] (PRIiLEAST8): Likewise.
25829 [C99-based-standards] (PRIoLEAST8): Likewise.
25830 [C99-based-standards] (PRIuLEAST8): Likewise.
25831 [C99-based-standards] (PRIxLEAST8): Likewise.
25832 [C99-based-standards] (PRIXLEAST8): Likewise.
25833 [C99-based-standards] (SCNdLEAST8): Likewise.
25834 [C99-based-standards] (SCNiLEAST8): Likewise.
25835 [C99-based-standards] (SCNoLEAST8): Likewise.
25836 [C99-based-standards] (SCNuLEAST8): Likewise.
25837 [C99-based-standards] (SCNxLEAST8): Likewise.
25838 [C99-based-standards] (PRIdFAST8): Likewise.
25839 [C99-based-standards] (PRIiFAST8): Likewise.
25840 [C99-based-standards] (PRIoFAST8): Likewise.
25841 [C99-based-standards] (PRIuFAST8): Likewise.
25842 [C99-based-standards] (PRIxFAST8): Likewise.
25843 [C99-based-standards] (PRIXFAST8): Likewise.
25844 [C99-based-standards] (SCNdFAST8): Likewise.
25845 [C99-based-standards] (SCNiFAST8): Likewise.
25846 [C99-based-standards] (SCNoFAST8): Likewise.
25847 [C99-based-standards] (SCNuFAST8): Likewise.
25848 [C99-based-standards] (SCNxFAST8): Likewise.
25849 [C99-based-standards] (PRId16): Likewise.
25850 [C99-based-standards] (PRIi16): Likewise.
25851 [C99-based-standards] (PRIo16): Likewise.
25852 [C99-based-standards] (PRIu16): Likewise.
25853 [C99-based-standards] (PRIx16): Likewise.
25854 [C99-based-standards] (PRIX16): Likewise.
25855 [C99-based-standards] (SCNd16): Likewise.
25856 [C99-based-standards] (SCNi16): Likewise.
25857 [C99-based-standards] (SCNo16): Likewise.
25858 [C99-based-standards] (SCNu16): Likewise.
25859 [C99-based-standards] (SCNx16): Likewise.
25860 [C99-based-standards] (PRIdLEAST16): Likewise.
25861 [C99-based-standards] (PRIiLEAST16): Likewise.
25862 [C99-based-standards] (PRIoLEAST16): Likewise.
25863 [C99-based-standards] (PRIuLEAST16): Likewise.
25864 [C99-based-standards] (PRIxLEAST16): Likewise.
25865 [C99-based-standards] (PRIXLEAST16): Likewise.
25866 [C99-based-standards] (SCNdLEAST16): Likewise.
25867 [C99-based-standards] (SCNiLEAST16): Likewise.
25868 [C99-based-standards] (SCNoLEAST16): Likewise.
25869 [C99-based-standards] (SCNuLEAST16): Likewise.
25870 [C99-based-standards] (SCNxLEAST16): Likewise.
25871 [C99-based-standards] (PRIdFAST16): Likewise.
25872 [C99-based-standards] (PRIiFAST16): Likewise.
25873 [C99-based-standards] (PRIoFAST16): Likewise.
25874 [C99-based-standards] (PRIuFAST16): Likewise.
25875 [C99-based-standards] (PRIxFAST16): Likewise.
25876 [C99-based-standards] (PRIXFAST16): Likewise.
25877 [C99-based-standards] (SCNdFAST16): Likewise.
25878 [C99-based-standards] (SCNiFAST16): Likewise.
25879 [C99-based-standards] (SCNoFAST16): Likewise.
25880 [C99-based-standards] (SCNuFAST16): Likewise.
25881 [C99-based-standards] (SCNxFAST16): Likewise.
25882 [C99-based-standards] (PRId32): Likewise.
25883 [C99-based-standards] (PRIi32): Likewise.
25884 [C99-based-standards] (PRIo32): Likewise.
25885 [C99-based-standards] (PRIu32): Likewise.
25886 [C99-based-standards] (PRIx32): Likewise.
25887 [C99-based-standards] (PRIX32): Likewise.
25888 [C99-based-standards] (SCNd32): Likewise.
25889 [C99-based-standards] (SCNi32): Likewise.
25890 [C99-based-standards] (SCNo32): Likewise.
25891 [C99-based-standards] (SCNu32): Likewise.
25892 [C99-based-standards] (SCNx32): Likewise.
25893 [C99-based-standards] (PRIdLEAST32): Likewise.
25894 [C99-based-standards] (PRIiLEAST32): Likewise.
25895 [C99-based-standards] (PRIoLEAST32): Likewise.
25896 [C99-based-standards] (PRIuLEAST32): Likewise.
25897 [C99-based-standards] (PRIxLEAST32): Likewise.
25898 [C99-based-standards] (PRIXLEAST32): Likewise.
25899 [C99-based-standards] (SCNdLEAST32): Likewise.
25900 [C99-based-standards] (SCNiLEAST32): Likewise.
25901 [C99-based-standards] (SCNoLEAST32): Likewise.
25902 [C99-based-standards] (SCNuLEAST32): Likewise.
25903 [C99-based-standards] (SCNxLEAST32): Likewise.
25904 [C99-based-standards] (PRIdFAST32): Likewise.
25905 [C99-based-standards] (PRIiFAST32): Likewise.
25906 [C99-based-standards] (PRIoFAST32): Likewise.
25907 [C99-based-standards] (PRIuFAST32): Likewise.
25908 [C99-based-standards] (PRIxFAST32): Likewise.
25909 [C99-based-standards] (PRIXFAST32): Likewise.
25910 [C99-based-standards] (SCNdFAST32): Likewise.
25911 [C99-based-standards] (SCNiFAST32): Likewise.
25912 [C99-based-standards] (SCNoFAST32): Likewise.
25913 [C99-based-standards] (SCNuFAST32): Likewise.
25914 [C99-based-standards] (SCNxFAST32): Likewise.
25915 [C99-based-standards] (PRId64): Likewise.
25916 [C99-based-standards] (PRIi64): Likewise.
25917 [C99-based-standards] (PRIo64): Likewise.
25918 [C99-based-standards] (PRIu64): Likewise.
25919 [C99-based-standards] (PRIx64): Likewise.
25920 [C99-based-standards] (PRIX64): Likewise.
25921 [C99-based-standards] (SCNd64): Likewise.
25922 [C99-based-standards] (SCNi64): Likewise.
25923 [C99-based-standards] (SCNo64): Likewise.
25924 [C99-based-standards] (SCNu64): Likewise.
25925 [C99-based-standards] (SCNx64): Likewise.
25926 [C99-based-standards] (PRIdLEAST64): Likewise.
25927 [C99-based-standards] (PRIiLEAST64): Likewise.
25928 [C99-based-standards] (PRIoLEAST64): Likewise.
25929 [C99-based-standards] (PRIuLEAST64): Likewise.
25930 [C99-based-standards] (PRIxLEAST64): Likewise.
25931 [C99-based-standards] (PRIXLEAST64): Likewise.
25932 [C99-based-standards] (SCNdLEAST64): Likewise.
25933 [C99-based-standards] (SCNiLEAST64): Likewise.
25934 [C99-based-standards] (SCNoLEAST64): Likewise.
25935 [C99-based-standards] (SCNuLEAST64): Likewise.
25936 [C99-based-standards] (SCNxLEAST64): Likewise.
25937 [C99-based-standards] (PRIdFAST64): Likewise.
25938 [C99-based-standards] (PRIiFAST64): Likewise.
25939 [C99-based-standards] (PRIoFAST64): Likewise.
25940 [C99-based-standards] (PRIuFAST64): Likewise.
25941 [C99-based-standards] (PRIxFAST64): Likewise.
25942 [C99-based-standards] (PRIXFAST64): Likewise.
25943 [C99-based-standards] (SCNdFAST64): Likewise.
25944 [C99-based-standards] (SCNiFAST64): Likewise.
25945 [C99-based-standards] (SCNoFAST64): Likewise.
25946 [C99-based-standards] (SCNuFAST64): Likewise.
25947 [C99-based-standards] (SCNxFAST64): Likewise.
25948 [C99-based-standards] (PRIdMAX): Likewise.
25949 [C99-based-standards] (PRIiMAX): Likewise.
25950 [C99-based-standards] (PRIoMAX): Likewise.
25951 [C99-based-standards] (PRIuMAX): Likewise.
25952 [C99-based-standards] (PRIxMAX): Likewise.
25953 [C99-based-standards] (PRIXMAX): Likewise.
25954 [C99-based-standards] (SCNdMAX): Likewise.
25955 [C99-based-standards] (SCNiMAX): Likewise.
25956 [C99-based-standards] (SCNoMAX): Likewise.
25957 [C99-based-standards] (SCNuMAX): Likewise.
25958 [C99-based-standards] (SCNxMAX): Likewise.
25959 [C99-based-standards] (PRIdPTR): Likewise.
25960 [C99-based-standards] (PRIiPTR): Likewise.
25961 [C99-based-standards] (PRIoPTR): Likewise.
25962 [C99-based-standards] (PRIuPTR): Likewise.
25963 [C99-based-standards] (PRIxPTR): Likewise.
25964 [C99-based-standards] (PRIXPTR): Likewise.
25965 [C99-based-standards] (SCNdPTR): Likewise.
25966 [C99-based-standards] (SCNiPTR): Likewise.
25967 [C99-based-standards] (SCNoPTR): Likewise.
25968 [C99-based-standards] (SCNuPTR): Likewise.
25969 [C99-based-standards] (SCNxPTR): Likewise.
25970 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
25972 * conform/data/stdint.h-data: Update comments to clarify
25974 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
25976 [C99-based standards] (INT8_MAX): Likewise.
25977 [C99-based standards] (INT16_MIN): Likewise.
25978 [C99-based standards] (INT16_MAX): Likewise.
25979 [C99-based standards] (INT32_MIN): Likewise.
25980 [C99-based standards] (INT32_MAX): Likewise.
25981 [C99-based standards] (INT64_MIN): Likewise.
25982 [C99-based standards] (INT64_MAX): Likewise.
25983 [C99-based standards] (UINT8_MAX): Likewise.
25984 [C99-based standards] (UINT16_MAX): Likewise.
25985 [C99-based standards] (UINT32_MAX): Likewise.
25986 [C99-based standards] (UINT64_MAX): Likewise.
25987 [C99-based standards] (INT_LEAST8_MIN): Likewise.
25988 [C99-based standards] (INT_LEAST8_MAX): Likewise.
25989 [C99-based standards] (INT_LEAST16_MIN): Likewise.
25990 [C99-based standards] (INT_LEAST16_MAX): Likewise.
25991 [C99-based standards] (INT_LEAST32_MIN): Likewise.
25992 [C99-based standards] (INT_LEAST32_MAX): Likewise.
25993 [C99-based standards] (INT_LEAST64_MIN): Likewise.
25994 [C99-based standards] (INT_LEAST64_MAX): Likewise.
25995 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
25996 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25997 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25998 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25999 [C99-based standards] (INT_FAST8_MIN): Likewise.
26000 [C99-based standards] (INT_FAST8_MAX): Likewise.
26001 [C99-based standards] (INT_FAST16_MIN): Likewise.
26002 [C99-based standards] (INT_FAST16_MAX): Likewise.
26003 [C99-based standards] (INT_FAST32_MIN): Likewise.
26004 [C99-based standards] (INT_FAST32_MAX): Likewise.
26005 [C99-based standards] (INT_FAST64_MIN): Likewise.
26006 [C99-based standards] (INT_FAST64_MAX): Likewise.
26007 [C99-based standards] (UINT_FAST8_MAX): Likewise.
26008 [C99-based standards] (UINT_FAST16_MAX): Likewise.
26009 [C99-based standards] (UINT_FAST32_MAX): Likewise.
26010 [C99-based standards] (UINT_FAST64_MAX): Likewise.
26011 [C99-based standards] (INTPTR_MIN): Likewise.
26012 [C99-based standards] (INTPTR_MAX): Likewise.
26013 [C99-based standards] (UINTPTR_MAX): Likewise.
26014 [C99-based standards] (INTMAX_MIN): Likewise.
26015 [C99-based standards] (INTMAX_MAX): Likewise.
26016 [C99-based standards] (UINTMAX_MAX): Likewise.
26017 [C99-based standards] (PTRDIFF_MIN): Likewise.
26018 [C99-based standards] (PTRDIFF_MAX): Likewise.
26019 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26020 [C99-based standards] (SIZE_MAX): Likewise.
26021 [C99-based standards] (WCHAR_MAX): Likewise.
26022 [C99-based standards] (WINT_MAX): Likewise.
26023 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
26024 constraint on value.
26025 [C99-based standards] (WCHAR_MIN): Likewise.
26026 [C99-based standards] (WINT_MIN): Likewise.
26027 [C99-based standards] (*_t): Allow.
26028 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26029 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26030 Include math.h-data and complex.h-data. Remove all expectations
26031 of math.h and complex.h contents.
26032 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26034 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26035 (struct tm): Expect tag.
26036 [C99-based-standards] (wcstof): Expect function.
26037 [C99-based-standards] (wcstold): Likewise.
26038 [C99-based-standards] (wcstoll): Likewise.
26039 [C99-based-standards] (wcstoull): Likewise.
26040 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26041 macro-int-constant. Specify type.
26042 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
26043 constraint on value.
26044 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26046 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26048 [ISO C standards]: Do not allow headers.
26049 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26050 wcs[abcdefghijklmnopqrstuvwxyz]*.
26051 [ISO C standards] (*_t): Do not allow.
26052 * conform/data/wctype.h-data [C99-based standards] (iswblank):
26054 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26055 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26057 [ISO C standards]: Do not allow headers.
26058 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26059 is[abcdefghijklmnopqrstuvwxyz]*.
26060 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26061 to[abcdefghijklmnopqrstuvwxyz]*.
26062 [ISO C standards] (*_t): Do not allow.
26063 * conform/data/stdalign.h-data: New file.
26064 * conform/data/stdbool.h-data: Likewise.
26065 * conform/data/stdnoreturn.h-data: Likewise.
26067 2012-11-07 Roland McGrath <roland@hack.frob.com>
26070 * manual/filesys.texi (Directory Entries): Typo fix.
26071 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26073 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26075 * elf/elf.h (EM_AARCH64): New macro.
26076 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26077 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26078 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26079 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26080 (R_AARCH64_TLSDESC): Likewise.
26081 (NT_ARM_TLS): Likewise.
26082 (NT_ARM_HW_BREAK): Likewise.
26083 (NT_ARM_HW_WATCH): Likewise.
26085 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26088 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26089 (__ieee754_powl): Saturate nonzero exponents with absolute value
26090 below 0x1p-79 to +/- 0x1p-79.
26091 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26092 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26093 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26094 nonzero exponents with absolute value below 0x1p-32 to +/-
26096 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26097 (__ieee754_powl): Saturate nonzero exponents with absolute value
26098 below 0x1p-79 to +/- 0x1p-79.
26099 * math/libm-test.inc (pow_test): Add more tests.
26101 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26103 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26104 _dl_s390_cap_flags with kernel. Increase string length.
26105 (_dl_s390_platforms): Add z196 and zEC12.
26107 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26109 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26110 Change XOPEN21K to XOPEN2K.
26112 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26114 * string/memmove.c: Use memcpy when possible.
26116 2012-11-06 Andreas Jaeger <aj@suse.de>
26118 * po/eo.po: Update from translation team.
26120 2012-11-06 Joseph Myers <joseph@codesourcery.com>
26123 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26124 exponent and small x and y exponents, scale x or y up. Increase
26125 by 2 the exponent used in scaling up.
26126 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26127 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26128 * math/libm-test.inc (fma_test): Add more tests.
26129 (fma_test_towardzero): Likewise.
26130 (fma_test_downward): Likewise.
26131 (fma_test_upward): Likewise.
26133 2012-11-05 Joseph Myers <joseph@codesourcery.com>
26136 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26140 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26141 namespace for names of struct fields.
26142 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26144 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26145 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26147 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26150 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26152 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26154 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26158 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26161 2012-11-04 Joseph Myers <joseph@codesourcery.com>
26164 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26165 definitely overflow as x * y not x * y + z.
26166 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26167 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26168 * math/libm-test.inc (fma_test): Add more tests.
26169 (fma_test_towardzero): Likewise.
26170 (fma_test_downward): Likewise.
26171 (fma_test_upward): Likewise.
26173 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26177 * include/stub-tag.h: Remove file.
26178 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26180 * manual/maint.texi (Porting): Don't reference it.
26181 * Makerules ($(objpfx)stubs): Likewise.
26182 * dirent/closedir.c: Don't include <stub-tag.h>.
26183 * dirent/dirfd.c: Likewise.
26184 * dirent/fdopendir.c: Likewise.
26185 * dirent/getdents.c: Likewise.
26186 * dirent/getdents64.c: Likewise.
26187 * dirent/opendir.c: Likewise.
26188 * dirent/readdir.c: Likewise.
26189 * dirent/readdir64.c: Likewise.
26190 * dirent/readdir64_r.c: Likewise.
26191 * dirent/readdir_r.c: Likewise.
26192 * dirent/rewinddir.c: Likewise.
26193 * dirent/seekdir.c: Likewise.
26194 * dirent/telldir.c: Likewise.
26195 * gmon/profil.c: Likewise.
26196 * grp/setgroups.c: Likewise.
26197 * inet/if_index.c: Likewise.
26198 * io/access.c: Likewise.
26199 * io/chdir.c: Likewise.
26200 * io/chmod.c: Likewise.
26201 * io/chown.c: Likewise.
26202 * io/close.c: Likewise.
26203 * io/dup.c: Likewise.
26204 * io/dup2.c: Likewise.
26205 * io/dup3.c: Likewise.
26206 * io/euidaccess.c: Likewise.
26207 * io/faccessat.c: Likewise.
26208 * io/fchdir.c: Likewise.
26209 * io/fchmod.c: Likewise.
26210 * io/fchmodat.c: Likewise.
26211 * io/fchown.c: Likewise.
26212 * io/fchownat.c: Likewise.
26213 * io/fcntl.c: Likewise.
26214 * io/flock.c: Likewise.
26215 * io/fstatfs.c: Likewise.
26216 * io/fstatfs64.c: Likewise.
26217 * io/fstatvfs.c: Likewise.
26218 * io/fstatvfs64.c: Likewise.
26219 * io/futimens.c: Likewise.
26220 * io/fxstat.c: Likewise.
26221 * io/fxstat64.c: Likewise.
26222 * io/fxstatat.c: Likewise.
26223 * io/fxstatat64.c: Likewise.
26224 * io/getcwd.c: Likewise.
26225 * io/isatty.c: Likewise.
26226 * io/lchmod.c: Likewise.
26227 * io/lchown.c: Likewise.
26228 * io/link.c: Likewise.
26229 * io/linkat.c: Likewise.
26230 * io/lseek.c: Likewise.
26231 * io/lseek64.c: Likewise.
26232 * io/lxstat64.c: Likewise.
26233 * io/mkdir.c: Likewise.
26234 * io/mkdirat.c: Likewise.
26235 * io/mkfifo.c: Likewise.
26236 * io/mkfifoat.c: Likewise.
26237 * io/open.c: Likewise.
26238 * io/open64.c: Likewise.
26239 * io/openat.c: Likewise.
26240 * io/openat64.c: Likewise.
26241 * io/pipe.c: Likewise.
26242 * io/pipe2.c: Likewise.
26243 * io/poll.c: Likewise.
26244 * io/posix_fadvise.c: Likewise.
26245 * io/posix_fadvise64.c: Likewise.
26246 * io/posix_fallocate.c: Likewise.
26247 * io/posix_fallocate64.c: Likewise.
26248 * io/read.c: Likewise.
26249 * io/readlink.c: Likewise.
26250 * io/readlinkat.c: Likewise.
26251 * io/rmdir.c: Likewise.
26252 * io/sendfile.c: Likewise.
26253 * io/sendfile64.c: Likewise.
26254 * io/statfs.c: Likewise.
26255 * io/statfs64.c: Likewise.
26256 * io/statvfs.c: Likewise.
26257 * io/statvfs64.c: Likewise.
26258 * io/symlink.c: Likewise.
26259 * io/symlinkat.c: Likewise.
26260 * io/ttyname.c: Likewise.
26261 * io/ttyname_r.c: Likewise.
26262 * io/umask.c: Likewise.
26263 * io/unlink.c: Likewise.
26264 * io/unlinkat.c: Likewise.
26265 * io/utime.c: Likewise.
26266 * io/utimensat.c: Likewise.
26267 * io/write.c: Likewise.
26268 * io/xmknod.c: Likewise.
26269 * io/xmknodat.c: Likewise.
26270 * io/xstat.c: Likewise.
26271 * io/xstat64.c: Likewise.
26272 * login/getpt.c: Likewise.
26273 * login/grantpt.c: Likewise.
26274 * login/unlockpt.c: Likewise.
26275 * math/e_acoshl.c: Likewise.
26276 * math/e_acosl.c: Likewise.
26277 * math/e_asinl.c: Likewise.
26278 * math/e_atan2l.c: Likewise.
26279 * math/e_atanhl.c: Likewise.
26280 * math/e_coshl.c: Likewise.
26281 * math/e_expl.c: Likewise.
26282 * math/e_fmodl.c: Likewise.
26283 * math/e_gammal_r.c: Likewise.
26284 * math/e_hypotl.c: Likewise.
26285 * math/e_j0l.c: Likewise.
26286 * math/e_j1l.c: Likewise.
26287 * math/e_jnl.c: Likewise.
26288 * math/e_lgammal_r.c: Likewise.
26289 * math/e_log10l.c: Likewise.
26290 * math/e_log2l.c: Likewise.
26291 * math/e_logl.c: Likewise.
26292 * math/e_powl.c: Likewise.
26293 * math/e_rem_pio2l.c: Likewise.
26294 * math/e_sinhl.c: Likewise.
26295 * math/e_sqrtl.c: Likewise.
26296 * math/fclrexcpt.c: Likewise.
26297 * math/fedisblxcpt.c: Likewise.
26298 * math/feenablxcpt.c: Likewise.
26299 * math/fegetenv.c: Likewise.
26300 * math/fegetexcept.c: Likewise.
26301 * math/fegetround.c: Likewise.
26302 * math/feholdexcpt.c: Likewise.
26303 * math/fesetenv.c: Likewise.
26304 * math/fesetround.c: Likewise.
26305 * math/feupdateenv.c: Likewise.
26306 * math/fgetexcptflg.c: Likewise.
26307 * math/fraiseexcpt.c: Likewise.
26308 * math/fsetexcptflg.c: Likewise.
26309 * math/ftestexcept.c: Likewise.
26310 * math/k_cosl.c: Likewise.
26311 * math/k_rem_pio2l.c: Likewise.
26312 * math/k_sinl.c: Likewise.
26313 * math/k_tanl.c: Likewise.
26314 * math/s_asinhl.c: Likewise.
26315 * math/s_atanl.c: Likewise.
26316 * math/s_cbrtl.c: Likewise.
26317 * math/s_erfl.c: Likewise.
26318 * math/s_expm1l.c: Likewise.
26319 * math/s_log1pl.c: Likewise.
26320 * math/s_tanhl.c: Likewise.
26321 * misc/acct.c: Likewise.
26322 * misc/brk.c: Likewise.
26323 * misc/chflags.c: Likewise.
26324 * misc/chroot.c: Likewise.
26325 * misc/fchflags.c: Likewise.
26326 * misc/fgetxattr.c: Likewise.
26327 * misc/flistxattr.c: Likewise.
26328 * misc/fremovexattr.c: Likewise.
26329 * misc/fsetxattr.c: Likewise.
26330 * misc/fsync.c: Likewise.
26331 * misc/ftruncate.c: Likewise.
26332 * misc/futimes.c: Likewise.
26333 * misc/futimesat.c: Likewise.
26334 * misc/getdomain.c: Likewise.
26335 * misc/getdtsz.c: Likewise.
26336 * misc/gethostid.c: Likewise.
26337 * misc/gethostname.c: Likewise.
26338 * misc/getloadavg.c: Likewise.
26339 * misc/getpagesize.c: Likewise.
26340 * misc/getsysstats.c: Likewise.
26341 * misc/getxattr.c: Likewise.
26342 * misc/gtty.c: Likewise.
26343 * misc/ioctl.c: Likewise.
26344 * misc/lgetxattr.c: Likewise.
26345 * misc/listxattr.c: Likewise.
26346 * misc/llistxattr.c: Likewise.
26347 * misc/lremovexattr.c: Likewise.
26348 * misc/lsetxattr.c: Likewise.
26349 * misc/lutimes.c: Likewise.
26350 * misc/madvise.c: Likewise.
26351 * misc/mincore.c: Likewise.
26352 * misc/mlock.c: Likewise.
26353 * misc/mlockall.c: Likewise.
26354 * misc/mmap.c: Likewise.
26355 * misc/mprotect.c: Likewise.
26356 * misc/msync.c: Likewise.
26357 * misc/munlock.c: Likewise.
26358 * misc/munlockall.c: Likewise.
26359 * misc/munmap.c: Likewise.
26360 * misc/preadv.c: Likewise.
26361 * misc/preadv64.c: Likewise.
26362 * misc/ptrace.c: Likewise.
26363 * misc/pwritev.c: Likewise.
26364 * misc/pwritev64.c: Likewise.
26365 * misc/readv.c: Likewise.
26366 * misc/reboot.c: Likewise.
26367 * misc/remap_file_pages.c: Likewise.
26368 * misc/removexattr.c: Likewise.
26369 * misc/revoke.c: Likewise.
26370 * misc/select.c: Likewise.
26371 * misc/setdomain.c: Likewise.
26372 * misc/setegid.c: Likewise.
26373 * misc/seteuid.c: Likewise.
26374 * misc/sethostid.c: Likewise.
26375 * misc/sethostname.c: Likewise.
26376 * misc/setregid.c: Likewise.
26377 * misc/setreuid.c: Likewise.
26378 * misc/setxattr.c: Likewise.
26379 * misc/sstk.c: Likewise.
26380 * misc/stty.c: Likewise.
26381 * misc/swapoff.c: Likewise.
26382 * misc/swapon.c: Likewise.
26383 * misc/sync.c: Likewise.
26384 * misc/syncfs.c: Likewise.
26385 * misc/syscall.c: Likewise.
26386 * misc/truncate.c: Likewise.
26387 * misc/ualarm.c: Likewise.
26388 * misc/usleep.c: Likewise.
26389 * misc/ustat.c: Likewise.
26390 * misc/utimes.c: Likewise.
26391 * misc/vhangup.c: Likewise.
26392 * misc/writev.c: Likewise.
26393 * posix/_exit.c: Likewise.
26394 * posix/alarm.c: Likewise.
26395 * posix/execve.c: Likewise.
26396 * posix/fexecve.c: Likewise.
26397 * posix/fork.c: Likewise.
26398 * posix/fpathconf.c: Likewise.
26399 * posix/getaddrinfo.c: Likewise.
26400 * posix/getegid.c: Likewise.
26401 * posix/geteuid.c: Likewise.
26402 * posix/getgid.c: Likewise.
26403 * posix/getgroups.c: Likewise.
26404 * posix/getlogin.c: Likewise.
26405 * posix/getlogin_r.c: Likewise.
26406 * posix/getpgid.c: Likewise.
26407 * posix/getpid.c: Likewise.
26408 * posix/getppid.c: Likewise.
26409 * posix/getresgid.c: Likewise.
26410 * posix/getresuid.c: Likewise.
26411 * posix/getsid.c: Likewise.
26412 * posix/getuid.c: Likewise.
26413 * posix/glob64.c: Likewise.
26414 * posix/nanosleep.c: Likewise.
26415 * posix/pathconf.c: Likewise.
26416 * posix/pause.c: Likewise.
26417 * posix/posix_madvise.c: Likewise.
26418 * posix/pread.c: Likewise.
26419 * posix/pread64.c: Likewise.
26420 * posix/pwrite.c: Likewise.
26421 * posix/pwrite64.c: Likewise.
26422 * posix/sched_getaffinity.c: Likewise.
26423 * posix/sched_getp.c: Likewise.
26424 * posix/sched_gets.c: Likewise.
26425 * posix/sched_primax.c: Likewise.
26426 * posix/sched_primin.c: Likewise.
26427 * posix/sched_rr_gi.c: Likewise.
26428 * posix/sched_setaffinity.c: Likewise.
26429 * posix/sched_setp.c: Likewise.
26430 * posix/sched_sets.c: Likewise.
26431 * posix/sched_yield.c: Likewise.
26432 * posix/setgid.c: Likewise.
26433 * posix/setlogin.c: Likewise.
26434 * posix/setpgid.c: Likewise.
26435 * posix/setresgid.c: Likewise.
26436 * posix/setresuid.c: Likewise.
26437 * posix/setsid.c: Likewise.
26438 * posix/setuid.c: Likewise.
26439 * posix/sleep.c: Likewise.
26440 * posix/spawni.c: Likewise.
26441 * posix/sysconf.c: Likewise.
26442 * posix/times.c: Likewise.
26443 * posix/wait.c: Likewise.
26444 * posix/wait3.c: Likewise.
26445 * posix/wait4.c: Likewise.
26446 * posix/waitpid.c: Likewise.
26447 * resolv/gai_sigqueue.c: Likewise.
26448 * resource/getpriority.c: Likewise.
26449 * resource/getrlimit.c: Likewise.
26450 * resource/getrusage.c: Likewise.
26451 * resource/nice.c: Likewise.
26452 * resource/setpriority.c: Likewise.
26453 * resource/setrlimit.c: Likewise.
26454 * resource/ulimit.c: Likewise.
26455 * rt/aio_cancel.c: Likewise.
26456 * rt/aio_fsync.c: Likewise.
26457 * rt/aio_read.c: Likewise.
26458 * rt/aio_sigqueue.c: Likewise.
26459 * rt/aio_suspend.c: Likewise.
26460 * rt/aio_write.c: Likewise.
26461 * rt/clock_getres.c: Likewise.
26462 * rt/clock_gettime.c: Likewise.
26463 * rt/clock_nanosleep.c: Likewise.
26464 * rt/clock_settime.c: Likewise.
26465 * rt/lio_listio.c: Likewise.
26466 * rt/mq_close.c: Likewise.
26467 * rt/mq_getattr.c: Likewise.
26468 * rt/mq_notify.c: Likewise.
26469 * rt/mq_open.c: Likewise.
26470 * rt/mq_receive.c: Likewise.
26471 * rt/mq_send.c: Likewise.
26472 * rt/mq_setattr.c: Likewise.
26473 * rt/mq_timedreceive.c: Likewise.
26474 * rt/mq_timedsend.c: Likewise.
26475 * rt/mq_unlink.c: Likewise.
26476 * rt/shm_open.c: Likewise.
26477 * rt/shm_unlink.c: Likewise.
26478 * rt/timer_create.c: Likewise.
26479 * rt/timer_delete.c: Likewise.
26480 * rt/timer_getoverr.c: Likewise.
26481 * rt/timer_gettime.c: Likewise.
26482 * rt/timer_settime.c: Likewise.
26483 * setjmp/__longjmp.c: Likewise.
26484 * setjmp/setjmp.c: Likewise.
26485 * signal/kill.c: Likewise.
26486 * signal/killpg.c: Likewise.
26487 * signal/raise.c: Likewise.
26488 * signal/sigaction.c: Likewise.
26489 * signal/sigaltstack.c: Likewise.
26490 * signal/sigblock.c: Likewise.
26491 * signal/sigignore.c: Likewise.
26492 * signal/sigintr.c: Likewise.
26493 * signal/signal.c: Likewise.
26494 * signal/sigpause.c: Likewise.
26495 * signal/sigpending.c: Likewise.
26496 * signal/sigqueue.c: Likewise.
26497 * signal/sigreturn.c: Likewise.
26498 * signal/sigset.c: Likewise.
26499 * signal/sigsetmask.c: Likewise.
26500 * signal/sigstack.c: Likewise.
26501 * signal/sigsuspend.c: Likewise.
26502 * signal/sigtimedwait.c: Likewise.
26503 * signal/sigvec.c: Likewise.
26504 * signal/sigwait.c: Likewise.
26505 * signal/sigwaitinfo.c: Likewise.
26506 * signal/sysv_signal.c: Likewise.
26507 * socket/accept.c: Likewise.
26508 * socket/accept4.c: Likewise.
26509 * socket/bind.c: Likewise.
26510 * socket/connect.c: Likewise.
26511 * socket/getpeername.c: Likewise.
26512 * socket/getsockname.c: Likewise.
26513 * socket/getsockopt.c: Likewise.
26514 * socket/isfdtype.c: Likewise.
26515 * socket/listen.c: Likewise.
26516 * socket/recv.c: Likewise.
26517 * socket/recvfrom.c: Likewise.
26518 * socket/recvmsg.c: Likewise.
26519 * socket/send.c: Likewise.
26520 * socket/sendmsg.c: Likewise.
26521 * socket/sendto.c: Likewise.
26522 * socket/setsockopt.c: Likewise.
26523 * socket/shutdown.c: Likewise.
26524 * socket/sockatmark.c: Likewise.
26525 * socket/socket.c: Likewise.
26526 * socket/socketpair.c: Likewise.
26527 * stdio-common/ctermid.c: Likewise.
26528 * stdio-common/cuserid.c: Likewise.
26529 * stdio-common/remove.c: Likewise.
26530 * stdio-common/rename.c: Likewise.
26531 * stdio-common/renameat.c: Likewise.
26532 * stdio-common/tempname.c: Likewise.
26533 * stdlib/getcontext.c: Likewise.
26534 * stdlib/makecontext.c: Likewise.
26535 * stdlib/setcontext.c: Likewise.
26536 * stdlib/swapcontext.c: Likewise.
26537 * stdlib/system.c: Likewise.
26538 * streams/fattach.c: Likewise.
26539 * streams/fdetach.c: Likewise.
26540 * streams/getmsg.c: Likewise.
26541 * streams/getpmsg.c: Likewise.
26542 * streams/putmsg.c: Likewise.
26543 * streams/putpmsg.c: Likewise.
26544 * sysdeps/unix/bsd/getpt.c: Likewise.
26545 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26546 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26547 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26550 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26551 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26552 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26553 * sysvipc/msgctl.c: Likewise.
26554 * sysvipc/msgget.c: Likewise.
26555 * sysvipc/msgrcv.c: Likewise.
26556 * sysvipc/msgsnd.c: Likewise.
26557 * sysvipc/semctl.c: Likewise.
26558 * sysvipc/semget.c: Likewise.
26559 * sysvipc/semop.c: Likewise.
26560 * sysvipc/semtimedop.c: Likewise.
26561 * sysvipc/shmat.c: Likewise.
26562 * sysvipc/shmctl.c: Likewise.
26563 * sysvipc/shmdt.c: Likewise.
26564 * sysvipc/shmget.c: Likewise.
26565 * termios/tcdrain.c: Likewise.
26566 * termios/tcflow.c: Likewise.
26567 * termios/tcflush.c: Likewise.
26568 * termios/tcgetattr.c: Likewise.
26569 * termios/tcgetpgrp.c: Likewise.
26570 * termios/tcsendbrk.c: Likewise.
26571 * termios/tcsetattr.c: Likewise.
26572 * termios/tcsetpgrp.c: Likewise.
26573 * time/adjtime.c: Likewise.
26574 * time/clock.c: Likewise.
26575 * time/getitimer.c: Likewise.
26576 * time/gettimeofday.c: Likewise.
26577 * time/setitimer.c: Likewise.
26578 * time/settimeofday.c: Likewise.
26579 * time/stime.c: Likewise.
26580 * time/time.c: Likewise.
26582 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
26584 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26587 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26589 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26591 2012-11-03 Joseph Myers <joseph@codesourcery.com>
26594 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26595 FE_TONEAREST before applying Dekker multiplication and Knuth
26596 addition. Clear inexact exceptions and check for exact zero
26597 results afterwards.
26598 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26599 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26600 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26601 * math/libm-test.inc (fma_test): Add more tests.
26602 (fma_test_towardzero): Likewise.
26603 (fma_test_downward): Likewise.
26604 (fma_test_upward): Likewise.
26605 * sysdeps/generic/math_private.h (default_libc_fesetround): New
26607 (libc_fesetround): New macro.
26608 (libc_fesetroundf): Likewise.
26609 (libc_fesetroundl): Likewise.
26610 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26612 (libc_fesetround_387): Likewise.
26613 (libc_fesetroundf): New macro.
26614 (libc_fesetround): Likewise.
26615 (libc_fesetroundl): Likewise.
26616 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26618 (libc_fesetroundf): New macro.
26619 (libc_fesetround): Likewise.
26620 (libc_fesetroundl): Likewise.
26621 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26622 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26623 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26625 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26626 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26628 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26629 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26631 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26635 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26636 integer constant usable in #if and use that to give value to enum
26638 (FE_DIVBYZERO): Likewise.
26639 (FE_UNDERFLOW): Likewise.
26640 (FE_OVERFLOW): Likewise.
26641 (FE_INVALID): Likewise.
26642 (FE_INVALID_SNAN): Likewise.
26643 (FE_INVALID_ISI): Likewise.
26644 (FE_INVALID_IDI): Likewise.
26645 (FE_INVALID_ZDZ): Likewise.
26646 (FE_INVALID_IMZ): Likewise.
26647 (FE_INVALID_COMPARE): Likewise.
26648 (FE_INVALID_SOFTWARE): Likewise.
26649 (FE_INVALID_SQRT): Likewise.
26650 (FE_INVALID_INTEGER_CONVERSION): Likewise.
26651 (FE_TONEAREST): Likewise.
26652 (FE_TOWARDZERO): Likewise.
26653 (FE_UPWARD): Likewise.
26654 (FE_DOWNWARD): Likewise.
26655 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26656 (FE_DIVBYZERO): Likewise.
26657 (FE_OVERFLOW): Likewise.
26658 (FE_UNDERFLOW): Likewise.
26659 (FE_INEXACT): Likewise.
26660 (FE_TONEAREST): Likewise.
26661 (FE_DOWNWARD): Likewise.
26662 (FE_UPWARD): Likewise.
26663 (FE_TOWARDZERO): Likewise.
26664 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26665 (FE_UNDERFLOW): Likewise.
26666 (FE_OVERFLOW): Likewise.
26667 (FE_DIVBYZERO): Likewise.
26668 (FE_INVALID): Likewise.
26669 (FE_TONEAREST): Likewise.
26670 (FE_TOWARDZERO): Likewise.
26671 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26672 (FE_OVERFLOW): Likewise.
26673 (FE_UNDERFLOW): Likewise.
26674 (FE_DIVBYZERO): Likewise.
26675 (FE_INEXACT): Likewise.
26676 (FE_TONEAREST): Likewise.
26677 (FE_TOWARDZERO): Likewise.
26678 (FE_UPWARD): Likewise.
26679 (FE_DOWNWARD): Likewise.
26680 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26681 (FE_DIVBYZERO): Likewise.
26682 (FE_OVERFLOW): Likewise.
26683 (FE_UNDERFLOW): Likewise.
26684 (FE_INEXACT): Likewise.
26685 (FE_TONEAREST): Likewise.
26686 (FE_DOWNWARD): Likewise.
26687 (FE_UPWARD): Likewise.
26688 (FE_TOWARDZERO): Likewise.
26690 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
26692 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26694 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
26696 * scripts/cross-test-ssh.sh (command): Use newlines to separate
26697 commands. Quote $PWD.
26698 (blacklist_exports): Don't use remove_newlines. Replace "declare
26700 (remove_newlines): Remove.
26702 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
26704 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26705 * stdlib/stdlib.h (atof): Moved to ...
26706 * include/bits/stdlib-float.h: Here. New file.
26707 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26708 * stdlib/bits/stdlib-float.h: New file.
26709 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26711 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26714 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26716 * conform/conformtest.pl (@headers): Add fenv.h.
26717 * conform/data/fenv.h-data: New file.
26718 * include/fenv.h [_ISOMAC]: Disable all contents of file except
26719 include of <math/fenv.h>.
26721 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26722 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26723 && !UNIX98]. Enables tests for XOPEN2K8.
26724 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26725 POSIX2008]: Likewise.
26727 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26728 (struct rusage): Do not expect type or its members.
26731 * math/math.h (FP_NAN): Define macro to integer constant usable in
26732 #if and use that to give value to enum constant.
26733 (FP_INFINITE): Likewise.
26734 (FP_ZERO): Likewise.
26735 (FP_SUBNORMAL): Likewise.
26736 (FP_NORMAL): Likewise.
26738 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
26740 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26741 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26744 2012-11-02 Roland McGrath <roland@hack.frob.com>
26746 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26747 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26748 autoconf-time if not.
26749 * configure.in: Remove AC_PREREQ.
26751 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26753 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26754 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26755 of the internal implementation.
26757 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26759 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26760 except include of <misc/sys/syslog.h>.
26762 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26765 function returns with a NULL context exit with zero.
26767 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26769 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26771 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
26773 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26774 (run_program_cmd): This.
26775 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26776 (tst_langinfo): New variable. Use it.
26778 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
26780 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26781 floating point opcodes.
26783 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26785 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26788 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26790 * sysdeps/mach/hurd/powerpc: Remove directory.
26791 * sysdeps/mach/powerpc: Likewise.
26793 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26795 * scripts/check-local-headers.sh: Ignore c++ headers.
26797 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26799 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26800 __libc_cleanup_region_start argument.
26802 2012-11-01 Joseph Myers <joseph@codesourcery.com>
26806 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26807 x * y using scaling, not as x * y + z.
26808 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26809 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26810 * math/libm-test.inc (fma_test): Add more tests.
26811 (fma_test_towardzero): Likewise.
26812 (fma_test_downward): Likewise.
26813 (fma_test_upward): Likewise.
26815 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26817 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26819 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26821 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
26824 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
26826 * rt/tst-shm.c (worker): Correct checking for mmap failure.
26828 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26835 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26838 Fix the order of the list for glibc 2.17.
26839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26842 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26844 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26846 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26849 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
26850 for low part of x being zero before using __atanl (y).
26851 * math/libm-test.inc (atan2_test): Add another test.
26853 * manual/install.texi (Configuring and compiling): Document
26854 general use of test-wrapper and test-wrapper-env.
26855 * INSTALL: Regenerated.
26857 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
26858 (__fma): Do not extract and scale down low bits on after-rounding
26859 systems when result rounded to normal precision would have normal
26861 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
26862 (__fmal): Do not extract and scale down low bits on after-rounding
26863 systems when result rounded to normal precision would have normal
26865 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
26866 (__fmal): Do not extract and scale down low bits on after-rounding
26867 systems when result rounded to normal precision would have normal
26869 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
26871 (fma_test): Add more tests.
26872 (fma_test_towardzero): Likewise.
26873 (fma_test_downward): Likewise.
26874 (fma_test_upward): Likewise.
26876 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
26878 * sysdeps/i386/tininess.h: Renamed to ...
26879 * sysdeps/x86/tininess.h: This.
26880 * sysdeps/x86_64/tininess.h: Removed.
26882 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26884 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
26885 input. Use $(build-program-cmd).
26886 ($(objpfx)tst-array1-static.out): Likewise.
26887 ($(objpfx)tst-array2.out): Likewise.
26888 ($(objpfx)tst-array3.out): Likewise.
26889 ($(objpfx)tst-array4.out): Likewise.
26890 ($(objpfx)tst-array5.out): Likewise.
26891 ($(objpfx)tst-array5-static.out): Likewise.
26893 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
26895 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
26898 * nss/nsswitch.h (nss_interface_function): Provide new
26899 macro for use with NSS functions.
26900 * grp/initgroups.c: Use new macro.
26901 * nss/getXXbyYY.c: Likewise.
26902 * nss/getXXbyYY_r.c: Likewise.
26903 * nss/getXXent.c: Likewise.
26904 * nss/getXXent_r.c: Likewise.
26905 * sysdeps/posix/getaddrinfo.c: Likewise.
26907 2012-10-30 Andreas Jaeger <aj@suse.de>
26909 * po/ru.po: Update Russion translation from translation project.
26911 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26915 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
26916 result and shift together with sticky bit instead of replicating
26917 round-to-nearest rounding.
26918 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26919 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26920 * math/libm-test.inc (fma_test): Add more tests. Do not permit
26921 missing underflow exceptions.
26922 (fma_test_towardzero): Add more tests.
26923 (fma_test_downward): Likewise.
26924 (fma_test_upward): Likewise.
26927 * sysdeps/generic/tininess.h: New file.
26928 * sysdeps/i386/tininess.h: Likewise.
26929 * sysdeps/sh/tininess.h: Likewise.
26930 * sysdeps/x86_64/tininess.h: Likewise.
26931 * stdlib/tst-strtod-underflow.c: Likewise.
26932 * stdlib/tst-tininess.c: Likewise.
26933 * stdlib/strtod_l.c: Include <tininess.h>.
26934 (round_and_return): Do not set errno for exact underflow cases.
26935 Force an underflow exception when setting errno for underflow.
26936 Determine underflow based on rounding to normal precision if
26937 TININESS_AFTER_ROUNDING.
26938 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
26939 ERANGE for exact underflow cases.
26940 * stdlib/Makefile (tests): Add tst-tininess and
26941 tst-strtod-underflow.
26942 ($(objpfx)tst-tininess): Use $(link-libm).
26943 ($(objpfx)tst-strtod-underflow): Likewise.
26945 2012-10-30 Andreas Jaeger <aj@suse.de>
26948 * elf/Makefile (tests): Remove conditional for have-initfini-array
26949 since this is now always required and the variable does not exist
26951 (tests-static): Likewise.
26952 (modules-names): Likewise.
26954 * po/eo.po: Add Esperanto translation from translation project.
26956 * elf/tst-array1.c (fini_array): Make writeable so that it can be
26957 merged with constructor/destructor.
26958 (init_array): Likewise.
26959 * elf/tst-array2dep.c (fini_array): Likewise.
26960 (init_array): Likewise.
26962 2012-10-29 Mike Frysinger <vapier@gentoo.org>
26964 * manual/message.texi: Delete @cartouche tags.
26966 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
26968 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
26970 * sysdeps/mach/hurd/fsync.c: Likewise.
26972 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
26973 [_POSIX_REALTIME_SIGNALS]: Change condition to
26974 [_POSIX_REALTIME_SIGNALS > 0].
26976 2012-10-27 Andreas Jaeger <aj@suse.de>
26978 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
26979 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
26980 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
26981 [__WORDSIZE != 64]: Likewise.
26983 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
26985 * iconvdata/tst-table.sh: Remove ${SHELL}.
26986 * iconvdata/tst-tables.sh: Likewise.
26988 2012-10-25 David S. Miller <davem@davemloft.net>
26990 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26991 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
26994 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
26996 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26997 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26998 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27001 2012-10-25 Roland McGrath <roland@hack.frob.com>
27003 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27004 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27007 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27008 Jim Blandy <jimb@codesourcery.com>
27010 * scripts/cross-test-ssh.sh: New file.
27011 * manual/install.texi (Configuring and compiling): Document use of
27013 * INSTALL: Regenerated.
27015 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
27017 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27020 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27022 * Makeconfig (run-program-prefix): Fix comment.
27024 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27025 Jim Blandy <jimb@codesourcery.com>
27027 * Makeconfig (test-wrapper): New variable,
27028 (test-wrapper-env): Likewise.
27029 [$(cross-compiling) = yes && $(test-wrapper) != ""]
27030 (run-built-tests): Define to yes.
27031 (run-program-prefix): Use $(test-wrapper).
27032 (built-program-cmd): Likewise.
27033 * Rules (make-test-out): Use $(test-wrapper-env) and
27034 $(host-built-program-cmd).
27035 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27036 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27038 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27039 $(test-wrapper-env) to tst-rtld-load-self.sh.
27040 ($(objpfx)order2.out): Use $(test-wrapper).
27041 ($(objpfx)tst-initorder.out): Likewise.
27042 ($(objpfx)tst-initorder2.out): Likewise.
27043 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27044 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27045 (test_wrapper_env): New variable. Use it to run ld.so.
27046 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27047 Use it to run ld.so.
27048 (test_wrapper_env): Likewise.
27049 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27050 $(test-wrapper) to run-iconv-test.sh.
27051 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27052 (ICONV): Use $test_wrapper.
27053 * posix/Makefile ($(objpfx)globtest.out): Pass
27054 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27055 globtest.sh, not $(run-program-prefix).
27056 * posix/globtest.sh (run_via_rtld_prefix): New variable.
27057 (test_wrapper): Likewise.
27058 (test_wrapper_env): Likewise. Use it to run globtest with HOME
27059 set together with run_via_rtld_prefix.
27060 (run_program_prefix): Define in terms of test_wrapper and
27061 run_via_rtld_prefix.
27063 2012-10-24 Roland McGrath <roland@hack.frob.com>
27065 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27066 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27070 * include/time.h: Remove librt_hidden_proto (clock_gettime).
27071 Declare __clock_getres, __clock_gettime, __clock_settime,
27072 __clock_nanosleep, and __clock_getcpuclockid.
27073 * rt/clock_gettime.c: Define __clock_gettime as an alias.
27074 Remove librt_hidden_def (clock_gettime).
27075 * sysdeps/unix/clock_gettime.c: Likewise.
27076 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27077 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27078 * rt/clock_getres.c: Define __clock_getres as an alias.
27079 * sysdeps/posix/clock_getres.c: Likewise.
27080 * rt/clock_settime.c: Define __clock_settime as an alias.
27081 * sysdeps/unix/clock_settime.c: Likewise.
27082 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27083 * sysdeps/unix/clock_nanosleep.c: Likewise.
27084 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27085 * rt/clock-compat.c: New file.
27086 * rt/Makefile (librt-routines): Add clock-compat and move
27087 $(clock-routines) to ...
27088 (routines): ... here, new variable.
27089 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27090 Don't add get_clockfreq here.
27091 * rt/Versions (libc: GLIBC_2.17): New version set.
27092 Add clock_* symbols here.
27093 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27094 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27095 (GLIBC_2.17): Add clock_* symbols.
27096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27097 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27098 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27103 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27104 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27107 * NEWS: Mention the move.
27109 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27110 Use __open, __read, __close rather than their public counterparts.
27111 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27112 (__get_clockfreq_via_cpuinfo): Likewise.
27113 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27114 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27116 * config.h.in (HAVE_IFUNC): New #undef.
27117 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27119 * configure: Regenerated.
27121 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27123 * configure.in: Move READELF check to start of file.
27124 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27125 libc_cv_asm_gnu_indirect_function in the process.
27126 * configure: Regenerated.
27128 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27130 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27131 send the output to /dev/null.
27132 (libc_cv_cc_with_libunwind): Likewise.
27133 (libc_cv_as_noexecstack): Likewise.
27134 * configure: Regenerate.
27136 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27138 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27140 * posix/globtest.sh (TMPDIR): Do not set.
27141 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27142 (testout): Likewise.
27144 2012-10-24 Andreas Jaeger <aj@suse.de>
27146 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27147 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27148 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27149 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27150 posix_fadvise64, posix_fallocate64.
27152 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27153 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27154 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27156 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27158 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27160 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27161 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27162 <bits/fcntl-linux.h>.
27163 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27165 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27166 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27167 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27168 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27169 [__WORDSIZE != 64]: Likewise.
27171 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27173 * Makeconfig (run-built-tests): New variable.
27174 * Rules [$(cross-compiling) = yes]: Change condition to
27175 [$(run-built-tests) = no].
27176 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27177 to [$(run-built-tests) = yes].
27178 * elf/Makefile [$(cross-compiling) = no]: Likewise
27179 * grp/Makefile [$(cross-compiling) = no]: Likewise.
27180 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27181 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27182 * intl/Makefile [$(cross-compiling) = no]: Likewise.
27183 * io/Makefile [$(cross-compiling) = no]: Likewise.
27184 * libio/Makefile [$(cross-compiling) = no]: Likewise.
27185 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27186 * misc/Makefile [$(cross-compiling) = no]: Likewise.
27187 * posix/Makefile [$(cross-compiling) = no]: Likewise.
27188 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27189 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27190 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27191 * string/Makefile [$(cross-compiling) = no]: Likewise.
27193 * posix/Makefile ($(objpfx)globtest.out): Pass
27194 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27195 $(rtld-installed-name).
27196 * posix/globtest.sh (elf_objpfx): Remove variable.
27197 (rtld_installed_name): Likewise.
27198 (library_path): Likewise.
27199 (run_program_prefix): New variable. Use for running globtest
27202 2012-10-23 Jim Blandy <jimb@codesourcery.com>
27203 Joseph Myers <joseph@codesourcery.com>
27205 * Makeconfig (host-built-program-cmd): New variable.
27206 * elf/Makefile (tst-stackguard1-ARGS): Use
27207 $(host-built-program-cmd).
27208 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27209 (tst-spawn-ARGS): Likewise.
27210 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27212 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27213 Jim Blandy <jimb@codesourcery.com>
27215 * Makeconfig (run-via-rtld-prefix): New variable.
27216 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27217 (built-program-cmd): Likewise.
27219 2012-10-22 Andreas Jaeger <aj@suse.de>
27221 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27222 __O_RSYNC if it exists, otherwise to O_SYNC.
27224 2012-10-22 Jim Blandy <jimb@codesourcery.com>
27225 Joseph Myers <joseph@codesourcery.com>
27227 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27229 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27231 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27234 2012-10-22 Andreas Jaeger <aj@suse.de>
27236 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27238 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27240 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27241 bits/fcntl-linux.h.
27243 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27244 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27246 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27248 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27251 2012-10-21 Jim Blandy <jimb@codesourcery.com>
27252 Joseph Myers <joseph@codesourcery.com>
27254 * config.make.in (NM): New variable.
27256 2012-10-21 Andreas Jaeger <aj@suse.de>
27258 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27259 definitions and declarations that are provided by
27260 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27262 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27265 * elf/Makefile (tests-static): Add tst-leaks1-static.
27266 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27267 ($(objpfx)tst-leaks1-static): New rule.
27268 ($(objpfx)tst-leaks1-static-mem): Likewise.
27269 (tst-leaks1-static-ENV): New macro.
27270 * elf/dl-open.c (dl_open_worker): Check the main application
27271 only if SHARED is defined.
27272 * elf/tst-leaks1-static.c: New file.
27274 2012-10-20 Andreas Jaeger <aj@suse.de>
27276 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27277 generic values for Linux.
27278 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27279 and declarations that are provided by <bits/fcntl-linux.h> and
27280 include <bits/fcntl-linux.h>.
27281 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27282 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27284 2012-10-20 Roland McGrath <roland@hack.frob.com>
27286 * io/fcntl.h: Move include of <bits/types.h> to the top and
27287 include it unconditionally.
27289 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27291 * wcsmbs/Makefile (tests-ifunc): New variable.
27292 (tests): Add $(tests-ifunc).
27293 * wcsmbs/test-wcschr-ifunc.c: New file.
27294 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27295 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27296 * wcsmbs/test-wcslen-ifunc.c: Likewise.
27297 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27298 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27300 * string/Makefile (tests-ifunc): New variable.
27301 (tests): Add $(tests-ifunc).
27302 * string/test-memccpy.c (TEST_NAME): New macro.
27303 * string/test-memchr.c (TEST_NAME): Likewise.
27304 * string/test-memcmp.c (TEST_NAME): Likewise.
27305 * string/test-memcpy.c (TEST_NAME): Likewise.
27306 * string/test-memmem.c (TEST_NAME): Likewise.
27307 * string/test-memmove.c (TEST_NAME): Likewise.
27308 * string/test-memset.c (TEST_NAME): Likewise.
27309 * string/test-rawmemchr.c (TEST_NAME): Likewise.
27310 * string/test-stpcpy.c (TEST_NAME): Likewise.
27311 * string/test-stpncpy.c (TEST_NAME): Likewise.
27312 * string/test-strcasecmp.c (TEST_NAME): Likewise.
27313 * string/test-strcasestr.c (TEST_NAME): Likewise.
27314 * string/test-strcat.c (TEST_NAME): Likewise.
27315 * string/test-strchr.c (TEST_NAME): Likewise.
27316 * string/test-strcmp.c(TEST_NAME): Likewise.
27317 * string/test-strcpy.c (TEST_NAME): Likewise.
27318 * string/test-strcspn.c (TEST_NAME): Likewise.
27319 * string/test-strlen.c (TEST_NAME): Likewise.
27320 * string/test-strncasecmp.c (TEST_NAME): Likewise.
27321 * string/test-strncmp.c (TEST_NAME): Likewise.
27322 * string/test-strncpy.c (TEST_NAME): Likewise.
27323 * string/test-strnlen.c (TEST_NAME): Likewise.
27324 * string/test-strpbrk.c (TEST_NAME): Likewise.
27325 * string/test-strrchr.c (TEST_NAME): Likewise.
27326 * string/test-strspn.c (TEST_NAME): Likewise.
27327 * string/test-strstr.c (TEST_NAME): Likewise.
27328 * string/test-bcopy-ifunc.c: New file.
27329 * string/test-bzero-ifunc.c: Likewise.
27330 * string/test-memccpy-ifunc.c: Likewise.
27331 * string/test-memchr-ifunc.c: Likewise.
27332 * string/test-memcmp-ifunc.c: Likewise.
27333 * string/test-memcpy-ifunc.c: Likewise.
27334 * string/test-memmem-ifunc.c: Likewise.
27335 * string/test-memmove-ifunc.c: Likewise.
27336 * string/test-mempcpy-ifunc.c: Likewise.
27337 * string/test-memset-ifunc.c: Likewise.
27338 * string/test-rawmemchr-ifunc.c: Likewise.
27339 * string/test-stpcpy-ifunc.c: Likewise.
27340 * string/test-stpncpy-ifunc.c: Likewise.
27341 * string/test-strcasecmp-ifunc.c: Likewise.
27342 * string/test-strcasestr-ifunc.c: Likewise.
27343 * string/test-strcat-ifunc.c: Likewise.
27344 * string/test-strchr-ifunc.c: Likewise.
27345 * string/test-strchrnul-ifunc.c: Likewise.
27346 * string/test-strcmp-ifunc.c: Likewise.
27347 * string/test-strcpy-ifunc.c: Likewise.
27348 * string/test-strcspn-ifunc.c: Likewise.
27349 * string/test-strlen-ifunc.c: Likewise.
27350 * string/test-strncasecmp-ifunc.c: Likewise.
27351 * string/test-strncat-ifunc.c: Likewise.
27352 * string/test-strncmp-ifunc.c: Likewise.
27353 * string/test-strncpy-ifunc.c: Likewise.
27354 * string/test-strnlen-ifunc.c: Likewise.
27355 * string/test-strpbrk-ifunc.c: Likewise.
27356 * string/test-strrchr-ifunc.c: Likewise.
27357 * string/test-strspn-ifunc.c: Likewise.
27358 * string/test-strstr-ifunc.c: Likewise.
27360 * debug/Makefile (tests-ifunc): New variable.
27361 (tests): Add $(tests-ifunc).
27362 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27363 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27364 * debug/test-stpcpy_chk-ifunc.c: New file.
27365 * debug/test-strcpy_chk-ifunc.c: Likewise.
27367 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27370 * elf/dl-load.c (open_verify): Retry read if the entire ELF
27371 header is not read in.
27373 2012-10-19 Joseph Myers <joseph@codesourcery.com>
27375 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
27376 script to $(SHELL) as $<. Pass $(common-objpfx) to script
27377 directly. Pass built executable to script as
27378 $(built-program-cmd).
27379 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
27380 $testprogram without using LD_LIBRARY_PATH and $ldso.
27382 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27383 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27384 $(rtld-installed-name).
27385 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27386 (rtld_installed_name): Likewise.
27387 (library_path): Likewise.
27388 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
27389 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27390 $(run-program-prefix) to tst-tables.sh.
27391 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
27392 it to run tst-table-from and tst-table-to.
27393 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27394 Pass it to tst-table.sh.
27395 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27396 $(run-program-prefix) to tst-gettext.sh.
27397 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27399 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27401 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
27402 to run tst-gettext.
27403 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
27404 to run tst-gettext2.
27405 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
27406 to run tst-translit.
27407 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27408 $(run-program-prefix) to tst-mtrace.sh.
27409 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
27411 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27412 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27413 $(rtld-installed-name).
27414 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27415 (rtld_installed_name): Likewise.
27416 (run_program_prefix): New variable. Use it to run wordexp-test.
27418 * Makeconfig (ARCH): Remove all definitions.
27419 (machine): Likewise.
27420 [ARCH]: Remove conditional code.
27421 [!objdir]: Give error.
27422 [!objdir] (objpfx): Remove.
27423 [!objdir] (common-objpfx): Likewise.
27424 [!objdir] (common-objdir): Likewise.
27425 * configure.in (config_makefile): Remove. Hardcode Makefile in
27426 AC_CONFIG_FILES call.
27427 * configure: Regenerated.
27430 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27432 (testout): Likewise.
27434 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27435 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27436 $(rtld-installed-name).
27437 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27438 (rtld_installed_name): Likwise.
27439 (runit): Remove function.
27440 (run_getconf): New variable, Use it for running getconf binary.
27442 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
27445 * string/test-memmem.c (check_result): New function.
27446 (do_one_test): Use it.
27447 (check1): New function.
27448 (test_main): Use it.
27450 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
27452 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27454 2012-10-18 Joseph Myers <joseph@codesourcery.com>
27456 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27457 (_G_LSEEK64): Likewise.
27458 (_G_MMAP64): Likewise.
27459 (_G_FSTAT64): Likewise.
27460 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27461 (_G_LSEEK64): Likewise.
27462 (_G_MMAP64): Likewise.
27463 (_G_FSTAT64): Likewise.
27464 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27465 unconditional. Call __mmap64 directly.
27466 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27467 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
27468 __lseek64 directly.
27469 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27470 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
27472 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27473 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
27474 __lseek64 directly.
27475 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27476 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
27477 __lseek64 directly.
27478 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27479 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
27480 __lseek64 directly.
27481 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27482 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
27483 __fxstat64 directly.
27484 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27485 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27487 (freopen64) [!_G_OPEN64]: Remove conditional code.
27488 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27490 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27491 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27493 (ftello64) [!_G_LSEEK64]: Remove conditional code.
27494 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27496 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27497 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27499 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27500 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27502 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27503 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27505 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27506 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27508 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27510 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27513 * manual/memory.texi (Malloc Tunable Parameters): Add note
27514 about free list pointers overwriting some perturb bytes.
27515 Wording suggested by Roland McGrath.
27517 2012-10-17 Joseph Myers <joseph@codesourcery.com>
27519 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27520 (lgamma_test): Likewise.
27521 (tgamma_test): Likewise.
27523 2012-10-16 Florian Weimer <fweimer@redhat.com>
27526 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27527 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27529 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
27531 * NEWS: Mention BZ #14716.
27532 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27533 when removing AVAILABLE1_USES_J macro.
27535 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
27537 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27538 (__bswap_64): __uint64_t for unsigned 64-bit int.
27540 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
27542 * include/string.h (memmem): Declare libc hidden alias.
27543 * string/memmem.c (memmem): Define libc hidden alias.
27544 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27545 __read, __close instead of open, read, close.
27547 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
27549 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27550 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27552 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27553 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27554 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27556 (__rawmemchr_sse2): Likewise.
27557 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27558 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27559 (__strchr_sse2): Likewise.
27560 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27561 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27562 (__strcasecmp_sse2): Likewise.
27563 (__strncasecmp_sse2): Likewise.
27564 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27565 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27566 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27567 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27568 (__strrchr_sse2): Likewise.
27569 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27571 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27572 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27573 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27574 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27575 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27576 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27577 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27578 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27579 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27580 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27581 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27582 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27583 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27584 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27585 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27586 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27587 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27588 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27589 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27590 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27591 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27592 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27593 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27594 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27595 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27596 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27597 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27598 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27599 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27600 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27602 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27604 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27605 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27606 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27607 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27609 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27611 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27612 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27613 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27614 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27616 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27617 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27618 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27619 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27620 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27621 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27622 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27623 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27624 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27625 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27626 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27627 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27628 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27629 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27630 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27631 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27632 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27633 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27634 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27635 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27636 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27637 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27638 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27639 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27640 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27641 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27642 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27643 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27644 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27645 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27646 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27647 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27648 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27649 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27650 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27651 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27652 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27653 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27654 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27655 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27656 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27658 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27659 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27660 * include/ifunc-impl-list.h: New file.
27661 * misc/ifunc-impl-list.c: Likewise.
27662 * misc/Makefile (routines): Add ifunc-impl-list.
27663 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27664 * string/test-string.h: Include <ifunc-impl-list.h>.
27665 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27666 TEST_NAME]: New variables.
27667 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27669 (test_init): Call __libc_ifunc_impl_list to initialize
27670 func_list if TEST_IFUNC and TEST_NAME are defined.
27672 * string/Makefile (strop-tests): Add bcopy and bzero.
27673 * string/test-bcopy.c: New file.
27674 * string/test-bzero.c: Likewise.
27675 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27677 * string/test-memset.c: Support bzero test if TEST_BZERO is
27679 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27681 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27683 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27686 2012-10-10 Joseph Myers <joseph@codesourcery.com>
27688 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27689 * configure: Regenerated.
27691 * Makeconfig (+link-static-before-libc): Don't include
27692 $(link-static-libc).
27694 * libio/libio.h (_IO_pos_t): Remove.
27696 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27698 * NEWS: Add note about FIPS mode. Wording suggested by Roland
27701 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27703 * crypt/crypt-entry.c: Include fips-private.h.
27704 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27705 * crypt/md5c-test.c (main): Tolerate disabled MD5.
27706 * sysdeps/unix/sysv/linux/fips-private.h: New file.
27707 * sysdeps/generic/fips-private.h: New file, dummy fallback.
27709 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27711 * crypt/crypt-private.h: Include stdbool.h.
27712 (_ufc_setup_salt_r): Return bool.
27713 * crypt/crypt-entry.c: Include errno.h.
27714 (__crypt_r): Return NULL with EINVAL for bad salt.
27715 * crypt/crypt_util.c (bad_for_salt): New.
27716 (_ufc_setup_salt_r): Check that salt is long enough and within
27717 the specified alphabet.
27718 * crypt/badsalttest.c: New file.
27719 * crypt/Makefile (tests): Add it.
27720 ($(objpfx)badsalttest): New.
27722 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
27724 * NEWS: Add entry for BZ #14602.
27726 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27728 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27730 * math/libm-test.inc: Update comment listing what functions and
27732 (isgreater_test): New function.
27733 (isgreaterequal_test): Likewise.
27734 (isless_test): Likewise.
27735 (islessequal_test): Likewise.
27736 (islessgreater_test): Likewise.
27737 (isunordered_test): Likewise.
27738 (main): Call the new functions.
27740 2012-10-09 Roland McGrath <roland@hack.frob.com>
27742 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27743 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27744 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27745 * sysdeps/i386/configure: Regenerated.
27746 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27747 * sysdeps/mach/configure: Regenerated.
27748 * sysdeps/mach/hurd/configure: Regenerated.
27749 * sysdeps/powerpc/configure: Regenerated.
27750 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27751 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27752 * sysdeps/s390/s390-32/configure: Regenerated.
27753 * sysdeps/s390/s390-64/configure: Regenerated.
27754 * sysdeps/sh/configure: Regenerated.
27755 * sysdeps/sparc/configure: Regenerated.
27756 * sysdeps/unix/sysv/linux/configure: Regenerated.
27757 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27758 * sysdeps/x86_64/configure: Regenerated.
27760 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27761 defined. Don't check if MAP is NULL.
27763 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27765 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27766 (_G_stat64): Likewise.
27767 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27768 (_G_stat64): Likewise.
27769 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27770 instead of struct _G_stat64.
27771 * libio/fileops.c (mmap_remap_check): Likewise.
27772 (decide_maybe_mmap): Likewise.
27773 (_IO_new_file_seekoff): Likewise.
27774 (_IO_file_stat): Likewise.
27775 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27777 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27778 instead of struct _G_stat64.
27779 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27781 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
27784 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27786 (CHECK_EOL): New macro.
27787 (two_way_short_needle): Check beginning of haystack for EOL. Use
27789 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27790 Replace with CHECK_EOL.
27791 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27792 Replace with CHECK_EOL.
27794 2012-10-08 Joseph Myers <joseph@codesourcery.com>
27796 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27798 * math/libm-test.inc: Update comment listing what functions and
27800 (finite_test): New function.
27801 (isinf_test): Likewise.
27802 (isnan_test): Likewise.
27803 (fpclassify_test): Test subnormal input.
27804 (isfinite_test): Likewise.
27805 (isnormal_test): Likewise.
27806 (main): Call the new functions.
27808 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
27811 * Makerules (%.dynsym): Force C locale when running
27812 $(OBJDUMP) --dynamic-syms.
27814 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
27816 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27819 2012-10-06 David S. Miller <davem@davemloft.net>
27821 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
27822 upper 32-bits of the length value in %o2 since we use branch-on-register
27823 tests which consider the entire 64-bit register.
27825 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
27827 * string/test-strstr.c (check2): Add a test for page boundary.
27829 2012-10-05 David S. Miller <davem@davemloft.net>
27831 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
27832 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
27834 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27836 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27837 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
27838 and bzero when HWCAP_SPARC_CRYPTO is present.
27840 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
27843 * string/test-strstr.c (check2): New function.
27844 (test_main): Call check2.
27846 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
27848 * string/bug-strcasestr1.c (do_test): Moved to ...
27849 * string/test-strcasestr.c (check1): Here. New function.
27850 (do_one_test): Break out result checking code into ...
27851 (check_result): This. New function.
27852 (do_one_test): Call check_result.
27853 (test_main): Call check1.
27854 * string/bug-strchr1.c (do_test): Moved to ...
27855 * string/test-strchr.c (check1): Here. New function.
27856 (do_one_test): Break out result checking code into ...
27857 (check_result): This. New function.
27858 (do_one_test): Call check_result.
27859 (test_main): Call check1.
27860 * string/bug-strstr1.c (main): Moved to ...
27861 * string/test-strstr.c (check1): Here. New function.
27862 (do_one_test): Break out result checking code into ...
27863 (check_result): This. New function.
27864 (do_one_test): Call check_result.
27865 (test_main): Call check1.
27866 * string/bug-strcasestr1.c: Removed.
27867 * string/bug-strchr1.c: Likewise.
27868 * string/bug-strstr1.c: Likewise.
27870 * elf/Makefile (dl-routines): Add hwcaps.
27871 * elf/dl-support.c (_dl_important_hwcaps): Removed.
27872 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
27873 (_dl_important_hwcaps): Moved to ...
27874 * elf/dl-hwcaps.c: Here. New file.
27875 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
27878 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
27879 if IS_IN_rtld isn't defined.
27881 * elf/dl-support.c (_dl_sysinfo_map): New.
27882 Include "get-dynamic-info.h" and "setup-vdso.h".
27883 (_dl_non_dynamic_init): Call setup_vdso.
27884 * elf/dynamic-link.h: Don't include <assert.h>.
27885 (elf_get_dynamic_info): Moved to ...
27886 * elf/get-dynamic-info.h: Here. New file.
27887 * elf/dynamic-link.h: Include "get-dynamic-info.h".
27888 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
27889 * elf/setup-vdso.h: Here. New file.
27890 * elf/rtld.c: Include "setup-vdso.h".
27891 (dl_main): Call setup_vdso.
27893 2012-10-05 Joseph Myers <joseph@codesourcery.com>
27895 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
27896 creal in comment listing functions tested. List finite, isinf,
27897 isnan, isless, islessequal, isgreater, isgreaterequal,
27898 islessgreater, isunordered, lgamma_r and pow10 as functions and
27899 macros not tested. Mention which functions not tested are aliases
27900 for other functions. Fix typo. Note that signs of NaNs are not
27903 * scripts/config.guess: Update from config.git.
27904 * scripts/config.sub: Likewise.
27906 2012-10-04 Roland McGrath <roland@hack.frob.com>
27908 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
27909 * misc/madvise.c (madvise): Renamed to __madvise.
27910 Make madvise a weak alias.
27911 * include/sys/mman.h: Declare __madvise.
27912 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
27913 * sysdeps/unix/syscalls.list
27914 (madvise): Make __madvise the strong name, and madvise a weak alias.
27915 * sysdeps/unix/sysv/linux/syscalls.list
27916 (madvise, mmap): Remove redundant entries.
27917 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
27918 * malloc/malloc.c (mtrim): Likewise.
27919 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
27921 2012-10-03 Roland McGrath <roland@hack.frob.com>
27923 * sysdeps/mach/hurd/dl-cache.c: File removed.
27924 * config.h.in (USE_LDCONFIG): New #undef.
27925 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
27926 * configure: Regenerated.
27927 * elf/Makefile (dl-routines): Add dl-cache only under
27928 [$(use-ldconfig) = yes].
27929 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
27930 cache on [USE_LDCONFIG].
27931 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
27933 * elf/rtld.c (dl_main): Likewise.
27935 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
27937 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
27938 _SC_LEVEL4_CACHE_LINESIZE.
27940 2012-10-03 Roland McGrath <roland@hack.frob.com>
27942 * sysdeps/unix/bsd/confstr.h: File removed.
27944 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
27946 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
27949 2012-10-02 Roland McGrath <roland@hack.frob.com>
27951 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
27952 Make 'mapoff' field ElfW(Off) rather than off_t.
27954 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
27956 * nscd/Makefile: Remove nscd-cflags and all its users.
27957 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
27958 (CFLAGS-nonlib): Add compiler flags for nscd modules.
27961 * malloc.c (malloc_printerr): Clarify error message.
27963 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
27966 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27967 Set bit_FMA_Usable if FMA is supported.
27968 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
27970 (bit_FMA4_Usable): Updated.
27971 (index_FMA_Usable): New macro.
27972 (CPUID_FMA): Likewise
27973 (HAS_FMA): Defined with bit_FMA_Usable.
27975 2012-10-01 Roland McGrath <roland@hack.frob.com>
27977 * bits/types.h (__swblk_t): Type removed.
27978 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
27979 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
27980 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27981 (__SWBLK_T_TYPE): Likewise.
27982 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27983 (__SWBLK_T_TYPE): Likewise.
27984 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27985 (__SWBLK_T_TYPE): Likewise.
27986 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27987 (__SWBLK_T_TYPE): Likewise.
27989 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
27990 Honza Horak <hhorak@redhat.com>
27992 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
27993 (xdr_mapname): Use YPMAXMAP as maxsize.
27994 (xdr_peername): Use YPMAXPEER as maxsize.
27995 (xdr_keydat): Use YPAXRECORD as maxsize.
27996 (xdr_valdat): Use YPMAXRECORD as maxsize.
27998 2012-10-01 Roland McGrath <roland@hack.frob.com>
28000 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28002 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28003 * csu/init-first.c: ... here.
28004 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28005 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28006 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28007 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28008 * sysdeps/i386/init-first.c: File removed.
28009 * sysdeps/sh/init-first.c: File removed.
28011 2012-10-01 Joseph Myers <joseph@codesourcery.com>
28014 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28015 if x * y might underflow to zero and z is zero.
28016 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28017 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28018 * math/libm-test.inc (min_subnorm_value): New variable.
28019 (fma_test): Add more tests.
28020 (fma_test_towardzero): Likewise.
28021 (fma_test_downward): Likewise
28022 (fma_test_upward): Likewise.
28023 (initialize): Set min_subnorm_value.
28025 2012-09-29 Joseph Myers <joseph@codesourcery.com>
28028 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28030 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28031 mode for addition resulting in exact zero.
28032 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28033 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28035 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28036 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28037 * math/libm-test.inc (fma_test): Add more tests.
28038 (fma_test_towardzero): New function.
28039 (fma_test_downward): Likewise.
28040 (fma_test_upward): Likewise.
28041 (main): Call the new functions.
28043 2012-09-28 David S. Miller <davem@davemloft.net>
28045 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28047 2012-09-28 Roland McGrath <roland@hack.frob.com>
28049 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28050 instead of SIGALRM.
28052 * sysdeps/gnu/_G_config.h: Moved to ...
28053 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28054 * sysdeps/mach/hurd/_G_config.h: Moved to ...
28055 * sysdeps/generic/_G_config.h: ... here.
28057 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
28059 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28061 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28062 Conditionalize target on [libnss_test1.so-version].
28064 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28066 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28067 (elfobjdir): Move out of conditionals.
28069 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28070 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28071 (__nss_lookup_function): Conditionalize label remove_from_tree on
28072 [!DO_STATIC_NSS || SHARED], matching its only use.
28074 2012-09-28 David S. Miller <davem@davemloft.net>
28076 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28077 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28079 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28081 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28082 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28083 when HWCAP_SPARC_CRYPTO is present.
28085 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28087 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28089 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28092 * stdio-common/vfprintf.c (process_string_arg): Revert
28095 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28097 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28099 * stdio-common/tst-sprintf.c: Include <locale.h>
28100 (main): Test sprintf's handling of incomplete multibyte
28103 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28105 * elf/dl-runtime.c (VERSYMIDX): Removed.
28106 * elf/dl-version.c (VERSYMIDX): Likewise.
28107 * elf/do-rel.h (VERSYMIDX): Likewise.
28108 (VALIDX): Likewise.
28109 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28110 * elf/rtld.c (VALIDX): Likewise.
28111 (ADDRIDX): Likewise.
28112 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28113 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28114 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28115 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28116 (VALIDX): Likewise.
28117 (ADDRIDX): Likewise.
28119 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28121 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28123 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28126 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28128 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28129 addresses are in the same scope as 192.0.2/24.
28130 * posix/gai.conf: Document new scope table defaults.
28132 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28135 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28136 for ftell. Compute offsets from write pointers instead.
28137 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28139 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28142 * libio/Makefile (tests): New test case tst-fseek.
28143 * libio/tst-fseek.c: New test case to verify that fseek/ftell
28144 combination works in wide mode.
28145 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28146 state when the external buffer state changes.
28148 2012-09-27 David S. Miller <davem@davemloft.net>
28151 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28152 pass reloc->r_addend in as the 'high' argument to
28153 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28157 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28159 * rt/tst-aio2.c: Include <pthread.h>.
28160 * rt/tst-aio3.c: Likewise.
28162 2012-09-27 Steve Ellcey <sellcey@mips.com>
28164 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28166 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
28168 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28169 contents on [SHARED].
28171 2012-09-26 Marek Polacek <polacek@redhat.com>
28175 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28176 for C++ and GCC <4.3 as well as for non GCC compilers.
28178 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28180 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28182 2012-09-25 Roland McGrath <roland@hack.frob.com>
28184 * Makefile.in (all, install): Declare with .PHONY.
28185 Reported by Michael Hope <michael.hope@linaro.org>.
28187 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28189 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28190 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28192 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28194 (sydep_routines): Add the new and the internal functions.
28195 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28196 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28198 (GLIBC_2.17): Add the new function.
28199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28200 (GLIBC_2.17): Likewise.
28201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28202 (GLIBC_2.17): Likewise.
28203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28204 (GLIBC_2.17): Likewise.
28205 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28207 2012-09-25 Alan Modra <amodra@gmail.com>
28209 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28210 Add release barrier before setting once_control to say
28211 initialisation is done. Add hints on lwarx. Use macro in
28213 (clear_once_control): Add release barrier.
28215 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28218 * math/s_clog.c (__clog): Handle more values close to |z| = 1
28220 * math/s_clog10.c (__clog10): Likewise.
28221 * math/s_clog10f.c (__clog10f): Likewise.
28222 * math/s_clog10l.c (__clog10l): Likewise.
28223 * math/s_clogf.c (__clogf): Likewise.
28224 * math/s_clogl.c (__clogl): Likewise.
28225 * math/Makefile (libm-calls): Add x2y2m1.
28226 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28227 (__x2y2m1): Likewise.
28228 (__x2y2m1l): Likewise.
28229 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28230 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28231 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28232 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28233 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28234 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28235 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28236 * sysdeps/i386/fpu/libm-test-ulps: Update.
28237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28240 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28241 int as type of variable DEPTH.
28242 (glob): Use size_t instead of int as type of variables NEWCOUNT
28245 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28247 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28248 Add s_sincosf-sse2.
28249 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28250 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28251 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28252 macros for using routine as __sincosf_ia32.
28253 Use macro for function declaration and weak_alias.
28254 * sysdeps/i386/fpu/libm-test-ulps: Update.
28256 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28257 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28259 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28260 subnormal argument.
28261 * math/s_cexpf.c (__cexpf): Likewise.
28262 * math/s_csinf.c (__csinf): Likewise.
28263 * math/s_csinhf.c (__csinhf): Likewise.
28264 * math/s_ctanf.c (__ctanf): Likewise.
28265 * math/s_ctanhf.c (__ctanhf): Likewise.
28266 * math/s_ccosh.c (__ccoshf): Likewise.
28267 * math/s_cexp.c (__cexpl): Likewise.
28268 * math/s_csin.c (__csin): Likewise.
28269 * math/s_csinh.c (__csinh): Likewise.
28270 * math/s_ctan.c (__ctan): Likewise.
28271 * math/s_ctanh.c (ctanh): Likewise.
28272 * math/s_ccoshl.c (__ccoshl): Likewise.
28273 * math/s_cexpl.c (__cexpl): Likewise.
28274 * math/s_csinl.c (__csinl): Likewise.
28275 * math/s_csinhl.c (__csinhl): Likewise.
28276 * math/s_ctanl.c (__ctanl): Likewise.
28277 * math/s_ctanhl.c (__ctanhl): Likewise.
28279 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28281 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28282 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28283 (_IO_off_t): Define to __off_t, not _G_off_t.
28284 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28285 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28286 (_IO_wint_t): Define to wint_t, not _G_wint_t.
28287 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28288 type of __dummy and __dummy2 fields.
28289 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28290 (_G_ssize_t): Likewise.
28291 (_G_off_t): Likewise.
28292 (_G_pid_t): Likewise.
28293 (_G_uid_t): Likewise.
28294 (_G_wchar_t): Likewise.
28295 (_G_wint_t): Likewise.
28296 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28297 (_G_ssize_t): Likewise.
28298 (_G_off_t): Likewise.
28299 (_G_pid_t): Likewise.
28300 (_G_uid_t): Likewise.
28301 (_G_wchar_t): Likewise.
28302 (_G_wint_t): Likewise.
28303 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28304 (_G_ssize_t): Likewise.
28305 (_G_off_t): Likewise.
28306 (_G_pid_t): Likewise.
28307 (_G_uid_t): Likewise.
28308 (_G_wchar_t): Likewise.
28309 (_G_wint_t): Likewise.
28311 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28313 * malloc/arena.c: Include malloc-sysdep.h.
28314 (shrink_heap): Use check_may_shrink_heap to decide if madvise
28315 is sufficient to shrink the heap or an unmap is needed.
28316 * sysdeps/generic/malloc-sysdep.h: New file. Define
28317 new function check_may_shrink_heap.
28318 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
28319 new function check_may_shrink_heap.
28321 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28323 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28326 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
28328 * catgets/test-gencat.sh: Add "set -e".
28329 * elf/tst-pathopt.sh: Likewise.
28330 * grp/tst_fgetgrent.sh: Likewise.
28331 * iconvdata/run-iconv-test.sh: Likewise.
28332 * intl/tst-gettext.sh: Likewise.
28333 * intl/tst-gettext2.sh: Likewise.
28334 * intl/tst-gettext4.sh: Likewise.
28335 * intl/tst-gettext6.sh: Likewise.
28336 * intl/tst-translit.sh: Likewise.
28337 * io/ftwtest-sh: Likewise.
28338 * libio/test-freopen.sh: Likewise.
28339 * malloc/tst-mtrace.sh: Likewise.
28340 * posix/globtest.sh: Likewise.
28341 * posix/tst-getconf.sh: Likewise.
28342 * posix/wordexp-tst.sh: Likewise.
28343 * stdio-common/tst-printf.sh: Likewise.
28344 * stdio-common/tst-unbputc.sh: Likewise.
28345 * stdlib/tst-fmtmsg.sh: Likewise.
28346 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28347 * catgets/Makefile: Do not specify -e option when running
28348 testsuite shell scripts.
28349 * elf/Makefile: Likewise.
28350 * grp/Makefile: Likewise.
28351 * iconvdata/Makefile: Likewise.
28352 * intl/Makefile: Likewise.
28353 * io/Makefile: Likewise.
28354 * libio/Makefile: Likewise.
28355 * malloc/Makefile: Likewise.
28356 * posix/Makefile: Likewise.
28357 * stdio-common/Makefile: Likewise.
28358 * stdlib/Makefile: Likewise.
28359 * sysdeps/x86_64/Makefile: Likewise.
28361 * io/ftwtest-sh: Add copyright header.
28362 * posix/globtest.sh: Likewise.
28363 * posix/tst-getconf.sh: Likewise.
28364 * posix/wordexp-tst.sh: Likewise.
28365 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28367 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
28370 * Makeconfig (+link): Defined as $(+link-static) if
28371 $(build-shared) isn't yes.
28372 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28374 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28376 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28379 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28380 new chunk size with MALLOC_ALIGN_MASK.
28382 2012-09-24 Joseph Myers <joseph@codesourcery.com>
28385 * stdio-common/printf_fphex.c: Include <stdbool.h> and
28387 (__printf_fphex): Determine rounding using get_rounding_mode and
28389 * stdio-common/tst-printf-round.c (struct hex_test): New
28391 (hex_tests): New variable.
28392 (test_hex_in_one_mode): New function.
28393 (do_test): Also run tests for hex float output.
28395 2012-09-21 Joseph Myers <joseph@codesourcery.com>
28397 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28398 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28399 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28400 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28401 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28402 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28403 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28404 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28406 2012-09-20 Joseph Myers <joseph@codesourcery.com>
28408 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28409 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28410 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28411 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28413 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
28416 * elf/rtld.c (dl_main): Limit the check for self loading to normal
28418 * elf/tst-rtld-load-self.sh: New test.
28419 * elf/Makefile: Run it.
28421 2012-09-18 Joseph Myers <joseph@codesourcery.com>
28423 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28424 (tst-writev-ENV): Remove.
28425 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28427 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
28429 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28431 2012-09-17 Joseph Myers <joseph@codesourcery.com>
28433 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28435 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28437 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28438 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28439 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28442 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
28445 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28446 * config.make.in (have-cpp-asm-debuginfo): Removed.
28447 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28448 * configure: Regenerated.
28450 2012-09-14 Joseph Myers <joseph@codesourcery.com>
28453 * stdio-common/printf_fp.c: Include <stdbool.h> and
28455 (___printf_fp): Determine rounding using get_rounding_mode and
28457 * stdio-common/tst-printf-round.c: New file.
28458 * stdio-common/Makefile (tests): Add tst-printf-round.
28459 (link-libm): New variable.
28460 ($(objpfx)tst-printf-round): Depend in $(link-libm).
28462 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
28465 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28466 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28468 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28471 2012-09-13 Joseph Myers <joseph@codesourcery.com>
28473 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28474 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28475 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28476 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28478 2012-09-12 Joseph Myers <joseph@codesourcery.com>
28481 * include/rounding-mode.h: New file.
28482 * sysdeps/generic/get-rounding-mode.h: Likewise.
28483 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28484 * stdlib/strtod_l.c: Include <rounding-mode.h>.
28485 (MAX_VALUE): New macro.
28486 (MIN_VALUE): Likewise.
28487 (overflow_value): New function.
28488 (underflow_value): Likewise.
28489 (round_and_return): Use overflow_value and underflow_value to
28490 determine return values in overflow and underflow cases. Use
28491 round_away to determine rounding depending on rounding mode.
28492 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28493 determine return values in overflow and underflow cases.
28494 * stdlib/tst-strtod-round.c: Include <fenv.h>.
28495 (struct test_results): New structure.
28496 (struct test): Use struct test_results to store expected results
28497 for all rounding modes.
28498 (TEST): Include expected results for all rounding modes.
28499 (test_in_one_mode): New function.
28500 (do_test): Use test_in_one_mode to compute and check results.
28501 Check results for all rounding modes.
28502 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28505 2012-12-09 Allan McRae <allan@archlinux.org>
28507 * sysdeps/i386/fpu/libm-test-ulps: Update
28509 2012-09-11 Joseph Myers <joseph@codesourcery.com>
28511 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28512 (_G_int32_t): Likewise.
28513 (_G_uint16_t): Likewise.
28514 (_G_uint32_t): Likewise.
28515 (_G_HAVE_BOOL): Likewise.
28516 (_G_HAVE_ATEXIT): Likewise.
28517 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28518 (_G_HAVE_IO_FILE_OPEN): Likewise.
28519 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28520 (_G_int32_t): Likewise.
28521 (_G_uint16_t): Likewise.
28522 (_G_uint32_t): Likewise.
28523 (_G_HAVE_BOOL): Likewise.
28524 (_G_HAVE_ATEXIT): Likewise.
28525 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28526 (_G_HAVE_IO_FILE_OPEN): Likewise.
28527 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28528 (_G_int32_t): Likewise.
28529 (_G_uint16_t): Likewise.
28530 (_G_uint32_t): Likewise.
28531 (_G_HAVE_BOOL): Likewise.
28532 (_G_HAVE_ATEXIT): Likewise.
28533 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28534 (_G_HAVE_IO_FILE_OPEN): Likewise.
28536 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
28538 * csu/libc-tls.c: Update copyright years.
28540 2012-09-10 Joseph Myers <joseph@codesourcery.com>
28542 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28543 [!_G_USING_THUNKS]: Remove conditional code.
28544 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28545 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28547 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28548 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28549 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28550 (_G_VTABLE_LABEL_PREFIX): Likewise.
28551 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28552 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28553 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28554 (_G_VTABLE_LABEL_PREFIX): Likewise.
28555 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28556 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28557 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28558 (_G_VTABLE_LABEL_PREFIX): Likewise.
28559 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28561 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
28563 * libio/Makefile: Include ../Makeconfig before tests.
28564 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28565 only if $(build-shared) is yes.
28567 * iconv/gconv_db.c: Update copyright years.
28569 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28571 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28572 unwind info if defined PIC. Fix special cases description.
28573 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28575 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28577 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28579 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
28581 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28583 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28586 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28587 (LDLIBS-tst-chk4): This.
28588 (LDFLAGS-tst-chk5): Renamed to ...
28589 (LDLIBS-tst-chk5): This.
28590 (LDFLAGS-tst-chk6): Renamed to ...
28591 (LDLIBS-tst-chk6): This.
28592 (LDFLAGS-tst-lfschk4): Renamed to ...
28593 (LDLIBS-tst-lfschk4): This.
28594 (LDFLAGS-tst-lfschk5): Renamed to ...
28595 (LDLIBS-tst-lfschk5): This.
28596 (LDFLAGS-tst-lfschk6): Renamed to ...
28597 (LDLIBS-tst-lfschk6): This.
28599 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28600 on $(common-objpfx)soversions.mk.
28602 2012-09-07 Joseph Myers <joseph@codesourcery.com>
28605 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28608 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28610 * malloc/arena.c (arena_get_retry): New function that gets
28611 another arena for the caller to try its request on.
28612 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28613 current arena cannot fulfill the request.
28614 (__libc_memalign): Likewise.
28615 (__libc_memalign): Likewise.
28616 (__libc_pvalloc): Likewise.
28617 (__libc_calloc): Likewise.
28619 2012-09-05 John Tobey <john.tobey@gmail.com>
28622 * manual/arith.texi (Operations on Complex): Fix description
28623 of carg branch cut.
28625 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28628 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28632 * manual/memory.texi (Memory): Make order of menu items match
28635 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28637 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28638 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
28639 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28641 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28643 * csu/libc-tls.c (static_dtv): Renamed to ...
28644 (_dl_static_dtv): This. Make it global.
28645 (_dl_initial_dtv): Removed.
28646 (__libc_setup_tls): Updated.
28647 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28648 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28651 2012-09-06 Petr Machata <pmachata@redhat.com>
28653 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28654 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28655 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28656 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28658 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28661 * csu/libc-tls.c (_dl_initial_dtv): New variable.
28662 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28665 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28668 * Makeconfig (link-static-before-libc): Replace $(+prector)
28670 (link-static-after-libc): Replace $(+postctor) with
28672 (link-bounded): Replace $(+prector)/$(+postctor) with
28673 $(+prectorT)/$(+postctorT).
28674 (+prectorT): New macro.
28675 (+postctorT): Likewise.
28677 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28679 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28680 (round_str): Handle values above the maximum for IBM long double
28682 * stdlib/tst-strtod-round.c (tests): Regenerated.
28684 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28686 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28688 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28689 zarch_nohighgprs around the zarch optimized routines.
28690 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28691 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28692 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28695 2012-09-05 David S. Miller <davem@davemloft.net>
28697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28699 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28700 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28701 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28702 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28705 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28707 * malloc/arena.c: Fold copyright years.
28708 * malloc/mcheck.c, malloc/memusage.c: Likewise.
28710 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28712 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28714 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28716 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
28718 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28720 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28721 change internal state upon failure.
28723 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28725 * malloc/mcheck.c (mcheck_check_all): Fix typo.
28726 * malloc/memusage.c (mmap): Likewise.
28727 (mmap64, mremap): Likewise. Adjust name in comment.
28729 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28731 * libio/fileops.c: Fix typos in comments.
28732 * libio/oldfileops.c: Likewise.
28733 * libio/wfileops.c: Likewise.
28735 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28738 * malloc/Makefile (tests): Add tst-malloc-usable test case.
28739 (tst-malloc-usable-ENV): Set environment for test case.
28740 * malloc/hooks.c (malloc_check_get_size): New function to get
28742 * malloc/malloc.c (musable): Use malloc_check_get_size.
28743 * malloc/tst-malloc-usable.c: New test case.
28745 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28747 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28749 2012-09-05 Allan McRae <allan@archlinux.org>
28752 * configure.in (CXX_SYSINCLUDES): Use compiler output to
28753 determine header location.
28754 * configure: Regenerated.
28756 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28758 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28760 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
28761 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28763 (test): Regenerate.
28765 2012-09-04 David S. Miller <davem@davemloft.net>
28767 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28768 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28769 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28771 2012-09-04 Florian Weimer <fweimer@redhat.com>
28773 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28776 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28778 2012-09-04 Joseph Myers <joseph@codesourcery.com>
28781 * libio/iogetdelim.c: Include <limits.h>.
28782 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28783 + len + 1 would overflow.
28785 2012-09-03 Andreas Jaeger <aj@suse.de>
28787 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28788 * sysdeps/i386/fpu/libm-test-ulps: Update.
28790 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28792 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28793 Add s_sinf-sse2, s_conf-sse2.
28795 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28796 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28797 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28798 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28800 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28801 for using routine as __sinf_ia32.
28802 Use macro for function declaration and weak_alias.
28803 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28804 for using routine as __cosf_ia32.
28805 Use macro for function declaration and weak_alias.
28807 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28808 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28810 * sysdeps/x86_64/fpu/s_sinf.S: New file.
28811 * sysdeps/x86_64/fpu/s_cosf.S: New file.
28812 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28814 * math/libm-test.inc (cos_test): Add more test cases.
28815 (sin_test): Likewise.
28816 (sincos_test): Likewise.
28818 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28820 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28821 (IFUNC_RESOLVE): Make pointers to the specialized implementations
28823 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28825 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
28828 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
28829 first element of the GOT.
28830 (elf_machine_load_address): Return the difference between
28831 the runtime address of _DYNAMIC and elf_machine_dynamic ().
28833 2012-09-01 Allan McRae <allan@archlinux.org>
28836 * configure.in (AWK): Require gawk version 3.0 or later.
28837 * configure: Regenerated.
28839 2012-09-01 Joseph Myers <joseph@codesourcery.com>
28841 * sysdeps/unix/sysv/linux/kernel-features.h
28842 (__ASSUME_POSIX_CPU_TIMERS): Remove.
28843 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28844 [__NR_clock_getres]: Make code unconditional.
28845 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
28846 (clock_getcpuclockid): Remove code left unreachable by removal of
28848 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
28849 code unconditional.
28850 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28851 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28852 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
28853 Make code unconditional.
28854 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28855 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28856 * sysdeps/unix/sysv/linux/clock_settime.c
28857 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
28859 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
28860 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28862 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
28865 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
28866 scripts/test-installation.pl.
28868 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
28869 and $ld_so_version if it is set.
28871 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28874 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
28875 failure if reading from procfs failed.
28876 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
28878 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28880 * sysdeps/unix/sysv/linux/kernel-features.h
28881 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
28882 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28883 Remove conditional code.
28884 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28885 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
28886 Remove conditional code.
28887 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28888 * sysdeps/unix/sysv/linux/i386/fxstat.c
28889 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28890 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28891 * sysdeps/unix/sysv/linux/i386/fxstatat.c
28892 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28893 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28894 * sysdeps/unix/sysv/linux/i386/lxstat.c
28895 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28896 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28897 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
28898 Remove conditional code.
28899 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28900 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28901 Remove conditional code.
28902 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28903 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
28904 <kernel-features.h>.
28905 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
28907 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
28908 Remove conditional code.
28909 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28910 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
28911 Remove conditional.
28913 2012-08-27 Mike Frysinger <vapier@gentoo.org>
28916 * NEWS: Add fixed bug number.
28918 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28921 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
28922 underflowing exponent in case of negative sign.
28923 * stdlib/tst-strtod-round-data: Add more tests.
28924 * stdlib/tst-strtod-round.c (tests): Regenerated.
28927 * stdlib/strtod_l.c (NDIG): Remove.
28928 (HEXNDIG): Likewise.
28929 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
28930 smallest representable value.
28931 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
28932 lie within an exact representation of 1/2 ulp of the result.
28933 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
28935 (TENS_P9_IDX): Define unconditionally.
28936 (TENS_P9_SIZE): Likewise.
28937 (TENS_P10_IDX): Likewise.
28938 (TENS_P10_SIZE): Likewise.
28939 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
28940 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
28941 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
28942 entries for 10^2^13 and 10^2^14.
28943 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
28944 (TENS_P13_IDX): Define.
28945 (TENS_P13_SIZE): Likewise.
28946 (TENS_P14_IDX): Likewise.
28947 (TENS_P14_SIZE): Likewise.
28948 (_fpioconst_pow10): Change array size to
28949 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
28951 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
28952 1024]: Add entries for 10^2^13 and 10^2^14.
28953 [LAST_POW10 > _LAST_POW10]: Remove #error.
28954 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
28955 (_fpioconst_pow10): Change array size to
28956 FPIOCONST_POW10_ARRAY_SIZE.
28957 * stdlib/gen-fpioconst.c: New file.
28958 * stdlib/gen-tst-strtod-round.c: Likewise.
28959 * stdlib/tst-strtod-round-data: Likewise.
28960 * stdlib/tst-strtod-round.c: Likewise.
28961 * stdlib/Makefile (tests): Add tst-strtod-round.
28964 * stdlib/strtod_l.c: Include <stdint.h>.
28965 (NDEBUG): Do not define.
28966 (round_and_return): Change EXPONENT parameter to type intmax_t.
28967 Rearrange calculations to avoid internal overflow possibilities.
28968 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
28969 Rearrange calculations to avoid internal overflow possibilities.
28970 Assert that number fits inside MPNSIZE limbs.
28971 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
28972 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
28973 calculations and add assertions to avoid internal overflow
28974 possibilities. Add casts to avoid signed/unsigned operations.
28975 * stdlib/tst-strtod-overflow.c: New file.
28976 * stdlib/Makefile (tests): Add tst-strtod-overflow.
28978 2012-08-25 Marek Polacek <polacek@redhat.com>
28980 * time/time.h: Fix some typos in comments.
28982 2012-08-23 Roland McGrath <roland@hack.frob.com>
28984 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
28985 * posix/tst-rfc3484-2.c: Likewise.
28986 * posix/tst-rfc3484-3.c: Likewise.
28988 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
28990 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
28991 (EF_ARM_ABI_FLOAT_HARD): Likewise.
28993 2012-08-23 Joseph Myers <joseph@codesourcery.com>
28995 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
28996 #include of fxstatat64.c.
28998 2012-08-22 Roland McGrath <roland@hack.frob.com>
29000 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29001 * shadow/getspent_r.c: Likewise.
29002 * shadow/getspnam.c: Likewise.
29003 * shadow/getspnam_r.c: Likewise.
29004 * gshadow/getsgent.c: Likewise.
29005 * gshadow/getsgent_r.c: Likewise.
29006 * gshadow/getsgnam.c: Likewise.
29007 * gshadow/getsgnam_r.c: Likewise.
29008 * inet/getnetbyad.c: Likewise.
29009 * inet/getnetbyad_r.c: Likewise.
29010 * inet/getnetbynm.c: Likewise.
29011 * inet/getnetbynm_r.c: Likewise.
29012 * inet/getnetent.c: Likewise.
29013 * inet/getnetent_r.c: Likewise.
29014 * inet/getproto.c: Likewise.
29015 * inet/getproto_r.c: Likewise.
29016 * inet/getprtent.c: Likewise.
29017 * inet/getprtent_r.c: Likewise.
29018 * inet/getprtname.c: Likewise.
29019 * inet/getprtname_r.c: Likewise.
29020 * inet/getrpcbyname.c: Likewise.
29021 * inet/getrpcbyname_r.c: Likewise.
29022 * inet/getrpcbynumber.c: Likewise.
29023 * inet/getrpcbynumber_r.c: Likewise.
29024 * inet/getrpcent.c: Likewise.
29025 * inet/getrpcent_r.c: Likewise.
29026 * inet/getaliasent.c: Likewise.
29027 * inet/getaliasent_r.c: Likewise.
29028 * inet/getaliasname.c: Likewise.
29029 * inet/getaliasname_r.c: Likewise.
29030 * nscd/getgrgid_r.c: Likewise.
29031 * nscd/getgrnam_r.c: Likewise.
29032 * nscd/gethstbyad_r.c: Likewise.
29033 * nscd/gethstbynm3_r.c: Likewise.
29034 * nscd/getpwnam_r.c: Likewise.
29035 * nscd/getpwuid_r.c: Likewise.
29036 * nscd/getsrvbynm_r.c: Likewise.
29037 * nscd/getsrvbypt_r.c: Likewise.
29038 * nscd/gai.c: Likewise.
29040 * configure.in (build_nscd): New substituted variable, set
29041 by --disable-build-nscd and defaults to $use_nscd.
29042 * configure: Regenerated.
29043 * config.make.in (build-nscd): New substituted variable.
29044 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29045 Change conditional to require [$(build-nscd) = yes] as well.
29046 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29049 * configure.in (use_nscd): New substituted variable, set by
29050 --disable-nscd. If enabled, define USE_NSCD.
29051 * configure: Regenerated.
29052 * config.h.in: Add USE_NSCD.
29053 * config.make.in (use-nscd): New substituted variable.
29054 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29055 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29056 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29057 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29058 (CFLAGS-getgrnam_r.c): Likewise.
29059 (CFLAGS-initgroups.c): Likewise.
29060 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29061 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29063 * inet/getnetgrent_r.c
29064 (nscd_setnetgrent): New function, broken out of ...
29065 (setnetgrent): ... here. Call it.
29066 (innetgr): Conditionalize nscd bits on [USE_NSCD].
29067 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29068 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29069 * nscd/Makefile (routines, aux): Move definitions after include of
29070 Makeconfig. Conditionalize on [$(use-nscd) != no].
29071 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29072 Conditionalize on [USE_NSCD].
29073 (is_nscd, nscd_init_cb): Likewise.
29074 (nss_load_library): Conditionalize init callback on [USE_NSCD].
29075 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29076 * nss/nss_db/db-init.c: Likewise.
29077 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29079 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29080 (make_request): Use it.
29081 (cache_valid_p): New function.
29082 (__check_pf): Use it.
29083 * NEWS: Add item for --disable-nscd.
29085 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29087 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29088 to support sed >= 4.2.1-20-ga9bf076.
29089 * configure: Regenerated.
29091 2012-08-22 Roland McGrath <roland@hack.frob.com>
29093 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29094 Conditionalize whole body on [IREL].
29096 2012-08-22 Jeff Law <law@redhat.com>
29099 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29100 if the family is PF_UNSPEC.
29102 2012-08-22 Mike Frysinger <vapier@gentoo.org>
29104 * Makerules (lib-version): Rename from V.
29105 (install-lib-nosubdir): Change V to lib-version.
29107 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29110 * powerpc32/power6/wcschr.c: New file.
29111 * powerpc32/power6/wcscpy.c: New file.
29112 * powerpc32/power6/wcsrchr.c: New file.
29113 * powerpc64/power6/wcschr.c: New file.
29114 * powerpc64/power6/wcscpy.c: New file.
29115 * powerpc64/power6/wcsrchr.c: New file.
29117 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29119 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29120 (two_way_short_needle): Use it.
29121 * string/strstr.c (AVAILABLE1_USES_J): Define.
29122 * string/strcasestr.c: Likewise.
29124 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29126 * string/strcasestr.c (TOLOWER): Make side-effect safe.
29129 * NEWS: Add an entry.
29130 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29131 define their defaults.
29132 (two_way_short_needle): Detect end-of-string on-the-fly.
29133 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29134 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29135 * string/bug-strcasestr1.c: New test.
29136 * string/Makefile: Run it.
29138 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29141 * string/str-two-way.h (two_way_short_needle): Optimize matching of
29142 the first character.
29144 2012-08-21 Roland McGrath <roland@hack.frob.com>
29146 * csu/elf-init.c (__libc_csu_irel): Function removed.
29147 * csu/libc-start.c (apply_irel): New function.
29148 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29150 2012-08-21 Joseph Myers <joseph@codesourcery.com>
29152 * sysdeps/unix/sysv/linux/kernel-features.h
29153 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29154 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29155 <kernel-features.h>.
29156 [__NR_fadvise64_64]: Make code unconditional.
29157 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29158 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29159 !__NR_fadvise64_64)]: Likewise.
29160 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29161 !__NR_fadvise64_64))]: Likewise.
29162 [__NR_fadvise64]: Make code unconditional.
29163 [!__NR_fadvise64]: Remove conditional code.
29164 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29165 <kernel-features.h>.
29166 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29168 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29171 not include <kernel-features.h>.
29172 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29174 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29176 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29177 include <kernel-features.h>.
29178 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29180 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29183 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29185 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29186 slight instruction rearrangements per scrollpipe analysis.
29187 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29189 2012-08-20 Roland McGrath <roland@hack.frob.com>
29191 * manual/syslog.texi (syslog; vsyslog, closelog):
29192 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29193 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29195 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29196 DSOCAPS to match condition on defining it.
29198 2012-08-20 Joseph Myers <joseph@codesourcery.com>
29200 * sysdeps/unix/sysv/linux/kernel-features.h
29201 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29203 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29204 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29206 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29207 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29209 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29210 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29212 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29213 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29215 * sysdeps/unix/sysv/linux/kernel-features.h
29216 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29217 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29219 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29220 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29221 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29222 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29223 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29224 Make code unconditional.
29225 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29226 (__mmap64) [!__NR_mmap2]: Likewise.
29227 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29228 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29229 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29230 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29231 [__NR_mmap2]: Make code unconditional.
29232 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29233 (__mmap64) [!__NR_mmap2]: Likewise.
29235 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29237 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29239 2012-08-18 Andreas Jaeger <aj@suse.de>
29241 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29243 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29245 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29246 * include/unistd.h (__have_sock_cloexec): Likewise.
29247 (__have_pipe2): Likewise.
29248 (__have_dup3): Likewise.
29250 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29253 * include/unistd.h (__have_pipe2): Change define into an extern int.
29254 (__have_dup3): Likewise.
29255 * socket/have_sock_cloexec.c: Include fcntl.h.
29256 (__have_pipe2): New variable.
29257 (__have_dup3): Likewise.
29259 2012-08-17 Mike Frysinger <vapier@gentoo.org>
29261 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29263 2012-08-17 Marek Polacek <polacek@redhat.com>
29265 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29266 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29268 2012-08-17 Roland McGrath <roland@hack.frob.com>
29270 * configure.in: Add AC_SUBST for sysheaders.
29271 * configure: Regenerated.
29272 * config.make.in (sysheaders): New substituted variable.
29274 * sysdeps/unix/mkfifo.c: Moved ...
29275 * sysdeps/posix/mkfifo.c: ... here.
29276 * sysdeps/unix/mkfifoat.c: Moved ...
29277 * sysdeps/posix/mkfifoat.c: ... here.
29279 * sysdeps/unix/utime.c: Moved ...
29280 * sysdeps/posix/utime.c: ... here.
29282 * sysdeps/unix/time.c: Moved ...
29283 * sysdeps/posix/time.c: ... here.
29284 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29285 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29287 * sysdeps/unix/nice.c: Moved ...
29288 * sysdeps/posix/nice.c: ... here.
29290 * sysdeps/unix/alarm.c: Moved ...
29291 * sysdeps/posix/alarm.c: ... here.
29293 * intl/Makefile ($(codeset_mo)): Depend on the input file.
29295 2012-08-17 Jeff Law <law@redhat.com>
29297 * intl/Makefile (codeset_mo): New variable.
29298 ($(codeset_mo)): New target.
29299 (tst-codeset.out): Depend on that. Remove explicit rule.
29300 (tst-gettext3.out, tst-gettext5.out): Likewise.
29301 (LOCPATH-ENV, tst-codeset-ENV): New variables.
29302 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29303 * intl/tst-codeset.sh: Remove.
29304 * intl/tst-gettext3.sh: Likewise.
29305 * intl/tst-gettext5.sh: Likewise.
29307 2012-08-17 Roland McGrath <roland@hack.frob.com>
29309 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
29310 * sysdeps/unix/syscalls.list: ... here.
29312 * sysdeps/posix/getaddrinfo.c
29313 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29314 (gaiconf_init, gaiconf_reload): Use them.
29315 [!_STATBUF_ST_NSEC]
29316 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29317 Define using time_t rather than struct timespec.
29319 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29320 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29322 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29324 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29325 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29328 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29329 __libc_cleanup_push argument.
29331 * bits/param.h: New file.
29332 * misc/sys/param.h: New file.
29333 * include/sys/param.h: New file.
29334 * misc/Makefile (headers): Add bits/param.h.
29335 * sysdeps/generic/sys/param.h: File removed.
29336 * sysdeps/unix/sysv/linux/bits/param.h: New file.
29337 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29338 * sysdeps/mach/hurd/bits/param.h: New file.
29339 * sysdeps/mach/hurd/sys/param.h: File removed.
29341 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29344 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29346 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29347 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29350 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29351 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29352 rather than -D_IO_MTSAFE_IO conditionally.
29353 * stdio-common/Makefile (CPPFLAGS): Likewise.
29354 * wcsmbs/Makefile (CPPFLAGS): Likewise.
29355 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29356 Use $(libio-mtsafe).
29357 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29358 of -D_IO_MTSAFE_IO.
29359 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29360 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29361 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29362 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29363 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29364 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29365 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29366 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29367 (CFLAGS-fread_u_chk.c): Likewise.
29368 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29369 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29370 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29371 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29372 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29373 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29374 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29375 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29376 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29378 * libio/Makefile: Test [$(libc-reentrant) = yes]
29379 instead of [$(filter %REENTRANT, $(defines)) nonempty].
29382 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29383 * sysdeps/pthread/configure: File removed.
29384 * sysdeps/pthread/Makeconfig: New file.
29385 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29386 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29388 2012-08-16 Gary Benson <gbenson@redhat.com>
29390 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29391 unmapping the first object in a namespace.
29393 2012-08-16 Roland McGrath <roland@hack.frob.com>
29395 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29396 (__internal_setnetgrent): ... this. Add internal_function to
29397 definition. Add libc_hidden_def.
29398 (setnetgrent): Update caller.
29399 (internal_endnetgrent): Renamed to ...
29400 (__internal_endnetgrent): ... this. Add internal_function to
29401 definition. Add libc_hidden_def.
29402 (endnetgrent): Update caller.
29403 (internal_getnetgrent_r): Renamed to ...
29404 (__internal_getnetgrent_r): ... this. Add internal_function to
29405 definition. Add libc_hidden_def.
29406 (__getnetgrent_r): Update caller.
29407 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
29409 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29411 * stdlib/longlong.h: Update from GCC.
29413 2012-08-16 Roland McGrath <roland@hack.frob.com>
29415 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29416 on _QL, which is set by umul_ppmm but never used.
29417 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29418 variables, which are set by GMP macros but never used.
29419 * stdio-common/_itowa.c (_itowa): Likewise.
29420 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29421 * stdlib/mod_1.c (mpn_mod_1): Likewise.
29423 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
29425 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29426 struct La_sh_regs is not constant.
29427 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29428 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29429 and struct La_sparc64_regs are not constant.
29431 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29433 * sysdeps/unix/sysv/linux/kernel-features.h
29434 (__ASSUME_POSIX_TIMERS): Remove.
29435 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29436 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29437 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29438 Make code unconditional.
29439 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29440 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29441 Make code unconditional.
29442 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29443 * sysdeps/unix/sysv/linux/clock_nanosleep.c
29444 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29445 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29446 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29447 Make code unconditional.
29448 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29449 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29450 (__libc_missing_posix_timers): Remove.
29452 2012-08-15 Roland McGrath <roland@hack.frob.com>
29454 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29455 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29457 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29459 * elf/dl-sym.c: Include <stdlib.h>.
29461 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29462 constants, which avoids warnings in 32-bit builds.
29464 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29465 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29467 * misc/lseek.c: File moved to ...
29468 * io/lseek.c: ... here.
29470 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29472 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29473 shifting LEN more than 31 bits at once.
29475 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29478 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29479 segmentation fault for a case of two empty input strings.
29480 * string/test-strncasecmp.c (check1): Renamed to...
29481 (bz12205): ...this.
29482 (bz14195): Add new testcase for two empty input strings and N > 0.
29483 (test_main): Call new testcase, adapt for renamed function.
29485 2012-08-15 Andreas Jaeger <aj@suse.de>
29488 * crypt/md5test2.c: New test, based on test supplied by Serge
29489 Belyshev <belyshev@depni.sinp.msu.ru>.
29490 * crypt/Makefile (xtests): Add md5test-giant..
29491 * crypt/Makefile ($(objpfx)md5test-giant): Add.
29493 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
29496 * crypt/md5.c (md5_process_block): Don't assume the buffer
29497 length is less than 2**32.
29498 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29499 length is less than 2**64.
29501 2012-08-15 Roland McGrath <roland@hack.frob.com>
29503 * string/str-two-way.h: Include <sys/param.h>.
29504 (MAX): Macro removed.
29506 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29507 Move #define and #undef of memmove to just before and after
29508 including <string.h>.
29510 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29511 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29512 and after including <string.h>. Move declarations of
29513 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29514 to before #include "string/memmove.c".
29516 * include/dirent.h: Declare __getdirentries.
29518 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29519 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29521 2012-08-14 Mike Frysinger <vapier@gentoo.org>
29523 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29524 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29525 * sysdeps/i386/configure: Regenerated.
29526 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29527 STABS_CURRENT_FILE, and STABS_FUN.
29528 (END): Remove call to STABS_FUN_END.
29529 (STABS_CURRENT_FILE1): Delete.
29530 (STABS_CURRENT_FILE): Likewise.
29531 (STABS_FUN): Likewise.
29532 (STABS_FUN_END): Likewise.
29533 (STABS_FUN2): Likewise.
29534 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29535 * sysdeps/x86_64/configure: Regenerated.
29537 2012-08-14 Roland McGrath <roland@hack.frob.com>
29539 * elf/dl-open.c: Include <atomic.h>.
29540 * elf/dl-lookup.c: Likewise.
29542 2012-08-14 Joseph Myers <joseph@codesourcery.com>
29544 * sysdeps/unix/sysv/linux/kernel-features.h
29545 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29546 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29548 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29550 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29551 condition on __ASSUME_CLONE_THREAD_FLAGS.
29553 2012-08-14 Andreas Jaeger <aj@suse.de>
29555 * sysdeps/i386/fpu/libm-test-ulps: Update.
29557 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
29559 * include/atomic.h (atomic_exchange_and_add): Split into ...
29560 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29563 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
29565 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29567 2012-08-13 Jeff Law <law@redhat.com>
29569 * manual/stdio.texi (snprintf): Clarify handling of the trailing
29570 null byte in the output string.
29572 2012-08-10 Joseph Myers <joseph@codesourcery.com>
29574 * sysdeps/unix/sysv/linux/kernel-features.h
29575 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29576 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29577 (__ASSUME_ARG_MAX_STACK_BASED): Define.
29578 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29579 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29580 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
29581 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29583 2012-08-09 Jeff Law <law@redhat.com>
29586 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29587 When avoid_arena is set, don't retry in the that arena. Pick the
29588 next one, whatever it might be.
29589 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29590 (arena_lock): Pass in new parameter to arena_get2.
29591 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29593 (__libc_malloc): Unify retrying after main arena failure with
29594 __libc_memalign version.
29595 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29597 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
29600 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29601 to __redirect_strstr.
29602 (__strstr_sse42): Use typeof __redirect_strstr.
29603 (__strstr_ia32): Likewise.
29604 (__libc_strstr): New prototype.
29605 (strstr): Renamed to ...
29606 (__libc_strstr): This.
29607 (strstr): New strong alias of __libc_strstr.
29608 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29609 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29612 (__libc_time): New prototype.
29613 (time_ifunc): Replace time with __libc_time.
29614 (time): New strong alias and hidden definition of __libc_time.
29615 (__GI_time): Remove strong alias.
29616 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29617 Include <stddef.h>.
29618 (memmove): Redefined to __redirect_memmove.
29619 (__memmove_sse2): Use typeof __redirect_memmove.
29620 (__memmove_ssse3): Likewise.
29621 (__memmove_ssse3_back): Likewise.
29622 (__libc_memmove): New prototype.
29623 (memmove): Renamed to ...
29624 (__libc_memmove): This.
29625 (memmove): New strong alias of __libc_memmove.
29627 2012-08-08 Mark Salter <msalter@redhat.com>
29630 (R_MN10300_TLS_GD): Define.
29631 (R_MN10300_TLS_LD): Likewise.
29632 (R_MN10300_TLS_LDO): Likewise.
29633 (R_MN10300_TLS_GOTIE): Likewise.
29634 (R_MN10300_TLS_IE): Likewise.
29635 (R_MN10300_TLS_LE): Likewise.
29636 (R_MN10300_TLS_DTPMOD): Likewise.
29637 (R_MN10300_TLS_DTPOFF): Likewise.
29638 (R_MN10300_TLS_TPOFF): Likewise.
29639 (R_MN10300_SYM_DIFF): Likewise.
29640 (R_MN10300_ALIGN): Likewise.
29641 (R_MN10300_NUM): Update.
29643 2012-08-08 Joseph Myers <joseph@codesourcery.com>
29645 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29648 2012-08-08 Roland McGrath <roland@hack.frob.com>
29650 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29652 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29653 sysdeps/unix -> sysdeps/posix move.
29654 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29656 2012-08-07 Allan McRae <allan@archlinux.org>
29659 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29660 (SUNOS_CPP): Likewise.
29661 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29663 (open_input): Call CPP using execvp.
29665 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29667 * sysdeps/unix/sysv/linux/kernel-features.h
29668 (__ASSUME_PROT_GROWSUPDOWN): Remove.
29669 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29670 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29671 (__ASSUME_WAITID_SYSCALL): Likewise.
29672 * sysdeps/unix/sysv/linux/dl-execstack.c
29673 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29674 code unconditional.
29675 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29677 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29678 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29679 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29681 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29683 [__ASSUME_WAITID_SYSCALL]: Likewise.
29684 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29686 2012-08-07 Roland McGrath <roland@hack.frob.com>
29688 * sysdeps/unix/closedir.c: Renamed to ...
29689 * sysdeps/posix/closedir.c: ... here.
29690 * sysdeps/unix/dirfd.c: Renamed to ...
29691 * sysdeps/posix/dirfd.c: ... here.
29692 * sysdeps/unix/dirstream.h: Renamed to ...
29693 * sysdeps/posix/dirstream.h: ... here.
29694 * sysdeps/unix/fdopendir.c: Renamed to ...
29695 * sysdeps/posix/fdopendir.c: ... here.
29696 * sysdeps/unix/opendir.c: Renamed to ...
29697 * sysdeps/posix/opendir.c: ... here.
29698 * sysdeps/unix/readdir.c: Renamed to ...
29699 * sysdeps/posix/readdir.c: ... here.
29700 * sysdeps/unix/readdir_r.c: Renamed to ...
29701 * sysdeps/posix/readdir_r.c: ... here.
29702 * sysdeps/unix/rewinddir.c: Renamed to ...
29703 * sysdeps/posix/rewinddir.c: ... here.
29704 * sysdeps/unix/seekdir.c: Renamed to ...
29705 * sysdeps/posix/seekdir.c: ... here.
29706 * sysdeps/unix/telldir.c: Renamed to ...
29707 * sysdeps/posix/telldir.c: ... here.
29708 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29709 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29710 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29711 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29713 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29714 * bits/fcntl.h: ... here.
29716 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29718 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29719 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29720 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29721 (struct flock): Move l_start, l_len to the beginning.
29722 Use __pid_t for l_pid.
29723 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29724 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29725 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29726 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29727 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29728 [__USE_LARGEFILE64] (struct flock64): New type.
29729 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29731 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29732 * bits/dirent.h: ... here.
29734 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29735 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29737 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29739 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29740 Change from 2.6.0 to 2.6.16.
29741 * sysdeps/unix/sysv/linux/configure: Regenerated.
29742 * sysdeps/unix/sysv/linux/kernel-features.h
29743 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29744 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29746 (__ASSUME_UTIMES): Likewise.
29747 (__ASSUME_CLONE_STOPPED): Remove.
29748 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29749 architectures, not kernel version.
29750 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29751 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29752 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29753 (__ASSUME_WAITID_SYSCALL): Likewise.
29754 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29755 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29756 * README: State 2.6.16 as minimum Linux kernel version. Do not
29757 refer to older versions.
29759 2012-08-06 Roland McGrath <roland@hack.frob.com>
29761 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29762 Define alphasort64 as an alias.
29763 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29764 Define versionsort64 as an alias.
29765 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29766 Define scandir64 as an alias.
29767 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29768 Define scandirat64 as an alias.
29769 * dirent/alphasort64.c (alphasort64):
29770 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29771 * dirent/versionsort64.c: Likewise.
29772 * dirent/scandir64.c: Likewise.
29773 * dirent/scandirat64.c: Likewise.
29774 * sysdeps/wordsize-64/alphasort.c: File removed.
29775 * sysdeps/wordsize-64/alphasort64.c: File removed.
29776 * sysdeps/wordsize-64/scandir.c: File removed.
29777 * sysdeps/wordsize-64/scandir64.c: File removed.
29778 * sysdeps/wordsize-64/scandirat.c: File removed.
29779 * sysdeps/wordsize-64/scandirat64.c: File removed.
29780 * sysdeps/wordsize-64/versionsort.c: File removed.
29781 * sysdeps/wordsize-64/versionsort64.c: File removed.
29782 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29783 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29784 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29785 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29786 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29787 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29788 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29789 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29791 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29792 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29793 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29794 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29795 [defined __arch64__ || defined __sparcv9]
29796 (__INO_T_MATCHES_INO64_T): New macro.
29797 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29798 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29799 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29800 * sysdeps/unix/sysv/linux/bits/dirent.h
29801 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29802 (_DIRENT_MATCHES_DIRENT64): New macro.
29804 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29805 Define lockf64 as an alias.
29806 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29807 Define fseeko64 as an alias.
29808 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29809 Define ftello64 as an alias.
29810 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29811 Define _IO_fgetpos64 and fgetpos64 as aliases.
29812 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29813 Define _IO_fsetpos64 and fsetpos64 as aliases.
29814 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29815 Conditionalize body on this.
29816 * libio/fseeko64.c: Likewise.
29817 * libio/ftello64.c: Likewise.
29818 * libio/iofgetpos64.c: Likewise.
29819 * libio/iofsetpos64.c: Likewise.
29820 * sysdeps/wordsize-64/lockf.c: File removed.
29821 * sysdeps/wordsize-64/lockf64.c: File removed.
29822 * sysdeps/wordsize-64/fseeko.c: File removed.
29823 * sysdeps/wordsize-64/fseeko64.c: File removed.
29824 * sysdeps/wordsize-64/ftello.c: File removed.
29825 * sysdeps/wordsize-64/ftello64.c: File removed.
29826 * sysdeps/wordsize-64/iofgetpos.c: File removed.
29827 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
29828 * sysdeps/wordsize-64/iofsetpos.c: File removed.
29829 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
29830 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
29831 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
29832 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
29833 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
29834 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
29835 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
29836 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
29837 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
29838 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
29839 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
29841 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29842 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29843 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
29844 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29845 [defined __arch64__ || defined __sparcv9]
29846 (__OFF_T_MATCHES_OFF64_T): New macro.
29847 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29848 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29849 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29850 (__OFF_T_MATCHES_OFF64_T): New macro.
29852 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29854 * stdlib/secure-getenv.c (__secure_getenv): Replace
29855 GLIBC_2_16 with GLIBC_2_17.
29857 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29859 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
29860 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29862 2012-08-03 David S. Miller <davem@davemloft.net>
29864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29866 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29868 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
29870 (__ASSUME_CORRECT_SI_PID): Likewise.
29871 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
29872 (__ASSUME_TMPFS_NAME): Likewise.
29873 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
29874 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
29875 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
29876 (HAVE_AUX_SECURE): Make definition unconditional.
29877 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
29878 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
29880 2012-08-03 Roland McGrath <roland@hack.frob.com>
29882 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
29883 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
29884 * sysdeps/mach/hurd/eloop-threshold.h: New file.
29885 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29886 __eloop_threshold instead of SYMLOOP_MAX.
29888 * sysdeps/generic/eloop-threshold.h: New file.
29889 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
29891 * elf/chroot_canon.c (chroot_canon): Likewise.
29893 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29896 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29897 Change to 2.6.0 everywhere.
29898 * sysdeps/unix/sysv/linux/configure: Regenerated.
29899 * sysdeps/unix/sysv/linux/kernel-features.h
29900 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
29901 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
29903 (__ASSUME_POSIX_TIMERS): Define unconditionally.
29904 (__ASSUME_FUTEX_REQUEUE): Remove.
29905 (__ASSUME_STATFS64): Define unconditionally.
29906 (__ASSUME_AT_SECURE): Likewise.
29907 (__ASSUME_CORRECT_SI_PID): Likewise.
29908 (__ASSUME_TGKILL): Define without depending on kernel version for
29910 (__ASSUME_UTIMES): Likewise.
29911 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
29913 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
29914 (__ASSUME_TMPFS_NAME): Likewise.
29915 * README: Update reference to Linux kernel versions.
29917 2012-08-02 Marek Polacek <polacek@redhat.com>
29920 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
29921 libc_cv_asm_type_prefix with %.
29922 * configure: Regenerated.
29923 * include/libc-symbols.h: Remove comment about
29924 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29925 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
29926 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
29927 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
29928 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
29929 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29930 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
29931 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
29932 * elf/tst-unique2mod1.c: Likewise.
29933 * elf/tst-unique1mod2.c: Likewise.
29934 * elf/tst-unique1mod1.c: Likewise.
29935 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
29936 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
29937 Replace ASM_TYPE_DIRECTIVE with .type.
29938 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29939 * sysdeps/i386/sysdep.h: Likewise.
29940 * sysdeps/x86_64/sysdep.h: Likewise.
29941 * sysdeps/sh/sysdep.h: Likewise.
29942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29943 Do not define ASM_TYPE_DIRECTIVE.
29944 * sysdeps/powerpc/sysdep.h: Likewise.
29945 * sysdeps/powerpc/powerpc32/sysdep.h:
29946 Replace ASM_TYPE_DIRECTIVE with .type.
29947 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29948 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29949 * sysdeps/i386/fpu/e_powf.S: Likewise.
29950 * sysdeps/i386/fpu/e_expl.S: Likewise.
29951 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29952 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29953 * sysdeps/i386/fpu/e_pow.S: Likewise.
29954 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29955 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29956 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29957 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29958 * sysdeps/i386/fpu/e_log2.S: Likewise.
29959 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29960 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29961 * sysdeps/i386/fpu/e_powl.S: Likewise.
29962 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29963 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29964 * sysdeps/i386/fpu/e_logl.S: Likewise.
29965 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29966 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29967 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29968 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29969 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29970 * sysdeps/i386/fpu/e_log.S: Likewise.
29971 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29972 * sysdeps/i386/fpu/e_logf.S: Likewise.
29973 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29974 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29975 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29976 * sysdeps/i386/fpu/e_log10.S: Likewise.
29977 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29978 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29979 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29980 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29981 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29982 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29983 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29984 * sysdeps/i386/i686/strtok.S: Likewise.
29985 * sysdeps/i386/i386-mcount.S: Likewise.
29986 * sysdeps/i386/strtok.S: Likewise.
29987 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
29988 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29989 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29990 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29991 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29992 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29993 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29994 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29995 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29996 * sysdeps/x86_64/_mcount.S: Likewise.
29997 * sysdeps/x86_64/strtok.S: Likewise.
29998 * sysdeps/sh/_mcount.S: Likewise.
30000 2012-08-01 Roland McGrath <roland@hack.frob.com>
30002 * libio/iofopen.c: Include <fcntl.h>.
30003 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30004 (_IO_fopen64, fopen64): Define as aliases.
30005 * libio/iofopen64.c: Include <fcntl.h>.
30006 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30007 Conditionalize body on this.
30008 * sysdeps/wordsize-64/iofopen.c: File removed.
30009 * sysdeps/wordsize-64/iofopen64.c: File removed.
30011 2012-08-01 Marek Polacek <polacek@redhat.com>
30013 * libc/Makeconfig: Use elf in place of binfmt-subdir.
30014 Use dlfcn directly instead of a variable.
30015 (binfmt-subdir): Do not define.
30018 2012-08-01 Joseph Myers <joseph@codesourcery.com>
30020 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30021 Remove all definitions.
30022 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30023 <kernel-features.h>.
30024 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30025 (miss_F_GETOWN_EX): Remove all definitions.
30026 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30028 [!__ASSUME_FCNTL64]: Remove conditional code.
30029 [__ASSUME_FCNTL64]: Make code unconditional.
30030 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30031 <kernel-features.h>.
30032 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30033 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30034 (lockf64) [__NR_fcntl64]: Make code unconditional.
30035 (lockf64) [__ASSUME_FCNTL64]: Likewise.
30037 * sysdeps/unix/sysv/linux/kernel-features.h
30038 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30039 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30040 Make code unconditional.
30041 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30042 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30044 [__NR_vfork]: Make code unconditional.
30045 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30046 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30048 [__NR_vfork]: Make code unconditional.
30049 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30050 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30052 2012-08-01 Roland McGrath <roland@hack.frob.com>
30054 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30055 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30057 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30058 Define mkstemp64 as an alias.
30059 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30060 Define mkstemps64 as an alias.
30061 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30062 Define mkostemp64 as an alias.
30063 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30064 Define mkostemps64 as an alias.
30065 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30066 Conditionalize body on this.
30067 * misc/mkostemp64.c: Likewise.
30068 * misc/mkostemps64.c: Likewise.
30069 * misc/mkstemps64.c: Likewise.
30070 * sysdeps/wordsize-64/mkstemp64.c: File removed.
30071 * sysdeps/wordsize-64/mkostemp64.c: File removed.
30072 * sysdeps/wordsize-64/mkostemp.c: File removed.
30073 * sysdeps/wordsize-64/mkstemp.c: File removed.
30074 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30075 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30076 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30077 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30080 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30081 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30082 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30083 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30085 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30086 compat_symbol macros from <shlib-compat.h> rather than the underlying
30087 default_symbol_version and symbol_version macros, so that DEFAULT
30088 lines in shlib-versions are respected.
30089 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30091 2012-08-01 Florian Weimer <fweimer@redhat.com>
30093 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30094 Declare with warn_unused_result.
30095 (setgid, setregid, setegid, setresgid): Likewise.
30096 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30098 * WUR-REPORT: Remove set*id functions.
30100 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30102 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30104 2012-07-31 Roland McGrath <roland@hack.frob.com>
30107 * include/sys/socket.h (__libc_accept, __libc_accept4):
30108 Add attribute_hidden.
30109 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30111 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30113 * inet/getnetgrent_r.c (setup): Likewise.
30115 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30117 2012-07-31 David S. Miller <davem@davemloft.net>
30119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30121 2012-07-31 Joseph Myers <joseph@codesourcery.com>
30124 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30125 value between 1.0 and 2.0 and smaller part has absolute value less
30127 * math/s_clog10.c (__clog10): Likewise.
30128 * math/s_clog10f.c (__clog10f): Likewise.
30129 * math/s_clog10l.c (__clog10l): Likewise.
30130 * math/s_clogf.c (__clogf): Likewise.
30131 * math/s_clogl.c (__clogl): Likewise.
30132 * math/libm-test.inc (clog_test): Add more tests.
30133 (clog10_test): Likewise.
30134 * sysdeps/i386/fpu/libm-test-ulps: Update.
30135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30137 2012-07-31 Florian Weimer <fweimer@redhat.com>
30139 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30140 Exit with zero in case no suitable GID is found, and write a
30141 message to standard error.
30143 2012-07-30 Roland McGrath <roland@hack.frob.com>
30145 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30147 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30148 (MAXPATHLEN): Removed.
30149 (NOGROUP, NODEV): New macros.
30150 (setbit, clrbit, isset, isclr): New macros.
30151 (howmany, roundup, powerof2): New macros.
30152 (DEV_BSIZE): New macro.
30154 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30155 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30157 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30158 definition on [!__NO_LONG_DOUBLE_MATH].
30160 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30161 PTR_MANGLE and PTR_DEMANGLE.
30163 * socket/accept4.c (accept4): Rename to __libc_accept4.
30164 Define accept4 as a weak alias.
30166 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30167 on [_DIRENT_HAVE_D_TYPE].
30168 * io/ftw.c (ftw_dir): Likewise.
30170 * io/xmknod.c (__xmknod): Don't check PATH for being null.
30172 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30174 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30175 Use the BSD numbers rather than the arbitrary ones we had.
30176 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30177 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30178 (SIGXCPU, SIGXFSZ): New macros.
30181 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30182 initializer on [_LIBC_REENTRANT].
30184 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30185 definitions inside [_POSIX_MAPPED_FILES].
30187 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30189 * dirent/opendir.c: Include <fcntl.h>.
30191 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30192 (__libc_getspecific): Likewise.
30193 (__libc_key_create): Likewise.
30195 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30196 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30197 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30198 (tmpfile64): Define as alias.
30199 * sysdeps/wordsize-64/tmpfile.c: File removed.
30200 * sysdeps/wordsize-64/tmpfile64.c: File removed.
30201 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30202 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30204 * stdio-common/vfscanf.c: Include <stdbool.h>.
30205 * nss/makedb.c: Likewise.
30206 * stdio-common/_i18n_number.h: Likewise.
30207 * argp/argp-help.c: Likewise.
30208 * posix/wordexp.c: Likewise.
30209 * sysdeps/posix/spawni.c: Likewise.
30210 * nss/nss_files/files-initgroups.c: Likewise.
30211 * stdio-common/reg-modifier.c: Include <stdlib.h>.
30212 * nss/nss_files/files-initgroups.c: Likewise.
30213 * nss/nss_db/db-netgrp.c: Likewise.
30214 * nss/nss_db/db-initgroups.c: Likewise.
30215 * io/fchmodat.c: Include <sys/stat.h>.
30217 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30218 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30220 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30223 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30224 Add multiple inclusion protection.
30226 2012-07-27 David S. Miller <davem@davemloft.net>
30228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30230 2012-07-27 Gary Benson <gbenson@redhat.com>
30233 * elf/rtld.c: Include <stap-probe.h>.
30234 (dl_main): Added static probes "init_start" and "init_complete".
30235 * elf/dl-load.c: Include <stap-probe.h>.
30236 (lose): Take new parameter "nsid".
30237 Added static probe "map_failed".
30238 (_dl_map_object_from_fd): Pass namespace id to lose.
30239 Added static probe "map_start".
30240 (open_verify): Pass namespace id to lose.
30241 * elf/dl-open.c: Include <stap-probe.h>.
30242 (dl_open_worker) Added static probes "map_complete", "reloc_start"
30243 and "reloc_complete".
30244 * elf/dl-close.c: Include <stap-probe.h>.
30245 (_dl_close_worker): Added static probes "unmap_start" and
30247 * elf/rtld-debugger-interface.txt: New file documenting the above.
30249 2012-07-26 Roland McGrath <roland@hack.frob.com>
30251 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30252 rather than a string variable.
30253 * sunrpc/rpc_main.c (h_output): Likewise.
30254 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30256 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
30258 * inet/check_native.c: New file.
30260 2012-07-26 Joseph Myers <joseph@codesourcery.com>
30263 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30264 if larger part has absolute value 1.0.
30265 * math/s_clog10.c (__clog10): Likewise.
30266 * math/s_clog10f.c (__clog10f): Likewise.
30267 * math/s_clog10l.c (__clog10l): Likewise.
30268 * math/s_clogf.c (__clogf): Likewise.
30269 * math/s_clogl.c (__clogl): Likewise.
30270 * math/libm-test.inc (clog_test): Add more tests.
30271 (clog10_test): Likewise.
30272 * sysdeps/i386/fpu/libm-test-ulps: Update.
30273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30275 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30276 (pltexit): Likewise.
30277 (La_regs): Likewise.
30278 (La_retval): Likewise.
30279 (int_retval): Likewise.
30280 Update #error for removed macros to refer only to definitions in
30282 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30284 (pltexit): Likewise.
30285 (La_regs): Likewise.
30286 (La_retval): Likewise.
30287 (int_retval): Likewise.
30288 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30290 (pltexit): Likewise.
30291 (La_regs): Likewise.
30292 (La_retval): Likewise.
30293 (int_retval): Likewise.
30294 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30296 (pltexit): Likewise.
30297 (La_regs): Likewise.
30298 (La_retval): Likewise.
30299 (int_retval): Likewise.
30300 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30302 (pltexit): Likewise.
30303 (La_regs): Likewise.
30304 (La_retval): Likewise.
30305 (int_retval): Likewise.
30306 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30308 (pltexit): Likewise.
30309 (La_regs): Likewise.
30310 (La_retval): Likewise.
30311 (int_retval): Likewise.
30312 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30314 (pltexit): Likewise.
30315 (La_regs): Likewise.
30316 (La_retval): Likewise.
30317 (int_retval): Likewise.
30318 * sysdeps/generic/tst-audit.h: Update comment to refer only to
30319 macro definitions in tst-audit.h.
30320 * sysdeps/i386/tst-audit.h: New file.
30321 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30322 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30323 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30324 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30325 * sysdeps/sh/tst-audit.h: Likewise.
30326 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30327 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30328 * sysdeps/x86_64/tst-audit.h: Likewise.
30330 2012-07-26 Andreas Jaeger <aj@suse.de>
30332 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30335 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30336 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30337 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30339 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30340 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30341 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30343 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30346 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30348 (si_call_addr, si_syscall, si_arch): Define new macro.
30349 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30351 (si_call_addr, si_syscall, si_arch): Define new marcro.
30352 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30354 (si_call_addr, si_syscall, si_arch): Define new macro.
30355 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30357 (si_call_addr, si_syscall, si_arch): Define new macro.
30359 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30362 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30363 Change to 2.4.21 where previously 2.4.1.
30364 * sysdeps/unix/sysv/linux/configure: Regenerated.
30365 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30366 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30367 Linux kernel version.
30368 (__ASSUME_STD_AUXV): Remove.
30369 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30371 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30372 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30373 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30374 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30375 (__ASSUME_NETLINK_SUPPORT): Likewise.
30376 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30377 (__no_netlink_support): Remove conditional definition.
30378 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30380 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30381 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30382 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30383 (if_nameindex_ioctl): Remove.
30384 (if_nameindex_netlink): Do not handle __no_netlink_support.
30385 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30387 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30388 Remove conditional code.
30389 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30391 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30393 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30394 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30395 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30397 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30398 [!__ASSUME_STD_AUXV]: Remove conditional code.
30399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30400 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30401 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30403 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30404 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30406 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30408 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30409 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30411 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30413 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30416 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30419 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30420 code unconditional.
30421 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30423 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30425 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30428 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30430 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30433 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30434 code unconditional.
30435 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30437 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30439 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30442 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30443 code unconditional.
30444 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30446 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30448 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30451 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
30453 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30454 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30455 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30456 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30457 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30458 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30459 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30460 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30461 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30462 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30463 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30464 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30465 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30466 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30467 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30468 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30469 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30470 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30471 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30472 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30473 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30474 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30475 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30477 2012-07-25 Florian Weimer <fweimer@redhat.com>
30479 * Versions.def: Add GLIBC_2.17.
30480 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30481 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30482 Introduce __libc_secure_getenv.
30483 * stdlib/Versions (2.17): Add secure_getenv
30484 (GLIBC_PRIVATE): Add __libc_secure_getenv.
30485 * stdlib/secure-getenv.c: Rename __secure_getenv to
30486 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
30487 symbol __secure_getenv for GLIBC_2.0.
30488 * stdlib/tst-secure-getenv.c: New.
30489 * stdlib/Makefile (tests): Add testcase.
30490 * manual/startup.texi (Environment Access): Document
30492 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30493 __libc_secure_getenv.
30494 * inet/ruserpass.c (ruserpass): Likewise.
30495 * malloc/mtrace.c (mtrace): Likewise.
30496 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30497 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30498 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30499 * sysdeps/posix/tempname.c: Likewise. Evaluate
30500 HAVE_SECURE_GETENV.
30501 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30502 __secure_getenv to __libc_secure_getenv.
30503 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30510 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30516 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30518 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30519 (struct La_i86_retval): Likewise.
30520 (struct La_x86_64_regs): Likewise.
30521 (struct La_x86_64_retval): Likewise.
30522 (struct La_x32_regs): Likewise.
30523 (struct La_x32_retval): Likewise.
30524 (struct La_ppc32_regs): Likewise.
30525 (struct La_ppc32_retval): Likewise.
30526 (struct La_ppc64_regs): Likewise.
30527 (struct La_ppc64_retval): Likewise.
30528 (struct La_sh_regs): Likewise.
30529 (struct La_sh_retval): Likewise.
30530 (struct La_s390_32_regs): Likewise.
30531 (struct La_s390_32_retval): Likewise.
30532 (struct La_s390_64_regs): Likewise.
30533 (struct La_s390_64_retval): Likewise.
30534 (struct La_sparc32_regs): Likewise.
30535 (struct La_sparc32_retval): Likewise.
30536 (struct La_sparc64_regs): Likewise.
30537 (struct La_sparc64_retval): Likewise.
30538 (struct audit_ifaces): Remove architecture-specific pltenter and
30540 * sysdeps/i386/ldsodefs.h: New file.
30541 * sysdeps/powerpc/ldsodefs.h: Likewise.
30542 * sysdeps/s390/ldsodefs.h: Likewise.
30543 * sysdeps/sh/ldsodefs.h: Likewise.
30544 * sysdeps/sparc/ldsodefs.h: Likewise.
30545 * sysdeps/x86_64/ldsodefs.h: Likewise.
30547 2012-07-25 Marek Polacek <polacek@redhat.com>
30550 * math/libm-test.inc (yn_test): Add another test.
30551 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30552 to ERANGE when the result is +-Inf.
30553 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30554 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30555 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30556 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30558 2012-07-24 Joseph Myers <joseph@codesourcery.com>
30560 * conform/data/time.h-data (NULL): Use macro-constant. Require
30562 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
30564 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
30566 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
30568 * configure.in <sysdeps resolving>: Correct printing
30570 * configure: Regenerate.
30572 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
30574 * math/w_ilogb.c: Include <limits.h>.
30575 * math/w_ilogbl.c: Likewise.
30577 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30579 * manual/lang.texi (__va_copy): Document primarily as ISO C99
30580 va_copy. Document allowing for unavailable va_copy only as
30581 pre-C99 compatibility.
30582 * manual/string.texi (Copying and Concatenation): Use va_copy
30583 instead of __va_copy in concat example.
30585 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
30587 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30588 (__sendto): Use create_address_port. Initialize APORT and deallocate
30591 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30592 with O_NOLINK passed to __file_name_lookup.
30594 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30595 with O_NOLINK passed to __file_name_lookup.
30597 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30598 negative N or less than NGIDS.
30600 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30601 type to string_t. Set ERANGE as errno and return it if NAME is not big
30602 enough. Use memcpy instead of strncpy.
30604 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30606 * elf/Makefile (check-data): Remove.
30607 (localplt.data): New vpath directive.
30608 ($(objpfx)check-localplt.out): Use localplt.data from vpath
30609 instead of $(check-data).
30610 * scripts/data/localplt-generic.data: Move to ...
30611 * sysdeps/generic/localplt.data: ... here.
30612 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30613 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30614 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30617 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30620 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30623 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30626 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30629 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30633 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30635 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30636 PPC32 and PPC64 files.
30637 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30638 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30640 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30642 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30643 __makecontext_ret to ...
30644 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30645 ... here and call exit if uc_link is NULL. New file.
30646 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30647 __makecontext_ret.S.
30648 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30649 __makecontext_ret to ...
30650 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30651 ... here and call exit if uc_link is NULL. New file.
30652 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30653 __makecontext_ret.S.
30655 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30657 * elf/elf.h (R_390_IRELATIVE): New definition.
30658 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30659 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
30660 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30661 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30662 (elf_machine_lazy_rel): Likewise.
30663 * sysdeps/s390/dl-irel.h: New file.
30664 * sysdeps/s390/s390-64/memcpy.S: New asm code.
30665 * sysdeps/s390/s390-64/memset.S: New asm code.
30666 * sysdeps/s390/s390-64/memcmp.S: New asm code.
30667 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30668 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30669 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30670 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30671 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30672 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30673 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30674 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30675 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30676 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30677 * sysdeps/s390/s390-32/memcpy.S: New asm code.
30678 * sysdeps/s390/s390-32/memset.S: New asm code.
30679 * sysdeps/s390/s390-32/memcmp.S: New asm code.
30681 2012-07-17 Marek Polacek <polacek@redhat.com>
30684 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30685 * sysdeps/s390/s390-64/configure.in: Likewise.
30686 * sysdeps/sparc/configure.in: Likewise.
30687 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30688 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30689 * sysdeps/i386/configure.in: Likewise.
30690 * sysdeps/x86_64/configure.in: Likewise.
30691 * sysdeps/sh/configure.in: Likewise.
30692 * sysdeps/s390/s390-32/configure: Regenerated.
30693 * sysdeps/s390/s390-64/configure: Likewise.
30694 * sysdeps/x86_64/configure: Likewise.
30695 * sysdeps/sh/configure: Likewise.
30696 * sysdeps/powerpc/powerpc64/configure: Likewise.
30697 * sysdeps/powerpc/powerpc32/configure: Likewise.
30698 * sysdeps/sparc/configure: Likwise.
30699 * sysdeps/i386/configure: Likewise.
30701 * elf/dl-open.c: Comment fixes.
30703 2012-07-17 Joseph Myers <joseph@codesourcery.com>
30705 * Makefile [CXX] (check-data): Remove.
30706 [CXX] (c++-types.data): New vpath directive.
30707 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30708 vpath. Do not allow for C++ type data being missing.
30709 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30710 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30711 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30712 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30713 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30714 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30715 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30718 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30721 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30724 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30727 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30730 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30733 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30734 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30736 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30739 * elf/tls-macros.h (TLS_LE): Move architecture-specific
30740 definitions to architecture-specific files.
30741 (TLS_IE): Likewise.
30742 (TLS_LD): Likewise.
30743 (TLS_GD): Likewise.
30744 * sysdeps/i386/tls-macros.h: New file.
30745 * sysdeps/powerpc/tls-macros.h: Likewise.
30746 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30747 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30748 * sysdeps/sh/tls-macros.h: Likewise.
30749 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30750 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30751 * sysdeps/x86_64/tls-macros.h: Likewise.
30753 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30755 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30756 zero value for regular exit case.
30758 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30759 (__start_context): Preserve zero value for regular exit case.
30761 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30762 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30764 * manual/setjmp.texi (setcontext): Clarify normal process
30765 termination when uc_link is the null pointer.
30766 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30769 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
30771 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30772 preprocessor. Test for each exception mask separately.
30774 2012-07-16 Andreas Jaeger <aj@suse.de>
30776 * po/ru.po: Update from translation team.
30778 2012-07-15 Joseph Myers <joseph@codesourcery.com>
30780 * conform/data/string.h-data (NULL): Use macro-constant. Require
30782 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30783 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30784 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30785 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30786 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30788 2012-07-13 Andreas Jaeger <aj@suse.de>
30790 * po/fr.po: Update from translation team.
30792 2012-07-12 Marek Polacek <polacek@redhat.com>
30795 * math/libm-test.inc (yn_test): Add test for BZ #14173.
30796 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30799 2012-07-12 Joseph Myers <joseph@codesourcery.com>
30802 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30803 Change to 2.4.1 where previously 2.4.0.
30804 * sysdeps/unix/sysv/linux/configure: Regenerated.
30805 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30806 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30808 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30809 (__ASSUME_AT_CLKTCK): Remove.
30810 (__ASSUME_AT_PAGESIZE): Likewise.
30811 (__ASSUME_AT_XID): Likewise.
30812 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30813 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30814 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30816 (HAVE_AUX_PAGESIZE): Likewise.
30817 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30818 [__ASSUME_AT_CLKTCK]: Make code unconditional.
30819 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
30821 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
30824 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
30825 the temporary buffer used to invoke __gethostbyname2_r,
30826 __gethostbyaddr_r and gethostbyname4_r to make room for struct
30827 host_data / struct gaih_addrtuple.
30828 * resolv/nss_dns/dns-host.c (global scope): Move definition of
30829 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
30830 header file nss/nsswitch.h.
30831 * nss/nsswitch.h (global scope): Add definition of implementation
30832 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
30833 resolv/nss_dns/dns-host.c).
30835 2012-07-11 Andreas Jaeger <aj@suse.de>
30837 * po/fr.po: Update from translation team.
30839 * po/sv.po: Update from translation team
30840 * po/fr.po: Another update from translation team.
30842 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30844 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
30845 for subnormals or multiply small sinh result by itself.
30846 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30849 2012-07-11 David S. Miller <davem@davemloft.net>
30851 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30853 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
30856 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
30857 (INTERNAL_MARK): Shift it here.
30859 2012-07-10 Marek Polacek <polacek@redhat.com>
30862 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
30863 libc_cv_asm_global_directive with .globl.
30864 * configure: Regenerated.
30865 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
30867 * sysdeps/i386/configure: Regenerated.
30868 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
30870 * sysdeps/x86_64/configure: Regenerated.
30871 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
30872 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
30873 * elf/tst-unique2mod2.c: Likewise.
30874 * elf/tst-unique2mod1.c: Likewise.
30875 * elf/tst-unique1mod2.c: Likewise.
30876 * elf/tst-unique1mod1.c: Likewise.
30877 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30878 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30879 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30880 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30881 * sysdeps/mach/sysdep.h: Likewise.
30882 * sysdeps/i386/sysdep.h: Likewise.
30883 * sysdeps/i386/i386-mcount.S: Likewise.
30884 * sysdeps/x86_64/_mcount.S: Likewise.
30885 * sysdeps/x86_64/sysdep.h: Likewise.
30886 * sysdeps/sh/_mcount.S: Likewise.
30887 * sysdeps/sh/sysdep.h: Likewise.
30888 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
30889 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
30890 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
30891 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30892 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
30893 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
30894 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
30895 * locale/localeinfo.h: Likewise.
30896 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
30897 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
30899 2012-07-09 Roland McGrath <roland@hack.frob.com>
30902 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
30904 * manual/message.texi (The Uniforum approach): Likewise.
30905 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
30906 (glibc iconv Implementation): Likewise.
30908 2012-07-09 Joseph Myers <joseph@codesourcery.com>
30911 * math/s_clog.c (__clog): Avoid scaling a value down where that
30912 could result in underflow.
30913 * math/s_clog10.c (__clog10): Likewise.
30914 * math/s_clog10f.c (__clog10f): Likewise.
30915 * math/s_clog10l.c (__clog10l): Likewise.
30916 * math/s_clogf.c (__clogf): Likewise.
30917 * math/s_clogl.c (__clogl): Likewise.
30918 * math/libm-test.inc (clog_test): Add more tests.
30919 (clog10_test): Likewise.
30920 * sysdeps/i386/fpu/libm-test-ulps: Update.
30921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30923 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
30926 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
30927 by 7 not 8 to examine high bit of fractional part.
30930 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
30931 for call to __mcount_internal.
30932 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
30933 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
30934 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
30936 2012-07-06 Joseph Myers <joseph@codesourcery.com>
30939 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
30940 approximation for values within 0x1p-13f of an odd multiple of
30942 * math/libm-test.inc (tan_test): Do not allow spurious underflow
30943 exception. Add more tests.
30944 * sysdeps/i386/fpu/libm-test-ulps: Update.
30947 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
30948 inputs and return -1 for them. Do not check for +Inf in case not
30949 reachable for +Inf.
30950 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30951 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
30952 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30953 and return -1 for them. Do not check for +Inf in case not
30954 reachable for +Inf.
30955 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
30957 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30958 and return -1 for them. Do not check for +Inf in case not
30959 reachable for +Inf.
30960 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
30961 spurious underflow.
30962 * sysdeps/i386/fpu/libm-test-ulps: Update.
30963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30965 2012-07-06 Mike Frysinger <vapier@gentoo.org>
30967 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
30969 2012-07-05 Joseph Myers <joseph@codesourcery.com>
30973 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
30974 could result in spurious underflow. Scale down values above
30975 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
30976 * math/s_csqrtf.c (__csqrtf): Likewise.
30977 * math/s_csqrtl.c (__csqrtl): Likewise.
30978 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
30979 spurious underflow.
30980 * sysdeps/i386/fpu/libm-test-ulps: Update.
30981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30983 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
30985 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
30987 * catgets/xopen-msg.awk: New file.
30988 * catgets/xopen-msg.sed: Removed.
30990 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
30992 * intl/po2test.awk: New file.
30993 * intl/po2test.sed: Removed.
30995 2012-07-04 Joseph Myers <joseph@codesourcery.com>
30998 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30999 or multiply small sinh result by itself.
31000 * math/s_ctanf.c (__ctanf): Likewise.
31001 * math/s_ctanh.c (__ctanh): Likewise.
31002 * math/s_ctanhf.c (__ctanhf): Likewise.
31003 * math/s_ctanhl.c (__ctanhl): Likewise.
31004 * math/s_ctanl.c (__ctanl): Likewise.
31005 * math/libm-test.inc (ctan_test_tonearest): New function.
31006 (ctan_test_towardzero): Likewise.
31007 (ctan_test_downward): Likewise.
31008 (ctan_test_upward): Likewise.
31009 (ctanh_test_tonearest): Likewise.
31010 (ctanh_test_towardzero): Likewise.
31011 (ctanh_test_downward): Likewise.
31012 (ctanh_test_upward): Likewise.
31013 (main): Call these new functions.
31014 * sysdeps/i386/fpu/libm-test-ulps: Update.
31015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31017 2012-07-03 Mike Frysinger <vapier@gentoo.org>
31019 * .gitignore: Delete /ports entry.
31021 2012-07-03 Andreas Jaeger <aj@suse.de>
31023 * po/bg.po: Update from translation team.
31024 * po/cs.po: Likewise.
31025 * po/de.po: Likewise.
31026 * po/hr.po: Likewise.
31027 * po/nl.pl: Likewise.
31028 * po/pl.po: Likewise.
31029 * po/vi.po: Likewise.
31031 2012-07-03 Joseph Myers <joseph@codesourcery.com>
31033 * Makeconfig [!+link] (+link-before-libc): New variable.
31034 [!+link] (+link-after-libc): Likewise.
31035 [!+link] (+link-tests): Likewise.
31036 [!+link] (+link): Define in terms of $(+link-before-libc) and
31037 $(+link-after-libc).
31038 [!+link-static] (+link-static-before-libc): New variable.
31039 [!+link-static] (+link-static-after-libc): Likewise.
31040 [!+link-static] (+link-static-tests): Likewise.
31041 [!+link-static] (+link-static): Define in terms of
31042 $(+link-static-before-libc) and $(+link-static-after-libc).
31043 [build-shared] (link-libc-before-gnulib): New variable.
31044 [build-shared] (link-libc-tests): Likewise.
31045 [build-shared] (link-libc): Define in terms of
31046 $(link-libc-before-gnulib).
31047 [!build-shared] (link-libc-tests): New variable.
31048 (link-libc-static-tests): New variable.
31049 [!gnulib] (gnulib-arch): New variable.
31050 [!gnulib] (gnulib-tests): Likewise.
31051 [!gnulib] (static-gnulib-arch): Likewise.
31052 [!gnulib] (static-gnulib-tests): Likewise.
31053 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
31054 Define with "=" instead of ":=".
31055 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
31056 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
31057 * Rules (binaries-all-notests): New variable.
31058 (binaries-all-tests): Likewise.
31059 (binaries-static-notests): Likewise.
31060 (binaries-static-tests): Likewise.
31061 (binaries-all): Define using $(binaries-all-notests) and
31062 $(binaries-all-tests).
31063 (binaries-static): Define using $(binaries-static-notests) and
31064 $(binaries-static-tests).
31065 (binaries-shared-tests): New variable.
31066 (binaries-shared-notests): Likewise.
31067 (binaries-shared): Remove variable.
31068 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31069 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31070 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31071 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31072 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31073 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31074 * elf/Makefile (sln-modules): New variable.
31075 (extra-objs): Add $(sln-modules:=.o).
31076 (ldconfig-modules): Add static-stubs.
31077 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31078 * elf/static-stubs.c: New file.
31081 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31082 by 7 not 8 to examine high bit of fractional part. Use volatile
31083 variables when splitting into final array of floats if
31084 __FLT_EVAL_METHOD__ != 0.
31085 * math/libm-test.inc (cos_test): Add another test.
31086 (sin_test): Likewise.
31087 * sysdeps/i386/fpu/libm-test-ulps: Update.
31090 * math/libm-test.inc (cosh_test): Add more tests.
31092 * version.h (RELEASE): Set to "development".
31093 (VERSION): Set to "2.16.90".
31095 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31097 * NEWS: Update copyright. Remove last-updated date.
31098 Mention math library bug fixes and timezone data changes.
31099 * README: Mention GNU/Hurd, x32, and HPPA support status.
31101 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31103 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31105 2012-06-27 Andreas Jaeger <aj@suse.de>
31107 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31109 2012-06-25 Andreas Jaeger <aj@suse.de>
31111 * sysdeps/s390/fpu/libm-test-ulps: Update.
31113 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31114 Thomas Schwinge <thomas@codesourcery.com>
31116 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31117 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31118 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31121 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31123 * sysdeps/mach/start.c: Remove file.
31124 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31125 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31126 * sysdeps/sh/init-first.c: Likewise.
31128 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31129 registers for frame unwinding purposes, add CFI directives.
31130 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31131 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31132 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31135 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31136 __fortify_fail returning.
31137 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31139 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31140 sysdeps/sh/____longjmp_chk.S.
31141 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31142 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31143 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31144 (gen-as-const-headers): Append sigaltstack-offsets.sym.
31146 * sysdeps/sh/abort-instr.h: New file.
31147 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31148 process in case exit returns.
31150 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31151 initialize the GOT register before use.
31153 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31154 calculation of ARGC > 4.
31156 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31157 meaningful names to some local labels.
31159 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31160 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31162 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31163 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31164 (__arch_compare_and_exchange_val_16_acq): Likewise.
31165 (__arch_compare_and_exchange_val_32_acq): Likewise.
31166 (atomic_exchange_and_add): Fix gUSA sequence.
31167 (atomic_add): Likewise.
31168 (atomic_add_negative): Likewise.
31169 (atomic_add_zero): Likewise.
31170 (atomic_bit_test_set): Likewise.
31172 2012-06-22 Andreas Schwab <schwab@redhat.com>
31175 * include/link.h (struct link_map): Add l_free_initfini.
31176 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31178 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31179 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31180 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31183 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
31185 * configure.in: Use AC_LANG_SOURCE.
31186 * configure: Regenerate.
31188 2012-06-22 Roland McGrath <roland@hack.frob.com>
31190 * configure.in (libc_cv_localstatedir): New substituted variable.
31191 * configure: Regenerated.
31192 * config.make.in (localstatedir): New variable, substituted from
31193 libc_cv_localstatedir.
31194 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31195 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31196 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31197 * sysdeps/gnu/configure: Regenerated.
31199 2012-06-21 Jeff Law <law@redhat.com>
31202 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31203 free. Simplify list management for _LIBC case.
31205 2012-06-21 Joseph Myers <joseph@codesourcery.com>
31208 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31209 Clear sign bit of 64-bit integer value before comparing against
31212 * sysdeps/mach/configure: Regenerated.
31214 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
31217 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31219 2012-06-21 Jeff Law <law@redhat.com>
31222 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
31223 uint16_t for elements in the "seen" array to avoid char overflows.
31224 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31225 * elf/dl-open.c (dl_open_worker): Likewise.
31227 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
31229 * scripts/list-sources.sh: Scan PORTS for translations.
31230 * po/libc.pot: Regenerated.
31232 2012-06-21 Andreas Jaeger <aj@suse.de>
31235 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31237 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31238 * bits/byteswap-16.h (__bswap_16): Likewise.
31239 * bits/byteswap.h (__bswap_constant_16): Likewise.
31241 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
31244 * sysdeps/i386/fpu_control.h: Removed.
31245 * sysdeps/x86_64/fpu_control.h: Moved to ...
31246 * sysdeps/x86/fpu_control.h: Here.
31248 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31249 (_FPU_SETCW): Likewise.
31251 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
31254 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31255 * sysdeps/x86/fpu/bits/mathinline.h: This.
31256 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31260 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31261 functions if __x86_64__ is defined.
31263 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
31265 * string/endian.h: Add !__ASSEMBLER__ condition for including
31266 conversion interfaces.
31268 2012-06-15 Joseph Myers <joseph@codesourcery.com>
31271 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31272 of ABS(x) in calculating zero to negative powers other than odd
31274 * math/libm-test.inc (pow_test): Add more tests.
31276 2012-06-15 Andreas Jaeger <aj@suse.de>
31278 * manual/contrib.texi (Contributors): Update entry of Liubov
31279 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31282 2012-06-15 Cyril Hrubis <metan@ucw.cz>
31284 * string/string.h: Add __wur to GNU version of strerror_r.
31286 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
31289 * string/Makefile (tests): Add tst-strtok_r.
31290 * string/tst-strtok_r.c: New file.
31291 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31292 RAX_LP/RDX_LP on SAVE_PTR.
31294 2012-06-14 Roland McGrath <roland@hack.frob.com>
31296 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31298 2012-06-14 Joseph Myers <joseph@codesourcery.com>
31300 * libm_test.inc (csqrt_test): Allow more spurious underflow
31302 (j0_test): Likewise.
31303 (j1_test): Likewise.
31304 (y0_test): Likewise.
31305 (y1_test): Likewise.
31307 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
31309 * po/Makefile (libc.pot): Use UTF-8 charset.
31311 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
31314 Suppress sign-conversion warning from FD_SET.
31315 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31316 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31317 not unsigned long int.
31318 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31320 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
31324 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31325 __extern_always_inline instead of __extern_inline.
31326 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31327 (__signbit): Likewise.
31328 (__signbitl): Support C++ namespace.
31329 (lrintf): New inline function.
31331 (llrintf): Likewise.
31332 (llrint): Likewise.
31342 (floorf): Likewise.
31343 (nearbyint): Likewise.
31344 (nearbyintf): Likewise.
31346 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
31348 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31349 non-default versions.
31351 2012-06-11 Roland McGrath <roland@hack.frob.com>
31354 * manual/argp.texi (Argp): Reword argp_parse description slightly.
31356 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
31358 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31359 (FE_UPWARD, FE_DOWNWARD): Don't define.
31360 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31361 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31363 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31365 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31366 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31368 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31370 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31371 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31372 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31373 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31375 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
31378 * sysdeps/i386/fpu/bits/fenv.h: Removed.
31379 * sysdeps/i386/fpu/Implies: New file.
31380 * sysdeps/x86_64/fpu/Implies: Likewise.
31381 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31382 * sysdeps/x86/fpu/bits/fenv.h: This.
31384 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31387 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31390 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31391 character 0xffff that matches the last element of the
31394 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31396 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31399 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31401 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31402 values higher than 25.6283.
31404 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31406 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31407 subnormal exponent extraction and add some __builtin_expect.
31408 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31409 Fix for subnormal mantissa calculation.
31411 2012-06-04 Mike Frysinger <vapier@gentoo.org>
31413 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31414 cpu2 is -1 and errno is not ENOSYS.
31416 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
31419 * sysdeps/i386/i486/bits/string.h: Renamed to ...
31420 * sysdeps/x86/bits/string.h: This.
31421 * sysdeps/x86_64/bits/string.h: Removed.
31423 * sysdeps/i386/i486/bits/string.h: Define inline functions only
31424 if not compiling for x86-64, but compiling for >= i486.
31426 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31427 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31429 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31430 New macro from Linux kernel 3.4.0.
31431 (FP_XSTATE_MAGIC2): Likewise.
31432 (FP_XSTATE_MAGIC2_SIZE): Likewise.
31433 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31434 (struct _fpx_sw_bytes): New struct.
31435 (struct _xsave_hdr): Likewise.
31436 (struct _ymmh_state): Likewise.
31437 (struct _xstate): Likewise.
31439 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31440 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31441 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31442 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31443 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31444 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31446 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31447 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31448 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31449 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31450 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31451 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31453 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31456 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31457 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31458 (sysdep_headers): Include sys/platform/ppc.h.
31459 * sysdeps/powerpc/test-gettimebase.c: Test for
31460 __ppc_get_timebase() to catch future ISA opcode/insn changes.
31461 * manual/Makefile (appendices): Include platform.texi.
31462 * manual/contrib.texi (Contributors): Update @node pointers.
31463 * manual/maint.texi (Maintenance): Likewise.
31464 (Platform): New node.
31465 * manual/platform.texi: New file. Document the new features.
31467 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31468 Jakub Jelinek <jakub@redhat.com>
31471 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31472 where __builtin_expect is unavailable.
31474 2012-06-03 David S. Miller <davem@davemloft.net>
31476 * stdlib/longlong.h: Updated from GCC.
31478 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
31481 * sysdeps/powerpc/powerpc32/mcount.c: New file.
31482 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31485 (GLIBC_2.16): Likewise.
31487 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31489 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31491 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31494 (default-abi): New variable.
31495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31496 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31498 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31500 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31502 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31505 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31506 definition. Document in comment.
31508 2012-06-01 David S. Miller <davem@davemloft.net>
31510 * stdlib/longlong.h: Updated from GCC.
31512 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31515 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31516 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31517 sys/debugreg.h sys/io.h here.
31518 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31519 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31521 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31522 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31523 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31524 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31525 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31526 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31528 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31529 Define only if __x86_64__ is defined.
31531 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31534 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31535 Use int64_t for variable i.
31536 * math/libm-test.inc (fmod_test): Add more tests.
31538 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31539 z computation is not scheduled after fetestexcept.
31540 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31541 Use math_force_eval instead of asm to ensure calculation scheduled
31542 before exception test.
31543 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31544 Ensure a1 + u.d computation is not scheduled after fetestexcept.
31546 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
31548 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31549 computation is not scheduled after fetestexcept.
31551 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31554 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31555 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31557 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31559 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31560 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31562 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31565 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31567 (__WCHAR_MIN): Support __WORDSIZE == 64.
31568 (__WCHAR_MAX): Likewise.
31570 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31571 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31574 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31575 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31578 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31579 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31581 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31582 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31584 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31585 Defined to 1 if __x86_64__ isn't defined.
31586 (_STAT_VER_LINUX_OLD): New.
31587 (st_atime): Remove duplicate.
31588 (st_mtime): Likewise.
31589 (st_ctime): Likewise.
31591 2012-05-31 David S. Miller <davem@davemloft.net>
31593 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31596 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
31598 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31602 * elf/dl-reloc.c: Include <_itoa.h>.
31603 (_dl_reloc_bad_type): Remove use of INTUSE.
31604 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31605 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31606 * stdio-common/psiginfo.c (psiginfo): Likewise.
31607 * stdio-common/psignal.c (psignal): Likewise.
31608 * string/strsignal.c (strsignal): Likewise.
31609 * include/signal.h (_sys_siglist): Declare hidden proto.
31610 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
31611 INTVARDEF with libc_hidden_data_def.
31612 * stdio-common/itoa-udigits.c: Likewise.
31613 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31614 (_itoa_lower_digits_internal): Remove declaration.
31615 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31616 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31617 (_sys_sigabbrev_internal): Remove aliases.
31618 (_sys_siglist): Define hidden alias.
31620 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
31622 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31625 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31628 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31629 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31631 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31632 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31633 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31634 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31635 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31636 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31638 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31639 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31640 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31642 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31650 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31651 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31652 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31654 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31655 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31656 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31657 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31658 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31659 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31661 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31662 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31664 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31665 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31667 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31668 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31669 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31671 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31672 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31674 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31676 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31677 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31678 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31680 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31682 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31684 2012-05-31 Joseph Myers <joseph@codesourcery.com>
31686 * math/math.h (M_El): Use two more decimal places.
31687 (M_LOG2El): Likewise.
31688 (M_LOG10El): Likewise.
31689 (M_LN2l): Likewise.
31690 (M_LN10l): Likewise.
31692 (M_PI_2l): Likewise.
31693 (M_PI_4l): Likewise.
31694 (M_1_PIl): Likewise.
31695 (M_2_PIl): Likewise.
31696 (M_2_SQRTPIl): Likewise.
31697 (M_SQRT2l): Likewise.
31698 (M_SQRT1_2l): Likewise.
31700 2012-05-31 David S. Miller <davem@davemloft.net>
31702 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31703 values between float registers.
31704 * sysdeps/sparc/sparc64/memset.S: Likewise.
31705 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31707 2012-05-31 Mike Frysinger <vapier@gentoo.org>
31709 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31710 -D_FORTIFY_SOURCE=1.
31711 (CPPFLAGS-tst-longjmp_chk.c): Define.
31712 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31713 (CPPFLAGS-tst-longjmp_chk2.c): Define.
31714 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31715 CFLAGS-tst-wchar-h.c.
31717 2012-05-31 Marek Polacek <polacek@redhat.com>
31720 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31721 __endmntent_internal): Remove declaration.
31722 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31723 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31724 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31726 2012-05-30 David S. Miller <davem@davemloft.net>
31728 * sysdeps/sparc/sparc32/soft-fp/q_util.c
31729 (___Q_simulate_exceptions): Use real FP ops rather than writing
31731 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31734 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31737 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31738 * sysdeps/x86/bits/xtitypes.h: This.
31740 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31741 * sysdeps/x86/bits/wordsize.h: This.
31743 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31744 * sysdeps/x86/bits/huge_vall.h: This.
31746 * sysdeps/i386/bits/select.h: Removed.
31747 * sysdeps/x86_64/bits/select.h: Renamed to ...
31748 * sysdeps/x86/bits/select.h: This.
31750 * sysdeps/i386/bits/setjmp.h: Removed.
31751 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31752 * sysdeps/x86/bits/setjmp.h: This.
31754 * sysdeps/i386/bits/mathdef.h: Removed.
31755 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31756 * sysdeps/x86/bits/mathdef.h: This.
31758 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
31761 * include/sys/socket.h (__connect_internal)
31762 (__libc_sa_len_internal): Remove declaration.
31763 (__connect, __libc_sa_len): Declare hidden_proto.
31764 (SA_LEN): Remove use of INTUSE.
31765 * socket/connect.c: Add libc_hidden_def.
31766 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31767 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31768 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31770 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31771 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31772 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31773 of adding _internal alias.
31775 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31778 * sysdeps/i386/bits/link.h: Removed.
31779 * sysdeps/i386/bits/linkmap.h: Likewise.
31780 * sysdeps/x86_64/bits/link.h: Renamed to ...
31781 * sysdeps/x86/bits/link.h: This.
31782 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31783 * sysdeps/x86/bits/linkmap.h: This.
31785 * sysdeps/i386/bits/endian.h: Removed.
31786 * sysdeps/x86_64/bits/endian.h: Renamed to ...
31787 * sysdeps/x86/bits/endian.h: This.
31789 * sysdeps/i386/bits/byteswap.h: Removed.
31790 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31791 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31792 * sysdeps/x86/bits/byteswap.h: This.
31793 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31794 * sysdeps/x86/bits/byteswap-16.h: This.
31795 * sysdeps/i386/Implies: Add x86.
31796 * sysdeps/x86_64/Implies: Likewise.
31798 2012-05-30 David S. Miller <davem@davemloft.net>
31800 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31801 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31802 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31803 (FP_TRAPPING_EXCEPTIONS): Define.
31804 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31805 (FP_TRAPPING_EXCEPTIONS): Define.
31806 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31807 subnormals only when inexact has been signalled or underflow
31808 exceptions are enabled.
31809 (_FP_PACK_CANONICAL): Likewise.
31811 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31814 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31815 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31817 2012-05-30 Richard Henderson <rth@twiddle.net>
31819 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
31820 with #ifndef NOT_IN_libc.
31822 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
31823 marked to avoid plt entry.
31825 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31828 * Makeconfig (default-abi): New macro.
31829 (abi-includes): Likewise.
31830 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
31831 $(abi-$(default-abi)-lib-soname) for soname if defined.
31832 ($(common-objpfx)gnu/lib-names.stmp): Generate from
31834 * Makefile (installed-stubs): Likewise.
31835 * include/stubs-biarch.h: Removed.
31836 * scripts/lib-names.awk: Only handle one library at a time.
31837 * scripts/soversions.awk: Remove WORDSIZE support.
31838 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
31840 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
31842 (syscall-list-default-condition): Likewise.
31843 (syscall-list-default-condition): Likewise.
31844 (syscall-list-includes): Likewise.
31845 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
31846 syscall-list-* with abi-*. Handle undefined abi-variants.
31847 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
31848 * sysdeps/unix/sysv/linux/i386/Implies: New file.
31849 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
31850 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
31851 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
31852 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
31854 (syscall-list-32-options): Likewise.
31855 (syscall-list-32-condition): Likewise.
31856 (syscall-list-64-options): Likewise.
31857 (syscall-list-64-condition): Likewise.
31858 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
31860 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
31863 (abi-64-ld-soname): New macro.
31864 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
31865 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
31868 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
31869 * sysdeps/x86_64/x32/shlib-versions: Likewise.
31871 2012-05-30 Joseph Myers <joseph@codesourcery.com>
31873 * sysdeps/unix/sysv/linux/kernel-features.h
31874 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
31875 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
31876 include <kernel-features.h>.
31877 [!__NR_ftruncate64]: Remove conditional code.
31878 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31879 [__NR_ftruncate64]: Make code unconditional.
31880 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31881 * sysdeps/unix/sysv/linux/truncate64.c: Do not
31882 include <kernel-features.h>.
31883 [!__NR_ftruncate64]: Remove conditional code.
31884 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31885 [__NR_ftruncate64]: Make code unconditional.
31886 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
31888 include <kernel-features.h>.
31889 [!__NR_ftruncate64]: Remove conditional code.
31890 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31891 [__NR_ftruncate64]: Make code unconditional.
31892 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31894 include <kernel-features.h>.
31895 [!__NR_ftruncate64]: Remove conditional code.
31896 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31897 [__NR_ftruncate64]: Make code unconditional.
31898 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31900 * configure.in (libc_cv_fpie): Weaken to a compile test using
31901 LIBC_TRY_CC_OPTION.
31902 * configure: Regenerated.
31904 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
31907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
31908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
31909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
31912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
31913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
31914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
31915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
31916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31919 2012-05-27 David S. Miller <davem@davemloft.net>
31921 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
31923 (__Q_simulate_exceptions): Return void. Change to simulate
31924 exceptions by writing into the %fsr.
31925 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
31926 (__Qp_handle_exceptions): Likewise.
31928 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
31929 __Qp_handle_exceptions.
31930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
31931 __Qp_handle_exceptions.
31932 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31933 as unused and give dummy FP_RND_NEAREST initializer.
31934 (FP_INHIBIT_RESULTS): Define.
31935 (___Q_simulate_exceptions): Update declaration.
31936 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
31938 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31939 as unused and give dummy FP_RND_NEAREST initializer.
31940 (__Qp_handle_exceptions): Update declaration.
31941 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
31944 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
31946 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
31947 the temporary FPU control word.
31948 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31949 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
31950 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31951 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31952 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31953 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31954 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31955 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31956 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31957 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31958 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31960 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31962 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
31965 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
31967 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
31968 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
31969 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
31970 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
31972 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
31973 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31976 2012-05-27 Ulrich Drepper <drepper@gmail.com>
31978 * po/h.po: Update from translation team.
31980 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
31982 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
31984 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
31985 handling of denormals.
31986 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31987 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31988 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31989 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31990 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31991 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
31992 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
31995 2012-05-26 Marek Polacek <polacek@redhat.com>
31998 * math/libm-test.inc (fma_test): Don't always expect underflow
32001 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32004 * elf/tst-execstack.c: Include stackinfo.h.
32005 (do_test): Adjust test case to ensure that pthread_getattr_np
32006 behaviour remains the same after marking stack executable.
32008 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32010 * sysdeps/unix/sysv/linux/kernel-features.h
32011 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32012 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32014 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32015 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32016 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32018 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32019 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32021 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
32023 * configure.in: Define the default includes to being none.
32024 * configure: Regenerated.
32026 2012-05-25 Roland McGrath <roland@hack.frob.com>
32028 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32029 * sysdeps/x86_64/setjmp.S: Likewise.
32030 * sysdeps/i386/bsd-setjmp.S: Likewise.
32031 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32032 * sysdeps/i386/setjmp.S: Likewise.
32033 * sysdeps/i386/__longjmp.S: Likewise.
32034 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32035 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32037 * include/stap-probe.h: New file.
32038 * configure.in: Handle --enable-systemtap.
32039 * configure: Regenerated.
32040 * config.h.in (USE_STAP_PROBE): New #undef.
32041 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32042 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32043 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32045 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32048 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32049 to 2.4.0 where earlier.
32050 * sysdeps/unix/sysv/linux/configure: Regenerated.
32051 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32052 <kernel-features.h>.
32053 [__ASSUME_32BITUIDS]: Make code unconditional.
32054 [!__ASSUME_32BITUIDS]: Remove conditional code.
32055 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32056 <kernel-features.h>.
32057 [__ASSUME_32BITUIDS]: Make code unconditional.
32058 [!__ASSUME_32BITUIDS]: Remove conditional code.
32059 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32060 [__ASSUME_32BITUIDS]: Make code unconditional.
32061 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32062 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32063 <kernel-features.h>.
32064 [__ASSUME_32BITUIDS]: Make code unconditional.
32065 [!__ASSUME_32BITUIDS]: Remove conditional code.
32066 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32067 <kernel-features.h>.
32068 [__ASSUME_32BITUIDS]: Make code unconditional.
32069 [!__ASSUME_32BITUIDS]: Remove conditional code.
32070 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32071 <kernel-features.h>.
32072 [__ASSUME_32BITUIDS]: Make code unconditional.
32073 [!__ASSUME_32BITUIDS]: Remove conditional code.
32074 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32075 <kernel-features.h>.
32076 [__ASSUME_32BITUIDS]: Make code unconditional.
32077 [!__ASSUME_32BITUIDS]: Remove conditional code.
32078 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32079 <kernel-features.h>.
32080 [__ASSUME_32BITUIDS]: Make code unconditional.
32081 [!__ASSUME_32BITUIDS]: Remove conditional code.
32082 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32083 <kernel-features.h>.
32084 [__ASSUME_32BITUIDS]: Make code unconditional.
32085 [!__ASSUME_32BITUIDS]: Remove conditional code.
32086 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32087 <kernel-features.h>.
32088 [__ASSUME_32BITUIDS]: Make code unconditional.
32089 [!__ASSUME_32BITUIDS]: Remove conditional code.
32090 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32091 <kernel-features.h>.
32092 [__ASSUME_32BITUIDS]: Make code unconditional.
32093 [!__ASSUME_32BITUIDS]: Remove conditional code.
32094 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32095 <kernel-features.h>.
32096 [__ASSUME_32BITUIDS]: Make code unconditional.
32097 [!__ASSUME_32BITUIDS]: Remove conditional code.
32098 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32099 <kernel-features.h>.
32100 [__ASSUME_32BITUIDS]: Make code unconditional.
32101 [!__ASSUME_32BITUIDS]: Remove conditional code.
32102 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32103 <kernel-features.h>.
32104 [__NR_setresgid] (__setresgid): Do not declare.
32105 [__ASSUME_32BITUIDS]: Make code unconditional.
32106 [!__ASSUME_32BITUIDS]: Remove conditional code.
32107 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32108 <kernel-features.h>.
32109 [__NR_setresuid] (__setresuid): Do not declare.
32110 [__ASSUME_32BITUIDS]: Make code unconditional.
32111 [!__ASSUME_32BITUIDS]: Remove conditional code.
32112 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32113 <kernel-features.h>.
32114 [__ASSUME_32BITUIDS]: Make code unconditional.
32115 [!__ASSUME_32BITUIDS]: Remove conditional code.
32116 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32117 <kernel-features.h>.
32118 [__ASSUME_32BITUIDS]: Make code unconditional.
32119 [!__ASSUME_32BITUIDS]: Remove conditional code.
32120 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32121 <kernel-features.h>.
32122 [__ASSUME_32BITUIDS]: Make code unconditional.
32123 [!__ASSUME_32BITUIDS]: Remove conditional code.
32124 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32125 <kernel-features.h>.
32126 [__ASSUME_32BITUIDS]: Make code unconditional.
32127 [!__ASSUME_32BITUIDS]: Remove conditional code.
32128 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32129 <kernel-features.h>.
32130 [__ASSUME_32BITUIDS]: Make code unconditional.
32131 [!__ASSUME_32BITUIDS]: Remove conditional code.
32132 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32133 <kernel-features.h>.
32134 [__ASSUME_32BITUIDS]: Make code unconditional.
32135 [!__ASSUME_32BITUIDS]: Remove conditional code.
32136 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32137 <kernel-features.h>.
32138 [__ASSUME_32BITUIDS]: Make code unconditional.
32139 [!__ASSUME_32BITUIDS]: Remove conditional code.
32140 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32141 <kernel-features.h>.
32142 [__ASSUME_32BITUIDS]: Make code unconditional.
32143 [!__ASSUME_32BITUIDS]: Remove conditional code.
32144 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32145 <kernel-features.h>.
32146 [__ASSUME_32BITUIDS]: Make code unconditional.
32147 [!__ASSUME_32BITUIDS]: Remove conditional code.
32148 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32149 <kernel-features.h>.
32150 [__ASSUME_32BITUIDS]: Make code unconditional.
32151 [!__ASSUME_32BITUIDS]: Remove conditional code.
32152 * sysdeps/unix/sysv/linux/kernel-features.h
32153 (__ASSUME_SETRESUID_SYSCALL): Remove.
32154 (__ASSUME_SETRESGID_SYSCALL): Likewise.
32155 (__ASSUME_32BITUIDS): Likewise.
32156 (__ASSUME_LDT_WORKS): Likewise.
32157 (__ASSUME_O_DIRECTORY): Likewise.
32158 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32159 architecture but not kernel version.
32160 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32161 (__ASSUME_MMAP2_SYSCALL): Likewise.
32162 (__ASSUME_STAT64_SYSCALL): Likewise.
32163 (__ASSUME_IPC64): Likewise.
32164 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32165 <kernel-features.h>.
32166 [__ASSUME_32BITUIDS]: Make code unconditional.
32167 [!__ASSUME_32BITUIDS]: Remove conditional code.
32168 * sysdeps/unix/sysv/linux/opendir.c: Do not include
32169 <kernel-features.h>.
32170 [__ASSUME_O_DIRECTORY]: Make code unconditional.
32171 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32172 132096]: Remove conditional code.
32173 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32174 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32175 <kernel-features.h>.
32176 [__ASSUME_32BITUIDS]: Make code unconditional.
32177 [!__ASSUME_32BITUIDS]: Remove conditional code.
32178 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32179 <kernel-features.h>.
32180 [__ASSUME_32BITUIDS]: Make code unconditional.
32181 [!__ASSUME_32BITUIDS]: Remove conditional code.
32182 * sysdeps/unix/sysv/linux/setegid.c: Do not include
32183 <kernel-features.h>.
32184 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32186 (__setresgid): Do not declare.
32187 [__ASSUME_32BITUIDS]: Make code unconditional.
32188 [!__ASSUME_32BITUIDS]: Remove conditional code.
32189 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32190 <kernel-features.h>.
32191 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32193 (__setresuid): Do not declare.
32194 [__ASSUME_32BITUIDS]: Make code unconditional.
32195 [!__ASSUME_32BITUIDS]: Remove conditional code.
32196 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32197 <kernel-features.h>.
32198 [__ASSUME_32BITUIDS]: Make code unconditional.
32199 [!__ASSUME_32BITUIDS]: Remove conditional code.
32200 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32201 <kernel-features.h>.
32202 [__ASSUME_32BITUIDS]: Make code unconditional.
32203 [!__ASSUME_32BITUIDS]: Remove conditional code.
32205 2012-05-25 Richard Henderson <rth@twiddle.net>
32207 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32208 dl_hwcap to ifunc resolver.
32209 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32211 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32212 dl_hwcap to ifunc resolver.
32213 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32215 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32218 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32219 for |x| <= 2**-26, not 2**-57.
32220 * math/libm-test.inc (acos_test): Do not allow spurious underflow
32223 2012-05-24 Jeff Law <law@redhat.com>
32225 * stdio-common/Makefile (tests): Add bug25.
32226 * stdio-common/bug25.c: New test.
32228 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32231 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32232 multiple of MALLOC_ALIGNMENT in size.
32233 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32235 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32237 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32239 (FILENAME_MAX): Use macro-int-constant.
32240 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
32241 (_IOFBF): Use macro-int-constant.
32242 (_IOLBF): Likewise.
32243 (_IONBF): Likewise.
32244 (SEEK_CUR): Likewise.
32245 (SEEK_END): Likewise.
32246 (SEEK_SET): Likewise.
32247 (TMP_MAX): Likewise.
32248 (EOF): Use macro-int-constant. Require < 0.
32249 (NULL): Use macro-constant. Require == 0.
32250 (stdin): Require type to be FILE *.
32251 (stdout): Likewise.
32252 (stderr): Likewise.
32253 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32254 macro-int-constant.
32255 (EXIT_SUCCESS): Likewise.
32256 (NULL): Use macro-constant. Require == 0.
32257 (RAND_MAX): Use macro-int-constant.
32258 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32259 [C99-based standards] (strtof): Require function.
32260 [C99-based standards] (strtold): Likewise.
32261 [C99-based standards] (strtoll): Likewise.
32262 [C99-based standards] (strtoull): Likewise.
32263 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32264 [ISO || ISO99 || ISO11] (limits.h): Likewise.
32265 [ISO || ISO99 || ISO11] (math.h): Likewise.
32266 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32267 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32268 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32270 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
32273 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32274 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32275 * intl/dgettext.c (DCGETTEXT): Likewise.
32276 * intl/gettext.c (DCGETTEXT): Likewise.
32277 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32278 * posix/regex_internal.h (gettext): Likewise.
32279 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32280 Remove declaration.
32281 * include/argz.h (__argz_count_internal)
32282 (__argz_stringify_internal): Remove declaration.
32283 (__argz_count, __argz_stringify): Declare hidden proto.
32284 * intl/dcgettext.c: Remove use of INTDEF.
32285 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32286 * string/argz-stringify.c: Likewise.
32287 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32288 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32289 Declare hidden proto.
32290 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32291 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32292 Declare hidden proto.
32293 * include/stdio.h (__asprintf_internal): Don't declare.
32294 (__asprintf): Don't define as macro. Declare hidden proto.
32295 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32296 (__fsetlocking): Declare hidden proto.
32297 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32298 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32300 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32301 (_IO_setlinebuf): Remove use of INTUSE.
32302 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32303 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32304 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32305 Remove declaration.
32306 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32307 (_IO_do_flush): Remove use of INTUSE.
32308 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32309 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32310 (_IO_adjust_column, _IO_least_wmarker)
32311 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32312 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32313 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32314 (_IO_default_doallocate, _IO_wdefault_doallocate)
32315 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32316 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32317 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32318 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32319 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32320 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32321 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32322 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32323 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32324 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32325 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32326 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32327 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32329 (_IO_flush_all_internal, _IO_adjust_column_internal)
32330 (_IO_default_uflow_internal, _IO_default_finish_internal)
32331 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32332 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32333 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32334 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32335 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32336 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32337 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32338 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32339 (_IO_file_close_internal, _IO_file_close_it_internal)
32340 (_IO_file_underflow_internal, _IO_file_overflow_internal)
32341 (_IO_file_init_internal, _IO_file_attach_internal)
32342 (_IO_file_fopen_internal, _IO_file_read_internal)
32343 (_IO_file_sync_internal, _IO_file_seek_internal)
32344 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32345 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32346 (_IO_str_underflow_internal, _IO_str_overflow_internal)
32347 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32348 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32349 (_IO_list_all_internal, _IO_link_in_internal)
32350 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32351 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32352 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32353 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32354 (_IO_do_write_internal, _IO_padn_internal)
32355 (_IO_getline_info_internal, _IO_getline_internal)
32356 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32357 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32358 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32359 (_IO_vfscanf_internal, _IO_vfprintf_internal)
32360 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32361 (_IO_init_internal, _IO_un_link_internal): Don't declare.
32362 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32363 with libc_hidden_ver, remove use of INTUSE.
32364 * libio/genops.c: Likewise.
32365 * libio/freopen.c: Likewise.
32366 * libio/freopen64.c: Likewise.
32367 * libio/iofclose.c: Likewise.
32368 * libio/iofdopen.c: Likewise.
32369 * libio/iofflush.c: Likewise.
32370 * libio/iofflush_u.c: Likewise.
32371 * libio/iofgets.c: Likewise.
32372 * libio/iofgets_u.c: Likewise.
32373 * libio/iofopen.c: Likewise.
32374 * libio/iofopncook.c: Likewise.
32375 * libio/iofread.c: Likewise.
32376 * libio/iofread_u.c: Likewise.
32377 * libio/ioftell.c: Likewise.
32378 * libio/iofwrite.c: Likewise.
32379 * libio/iogetline.c: Likewise.
32380 * libio/iogets.c: Likewise.
32381 * libio/iogetwline.c: Likewise.
32382 * libio/iopadn.c: Likewise.
32383 * libio/iopopen.c: Likewise.
32384 * libio/ioseekoff.c: Likewise.
32385 * libio/ioseekpos.c: Likewise.
32386 * libio/iosetbuffer.c: Likewise.
32387 * libio/iosetvbuf.c: Likewise.
32388 * libio/ioungetc.c: Likewise.
32389 * libio/ioungetwc.c: Likewise.
32390 * libio/iovdprintf.c: Likewise.
32391 * libio/iovsprintf.c: Likewise.
32392 * libio/iovsscanf.c: Likewise.
32393 * libio/memstream.c: Likewise.
32394 * libio/obprintf.c: Likewise.
32395 * libio/oldfileops.c: Likewise.
32396 * libio/oldiofclose.c: Likewise.
32397 * libio/oldiofdopen.c: Likewise.
32398 * libio/oldiofopen.c: Likewise.
32399 * libio/oldiopopen.c: Likewise.
32400 * libio/oldstdfiles.c: Likewise.
32401 * libio/putc.c: Likewise.
32402 * libio/setbuf.c: Likewise.
32403 * libio/setlinebuf.c: Likewise.
32404 * libio/stdfiles.c: Likewise.
32405 * libio/strops.c: Likewise.
32406 * libio/vasprintf.c: Likewise.
32407 * libio/vscanf.c: Likewise.
32408 * libio/vsnprintf.c: Likewise.
32409 * libio/vswprintf.c: Likewise.
32410 * libio/wfiledoalloc.c: Likewise.
32411 * libio/wfileops.c: Likewise.
32412 * libio/wgenops.c: Likewise.
32413 * libio/wmemstream.c: Likewise.
32414 * libio/wstrops.c: Likewise.
32415 * libio/__fpurge.c: Likewise.
32416 * libio/__fsetlocking.c: Likewise.
32417 * assert/assert.c: Likewise.
32418 * debug/fgets_chk.c: Likewise.
32419 * debug/fgets_u_chk.c: Likewise.
32420 * debug/fread_chk.c: Likewise.
32421 * debug/fread_u_chk.c: Likewise.
32422 * debug/gets_chk.c: Likewise.
32423 * debug/obprintf_chk.c: Likewise.
32424 * debug/vasprintf_chk.c: Likewise.
32425 * debug/vdprintf_chk.c: Likewise.
32426 * debug/vsnprintf_chk.c: Likewise.
32427 * debug/vsprintf_chk.c: Likewise.
32428 * malloc/mtrace.c: Likewise.
32429 * misc/error.c: Likewise.
32430 * misc/syslog.c: Likewise.
32431 * stdio-common/asprintf.c: Likewise.
32432 * stdio-common/fxprintf.c: Likewise.
32433 * stdio-common/getw.c: Likewise.
32434 * stdio-common/isoc99_fscanf.c: Likewise.
32435 * stdio-common/isoc99_scanf.c: Likewise.
32436 * stdio-common/isoc99_vfscanf.c: Likewise.
32437 * stdio-common/isoc99_vscanf.c: Likewise.
32438 * stdio-common/isoc99_vsscanf.c: Likewise.
32439 * stdio-common/printf-prs.c: Likewise.
32440 * stdio-common/printf_fp.c: Likewise.
32441 * stdio-common/printf_fphex.c: Likewise.
32442 * stdio-common/printf_size.c: Likewise.
32443 * stdio-common/putw.c: Likewise.
32444 * stdio-common/scanf.c: Likewise.
32445 * stdio-common/sprintf.c: Likewise.
32446 * stdio-common/tmpfile.c: Likewise.
32447 * stdio-common/vfprintf.c: Likewise.
32448 * stdio-common/vfscanf.c: Likewise.
32449 * stdlib/strfmon_l.c: Likewise.
32450 * sunrpc/openchild.c: Likewise.
32451 * sunrpc/xdr_stdio.c: Likewise.
32452 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32453 * sysdeps/mach/hurd/tmpfile.c: Likewise.
32455 2012-05-24 Roland McGrath <roland@hack.frob.com>
32457 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32459 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32460 in the third column, to generate for the shared library an IFUNC
32461 that uses _dl_vdso_vsym.
32462 * Makerules (COMPILE.c, compile-stdin.c): New variables.
32463 * Makeconfig (object-suffixes-noshared): New variable.
32465 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32466 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32467 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32468 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32471 * include/sys/time.h (__gettimeofday): Remove macro.
32472 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32473 * time/gettimeofday.c (__gettimeofday): Remove #undef.
32475 (__gettimeofday): Add libc_hidden_def.
32476 (gettimeofday): Add libc_hidden_weak.
32477 * sysdeps/mach/gettimeofday.c: Likewise.
32478 * sysdeps/posix/gettimeofday.c: Likewise.
32479 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32480 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32481 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32482 (__gettimeofday_internal): Remove strong_alias.
32483 (__gettimeofday): Add libc_hidden_def.
32484 (gettimeofday): Add libc_hidden_weak.
32485 * sysdeps/unix/syscalls.list (gettimeofday):
32486 Remove __gettimeofday_internal alias.
32488 2012-05-24 Daniel Jacobowitz <drow@false.org>
32489 H.J. Lu <hongjiu.lu@intel.com>
32492 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32493 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32494 (largebin_index_32_big): New.
32495 (largebin_index): Use it for 16-byte alignment.
32496 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
32497 correction with front_misalign.
32499 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32501 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32502 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32506 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32518 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32524 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32527 * scripts/data/c++-types-x32-linux-gnu.data: New file.
32528 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32530 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32534 * math/libm-test.inc (exp_test): Add test from bug 14036.
32535 (pow_test): Add test from bug 10846.
32537 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32539 (special_function): Do not include flags in test name.
32540 (parse_args): Likewise.
32541 * sysdeps/i386/fpu/libm-test-ulps: Update.
32542 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32543 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32544 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32547 * math/gen-libm-test.pl (%beautify): Add entries for underflow
32549 * math/libm-test.inc ("Philosophy"): Update comment about
32551 (UNDERFLOW_EXCEPTION): New macro.
32552 (UNDERFLOW_EXCEPTION_OK): Likewise.
32553 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32554 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32555 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32556 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32557 (INVALID_EXCEPTION_OK): Update value.
32558 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32559 (OVERFLOW_EXCEPTION_OK): Likewise.
32560 (IGNORE_ZERO_INF_SIGN): Likewise.
32561 (test_exceptions): Handle underflow exceptions.
32562 (acos_test): Update for underflow exception expectations.
32563 (cexp_test): Likewise.
32564 (clog_test): Likewise.
32565 (clog10_test): Likewise.
32566 (csqrt_test): Likewise.
32567 (ctan_test): Likewise.
32568 (ctanh_test): Likewise.
32569 (exp_test): Likewise.
32570 (exp10_test): Likewise.
32571 (exp2_test): Likewise.
32572 (expm1_test): Likewise.
32573 (fma_test): Likewise.
32574 (j0_test): Likewise.
32575 (jn_test): Likewise.
32576 (nexttoward_test): Likewise.
32577 (pow_test): Likewise.
32578 (scalbn_test): Likewise.
32579 (scalbln_test): Likewise.
32580 (tan_test): Likewise.
32581 (y1_test): Likewise.
32582 * sysdeps/i386/fpu/libm-test-ulps: Update.
32583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32585 2012-05-23 David S. Miller <davem@davemloft.net>
32587 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32588 (__libc_sigaction): Remove unused local variables.
32590 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32592 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32594 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
32596 mktime: avoid signed integer overflow
32597 * time/mktime.c (__mktime_internal): Do not mishandle the case
32598 where diff == INT_MIN.
32600 mktime: simplify computation of average
32601 * time/mktime.c (ranged_convert): Use new time_t_avg function
32602 instead of rolling our own (probably-slower) code.
32604 mktime: do not assume signed right shift propagates sign bit
32605 * time/mktime.c (isdst_differ): New static function.
32606 (__mktime_internal): No need to normalize tm_isdst now.
32607 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32610 mktime: merge another wrapv change from gnulib
32611 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32612 from some compilers.
32614 mktime: remove incorrect attempt at unusual arithmetics
32615 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32616 The code didn't really work on such machines anyway.
32617 (TYPE_MINIMUM): Assume two's complement.
32618 (twos_complement_arithmetic): Verify that long_int and time_t
32619 are two's complement (or unsigned, in the latter case).
32621 mktime: check signed shifts on long_int and time_t, too
32622 * time/mktime.c (SHR): Check that shifts work as desired
32623 on the types long_int and time_t too, as SHR is used on
32626 mktime: do not assume 'long' is wide enough
32627 * time/mktime.c (verify): Move decl up.
32628 (long_int): New type.
32629 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32630 to remove assumption in the code that 'long' is wide enough to
32631 store year values. This assumption is not true on x32 and on
32632 some non-glibc platforms.
32634 mktime: merge wrapv change from gnulib
32635 * time/mktime.c (WRAPV): New macro.
32636 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32637 (guess_time_tm, __mktime_internal): Do not assume that signed
32638 integer overflow wraps around; modern compilers generate code
32639 where this assumption is no longer valid.
32641 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32643 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32644 Replace "jmp L(pseudo_end)" with "ret".
32645 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32648 2012-05-23 Andreas Jaeger <aj@suse.de>
32650 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32651 * sysdeps/unix/sysv/linux/poll.c: Remove file.
32653 2012-05-23 Andreas Jaeger <aj@suse.de>
32654 Maximilian Attems <max@stro.at>
32656 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32659 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32661 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32662 code so that pseudo_end is just ret and the stack pointer is
32663 correct also for static library in error case.
32665 2012-05-23 Joseph Myers <joseph@codesourcery.com>
32667 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32668 move to syscalls.list.
32669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32674 * manual/install.texi (Running make install): Do not mention Linux
32675 kernel version for which pt_chown is not needed.
32676 (Linux): Do not mention problems with nscd with 2.0 kernels.
32677 * INSTALL: Regenerated.
32679 2012-05-23 Andreas Jaeger <aj@suse.de>
32681 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32682 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32684 * sysdeps/unix/sysv/linux/s390/bits/mman.h
32685 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32686 * sysdeps/unix/sysv/linux/sh/bits/mman.h
32687 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32688 * sysdeps/unix/sysv/linux/i386/bits/mman.h
32689 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32690 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32691 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32692 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32693 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32694 * sysdeps/unix/sysv/linux/bits/in.h
32695 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32697 2012-05-22 Roland McGrath <roland@hack.frob.com>
32699 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32700 (PREPARE_VERSION): Just use assert instead, it will be elided
32701 under [NDEBUG] anyway.
32703 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32705 * sysdeps/unix/sysv/linux/Makefile: Include
32706 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32707 (sysdep_routines): Remove sysctl.
32708 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32709 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32710 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32711 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32712 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32714 2012-05-22 Andreas Jaeger <aj@suse.de>
32716 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32717 that pseudo_end is just ret and the stack pointer is correct also
32718 for static library in error case.
32720 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
32723 * nss/nsswitch.c (defconfig_entries): New variable.
32724 (__nss_database_lookup): Don't leak defconfig entries.
32725 (nss_parse_service_list): Don't leak on error paths.
32726 (free_database_entries): New function.
32727 (free_defconfig): New function.
32728 (free_mem): Move common code to free_database_entries.
32730 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32732 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32734 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32736 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32737 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32738 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32740 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32741 (INTERNAL_SYSCALL_TYPES): Likewise.
32742 (LOAD_ARGS_TYPES_[1-6]): Likewise.
32743 (LOAD_REGS_TYPES_[1-6]): Likewise.
32744 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32745 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32747 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32749 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32750 copysignl for GLIBC_2_0.
32751 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32752 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32753 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32754 logbl for GLIBC_2_0.
32755 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32756 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32758 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32760 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32761 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32763 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32766 * time/mktime.c: Update copyright years.
32768 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
32770 mktime: merge comment-quoting-style change from gnulib
32771 * time/mktime.c: Quote 'like this' in comments.
32772 The GNU coding standards suggest that we no longer quote `like this',
32773 as "`" and "'" are typically rendered asymmetrically nowadays.
32774 The typical gnulib style is to quote 'like this' when quoting
32775 code, and "like this" when quoting English.
32777 * time/mktime.c (compile-command): Add "-I.".
32779 mktime: merge mktime-internal.h change from gnulib
32780 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32782 mktime: merge time_r change from gnulib
32783 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32785 mktime: merge DEBUG change from gnulib
32786 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32787 case system <time.h> has a #define.
32789 mktime: merge <sys/types.h> change from gnulib
32790 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32791 since <time.t> is now guaranteed to define time_t.
32793 mktime: merge HAVE_CONFIG_H change from gnulib
32794 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32796 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32798 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32801 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32803 (struct rusage): Use anonymous union to pad each field to
32806 2012-05-21 David S. Miller <davem@davemloft.net>
32808 * Makefules (o-iterator): Remove .s cases.
32809 (compile-command.s): Delete.
32810 (COMPILE.s): Delete.
32811 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32813 2012-05-21 Joseph Myers <joseph@codesourcery.com>
32815 * configure.in (libc_cv_predef_stack_protector): Only consider
32816 "foobar" and "__stack_chk_fail" lines in libc_undefs.
32817 * configure: Regenerated.
32819 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32821 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32822 New macro. Use R*LP on int and pointer.
32823 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
32824 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
32825 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
32826 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
32828 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
32829 [__WORDSIZE_TIME64_COMPAT32] instead of
32830 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
32831 (struct utmp): Likewise.
32832 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
32833 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
32835 (__WORDSIZE_TIME64_COMPAT32): This.
32836 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
32837 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
32838 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
32839 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
32840 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
32841 (__WORDSIZE_TIME64_COMPAT32): New macro.
32843 2012-05-21 Andreas Jaeger <aj@suse.de>
32845 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
32846 only if [SHARED]. Add prototype for __wcschr_ia32.
32848 2012-05-21 Roland McGrath <roland@hack.frob.com>
32850 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
32851 of %rbp unmolested in the jmp_buf while mangling the low bits.
32852 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
32853 unmolested high bits of %rbp while demangling the low bits.
32854 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32856 2012-05-21 Andreas Jaeger <aj@suse.de>
32858 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
32859 * sunrpc/svc_simple.c: Use it for registerrpc.
32860 * sunrpc/xcrypt.c: Use it for passwd2des.
32862 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
32864 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32866 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
32867 Don't define if [__SYSCALL_WORDSIZE != 32].
32868 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
32871 2012-05-21 Bruno Haible <bruno@clisp.org>
32872 Andreas Jaeger <aj@suse.de>
32874 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
32875 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
32876 inptr and inend for must_buffer_ch.
32877 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
32878 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
32879 * stdio-common/Makefile (tests): Remove bug15.
32880 (bug15-ENV): Remove macro.
32881 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
32884 2012-05-19 Andreas Jaeger <aj@suse.de>
32885 Roland McGrath <roland@hack.frob.com>
32887 * manual/contrib.texi: Completely rewritten. It contains now an
32888 alphabetical list of contributors and their contributions.
32890 2012-05-21 Richard Henderson <rth@twiddle.net>
32892 * misc/getauxval.c (__getauxval): Use unsigned long int.
32893 * misc/sys/auxv.h: Include <sys/cdefs.h>.
32894 (getauxval): Use unsigned long int.
32896 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32898 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32900 2012-05-21 Roland McGrath <roland@hack.frob.com>
32902 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
32903 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
32904 __alignof__ (long double).
32906 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32910 2012-05-20 Richard Henderson <rth@twiddle.net>
32912 * misc/getauxval.c: New file.
32913 * misc/sys/auxv.h: New file.
32914 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
32915 (routines): Add getauxval.
32916 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
32917 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
32918 * elf/dl-sysdep.c (_dl_auxv): Remove.
32919 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
32920 * elf/dl-support.c (_dl_auxv): New variable.
32921 (_dl_aux_init): Initialize it.
32922 * manual/startup.texi (Auxiliary Vector): New node.
32923 * sysdeps/generic/bits/hwcap.h: New file.
32924 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
32925 * sysdeps/powerpc/sysdep.h: ... here. Include it.
32926 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
32927 * sysdeps/sparc/sysdep.h: ... here. Include it.
32928 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
32929 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
32930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
32933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
32934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
32935 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
32936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32938 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
32939 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
32941 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32945 2012-05-19 David S. Miller <davem@davemloft.net>
32947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32949 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32952 * math/s_ccosh.c: Include <float.h>
32953 (__ccosh): Avoid internal overflow calculating sinh and cosh
32954 values before multiplying by sin and cos values.
32955 * math/s_ccoshf.c: Likewise.
32956 * math/s_ccoshl.c: Likewise.
32957 * math/s_csin.c: Likewise.
32958 * math/s_csinf.c: Likewise.
32959 * math/s_csinl.c: Likewise.
32960 * math/s_csinh.c: Likewise.
32961 * math/s_csinhf.c: Likewise.
32962 * math/s_csinhl.c: Likewise.
32963 * math/libm-test.inc (ccos_test): Add more tests.
32964 (ccosh_test): Likewise.
32965 (csin_test): Likewise.
32966 (csinh_test): Likewise.
32967 * sysdeps/i386/fpu/libm-test-ulps: Update.
32968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32970 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
32972 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
32973 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
32975 * sysdeps/x86_64/x32/_itoa.h: Add comment.
32977 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32979 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
32980 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
32981 * sysdeps/powerpc/soft-fp/Versions: Likewise.
32982 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
32983 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
32984 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
32985 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
32986 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
32987 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
32988 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
32989 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
32990 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
32991 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
32992 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
32993 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
32994 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
32995 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
32996 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32997 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32998 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32999 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33000 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33001 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33002 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33003 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33004 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33005 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33006 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33007 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33008 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33009 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33011 2012-05-18 Andreas Jaeger <aj@suse.de>
33013 * csu/.gitignore: Delete.
33015 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33017 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33018 (timex): Use __syscall_slong_t.
33020 2012-05-18 Andreas Jaeger <aj@suse.de>
33021 Carlos O'Donell <carlos_odonell@mentor.com>
33023 * manual/install.texi (Configuring and compiling): Update
33024 description about files modified in the source directory.
33025 * INSTALL: Regenerated.
33027 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33029 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33030 value. Use "or" to set return value to -1.
33031 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33032 negate return value.
33034 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33036 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33037 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33038 failure if the compiler has Graphite support disabled.
33039 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33041 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33042 (CFLAGS-memmove.c): Likewise.
33043 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33046 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33048 * sysdeps/x86_64/x32/_itoa.h: New file.
33050 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33051 getdents system call only if kernel and user dirents have the
33052 same d_ino and d_off.
33054 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33055 LLONG_MAX != LONG_MAX.
33056 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33057 (_fitoa_word): Likewise.
33059 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33061 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33062 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33063 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33065 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33066 include <bits/wordsize.h>. Check __x86_64__ instead of
33068 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33069 if __x86_64__ is defined. Use anonymous union on fpstate.
33071 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33074 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33076 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33077 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33078 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33079 Refer to _rtld_local_ro instead of _rtld_global_ro.
33080 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33082 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33084 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33086 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33087 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33088 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33090 * sysdeps/powerpc/powerpc32/dl-machine.c
33091 (__elf_machine_runtime_setup) [PROF]: Don't reference
33094 2012-05-18 Andreas Jaeger <aj@suse.de>
33096 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33097 function only available for GCCs before 3.4 since GCC 3.4
33098 introduced a builtin.
33100 (llrintf): Likewise.
33101 (llrint): Likewise.
33108 (nearbyint): Likewise.
33109 (nearbyintf): Likewise.
33113 (floorf): Likewise.
33115 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33117 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33118 on both fields and cast pointer to __syscall_ulong_t.
33120 * bits/types.h (__fsword_t): New type.
33121 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33122 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33123 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33124 (__FSWORD_T_TYPE): Likewise.
33125 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33126 (__FSWORD_T_TYPE): Likewise.
33127 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33128 (__FSWORD_T_TYPE): Likewise.
33129 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33130 (__FSWORD_T_TYPE): Likewise.
33131 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33132 __SWORD_TYPE with __fsword_t.
33133 (statfs64): Likewise.
33135 2012-05-17 David S. Miller <davem@davemloft.net>
33137 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33139 2012-05-17 Andreas Jaeger <aj@suse.de>
33141 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33144 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33146 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33148 2012-05-17 Andreas Jaeger <aj@suse.de>
33150 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33153 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33155 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33157 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33159 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33160 * sysdeps/x86_64/tst-mallocalign1.c: New file.
33162 2012-05-17 Andreas Jaeger <aj@suse.de>
33163 Carlos O'Donell <carlos_odonell@mentor.com>
33166 * sysdeps/x86_64/multiarch/init-arch.h
33167 (bit_YMM_Usable): Rename to...
33168 (bit_AVX_Usable): ... this.
33169 (bit_FMA4_Usable): New macro.
33170 (bit_XMM_state): New macro.
33171 (bit_YMM_state): New macro.
33172 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33173 [__ASSEMBLER__] (index_AVX_Usable): ... this.
33174 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33175 (CPUID_OSXSAVE): New macro.
33176 (CPUID_AVX): New macro.
33177 (CPUID_FMA4): New macro.
33178 (index_YMM_Usable): Rename to...
33179 (index_AVX_Usable): ... this.
33180 (HAS_AVX): Use HAS_ARCH_FEATURE.
33181 (HAS_FMA4): Likewise.
33182 (HAS_YMM_USABLE): Remove.
33183 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33184 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33186 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33187 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33188 * sysdeps/x86_64/multiarch/Makefile: Likewise.
33189 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33190 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33192 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33194 * math/libm-test.c: Support platforms without multiple rounding modes.
33195 * math/bug-nextafter.c: Support platforms without FP exceptions.
33196 * math/bug-nexttoward.c: Likewise.
33197 * math/test-fenv.c: Likewise.
33198 * math/test-misc.c: Likewise.
33199 * stdlib/bug-getcontext.c: Likewise.
33201 2012-05-17 Andreas Jaeger <aj@suse.de>
33203 * manual/examples/search.c (critter_cmp): Change signature to
33205 * manual/string.texi (Collation Functions): Likewise.
33207 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33209 * bits/types.h: Fold copyright years.
33210 * bits/typesizes.h: Likewise.
33211 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33212 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33213 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33214 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33215 * time/time.h: Likewise.
33217 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
33220 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33221 in instead of returning them. Return void.
33222 (__libc_mallinfo): Accumulate over all arenas.
33223 (__malloc_stats): Adjust for change in int_mallinfo interface.
33225 2012-05-16 Roland McGrath <roland@hack.frob.com>
33228 * configure.in (NM): Add AC_CHECK_TOOL for it.
33229 (libc_extra_cflags): New substituted variable.
33230 Check for -fstack-protector being used implicitly.
33231 * configure: Regenerated.
33232 * config.make.in (config-extra-cflags): New variable,
33233 gets @libc_extra_cflags@.
33234 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33237 * configure.in: Check for _FORTIFY_SOURCE being predefined.
33238 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33239 * configure: Regenerated.
33240 * config.make.in (CPPUNDEFS): New substituted variable.
33241 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33242 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33243 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33245 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33247 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33248 (mq_attr): Use __syscall_slong_t.
33250 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33252 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33253 Check __x86_64__ instead of __WORDSIZE.
33254 (_STAT_VER_LINUX): Likewise.
33255 (stat): Check __x86_64__ instead of __WORDSIZE. Use
33256 __syscall_ulong_t and __syscall_slong_t.
33257 (stat64): Likewise.
33259 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33261 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33263 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33265 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33267 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33269 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33272 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33273 include <bits/wordsize.h>. Check __x86_64__ instead of
33275 (greg_t): Use "__extension__ long long int" if __x86_64__ is
33277 (mcontext_t): Replace "unsigned long" with "unsigned long long".
33279 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33280 include <bits/wordsize.h>. Check __x86_64__ instead of
33282 (user_regs_struct): Use "__extension__ unsigned long long"
33283 instead of "unsigned long" if __x86_64__ is defined.
33284 (user): Likewise. Pad after pointer field if __ILP32__ is
33287 2012-05-16 Joseph Myers <joseph@codesourcery.com>
33289 * configure.in (makeinfo): Require version 4.5 or later. Allow
33291 * configure: Regenerated.
33292 * manual/install.texi (texinfo): Increase version requirement to
33294 * INSTALL: Regenerated.
33296 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33298 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33300 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33302 * sysdeps/x86_64/x32/ffs.c: New file.
33304 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33306 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33307 defined. Use __syscall_ulong_t.
33308 (shminfo): Use __syscall_ulong_t.
33309 (shm_info): Likewise.
33311 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33314 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33316 (msgqnum_t): Use __syscall_ulong_t.
33317 (msglen_t): Likewise.
33318 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
33321 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33322 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33324 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33326 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33327 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33329 * sysvipc/sys/msg.h (msgbuf): Replace long int with
33332 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33333 include <bits/wordsize.h>. Check __x86_64__ instead of
33336 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33337 "unsigned long long int" if __x86_64__ is defined.
33338 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33340 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33341 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33342 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33344 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33346 (GET_PC): Cast to uintptr_t first.
33347 (GET_FRAME): Likewise.
33348 (GET_STACK): Likewise.
33350 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33351 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33352 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33353 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33354 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33355 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33356 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33357 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33358 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33359 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33360 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33361 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33362 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33363 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33364 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33365 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33366 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33367 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33368 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33369 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33370 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33371 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33372 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33373 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33374 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33375 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33376 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33377 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33378 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33380 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
33382 * Makerules (+depfiles): Also collect depfiles from .oS in
33384 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33385 .oS, $(libnldbl-routines)).
33387 * Makerules (native-compile-mkdep-flags): Define.
33388 * sunrpc/Makefile (extra-objs): Add $(addprefix
33389 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33390 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33391 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
33392 calling $(make-target-directory).
33394 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33396 * bits/types.h (__snseconds_t): Removed.
33397 * time/time.h (struct timespec): Replace __snseconds_t with
33399 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33400 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33402 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33403 (__SNSECONDS_T_TYPE): Likewise.
33404 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33405 (__SNSECONDS_T_TYPE): Likewise.
33406 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33407 (__SNSECONDS_T_TYPE): Likewise.
33409 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33411 * sysdeps/mach/hurd/bits/typesizes.h
33412 (__SYSCALL_SLONG_TYPE): New macro.
33413 (__SYSCALL_ULONG_TYPE): Likewise.
33415 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33417 * bits/types.h (__syscall_slong_t): New type.
33418 (__syscall_ulong_t): Likewise.
33420 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33421 (__SYSCALL_ULONG_TYPE): Likewise.
33422 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33423 (__SYSCALL_SLONG_TYPE): Likewise.
33424 (__SYSCALL_ULONG_TYPE): Likewise.
33425 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33426 (__SYSCALL_SLONG_TYPE): Likewise.
33427 (__SYSCALL_ULONG_TYPE): Likewise.
33428 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33429 (__SYSCALL_SLONG_TYPE): Likewise.
33430 (__SYSCALL_ULONG_TYPE): Likewise.
33432 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33434 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33435 Add sigaltstack-offsets.sym.
33436 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33437 <sigaltstack-offsets.h>.
33438 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
33439 longjmp_msg pointer.
33440 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
33441 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33443 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33445 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33447 * elf/stackguard-macros.h: Remove file.
33448 * sysdeps/generic/stackguard-macros.h: New file.
33449 * sysdeps/i386/stackguard-macros.h: Likewise.
33450 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33451 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33452 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33453 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33454 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33455 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33456 * sysdeps/x86_64/stackguard-macros.h: Likewise.
33457 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33458 <elf/stackguard-macros.h>.
33461 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33462 __aligned__ in attribute.
33463 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33464 (gregset_t): Likewise.
33466 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33468 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33469 * sysdeps/x86_64/64/Implies-after: Here. New file.
33470 * sysdeps/x86_64/x32/Implies-after: New file.
33472 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33474 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33475 and access return value for _dl_profile_fixup. Use R10_LP to
33478 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33480 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33482 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33484 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33485 * sysdeps/x86_64/x32/sysdep.h: New file.
33487 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33489 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33490 * sysdeps/x86_64/setjmp.S: Likewise.
33492 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33494 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33495 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33496 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33497 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33498 remove unused global constant.
33500 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
33502 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33503 include of <not-cancel.h>.
33505 2012-05-15 Roland McGrath <roland@hack.frob.com>
33507 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33509 2012-05-15 Jeff Law <law@redhat.com>
33510 Andreas Jaeger <aj@suse.de>
33513 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33515 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33516 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33517 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33518 code changing __hst_map_handle.map.
33520 2012-05-15 Roland McGrath <roland@hack.frob.com>
33522 * configure.in (sysnames): Look for Implies-before and Implies-after
33524 * configure: Regenerated.
33526 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33528 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33529 8-byte data alignment with LP_SIZE alignment.
33531 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33533 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33536 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33538 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33540 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33542 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33543 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33544 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33546 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33548 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33550 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33551 (stackinfo_sub_sp): Likewise.
33553 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33555 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33558 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33560 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33563 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33565 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33568 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33570 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33572 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33574 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33575 into R11_LP and load __x86_64_shared_cache_size_half into
33578 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33580 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33583 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33585 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33587 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33589 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33591 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33592 powerpc32/power7/fpu/s_logb.c via #include.
33593 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33594 powerpc32/power7/fpu/s_logbf.c via #include.
33595 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33596 powerpc32/power7/fpu/s_logbl.c via #include.
33598 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33600 * README.libm: Remove file.
33602 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33604 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33605 count for x32. Use R*_LP and omit operand-size suffix.
33607 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33609 * shlib-versions: Move x86_64-.*-linux.* entries to ...
33610 * sysdeps/x86_64/64/shlib-versions: Here. New file.
33611 * sysdeps/x86_64/x32/shlib-versions: New file.
33613 2012-05-14 Roland McGrath <roland@hack.frob.com>
33615 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33616 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33617 Use _dl_fatal_printf instead.
33619 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33621 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33622 set if not set by the user. Do not allow for being unset.
33623 * sysdeps/unix/sysv/linux/configure: Regenerated.
33625 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33627 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33628 the `q' suffix from lea and replace .quad with ASM_ADDR.
33630 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33632 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33633 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
33635 (PTR_DEMANGLE): Likewise.
33637 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33639 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33641 (ASM_ADDR): Likewise.
33642 (RAX_LP): Likewise.
33643 (RBP_LP): Likewise.
33644 (RBX_LP): Likewise.
33645 (RCX_LP): Likewise.
33646 (RDI_LP): Likewise.
33647 (RSI_LP): Likewise.
33648 (RSP_LP): Likewise.
33651 (R10_LP): Likewise.
33652 (R10_LP): Likewise.
33653 (R11_LP): Likewise.
33654 (R12_LP): Likewise.
33655 (R13_LP): Likewise.
33656 (R14_LP): Likewise.
33657 (R15_LP): Likewise.
33659 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33661 * sysdeps/x86_64/x32/dl-machine.h: New file.
33663 2012-05-14 Andreas Jaeger <aj@suse.de>
33665 * manual/Makefile (subdir): Remove export of subdir.
33666 (all): Remove target.
33667 (.PHONY): Remove all from list.
33668 (mkinstalldirs): Remove.
33669 (.PHONY): Remove installdirs from list.
33670 ($(inst_infodir)/libc.info): Use make-target-directory.
33671 (installdirs): Remove.
33672 (subdir_%): Remove.
33673 (glibc-targets): Remove.
33676 ($(objpfx)stubs ../po/manual.pot): Remove.
33677 ($(objpfx)stamp%): Remove.
33678 (make-target-directory): Remove.
33679 (subdir_install): Remove.
33680 (routines): Remove.
33687 * manual/.gitignore: Remove, it's not needed anymore.
33688 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33690 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33692 (texis): Renamed to $(objpfx)texis.
33693 (texis-path): New, contains path to generated files.
33694 (chapters.%): Use texis-path for complete path, add extra argument
33696 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33697 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33698 (summary,texi, stamp-summary): Use complete path of
33699 files. Generate files in build dir.
33700 (dir-add.texi): Build in build dir.
33701 (libm-err.texi,stamp-libm-err): Likewise.
33702 (version.texi, stamp-version): Likewise.
33703 (.%c.texi): Likewise.
33704 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33705 (mostlyclean): Remove target.
33706 (realclean): Remove target.
33707 (generated): Add new variable with contents from mostlyclean and
33708 realclean, remove entries duplicated in common-mostlyclean, add
33709 stamp-libm-err and stamp-version.
33710 (generated-dirs): Add libc directory.
33711 ($(inst_infodir)/libc.info): Install files from build dir.
33713 * manual/install.texi (Configuring and compiling): Adjust since
33714 the info files are not part of the tar ball anymore.
33716 2012-05-14 Andreas Jaeger <aj@suse.de>
33718 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33721 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33724 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33725 to 2.2.0 where earlier.
33726 * sysdeps/unix/sysv/linux/configure: Regenerated.
33727 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33728 Remove conditional code.
33729 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33730 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33731 Remove conditional code.
33732 [!__NR_lchown]: Likewise.
33733 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33734 [__NR_lchown]: Likewise.
33735 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33736 comment referencing __ASSUME_LCHOWN_SYSCALL.
33737 * sysdeps/unix/sysv/linux/i386/sigaction.c
33738 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33739 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33740 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33741 Remove conditional code.
33742 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33743 (__protocol_available): Remove #if 0 code.
33744 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33746 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33747 * sysdeps/unix/sysv/linux/kernel-features.h
33748 (__ASSUME_GETCWD_SYSCALL): Don't define.
33749 (__ASSUME_REALTIME_SIGNALS): Likewise.
33750 (__ASSUME_PREAD_SYSCALL): Likewise.
33751 (__ASSUME_PWRITE_SYSCALL): Likewise.
33752 (__ASSUME_POLL_SYSCALL): Likewise.
33753 (__ASSUME_LCHOWN_SYSCALL): Likewise.
33754 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33756 (__ASSUME_SIOCGIFNAME): Don't define.
33757 (__ASSUME_MSG_NOSIGNAL): Likewise.
33758 (__ASSUME_SENDFILE): Define unconditionally.
33759 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33760 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33762 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33763 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33764 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33765 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33766 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33767 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33768 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33770 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33771 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33773 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33774 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33776 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33777 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33779 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33780 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33782 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33783 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33785 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33786 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33788 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33789 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33791 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33792 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33793 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33794 Remove conditional code.
33795 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33796 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33797 Remove conditional code.
33798 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33799 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33800 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33801 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33802 Remove conditional code.
33803 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33804 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33805 Remove conditional code.
33806 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33807 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33808 Remove conditional code.
33809 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33810 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33811 Remove conditional code.
33812 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33813 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33814 Remove conditional code.
33815 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33816 * sysdeps/unix/sysv/linux/sh/pwrite64.c
33817 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33818 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33819 * sysdeps/unix/sysv/linux/sigaction.c
33820 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33821 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33822 * sysdeps/unix/sysv/linux/sigpending.c
33823 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33824 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33825 * sysdeps/unix/sysv/linux/sigprocmask.c
33826 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33827 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33828 * sysdeps/unix/sysv/linux/sigsuspend.c
33829 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33830 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33831 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33832 (__libc_missing_rt_sigs): Remove.
33833 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
33834 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
33835 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
33836 Remove conditional code.
33837 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
33838 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
33840 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
33841 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
33842 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
33843 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
33845 2012-05-14 Andreas Jaeger <aj@suse.de>
33847 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
33848 it's not used in glibc.
33849 (__coshm1): Likewise.
33850 (__acosh1p): Likewise.
33853 * manual/string.texi (Copying and Concatenation): Add missing
33854 variable in concat example.
33855 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33857 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33860 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
33861 __builtin_clzl with __builtin_clzll.
33863 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33866 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
33869 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33871 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
33872 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
33873 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
33874 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
33876 2012-05-14 Mike Frysinger <vapier@gentoo.org>
33878 * NEWS: Update ia64 info.
33880 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
33882 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
33885 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
33887 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
33888 * sysdeps/unix/syscalls.list (dup3): Likewise.
33889 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
33890 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
33892 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33894 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
33895 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
33897 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33899 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
33901 (TLS_IE): Use mov/add instead of movq/addq to load thread
33903 (TLS_GD_PREFIX): New.
33906 2012-05-11 David S. Miller <davem@davemloft.net>
33908 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
33909 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
33910 (_FPU_SETCW): Likewise.
33912 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33914 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
33915 is 32-byte aligned.
33917 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
33920 * iconvdata/gb18030.c: Update tables.
33921 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
33922 characters specially.
33923 (BODY for TO_LOOP): Add encoding of missing ranges.
33925 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
33928 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
33929 * sysdeps/mach/hurd/dup3.c: Likewise.
33930 * sysdeps/mach/hurd/readlinkat.c: Likewise.
33931 * sysdeps/powerpc/memmove.c:: Likewise.
33933 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33935 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
33936 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
33938 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33940 * elf/elf.h (R_X86_64_RELATIVE64): New.
33941 (R_X86_64_NUM): Updated.
33942 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33943 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
33944 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
33945 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
33946 tst-quad1pie tst-quad2pie
33947 (modules-names): Add tst-quadmod1 tst-quadmod2.
33948 ($(objpfx)tst-quad1): New dependency.
33949 ($(objpfx)tst-quad2): Likewise.
33950 ($(objpfx)tst-quad1pie): Likewise.
33951 ($(objpfx)tst-quad2pie): Likewise.
33952 * sysdeps/x86_64/tst-quad1.c: New file.
33953 * sysdeps/x86_64/tst-quad1pie.c: New file.
33954 * sysdeps/x86_64/tst-quad2.c: Likewise.
33955 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
33956 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33957 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
33958 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
33959 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
33961 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33963 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
33964 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33965 * streams/stropts.h (t_scalar_t): Define type.
33967 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
33968 (_PATH_PRESERVE): Set to "/var/lib".
33969 (_PATH_RWHODIR): Set to "/var/spool/rwho".
33971 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
33974 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
33975 if __dir_mkfile succeeded.
33977 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
33978 checking for _hurd_dtablesize. Unlock it right after having
33979 finished _hurd_dtable allocation.
33981 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33983 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
33984 * sysdeps/mach/hurd/configure: Regenerated.
33985 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
33986 special-casing to...
33987 * sysdeps/gnu/configure.in: ... this new file.
33988 * sysdeps/unix/sysv/linux/configure: Regenerated.
33989 * sysdeps/gnu/configure: New generated file.
33991 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
33992 for Linux: use nsec instead of usec, as well as:
33993 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
33994 members of type struct timespec.
33995 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33997 (struct stat64): Likewise.
33998 (_STATBUF_ST_NSEC): New macro.
33999 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34001 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34002 __strtoul_internal rather than strtoul.
34004 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34006 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34009 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34011 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34012 which preserves existing values.
34013 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34015 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34017 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34018 TIMEOUT values. Return EINVAL for NFDS values either negative or
34019 greater than FD_SETSIZE.
34021 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34023 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34024 allocated, call __vm_protect to finish enabling the existing space, and
34025 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34026 allocate the remainder.
34028 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34030 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34031 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34033 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34035 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34036 sysdeps/mach/hurd/readlink.c.
34038 * posix/tst-sysconf.c (posix_options): Only use
34039 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34040 _POSIX_SYNCHRONIZED_IO when they are defined
34041 * sysdeps/mach/hurd/bits/posix_opt.h:
34042 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34043 (_XOPEN_REALTIME): Undefine macro.
34044 (_XOPEN_REALTIME_THREADS): Undefine macro.
34045 (_XOPEN_SHM): Undefine macro.
34046 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34048 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34050 (_POSIX_ASYNC_IO): Undefine macro.
34051 (_POSIX_PRIORITIZED_IO): Undefine macro.
34052 (_POSIX_SPIN_LOCKS): Define macro to -1.
34054 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34055 SA_NODEFER, SA_RESETHAND.
34056 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34057 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34060 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34062 * elf/Makefile (pldd-modules): Define unconditionally.
34064 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34066 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34068 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34070 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34071 Return ENOENT when name is empty.
34072 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34074 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34076 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34078 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34080 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34082 Fix mlock in all cases except non-readable pages.
34083 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34084 instead of VM_PROT_ALL as parameter to __vm_wire function.
34086 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34087 (__mkdir): When path is `/', just fail with EEXIST.
34088 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34090 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34092 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34093 <sys/uio.h> (for writev).
34094 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34095 and <sys/param.h> (for MIN).
34097 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34099 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34100 REQUESTED_TIME. Properly set the remaining time and return EINTR
34103 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34105 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34106 Depend on against $(link-rpcuserlibs).
34108 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34110 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34111 (__libc_stack_end): Do not use attribute_relro.
34112 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34113 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34114 to libthread-provided value.
34115 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34118 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34121 * bits/libc-lock.h (__libc_once_get): New macro.
34122 * sysdeps/mach/bits/libc-lock.h: Likewise.
34123 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34124 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34125 instead of using implementation details.
34127 * libio/fileops.c: Unconditionally include <kernel-features.h>.
34128 * libio/freopen.c: Likewise.
34129 * libio/freopen64.c: Likewise.
34130 * misc/syslog.c: Likewise.
34131 * nscd/connections.c: Likewise.
34132 * nscd/netgroupcache.c: Likewise.
34133 * sysdeps/posix/getcwd.c: Likewise.
34135 2012-05-10 Roland McGrath <roland@hack.frob.com>
34137 * math/w_ilogbf.c: Add #include <limits.h>.
34139 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34141 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34142 path instead of returning without unlocking.
34144 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34145 immediate-write ioctls.
34146 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34148 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34150 * sysdeps/mach/hurd/i386/init-first.c (init): Use
34151 __builtin_frame_address instead of making assumptions about the
34152 location of the return address relative to DATA. Force early load of
34153 the return address.
34154 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34155 __builtin_frame_address.
34158 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34159 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
34160 implement dup3 and do some further code clean-ups.
34161 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34162 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34164 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34166 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34168 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34169 HURD_CRITICAL_END around holding _hurd_dtable_lock.
34170 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34171 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34172 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34175 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34176 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
34177 when handler == SIG_ERR, not when handler != SIG_ERR.
34179 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34181 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34182 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34185 accept4 for GNU Hurd.
34186 * include/sys/socket.h (__libc_accept4): New prototype.
34187 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
34188 to implement __libc_accept4.
34189 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34191 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34193 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34194 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34195 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34196 signal-defines.sym.
34198 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34200 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34202 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34204 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34205 assertion on O_CLOEXEC flag.
34206 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34207 * hurd/intern-fd.c: Likewise.
34208 * hurd/port2fd.c: Likewise.
34210 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34213 * bits/in.h (IPV6_PKTINFO): Define new macro.
34214 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34216 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34221 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34222 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34223 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34224 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34225 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34226 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34227 * math/libm-test.inc (logb_test) : Additional logb tests.
34229 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
34230 Andreas Jaeger <aj@suse.de>
34232 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34233 * configure: Regenerated.
34234 * config.h.in (LINK_OBSOLETE_RPC): New macro.
34235 * config.make.in (link-obsolete-rpc): New substituted variable.
34236 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34237 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34238 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34239 (shared-only-routines): Don't set it under [link-obsolete-rpc],
34240 so that libc.a contains the symbols.
34241 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34242 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34243 * sunrpc/auth_none.c: Likewise.
34244 * sunrpc/auth_unix.c: Likewise.
34245 * sunrpc/authdes_prot.c: Likewise.
34246 * sunrpc/authuxprot.c: Likewise.
34247 * sunrpc/clnt_gen.c: Likewise.
34248 * sunrpc/clnt_perr.c: Likewise.
34249 * sunrpc/clnt_raw.c: Likewise.
34250 * sunrpc/clnt_simp.c: Likewise.
34251 * sunrpc/clnt_tcp.c: Likewise.
34252 * sunrpc/clnt_udp.c: Likewise.
34253 * sunrpc/clnt_unix.c: Likewise.
34254 * sunrpc/des_crypt.c: Likewise.
34255 * sunrpc/des_soft.c: Likewise.
34256 * sunrpc/get_myaddr.c: Likewise.
34257 * sunrpc/key_call.c: Likewise.
34258 * sunrpc/key_prot.c: Likewise.
34259 * sunrpc/netname.c: Likewise.
34260 * sunrpc/pm_getmaps.c: Likewise.
34261 * sunrpc/pm_getport.c: Likewise.
34262 * sunrpc/pmap_clnt.c: Likewise.
34263 * sunrpc/pmap_prot.c: Likewise.
34264 * sunrpc/pmap_prot2.c: Likewise.
34265 * sunrpc/pmap_rmt.c: Likewise.
34266 * sunrpc/publickey.c: Likewise.
34267 * sunrpc/rpc_cmsg.c: Likewise.
34268 * sunrpc/rpc_common.c: Likewise.
34269 * sunrpc/rpc_dtable.c: Likewise.
34270 * sunrpc/rpc_prot.c: Likewise.
34271 * sunrpc/rpc_thread.c: Likewise.
34272 * sunrpc/rtime.c: Likewise.
34273 * sunrpc/svc.c: Likewise.
34274 * sunrpc/svc_auth.c: Likewise.
34275 * sunrpc/svc_raw.c: Likewise.
34276 * sunrpc/svc_run.c: Likewise.
34277 * sunrpc/svc_tcp.c: Likewise.
34278 * sunrpc/svc_udp.c: Likewise.
34279 * sunrpc/svc_unix.c: Likewise.
34280 * sunrpc/svcauth_des.c: Likewise.
34281 * sunrpc/xcrypt.c: Likewise.
34282 * sunrpc/xdr.c: Likewise.
34283 * sunrpc/xdr_array.c: Likewise.
34284 * sunrpc/xdr_float.c: Likewise.
34285 * sunrpc/xdr_intXX_t.c: Likewise.
34286 * sunrpc/xdr_mem.c: Likewise.
34287 * sunrpc/xdr_rec.c: Likewise.
34288 * sunrpc/xdr_ref.c: Likewise.
34289 * sunrpc/xdr_sizeof.c: Likewise.
34290 * sunrpc/xdr_stdio.c: Likewise.
34292 2012-05-10 Roland McGrath <roland@hack.frob.com>
34294 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34295 change. Update copyright years.
34297 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34299 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34301 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
34302 Joseph Myers <joseph@codesourcery.com>
34303 Paul Pluzhnikov <ppluzhnikov@google.com>
34306 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34308 [cross-compiling] (extra-libs): Likewise.
34309 [cross-compiling] (extra-libs-others): Likewise.
34310 [cross-compiling] (librpcsvc-routines): Likewise.
34311 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34312 [cross-compiling] (omit-deps): Likewise.
34313 (sunrpc-CPPFLAGS): New variable.
34314 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34315 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34316 (cross-rpcgen-objs): New variable.
34317 (extra-objs): Append $(cross-rpcgen-objs).
34318 ($(cross-rpcgen-objs)): New rule.
34319 ($(objpfx)cross-rpcgen): Likewise.
34320 (rpcgen-cmd): Define to use $(built-program-file). Expand
34322 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34323 ($(objpfx)x%.stmp): Likewise.
34324 * sunrpc/proto.h [IS_IN_build] (_): Define.
34325 [IS_IN_build] (_libc_intl_domainname): Likewise.
34327 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34329 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34330 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34331 and R_X86_64_TPOFF64.
34333 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34335 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34336 sysdeps/unix/sysv/syscalls.list.
34339 * sysdeps/unix/sysv/syscalls.list: Remove file.
34341 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
34344 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34345 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34346 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34347 (__LC_IDENTIFICATION): Make these macros useful in #if
34348 expressions, as required by C99.
34350 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
34352 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34353 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
34356 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
34358 * stdlib/longlong.h: Updated from GCC.
34360 2012-05-09 Andreas Jaeger <aj@suse.de>
34362 * nscd/nscd.c (run_modes): Make named enum, reorder so that
34363 default is first entry.
34364 (run_mode): Set type.
34365 (main): Remove informal message about syslog.
34366 (options): Fix typo.
34369 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34372 (llrintf): Likewise.
34373 (llrint): Likewise.
34376 (nearbyint): Likewise.
34377 (nearbyintf): Likewise.
34379 2012-05-09 Andreas Jaeger <aj@suse.de>
34380 Pedro Alves <palves@redhat.com>
34382 * nscd/nscd.c (run_mode): Use enum.
34383 (main): Cleanup coding style issue.
34385 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
34386 Andreas Jaeger <aj@suse.de>
34388 * nscd/nscd.c (go_background): Replaced with...
34389 (run_mode): ... this.
34390 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34391 (options): Add -F --foreground.
34392 (main): Implement it.
34393 (parse_opt): Parse it.
34395 2012-05-09 Andreas Jaeger <aj@suse.de>
34398 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34399 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34400 -Wconversion warning.
34401 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34404 2012-05-09 Joseph Myers <joseph@codesourcery.com>
34406 * conform/data/locale.h-data (NULL): Use macro-constant. Require
34408 (LC_ALL): Use macro-int-constant.
34409 (LC_COLLATE): Likewise.
34410 (LC_CTYPE): Likewise.
34411 (LC_MESSAGES): Likewise.
34412 (LC_MONETARY): Likewise.
34413 (LC_NUMERIC): Likewise.
34414 (LC_TIME): Likewise.
34415 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34416 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34417 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34418 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34420 [C99-based standards] (float_t): Expect type.
34421 [C99-based standards] (double_t): Expect type.
34422 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
34424 [C99-based standards] (HUGE_VALL): Likewise.
34425 [C99-based standards] (INFINITY): Likewise.
34426 [C99-based standards] (NAN): Likewise.
34427 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34428 [C99-based standards] (FP_NAN): Likewise.
34429 [C99-based standards] (FP_NORMAL): Likewise.
34430 [C99-based standards] (FP_SUBNORMAL): Likewise.
34431 [C99-based standards] (FP_ZERO): Likewise.
34432 [C99-based standards] (FP_FAST_FMA): Use
34433 optional-macro-int-constant. Specify type. Require == 1.
34434 [C99-based standards] (FP_FAST_FMAF): Likewise.
34435 [C99-based standards] (FP_FAST_FMAL): Likewise.
34436 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34437 [C99-based standards] (FP_ILOGBNAN): Likewise.
34438 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34440 [C99-based standards] (MATH_ERREXCEPT): Likewise.
34441 [C99-based standards] (math_errhandling): Specify type.
34442 [ISO99 || ISO11] (signgam): Do not allow.
34443 [non-C99-based standards] (copysignf): Do not allow.
34444 [non-C99-based standards] (exp2f): Likewise.
34445 [non-C99-based standards] (log2f): Likewise.
34446 [non-C99-based standards] (modff): Allow.
34447 [non-C99-based standards] (erff): Do not allow.
34448 [non-C99-based standards] (erfcf): Likewise.
34449 [non-C99-based standards] (gammaf): Likewise.
34450 [non-C99-based standards] (hypotf): Likewise.
34451 [non-C99-based standards] (j0f): Likewise.
34452 [non-C99-based standards] (j1f): Likewise.
34453 [non-C99-based standards] (jnf): Likewise.
34454 [non-C99-based standards] (lgammaf): Likewise.
34455 [non-C99-based standards] (tgammaf): Likewise.
34456 [non-C99-based standards] (y0f): Likewise.
34457 [non-C99-based standards] (y1f): Likewise.
34458 [non-C99-based standards] (ynf): Likewise.
34459 [non-C99-based standards] (isnanf): Likewise.
34460 [non-C99-based standards] (acoshf): Likewise.
34461 [non-C99-based standards] (asinhf): Likewise.
34462 [non-C99-based standards] (atanhf): Likewise.
34463 [non-C99-based standards] (cbrtf): Likewise.
34464 [non-C99-based standards] (expm1f): Likewise.
34465 [non-C99-based standards] (ilogbf): Likewise.
34466 [non-C99-based standards] (log1pf): Likewise.
34467 [non-C99-based standards] (logbf): Likewise.
34468 [non-C99-based standards] (nextafterf): Likewise.
34469 [non-C99-based standards] (remainderf): Likewise.
34470 [non-C99-based standards] (rintf): Likewise.
34471 [non-C99-based standards] (scalbf): Likewise.
34472 [non-C99-based standards] (copysignl): Likewise.
34473 [non-C99-based standards] (exp2l): Likewise.
34474 [non-C99-based standards] (log2l): Likewise.
34475 [non-C99-based standards] (modfl): Allow.
34476 [non-C99-based standards] (erfl): Do not allow.
34477 [non-C99-based standards] (erfcl): Likewise.
34478 [non-C99-based standards] (gammal): Likewise.
34479 [non-C99-based standards] (hypotl): Likewise.
34480 [non-C99-based standards] (j0l): Likewise.
34481 [non-C99-based standards] (j1l): Likewise.
34482 [non-C99-based standards] (jnl): Likewise.
34483 [non-C99-based standards] (lgammal): Likewise.
34484 [non-C99-based standards] (tgammal): Likewise.
34485 [non-C99-based standards] (y0l): Likewise.
34486 [non-C99-based standards] (y1l): Likewise.
34487 [non-C99-based standards] (ynl): Likewise.
34488 [non-C99-based standards] (isnanl): Likewise.
34489 [non-C99-based standards] (acoshl): Likewise.
34490 [non-C99-based standards] (asinhl): Likewise.
34491 [non-C99-based standards] (atanhl): Likewise.
34492 [non-C99-based standards] (cbrtl): Likewise.
34493 [non-C99-based standards] (expm1l): Likewise.
34494 [non-C99-based standards] (ilogbl): Likewise.
34495 [non-C99-based standards] (log1pl): Likewise.
34496 [non-C99-based standards] (logbl): Likewise.
34497 [non-C99-based standards] (nextafterl): Likewise.
34498 [non-C99-based standards] (remainderl): Likewise.
34499 [non-C99-based standards] (rintl): Likewise.
34500 [non-C99-based standards] (scalbl): Likewise.
34501 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34502 [non-C99-based standards] (FP_*): Do not allow.
34503 [C99-based standards] (FP_*): Change to
34504 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34505 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34507 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34508 (SIG_ERR): Likewise.
34509 [X/Open-based standards] (SIG_HOLD): Likewise.
34510 (SIG_IGN): Likewise.
34511 (SIGABRT): Use macro-int-constant. Specify type. Require
34513 (SIGFPE): Likewise.
34514 (SIGILL): Likewise.
34515 (SIGINT): Likewise.
34516 (SIGSEGV): Likewise.
34517 (SIGTER): Likewise.
34518 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34519 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34520 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34521 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34522 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34523 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34524 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34525 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34526 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34527 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34528 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34529 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34530 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34531 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34532 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34533 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34534 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34535 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34536 [X/Open-based standards] (SIGTRAP): Likewise.
34537 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34538 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34539 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34540 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34541 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34544 2012-05-08 Ian Wienand <ianw@vmware.com>
34547 * time/tzset.c (__tzset_parse_tz): Update default rules for
34548 daylight time changes in the Energy Policy Act of 2005.
34550 2012-05-09 Andreas Jaeger <aj@suse.de>
34553 * elf/ldconfig.c (parse_conf): Change string to make clear that
34554 ldconfig only issued a warning if ld.so.conf does not exist.
34556 2012-05-08 David S. Miller <davem@davemloft.net>
34558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34559 movxtod instead of popping the value on the stack.
34561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34563 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
34565 * config.h.in: Add HAVE_ARM_PCS_VFP.
34567 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
34570 * include/features.h: Warn if user requests __FORTIFY_SOURCE
34571 checking but the checks are disabled for any reason.
34573 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
34575 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34576 and ELF64_R_TYPE with ELFW(R_TYPE).
34578 2012-05-08 Joseph Myers <joseph@codesourcery.com>
34580 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34581 (ulimit): Likewise.
34583 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34584 (settimeofday): Likewise.
34586 2012-05-08 Mike Frysinger <vapier@gentoo.org>
34588 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
34589 a struct th_u2 inside the union, and move tu_block/tu_code into
34590 a new th_u3 union of tu_block/tu_code inside of that. Move
34591 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
34592 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
34593 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34594 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34595 (th_stuff): Change to th_u1.tu_stuff.
34597 (th_msg): Change to th_u1.th_u2.tu_data.
34599 2012-05-07 David S. Miller <davem@davemloft.net>
34601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34604 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34605 (SETUP_PIC_REG): Use it.
34606 (SETUP_PIC_REG_LEAF): Use it.
34608 2012-05-07 Joseph Myers <joseph@codesourcery.com>
34612 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34614 (EXPL_FINITE): Likewise.
34615 (FLDLOG): Likewise.
34616 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34617 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34619 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34621 (EXPL_FINITE): Likewise.
34622 (FLDLOG): Likewise.
34623 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34624 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34626 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
34627 test of -max_value argument for long double.
34628 * sysdeps/i386/fpu/libm-test-ulps: Update.
34629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34631 2012-05-06 David S. Miller <davem@davemloft.net>
34633 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34634 quad soft-float symbols whose references which are compiler
34636 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34638 2012-05-06 Joseph Myers <joseph@codesourcery.com>
34642 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34644 (EXPL_FINITE): Likewise.
34645 (FLDLOG): Likewise.
34648 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34649 Adjust comments for base varying.
34650 (__expl_finite): Change alias to EXPL_FINITE.
34651 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34653 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34654 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34655 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34656 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34657 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34659 (EXPL_FINITE): Likewise.
34660 (FLDLOG): Likewise.
34663 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34664 Adjust comments for base varying.
34665 (__expl_finite): Change alias to EXPL_FINITE.
34666 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
34668 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34671 * math/libm-test.inc (check_float_internal): Correct ulp
34672 calculation for subnormal expected results.
34674 2012-05-06 Andreas Jaeger <aj@suse.de>
34676 * Makeconfig (+math-flags): New, set to -frounding-math.
34677 (+cflags): Add +math-flags so that all of glibc gets compiled with
34680 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34682 2012-05-05 Joseph Myers <joseph@codesourcery.com>
34684 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34690 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34691 (__ieee754_expl): Allow for and saturate large arguments.
34692 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34693 (u_threshold): Likewise.
34694 (__exp): Call __ieee754_exp before checking for overflow and
34696 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34697 (u_threshold): Likewise.
34698 (__expf): Call __ieee754_expf before checking for overflow and
34700 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34701 (u_threshold): Likewise.
34702 (__expl): Call __ieee754_expl before checking for overflow and
34704 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34705 (__ieee754_expl): Allow for and saturate large arguments.
34706 * math/libm-test.inc (exp_test): Add another test. Do not allow
34707 missing overflow exception on overflow.
34708 (expm1_test): Do not allow missing overflow exception on overflow.
34710 * sysdeps/i386/fpu/e_expl.c: Move to ...
34711 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
34712 rather than using inline asm.
34713 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34714 * sysdeps/x86_64/fpu/e_expl.S: Copy from
34715 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34717 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34720 (signal): Likewise.
34724 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34726 * sysdeps/unix/syscalls.list (adjtime): Add entry from
34727 sysdeps/unix/common/syscalls.list.
34728 (fchmod): Likewise.
34729 (fchown): Likewise.
34730 (ftruncate): Likewise.
34731 (getrusage): Likewise.
34732 (gettimeofday): Likewise.
34733 (setpgid): Likewise.
34734 (setregid): Likewise.
34735 (setreuid): Likewise.
34736 (sigaction): Likewise.
34737 (truncate): Likewise.
34738 (vhangup): Likewise.
34739 * sysdeps/unix/common/syscalls.list: Remove file.
34740 * sysdeps/unix/bsd/Implies: Don't include unix/common.
34741 * sysdeps/unix/sysv/linux/Implies: Likewise.
34743 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
34745 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34747 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34751 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34753 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34754 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34757 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34760 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34763 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34766 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34769 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34773 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34777 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34779 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34780 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34782 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34784 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34786 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34788 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34790 * sysdeps/unix/common/bits/dirent.h: Remove file.
34791 * sysdeps/unix/common/bits/fcntl.h: Likewise.
34793 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34794 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34795 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34796 * sysdeps/unix/bsd/isatty.c: Likewise.
34797 * sysdeps/unix/bsd/tcdrain.c: Likewise.
34798 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34799 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34801 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34804 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34805 long double comparison inaccuracies.
34806 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34809 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
34811 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34812 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34814 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34817 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34818 nonzero digits before rounding a hex value.
34819 * stdlib/tst-strtod.c (tests): Add another test.
34821 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34823 * sysdeps/s390/fpu/libm-test-ulps: Update.
34825 2012-05-03 Andreas Jaeger <aj@suse.de>
34827 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
34828 does not get optimized out.
34829 (malloc_opt_barrier): New.
34831 2012-05-03 Andreas Jaeger <aj@suse.de>
34832 Roland McGrath <roland@hack.frob.com>
34834 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
34835 intermediate file deletion.
34836 (generated): Add .symlist files.
34838 2012-05-03 Joseph Myers <joseph@codesourcery.com>
34841 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
34842 Redirect under this condition.
34843 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34844 [__USE_GNU] (__dprintf_chk): Not under this condition.
34845 [__USE_GNU] (__vdprintf_chk): Likewise.
34846 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
34847 under this condition.
34848 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34849 [__USE_XOPEN2K8] (dprintf): Define under this condition.
34850 [__USE_XOPEN2K8] (vdprintf): Likewise.
34851 [__USE_GNU] (__dprintf_chk): Not under this condition.
34852 [__USE_GNU] (__vdprintf_chk): Likewise.
34853 [__USE_GNU] (dprintf): Likewise.
34854 [__USE_GNU] (vdprintf): Likewise.
34856 2012-05-03 Roland McGrath <roland@hack.frob.com>
34858 * elf/Makefile (common-generated): Set this instead of generated for
34859 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
34860 $(all-built-dso)-derived lists.
34862 2012-05-03 Andreas Jaeger <aj@suse.de>
34864 * sysdeps/i386/fpu/libm-test-ulps: Update.
34867 * FAQ.in: Likewise.
34868 * scripts/gen-FAQ.pl: Likewise.
34869 * manual/install.texi (Installation): Point to online location of
34871 * Makefile (files-for-dist): Remove FAQ.
34874 2012-05-02 Allan McRae <allan@archlinux.org>
34876 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
34877 (LDFLAGS-reldepmod5.so): Likewise.
34878 (LDFLAGS-reldep6mod1.so): Likewise.
34879 (LDFLAGS-reldep6mod4.so): Likewise.
34880 (LDFLAGS-reldep8mod3.so): Likewise.
34881 (LDFLAGS-unload4mod1.so): Likewise.
34882 (LDFLAGS-unload4mod2.so): Likewise.
34883 (LDFLAGS-tst-initorder): Likewise.
34884 (LDFLAGS-tst-initordera2.so): Likewise.
34885 (LDFLAGS-tst-initordera3.so): Likewise.
34886 (LDFLAGS-tst-initordera4.so): Likewise.
34887 (LDFLAGS-tst-initorderb2.so): Likewise.
34888 (LDFLAGS-noload): Likewise.
34889 (LDFLAGS-next): Likewise.
34890 (LDFLAGS-order2mod1.so): Likewise.
34891 (LDFLAGS-order2mod2.so): Likewise.
34892 (LDFLAGS-tst-initorder2): Likewise.
34893 (LDFLAGS-tst-initorder2a.so): Likewise.
34894 (LDFLAGS-tst-initorder2b.so): Likewise.
34895 (LDFLAGS-tst-initorder2c.so): Likewise.
34896 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
34898 2012-05-02 David S. Miller <davem@davemloft.net>
34900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34902 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
34905 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
34907 2012-05-02 Andreas Jaeger <aj@suse.de>
34909 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
34910 since we manipulate rounding mode.
34911 (CPPFLAGS-test-idouble.c): Likewise.
34912 (CPPFLAGS-test-ifloat.c): Likewise.
34913 (CFLAGS-test-ldouble.c): Likewise.
34914 (CFLAGS-test-double.c): Likewise.
34915 (CFLAGS-test-float.c): Likewise.
34916 (CFLAGS-test-misc.c): Likewise.
34917 (CFLAGS-test-test-fenv.c): Likewise.
34919 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34923 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
34924 comparisons to determine direction to adjust input.
34926 2012-05-01 Roland McGrath <roland@hack.frob.com>
34928 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
34929 output to the target.
34931 * scripts/localplt.awk: New file.
34932 * elf/Makefile ($(objpfx)check-localplt): Target removed.
34933 (check-localplt-CFLAGS): Variable removed.
34934 ($(all-built-dso:=.jmprel)): New static pattern rule.
34935 (generated): Add those targets.
34936 (localplt-built-dso): New variable.
34937 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
34939 * elf/check-localplt.c: File removed.
34941 * scripts/check-execstack.awk: New file.
34942 * elf/Makefile ($(objpfx)check-execstack): Target removed.
34943 (check-execstack-CFLAGS): Variable removed.
34944 ($(objpfx)check-execstack.h): Target removed.
34945 ($(objpfx)execstack-default): New target.
34946 (generated): Add that instead of check-execstack.h.
34947 ($(all-built-dso:=.phdr)): New static pattern rule.
34948 (generated): Add those targets.
34949 * elf/check-execstack.c: File removed.
34951 * scripts/check-textrel.awk: New file.
34952 * elf/Makefile ($(objpfx)check-textrel): Target removed.
34953 (check-textrel-CFLAGS): Variable removed.
34954 (all-built-dso): Use := to define.o
34955 ($(all-built-dso:=.dyn)): New static pattern rule.
34956 (generated): Add those targets.
34957 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
34958 * config.make.in (READELF): New substituted variable.
34959 * elf/check-textrel.c: File removed.
34961 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34963 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34965 * conform/data/ctype.h-data [C99-based standards] (isblank):
34967 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
34968 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
34969 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34970 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
34971 Specify type. Require positive value.
34972 (EILSEQ): Likewise.
34973 (ERANGE): Likewise.
34974 [ISO || POSIX] (EILSEQ): Do not expect.
34975 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
34976 Specify type. Require positive value.
34977 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
34978 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
34979 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
34980 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
34981 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
34982 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
34983 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
34984 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
34985 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
34986 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
34987 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
34988 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
34989 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
34990 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
34991 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
34992 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
34993 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34994 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
34995 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
34996 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34997 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34998 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34999 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35000 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35001 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35002 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35003 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35004 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35005 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35006 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35007 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35008 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35009 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35010 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35011 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35012 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35013 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35014 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35015 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35016 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35017 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35018 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35019 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35020 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35021 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35022 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35023 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35024 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35025 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35026 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35027 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35028 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35029 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35030 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35031 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35032 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35033 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35034 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35035 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35036 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35037 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35038 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35039 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35040 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35041 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35042 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35043 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35044 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35045 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35046 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35047 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35048 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35049 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35050 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35051 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35052 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35053 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35055 (FLT_ROUNDS): Expect as macro, not constant.
35056 (FLT_MANT_DIG): Use macro-int-constant.
35057 (DBL_MANT_DIG): Likewise.
35058 (LDBL_MANT_DIG): Likewise.
35059 (FLT_DIG): Likewise.
35060 (DBL_DIG): Likewise.
35061 (LDBL_DIG): Likewise.
35062 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
35063 (DBL_MIN_EXP): Likewise.
35064 (LDBL_MIN_EXP): Likewise.
35065 (FLT_MAX_EXP): Use macro-int-constant.
35066 (DBL_MAX_EXP): Likewise.
35067 (LDBL_MAX_EXP): Likewise.
35068 (FLT_MAX_10_EXP): Likewise.
35069 (DBL_MAX_10_EXP): Likewise.
35070 (LDBL_MAX_10_EXP): Likewise.
35071 (FLT_MAX): Use macro-constant.
35072 (DBL_MAX): Likewise.
35073 (LDBL_MAX): Likewise.
35074 (FLT_EPSILON): Use macro-constant. Give upper bound.
35075 (DBL_EPSILON): Likewise.
35076 (LDBL_EPSILON): Likewise.
35077 (FLT_MIN): Likewise.
35078 (DBL_MIN): Likewise.
35079 (LDBL_MIN): Likewise.
35080 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35081 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35082 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35083 [ISO11] (FLT_HAS_SUBNORM): Likewise.
35084 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35085 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35086 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35087 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35088 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35089 [ISO11] (FLT_TRUE_MIN): Likewise.
35090 [ISO11] (LDBL_TRUE_MIN): Likewise.
35091 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35092 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35093 (SCHAR_MIN): Use macro-int-constant. Specify type.
35094 (SCHAR_MAX): Likewise.
35095 (UCHAR_MAX): Likewise.
35096 (CHAR_MIN): Likewise.
35097 (CHAR_MAX): Likewise.
35098 (MB_LEN_MAX): Use macro-int-constant.
35099 (SHRT_MIN): Use macro-int-constant. Specify type.
35100 (SHRT_MAX): Likewise.
35101 (USHRT_MAX): Likewise.
35102 (INT_MAX): Likewise.
35103 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35105 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35107 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35109 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35110 bound negative. Suffix upper bound with "L".
35111 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35113 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35115 [C99-based standards] (LLONG_MAX): Likewise.
35116 [C99-based standards] (ULLONG_MAX): Likewise.
35117 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35119 [ISO11] (max_align_t): Require type.
35120 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35122 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35123 from $CFLAGS, without defining away __attribute__ calls.
35124 (checknamespace): Use $CFLAGS_namespace.
35126 * conform/conformtest.pl (@keywords): Only include C99 keywords
35127 for standards based on C99 or C11.
35129 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35131 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35134 * conform/conformtest.pl: Handle "macro-int-constant" and test for
35135 usability of symbols in #if.
35137 * conform/conformtest.pl: If macro or constant types start
35138 "promoted:", expect the symbol to be of the following type
35139 promoted by the integer promotions.
35141 * conform/conformtest.pl: Parse all "constant" and "macro" lines
35142 in one place. Also handle "macro-constant".
35144 * conform/conformtest.pl: Only accept expected macro values with
35145 "==". Parse all "macro" lines in one place.
35146 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35148 * conform/conformtest.pl: Handle braced types on "constant" lines
35149 instead of handling "typed-constant".
35150 * conform/data/signal.h-data: Use "constant" instead of
35153 * conform/conformtest.pl: Handle "optional-" at start of lines in
35154 one place rather than duplicating several cases. Handle each
35155 format of "macro" line with initial "optional-".
35157 * conform/conformtest.pl: Only accept expected constant or
35158 optional-constant values with "==". Parse all "constant" lines in
35159 one place. Parse all "optional-constant" lines in one place.
35160 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35161 * conform/data/fmtmsg.h-data: Likewise.
35162 * conform/data/netinet/in.h-data: Likewise.
35163 * conform/data/tar.h-data: Likewise.
35164 * conform/data/limits.h-data: Use "==" form on "constant" and
35165 "optional-constant" lines.
35167 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35168 Use -std=c99 for XOPEN2K.
35169 (@knownproblems): Remove.
35170 (newtoken): Don't check %isknown.
35172 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35173 Do not expect macro.
35174 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35175 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35176 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35177 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35178 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35179 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35180 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35181 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35182 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35183 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35184 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35185 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35186 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35187 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35188 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35189 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35190 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35191 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35192 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35193 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35194 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35195 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35196 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35197 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35198 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35199 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35200 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35201 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35202 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35203 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35204 [XPG3] (acosh): Likewise.
35205 [XPG3] (asinh): Likewise.
35206 [XPG3] (atanh): Likewise.
35207 [XPG3] (cbrt): Likewise.
35208 [XPG3] (expm1): Likewise.
35209 [XPG3] (ilogb): Likewise.
35210 [XPG3] (log1p): Likewise.
35211 [XPG3] (logb): Likewise.
35212 [XPG3] (nextafter): Likewise.
35213 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35214 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35215 [XPG3] (remainder): Likewise.
35216 [XPG3] (rint): Likewise.
35217 [XPG3 || XPG4 || UNIX98] (round): Likewise.
35218 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35219 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35220 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35221 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35222 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35223 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35224 [UNIX98 || XOPEN2K] (scalb): Expect.
35225 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35226 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35227 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35228 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35229 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35230 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35231 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35232 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35233 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35234 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35235 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35236 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35237 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35238 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35239 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35240 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35241 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35242 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35243 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35244 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35245 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35246 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35247 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35248 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35249 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35250 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35251 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35252 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35253 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35254 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35255 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35256 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35257 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35258 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35259 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35260 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35261 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35262 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35263 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35264 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35265 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35266 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35267 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35268 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35269 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35270 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35271 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35272 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35273 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35274 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35275 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35276 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35277 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35278 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35279 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35280 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35281 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35282 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35283 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35284 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35285 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35286 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35287 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35288 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35289 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35290 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35291 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35292 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35293 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35294 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35295 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35296 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35297 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35298 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35299 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35300 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35301 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35302 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35303 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35304 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35305 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35306 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35307 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35308 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35309 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35310 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35311 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35312 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35313 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35314 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35315 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35316 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35317 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35318 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35319 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35320 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35321 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35322 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35323 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35324 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35325 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35326 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35327 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35328 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35329 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35330 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35331 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35332 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35333 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35334 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35335 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35336 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35337 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35338 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35339 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35340 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35341 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35342 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35343 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35344 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35345 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35346 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35347 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35348 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35349 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35350 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35351 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35352 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35353 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35354 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35355 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35356 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35357 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35358 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35359 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35360 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35361 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35363 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35364 _XOPEN_SOURCE_EXTENDED for XPG4.
35366 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35368 * Makeconfig (localtime): Remove variable.
35369 (inst_localtime-file): Likewise.
35371 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35392 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35396 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35397 comparisons to determine direction to adjust input.
35398 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35399 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35400 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35402 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35404 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35406 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35407 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35409 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35411 * math/libm-test.inc (nexttoward_test): Add more tests.
35413 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35416 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35417 in version GLIBC_2.1, not GLIBC_2.0.
35418 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35421 2012-04-30 Joseph Myers <joseph@codesourcery.com>
35424 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35426 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35427 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35428 * math/libm-test.inc (acos_test): Add more tests.
35429 (asin_test): Likewise.
35430 * sysdeps/i386/fpu/libm-test-ulps: Update.
35431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35434 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35436 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35437 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35438 * math/libm-test.inc (acos_test_tonearest): New function.
35439 (acos_test_towardzero): Likewise.
35440 (acos_test_downward): Likewise.
35441 (acos_test_upward): Likewise.
35442 (asin_test_tonearest): Likewise.
35443 (asin_test_towardzero): Likewise.
35444 (asin_test_downward): Likewise.
35445 (asin_test_upward): Likewise.
35446 (main): Call the new functions.
35447 * sysdeps/i386/fpu/libm-test-ulps: Update.
35448 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35452 * math/e_exp10.c: Include <float.h>.
35453 (__ieee754_exp10): Handle underflow here rather than multiplying
35454 large negative argument by M_LN10.
35455 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35457 * math/e_exp10l.c: Include <float.h>.
35458 (__ieee754_exp10l): Handle underflow here rather than multiplying
35459 large negative argument by M_LN10l.
35460 * math/libm-test.inc (exp10_test): Add another test. Do not allow
35461 spurious overflow exception on underflow.
35463 2012-04-29 Marek Polacek <polacek@redhat.com>
35465 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35466 (__fortify_function): New macro.
35467 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35468 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35469 __extern_always_inline.
35470 * libio/bits/stdio2.h: Likewise.
35471 * libio/bits/stdio.h: Likewise.
35472 * string/string.h: Likewise.
35473 * string/bits/string3.h: Likewise.
35474 * include/stdio.h: Likewise.
35475 * stdlib/bits/stdlib.h: Likewise.
35476 * stdlib/stdlib.h: Likewise.
35477 * rt/bits/mqueue2.h: Likewise.
35478 * rt/mqueue.h: Likewise.
35479 * posix/bits/unistd.h: Likewise.
35480 * posix/unistd.h: Likewise.
35481 * io/bits/poll2.h: Likewise.
35482 * io/bits/fcntl2.h: Likewise.
35483 * io/fcntl.h: Likewise.
35484 * io/sys/poll.h: Likewise.
35485 * misc/bits/syslog.h: Likewise.
35486 * misc/bits/syslog-ldbl.h: Likewise.
35487 * misc/sys/syslog.h: Likewise.
35488 * socket/bits/socket2.h: Likewise.
35489 * socket/sys/socket.h: Likewise.
35490 * debug/tst-chk1.c: Likewise.
35491 * wcsmbs/bits/wchar2.h: Likewise.
35492 * wcsmbs/bits/wchar-ldbl.h: Likewise.
35493 * wcsmbs/wchar.h: Likewise.
35495 2012-04-29 Andreas Jaeger <aj@suse.de>
35497 * Makerules (tests): Remove enable-check-abi protection.
35498 (check-abi-warn): Remove.
35499 (check-abi-%): Remove check-abi-warn usage.
35501 * configure.in: Remove check-abi configure option.
35502 * configure: Regenerated.
35503 * config.make.in (enable-check-abi): Remove.
35505 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
35508 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35509 double functions to double *_finite functions.
35512 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35513 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35515 * stdio-common/Makefile (tests): Add tst-sprintf3.
35516 * stdio-common/tst-sprintf3.c: New file.
35518 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35519 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35521 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35523 * conform/conformtest.pl: Remove duplicate typed-constant
35526 2012-04-28 David S. Miller <davem@davemloft.net>
35528 * Makerules (%.abilist): Add vpath on sysdep_dirs.
35529 (check-abi-%): Remove AWK script prerequisite and explicit
35531 (check-abi): Rewrite to just diff the symlist with the abilist.
35532 (config-tls, config-abi-config): Delete, no longer used.
35533 (update-abi-%): Remove AWK script and explicit abilist directory.
35534 (update-abi): Rewrite to simply compare and conditionally copy the
35535 symlist and the sysdep abilist file. Remove update-abi-config
35537 * abilist/ld.abilist: Remove.
35538 * abilist/libBrokenLocale.abilist: Remove.
35539 * abilist/libanl.abilist: Remove.
35540 * abilist/libcrypt.abilist: Remove.
35541 * abilist/libdl.abilist: Remove.
35542 * abilist/librt.abilist: Remove.
35543 * abilist/libthread_db.abilist: Remove.
35544 * abilist/libutil.abilist: Remove.
35545 * scripts/extract-abilist.awk: Remove.
35546 * scripts/merge-abilist.awk: Remove.
35547 * sysdeps/generic/libcidn.abilist: New file.
35548 * sysdeps/generic/libnss_compat.abilist: New file.
35549 * sysdeps/generic/libnss_db.abilist: New file.
35550 * sysdeps/generic/libnss_dns.abilist: New file.
35551 * sysdeps/generic/libnss_files.abilist: New file.
35552 * sysdeps/generic/libnss_hesiod.abilist: New file.
35553 * sysdeps/generic/libnss_nis.abilist: New file.
35554 * sysdeps/generic/libnss_nisplus.abilist: New file.
35555 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35556 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35557 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35559 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35560 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35561 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35562 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35563 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35564 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35565 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35566 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35567 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35569 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35570 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35571 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35572 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35574 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35575 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35576 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35577 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35578 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35579 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35581 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35582 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35583 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35585 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35586 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35588 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35590 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35592 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35594 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35596 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35598 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35600 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35602 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35604 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35606 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35608 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35610 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35688 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35689 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35690 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35692 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35693 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35694 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35695 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35696 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35697 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35698 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35699 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35700 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35701 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35728 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35742 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35753 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35755 * conform/conformtest.pl: Fix typo in handling typed-constant from
35758 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35760 * README: Cut down references to pre-2.6 Linux kernels and
35761 Linuxthreads. Update lists of configurations in libc and ports
35762 and sort alphabetically. Say "or newer" with Linux kernel version
35765 * config.h.in [IS_IN_build]: Allow compiling without optimization.
35767 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35770 * math/libm-test.inc (logb_test_downward): New test to expose
35771 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35774 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35777 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35779 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35780 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35782 2012-04-26 Joseph Myers <joseph@codesourcery.com>
35784 * sysdeps/unix/i386/brk.S: Remove file.
35785 * sysdeps/unix/i386/dl-brk.S: Likewise.
35786 * sysdeps/unix/i386/pipe.S: Likewise.
35787 * sysdeps/unix/i386/sigreturn.S: Likewise.
35788 * sysdeps/unix/i386/syscall.S: Likewise.
35789 * sysdeps/unix/i386/vfork.S: Likewise.
35790 * sysdeps/unix/i386/wait.S: Likewise.
35792 * sysdeps/unix/common/tcsendbrk.c: Move to ...
35793 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35795 * configure.in (arm*-none*): Do not allow without
35796 --enable-hacker-mode.
35797 (netbsd*): Remove case setting base_os.
35798 (386bsd*): Likewise.
35799 (freebsd*): Likewise.
35802 (sunos*): Likewise.
35803 (ultrix*): Likewise.
35804 (newsos*): Likewise.
35805 (dynix*): Likewise.
35811 (minix*): Likewise.
35812 (irix4*): Likewise.
35813 (irix6*): Likewise.
35814 (solaris[2-9]*): Likewise.
35816 * configure: Regenerated.
35818 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35821 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
35822 overflow or cancellation in calculating denominator.
35823 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
35824 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
35825 down expression to avoid unexpected rounding in newer GCCs.
35826 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35828 2012-04-26 David S. Miller <davem@davemloft.net>
35830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
35831 long-double compat symbols.
35832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
35836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
35838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
35839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
35840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
35841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
35843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
35844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35846 2012-04-25 David S. Miller <davem@davemloft.net>
35848 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
35849 HWCAP_* values only after the memory barriers have been defined.
35850 (atomic_full_barrier): Define.
35851 (atomic_read_barrier): Define.
35852 (atomic_write_barrier): Define.
35854 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35856 * shlib-versions: Add libgcc_s version information.
35857 * sysdeps/generic/libgcc_s.h: Remove.
35858 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
35860 * sysdeps/gnu/unwind-resume.c: Likewise.
35861 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
35863 2012-04-25 David S. Miller <davem@davemloft.net>
35865 * sysdeps/unix/sparc/brk.S: Delete.
35866 * sysdeps/unix/sparc/dl-brk.S: Delete.
35867 * sysdeps/unix/sparc/pipe.S: Delete.
35868 * sysdeps/unix/sparc/sysdep.S: Delete.
35869 * sysdeps/unix/sparc/sysdep.h: Delete.
35870 * sysdeps/unix/sparc/vfork.S: Delete.
35871 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
35872 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
35873 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
35874 (ret_ERRVAL, r0, r1, MOVE): Define.
35875 (JUMPTARGET): Remove.
35876 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
35877 sysdeps/unix/sparc/sysdep.h
35878 (ENTRY, END): Remove.
35879 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35881 2012-04-25 Joseph Myers <joseph@codesourcery.com>
35883 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
35884 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
35887 * timezone/README: Update upstream location and email address for
35889 * timezone/zdump.c: Update from tzcode 2012b.
35890 * timezone/zic.c: Likewise.
35892 * configure.in (libc_cv_as_needed): Remove test.
35893 * configure: Regenerated.
35894 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
35895 conditional definition.
35896 [$(have-as-needed) != yes] (no-as-needed): Likewise.
35897 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
35898 * config.make.in (have-as-needed): Remove variable.
35900 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35901 Paul Pluzhnikov <ppluzhnikov@google.com>
35903 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
35906 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
35908 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
35909 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
35910 * sysdeps/sh/strlen.S: Likewise.
35912 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35914 * sysdeps/unix/fork.S: Remove file.
35915 * sysdeps/unix/i386/fork.S: Likewise.
35916 * sysdeps/unix/sparc/fork.S: Likewise.
35918 * sysdeps/unix/system.c: Remove file.
35919 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
35921 * sysdeps/unix/getegid.S: Remove file.
35922 * sysdeps/unix/geteuid.S: Likewise.
35924 2012-04-24 Roland McGrath <roland@hack.frob.com>
35926 * scripts/check-localplt.awk: New file.
35927 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
35929 * scripts/data/localplt-generic.data: Add a comment.
35931 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
35932 NODE when __dir_mkfile failed.
35933 * sysdeps/mach/hurd/symlinkat.c: Likewise.
35934 Reported by Ludovic Courtès <ludo@gnu.org>.
35936 2012-04-24 Andreas Jaeger <aj@suse.de>
35938 * Makerules (common-clean): Also remove gen-as-const-headers
35941 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35943 * Makerules (native-compile): Do not change working directory for
35944 build. Use $(OUTPUT_OPTION) in command.
35945 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
35947 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35950 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
35951 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
35952 * math/libm-test.inc (floor_test): Add more tests.
35953 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
35955 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35957 * sysdeps/unix/getdents.c: Remove file.
35958 * sysdeps/unix/sysv/getdents.c: Likewise.
35959 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
35961 * sysdeps/unix/syscalls.list (madvise): Add syscall from
35962 sysdeps/unix/mman/syscalls.list.
35964 (mprotect): Likewise.
35966 (munmap): Likewise.
35967 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
35968 * sysdeps/unix/mman/syscalls.list: Remove.
35969 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35971 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
35972 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
35973 * configure: Regenerated.
35974 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35975 $(libgcc_s_suffix).
35976 * config.make.in (libgcc_s_suffix): Remove variable.
35978 2012-04-23 Joseph Myers <joseph@codesourcery.com>
35980 * sysdeps/unix/sysv/gethostname.c: Move to ...
35981 * sysdeps/posix/gethostname.c: ... here.
35983 * sysdeps/unix/execve.S: Remove file.
35985 * sysdeps/unix/_exit.S: Remove file.
35987 2012-04-23 Andreas Jaeger <aj@suse.de>
35990 * manual/Makefile: Remove make dist support, there's no
35991 need for a stand-alone documentation tar ball.
35992 (TEXI2DVI): Define always, it's not in Makeconfig.
35995 (edition): Removed.
35996 (glibc-doc-$(edition).tar): Removed
36000 (ETAGS): Remove, it's in Makeconfig.
36001 (move-if-change): Remove, it's in Makeconfig.
36003 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
36006 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36007 (strtod, strtof, strtold, strtol, strtoul, strtoq)
36008 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36009 (strtod_l, strtof_l, strtold_l): Remove __wur.
36010 It is not necessarily an error to ignore strtol's return value.
36011 One can reliably look at the stored endptr to decide whether
36012 the number had valid syntax.
36014 2012-04-21 Andreas Jaeger <aj@suse.de>
36017 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36019 2012-04-21 Joseph Myers <joseph@codesourcery.com>
36021 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36022 * sysdeps/unix/sysv/Versions: Remove file.
36024 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
36027 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36029 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
36032 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36033 version from __vm86.
36035 2012-04-20 Joseph Myers <joseph@codesourcery.com>
36037 * sysdeps/unix/common/lxstat.c: Remove file.
36038 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36040 * sysdeps/unix/sysv/Makefile: Remove file.
36042 * sysdeps/unix/sysv/direct.h: Remove file.
36044 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36045 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36046 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36047 * sysdeps/unix/sysv/bits/signum.h: Likewise.
36048 * sysdeps/unix/sysv/bits/stat.h: Likewise.
36049 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36050 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36052 * sysdeps/unix/sysv/setrlimit.c: Remove file.
36054 * sysdeps/unix/xmknod.c: Remove file.
36055 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36057 * sysdeps/unix/sysv/settimeofday.c: Remove file.
36059 * sysdeps/unix/sysv/i386/time.S: Remove file.
36061 * sysdeps/unix/fxstat.c: Remove file.
36062 * sysdeps/unix/xstat.c: Likewise.
36063 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36065 * sysdeps/unix/sysv/sigaction.c: Remove file.
36067 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36068 (sysdep_headers): Remove variable.
36069 [termio.h not in sysdep_headers] (generated): Likewise.
36070 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36071 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36072 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36073 * sysdeps/unix/sysv/tcflow.c: Likewise.
36074 * sysdeps/unix/sysv/tcflush.c: Likewise.
36075 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36076 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36077 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36078 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36079 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36081 * sysdeps/unix/siglist.c: Remove file.
36083 * sysdeps/unix/getppid.S: Remove file.
36085 * sysdeps/unix/mkdir.c: Remove file.
36086 * sysdeps/unix/rmdir.c: Likewise.
36088 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36090 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36092 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36093 errlist-compat value.
36095 2012-04-18 David S. Miller <davem@davemloft.net>
36097 * sysdeps/generic/memcopy.h (reg_char): Delete.
36098 * debug/strcat_chk.c: Use char, not reg_char.
36099 * debug/strcpy_chk.c: Likewise.
36100 * debug/strncat_chk.c: Likewise.
36101 * debug/strncpy_chk.c: Likewise.
36102 * string/memchr.c: Likewise.
36103 * string/memrchr.c: Likewise.
36104 * string/rawmemchr.c: Likewise.
36105 * string/strcat.c: Likewise.
36106 * string/strchr.c: Likewise.
36107 * string/strchrnul.c: Likewise.
36108 * string/strcmp.c: Likewise.
36109 * string/strcpy.c: Likewise.
36110 * string/strncat.c: Likewise.
36111 * string/strncmp.c: Likewise.
36112 * string/strncpy.c: Likewise.
36114 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36116 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36117 __builtin_memcopy is called when src and dest ranges are known to not
36120 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36122 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36123 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36124 fwd_align_merge macro call.
36125 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36126 bwd_align_merge macro call.
36127 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36129 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36131 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36132 bwd_align_merge macros.
36133 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36134 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36135 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36137 2012-04-18 David S. Miller <davem@davemloft.net>
36139 * sysdeps/sparc/sparc64/memcopy.h: Delete.
36141 2012-04-18 Andreas Jaeger <aj@suse.de>
36144 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36145 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36146 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36148 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36149 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36150 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36152 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36153 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36154 Adjust for changed ldbl-128 files.
36156 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36157 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36158 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36160 2012-04-17 David S. Miller <davem@davemloft.net>
36162 * sysdeps/sparc/sparc32/memcopy.h: Delete.
36164 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
36166 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36167 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36168 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36169 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36170 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36171 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36173 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36176 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36177 * math/libm-test.inc: Add ilogb errno and exception tests.
36178 * math/w_ilogb.c: New file: ilogb wrapper.
36179 * math/w_ilogbf.c: New file: ilogbf wrapper.
36180 * math/w_ilogbl.c: New file: ilogbl wrapper.
36181 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36182 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36183 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36184 exception being thrown with 0.0 as argument.
36185 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36186 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36187 exception being thrown with 0.0 as argument.
36188 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36189 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36190 exception being thrown with 0.0 as argument.
36191 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36192 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36193 exception being thrown with 0.0 as argument.
36194 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36195 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36196 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36197 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36198 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36199 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36200 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36201 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36202 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36204 2012-04-17 Petr Baudis <pasky@ucw.cz>
36206 * include/sys/uio.h: Change __vector to __iovec to avoid clash
36209 2012-04-16 Marek Polacek <polacek@redhat.com>
36211 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36213 2012-04-16 Marek Polacek <polacek@redhat.com>
36215 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36216 operands of fdivp instruction.
36218 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36220 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36221 * elf/tst-auditmod3b.c: Likewise.
36222 * elf/tst-auditmod4b.c: Likewise.
36223 * elf/tst-auditmod5b.c: Likewise.
36224 * elf/tst-auditmod6b.c: Likewise.
36225 * elf/tst-auditmod6c.c: Likewise.
36226 * elf/tst-auditmod7b.c: Likewise.
36227 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36228 * sysdeps/x86_64/preconfigure.in: Likewise.
36229 * sysdeps/x86_64/preconfigure: Regenerated.
36231 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36233 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36236 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
36238 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36239 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36241 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
36244 * locale/iso-639.def: Fix gl language name. Spotted by
36247 2012-04-12 Roland McGrath <roland@hack.frob.com>
36250 * libio/libio.h (__io_write_fn): Update comment.
36252 2012-04-12 Petr Baudis <pasky@ucw.cz>
36255 * stdio.texi (Hook Functions): The user provided writer function
36256 is not allowed to return -1.
36258 2012-04-11 David S. Miller <davem@davemloft.net>
36260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36262 2012-04-11 Mike Frysinger <vapier@gentoo.org>
36264 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36265 Add a leading slash to rtkaio.
36267 2012-04-11 Jim Meyering <meyering@redhat.com>
36270 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36271 It is not necessarily an error to ignore fwrite's return
36272 value. One can reliably use ferror to test for errors after
36275 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36277 * bits/types.h (__snseconds_t): New type.
36278 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36280 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36281 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36282 (__SNSECONDS_T_TYPE): Likewise.
36283 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36284 (__SNSECONDS_T_TYPE): Likewise.
36285 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36286 (__SNSECONDS_T_TYPE): Likewise.
36288 2012-04-10 Andreas Jaeger <aj@suse.de>
36291 * manual/time.texi (Processor Time): Return type of times is
36292 elapsed real time since an arbitrary point in the past.
36293 (CPU Time): Move CLK_TCK from here...
36294 (Processor Time): ...to here. Correct description.
36295 * manual/conf.texi (Constants for Sysconf): Correct description of
36298 2012-04-10 David S. Miller <davem@davemloft.net>
36301 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36302 where the is a gap between DT_REL(A) and DT_JMPREL.
36304 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36306 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36307 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36308 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36310 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36312 * elf/dl-support.c (_dl_inhibit_cache): New variable.
36313 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36314 (dl_main): Handle --inhibit-cache.
36315 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36317 * elf/dl-load.c (_dl_map_object): Use it.
36318 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36320 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36323 * sysdeps/i386/fpu/e_powl.S (p78): New object.
36324 (__ieee754_powl): Saturate large exponents rather than testing for
36325 overflow of y*log2(x).
36326 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36327 * math/libm-test.inc (pow_test): Do not permit spurious overflow
36331 * math/s_ctan.c: Include <float.h>.
36332 (__ctan): Avoid internal overflow or cancellation in calculating
36334 * math/s_ctanf.c: Likewise.
36335 * math/s_ctanl.c: Likewise.
36336 * math/s_ctanh.c: Likewise.
36337 * math/s_ctanhf.c: Likewise.
36338 * math/s_ctanhl.c: Likewise.
36339 * math/libm-test.inc (ctan_test): Add more tests.
36340 (ctanh_test): Likewise.
36341 * sysdeps/i386/fpu/libm-test-ulps: Update.
36342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36344 2012-04-09 Andreas Jaeger <aj@suse.de>
36347 * manual/filesys.texi (Directory Entries): Mention that d_namlen
36348 is an optional BSD extension.
36351 * manual/stdio.texi (Opening Streams): Document additional fopen
36354 2012-04-09 Roland McGrath <roland@hack.frob.com>
36356 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36357 %eax without telling the compiler.
36359 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
36362 * manual/install.texi: Use sourceware.org.
36364 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36367 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36368 (__ieee754_pow): Generate overflow and underflow using huge*huge
36369 and tiny*tiny rather than just returning constant infinity or zero
36370 for large exponents.
36371 * math/libm-test.inc (pow_test): Require overflow exceptions for
36372 applicable cases of large exponents.
36375 * sysdeps/i386/fpu/e_pow.S (p10): New object.
36376 (__ieee754_pow): Use iterative multiplication algorithm only for
36377 integer exponents with absolute value below 1024. Check for odd
36378 integer exponents when using algorithm for real exponents.
36379 * math/libm-test.inc (pow_test): Add more tests.
36380 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36382 2012-04-08 Joseph Myers <joseph@codesourcery.com>
36385 * math/libm-test.inc (exp_test): Do not allow overflow exception
36388 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
36391 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36392 instead of __kernel_standard_f.
36394 2012-04-08 Mike Frysinger <vapier@gentoo.org>
36396 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36397 * sysdeps/x86_64/memset_chk.S: Likewise.
36399 2012-04-08 Andreas Jaeger <aj@suse.de>
36402 * manual/startup.texi (Environment Access): Describe return value
36403 for putenv and setenv.
36406 * manual/filesys.texi (Directory Entries): Add description for
36410 * manual/filesys.texi (Directory Entries): Clarify that it's file
36411 system not operating system in the description of DT_UNKNOWN.
36414 * manual/syslog.texi (closelog): Fix reference, it's openlog.
36416 2012-04-08 Stephen Compall <s11@member.fsf.org>
36419 * manual/llio.texi (Opening and Closing Files): Add cross
36420 reference to explain mode argument.
36422 2012-04-07 Mike Frysinger <vapier@gentoo.org>
36424 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36425 * sysdeps/x86_64/memset_chk.S: Likewise.
36427 2012-04-07 David S. Miller <davem@davemloft.net>
36429 * elf/elf.h (R_SPARC_WDISP10): Define.
36430 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36432 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36433 R_SPARC_SIZE64 and R_SPARC_H34.
36435 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
36437 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36438 conditions and remove no longer applicable assertion.
36440 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36442 * bits/byteswap.h: Include <features.h>.
36443 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36444 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36446 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36448 * bits/byteswap.h (__bswap_16): Removed.
36449 Include <bits/byteswap-16.h> to get __bswap_16.
36450 * sysdeps/i386/bits/byteswap.h: Likewise.
36451 * sysdeps/s390/bits/byteswap.h: Likewise.
36452 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36453 * bits/byteswap-16.h: New file.
36454 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36455 * sysdeps/s390/bits/byteswap-16.h: Likewise.
36456 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36457 * string/Makefile (headers): Add bits/byteswap-16.h.
36459 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36462 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36464 * nss/Makefile (tests-static, tests): Add tst-nss-static.
36465 * nss/tst-nss-static.c: New.
36467 2012-04-06 Robert Millan <rmh@gnu.org>
36470 * manual/llio.texi (File Position Primitive): lseek
36471 refers to WHENCE when it really means OFFSET.
36473 2012-04-06 Andreas Jaeger <aj@suse.de>
36475 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36476 strncmp declarations.
36478 * abilist/libc.abilist: Add __poll and __ppoll.
36480 2012-04-05 David S. Miller <davem@davemloft.net>
36482 * scripts/check-local-headers.sh: Accept a host triplet in the
36483 path matched by the exclude regexp.
36485 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36487 * sysdeps/powerpc/powerpc32/dl-machine.h
36488 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36489 * sysdeps/s390/s390-32/dl-machine.h
36490 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36491 * sysdeps/sparc/sparc32/dl-machine.h
36492 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36493 * sysdeps/sparc/sparc64/dl-machine.h
36494 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36496 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36498 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36499 undefined symbol errors.
36501 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36504 2012-04-05 Michael Matz <matz@suse.de>
36507 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36509 2012-04-05 Andreas Jaeger <aj@suse.de>
36512 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36515 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36517 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36518 which ROUND is no valid rounding mode.
36520 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36522 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36524 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36526 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36528 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36529 an exception using FPU order intentionally.
36531 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36533 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36534 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36535 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36536 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36538 2012-04-05 Simon Josefsson <simon@josefsson.org>
36541 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36542 EINVAL when BUFLEN is too smal.
36544 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
36547 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36548 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36550 2012-04-03 Andreas Jaeger <aj@suse.de>
36553 * manual/setjmp.texi (System V contexts): Fix sentence.
36556 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36557 New macro for this case.
36558 [!__GNUC__] (__bswap_64): New inline function for this case.
36559 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36560 * bits/byteswap.h: Likewise.
36561 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36562 ull, guard with __GLIBC_HAVE_LONG_LONG.
36564 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36565 __GLIBC_HAVE_LONG_LONG.
36567 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36568 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36570 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36573 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36574 inptr and inend, rather than using last_ch.
36576 2012-04-02 David S. Miller <davem@davemloft.net>
36578 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36579 * stdio-common/printf-parse.h (read_int): Change return type to
36580 'int', return -1 on INT_MAX overflow.
36581 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36582 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
36583 overflows INT_MAX. Check for overflow of in-format-string precision
36584 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
36585 SIZE_MAX not INT_MAX for integer overflow test.
36586 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36587 skip the construct in the format string but do not record anything.
36588 * stdio-common/bug22.c: Adjust to test both width/prevision
36589 INT_MAX overflow as well as total length INT_MAX overflow. Check
36590 explicitly for proper errno values.
36592 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
36594 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36596 * string/test-strcmp.c [! WIDE]: Likewise.
36597 * time/tst-mktime2.c: Likewise for INT_MAX.
36598 * string/test-string.h: #include <sys/param.h> for MIN.
36600 * csu/init-first.c (__libc_init_first): Call __ctype_init.
36601 * sysdeps/i386/init-first.c (init): Likewise.
36602 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36603 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36604 * sysdeps/sh/init-first.c (init): Likewise.
36606 2012-04-01 Ulrich Drepper <drepper@gmail.com>
36608 * po/ru.po: Update from translation team.
36609 * po/vi.po: Likewise.
36611 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36613 * resolv/nss_dns/dns-host.c: Merge copyright years.
36615 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36617 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36618 Optimize memcpy with prefetch if
36619 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
36620 src, dst pointers have unequal 16 byte alignments.
36622 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36625 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36626 from a CNAME entry and return the minimum ttl for the query.
36627 (gaih_getanswer_slice): Likewise.
36629 2012-03-30 Jeff Law <law@redhat.com>
36631 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36633 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36634 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36636 * resolv/nss_dns/dns-host.c: Update copyright year.
36638 2012-03-30 Ulrich Drepper <drepper@gmail.com>
36640 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36641 requests to save a system call. Fix check that all bytes are sent.
36643 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36644 comments for sendmmsg.
36646 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36649 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36650 with only 1 character between 0x0041 and 0x01b0.
36651 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36652 * wcsmbs/tst-mbsnrtowcs.c: New file.
36654 2012-03-29 David S. Miller <davem@davemloft.net>
36656 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36657 small copies by hand.
36659 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36662 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36663 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36666 2012-03-28 David S. Miller <davem@davemloft.net>
36668 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36669 that branches into memcpy.
36670 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36671 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36672 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36673 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36674 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36676 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36677 implementation too.
36678 * sysdeps/sparc/mempcpy.S: New file.
36680 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36681 the IFUNC routine in the libc case.
36682 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36684 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36685 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36686 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36687 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36688 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36689 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36690 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36691 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36693 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36694 loop to 256 bytes instead of 64 bytes and fix test signedness.
36696 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36697 * sysdeps/sparc/sparc32/Makefile: rather than here...
36698 * sysdeps/sparc/sparc64/Makefile: and here.
36700 2012-03-28 Ulrich Drepper <drepper@gmail.com>
36702 * malloc/mallocbug.c: Avoid warnings about unused variables.
36704 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36707 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36708 in the right place. Discard and retry query if response is
36709 larger than input buffer size.
36711 2012-03-28 Joseph Myers <joseph@codesourcery.com>
36716 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36717 x for large integer exponent.
36718 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36719 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
36720 sign of result as needed afterwards.
36721 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36722 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36723 result for underflowing pow the same as for overflow.
36724 (__kernel_standard_l): Handle powl overflow and underflow here
36725 rather than calling __kernel_standard.
36726 * math/libm-test.inc (pow_test): Add more tests.
36741 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36742 * sysdeps/ieee754/k_standard.c: Include <float.h>.
36743 (__kernel_standard_l): New function.
36744 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36746 * math/w_acosl.c (__acosl): Likewise.
36747 * math/w_asinl.c (__asinl): Likewise.
36748 * math/w_atan2l.c (__atan2l): Likewise.
36749 * math/w_atanhl.c (__atanhl): Likewise.
36750 * math/w_coshl.c (__coshl): Likewise.
36751 * math/w_exp10l.c (__exp10l): Likewise.
36752 * math/w_exp2l.c (__exp2l): Likewise.
36753 * math/w_fmodl.c (__fmodl): Likewise.
36754 * math/w_hypotl.c (__hypotl): Likewise.
36755 * math/w_j0l.c (__j0l, __y0l): Likewise.
36756 * math/w_j1l.c (__j1l, __y1l): Likewise.
36757 * math/w_jnl.c (__jnl, __ynl): Likewise.
36758 * math/w_lgammal.c (__lgammal): Likewise.
36759 * math/w_log10l.c (__log10l): Likewise.
36760 * math/w_log2l.c (__log2l): Likewise.
36761 * math/w_logl.c (__logl): Likewise.
36762 * math/w_powl.c (__powl): Likewise.
36763 * math/w_remainderl.c (__remainderl): Likewise.
36764 * math/w_scalbl.c (sysv_scalbl): Likewise.
36765 * math/w_sinhl.c (__sinhl): Likewise.
36766 * math/w_sqrtl.c (__sqrtl): Likewise.
36767 * math/w_tgammal.c (__tgammal): Likewise.
36768 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36769 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36770 * math/libm-test.inc (acos_test): Add more tests.
36771 (acosh_test): Likewise.
36772 (asin_test): Likewise.
36773 (atanh_test): Likewise.
36774 (exp_test): Likewise.
36775 (exp10_test): Likewise.
36776 (exp2_test): Likewise.
36777 (expm1_test): Likewise.
36778 (lgamma_test): Likewise.
36779 (log_test): Likewise.
36780 (log10_test): Likewise.
36781 (log1p_test): Likewise.
36782 (log2_test): Likewise.
36783 (pow_test): Do not allow some spurious overflow exceptions.
36784 (sqrt_test): Add more tests.
36785 (tgamma_test): Likewise.
36786 (y0_test): Likewise.
36787 (y1_test): Likewise.
36788 (yn_test): Likewise.
36790 2012-03-27 Anton Blanchard <anton@samba.org>
36792 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36794 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36795 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36796 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36798 2012-03-27 David S. Miller <davem@davemloft.net>
36800 * conform/Makefile: Run run-conformtest.sh using $(BASH).
36802 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36803 have-as-vis3 check.
36805 2012-03-27 Andreas Jaeger <aj@suse.de>
36807 * sysdeps/x86_64/elf/configure.in: Moved to ...
36808 * sysdeps/x86_64/configure.in: ... here.
36809 * sysdeps/x86_64/elf/start.S: Moved to ...
36810 * sysdeps/x86_64/start.S: ... here.
36811 * sysdeps/x86_64/elf/configure: Delete.
36813 * sysdeps/x86_64/configure.in: Merge contents from
36814 sysdeps/i386/configure.in (without i686 check).
36816 * sysdeps/i386/elf/Versions: Merge into ...
36817 * sysdeps/i386/Versions: ... this.
36818 * sysdeps/i386/elf/Versions: Delete file.
36819 * sysdeps/i386/elf/start.S: Moved to ...
36820 * sysdeps/i386/start.S: ...here.
36821 * sysdeps/i386/elf/configure.in: Merge into...
36822 * sysdeps/i386/configure.in: ...here.
36823 * sysdeps/i386/elf/configure.in: Delete file.
36824 * sysdeps/i386/elf/configure: Delete file.
36826 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
36827 * debug/backtracesyms.c: ... here.
36828 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
36829 * debug/backtracesymsfd.c: ... here.
36830 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
36831 * sysdeps/generic/ifunc-sel.h: ... here.
36833 * sysdeps/unix/i386/start.c: Delete file.
36834 * sysdeps/unix/sparc/start.c: Delete file.
36835 * sysdeps/unix/start.c: Delete file.
36837 * sysdeps/sh/elf/configure.in: Moved to ...
36838 * sysdeps/sh/configure.in: ... here.
36839 * sysdeps/sh/elf/start.S: Moved to ...
36840 * sysdeps/sh/start.S: ... here.
36841 * sysdeps/sh/elf/configure: Delete file.
36843 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
36844 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
36845 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
36846 * sysdeps/powerpc/powerpc64/entry.h: ... here.
36847 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
36848 * sysdeps/powerpc/powerpc64/start.S: here.
36849 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
36850 * sysdeps/powerpc/powerpc64/Makefile: ... this.
36851 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
36852 * sysdeps/powerpc/powerpc64/configure.in: ... this.
36853 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
36855 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
36856 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
36857 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
36858 * sysdeps/powerpc/powerpc32/start.S: ... here.
36859 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
36860 * sysdeps/powerpc/powerpc32/configure.in: ... this.
36861 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
36863 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
36864 * sysdeps/powerpc/ifunc-sel.h: ... here.
36865 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
36866 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
36868 * sysdeps/sparc/elf/configure.in: Moved to ...
36869 * sysdeps/sparc/configure.in: ... here.
36870 * sysdeps/sparc/elf/configure: Delete file.
36871 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
36872 * sysdeps/sparc/sparc32/start.S: ... here.
36873 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
36874 * sysdeps/sparc/sparc64/start.S: ... here.
36875 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
36876 * sysdeps/sparc/sparc32/Makefile: ... this.
36877 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
36878 * sysdeps/sparc/sparc64/Makefile: ... this.
36880 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
36881 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
36882 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
36883 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
36884 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
36885 * sysdeps/s390/s390-32/setjmp.S: ... here.
36886 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
36887 * sysdeps/s390/s390-32/configure.in: ... here.
36888 * sysdeps/s390/s390-32/elf/configure: Delete file.
36889 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
36890 * sysdeps/s390/s390-32/start.S: ... here.
36892 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
36893 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
36894 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
36895 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
36896 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
36897 * sysdeps/s390/s390-64/setjmp.S: ... here.
36898 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
36899 * sysdeps/s390/s390-64/configure.in: ... here
36900 * sysdeps/s390/s390-64/elf/configure: Delete file.
36901 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
36902 * sysdeps/s390/s390-64/start.S: ... here.
36903 * sysdeps/s390/s390-64/elf/configure: Delete.
36905 * configure.in: Remove support for elf directories in sysdeps.
36907 * configure: Regenerated.
36908 * sysdeps/i386/configure: Regenerated.
36909 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36910 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36911 * sysdeps/s390/s390-32/configure: Regenerated.
36912 * sysdeps/s390/s390-64/configure: Regenerated.
36913 * sysdeps/sh/configure: Regenerated.
36914 * sysdeps/sparc/configure: Regenerated.
36915 * sysdeps/x86_64/configure: Regenerated.
36917 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
36919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36921 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
36922 denormal result into account.
36924 2012-03-25 Roland McGrath <roland@hack.frob.com>
36926 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
36927 Reported by Allan McRae <allan@archlinux.org>.
36929 2012-03-23 Jeff Law <law@redhat.com>
36931 * nss/getnssent.c (__nss_getent): Fix typo.
36933 2012-03-23 David S. Miller <davem@davemloft.net>
36935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36937 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
36939 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
36940 to pad to uint64_t for each field.
36941 (dl_tls_index): Replace unsigned long with uint64_t.
36943 2012-03-23 Daniel Jacobowitz <dmj@google.com>
36944 Paul Pluzhnikov <ppluzhnikov@google.com>
36947 * grp/Makefile (otherlibs): Don't set it.
36948 * inet/Makefile (otherlibs): Likewise.
36949 * login/Makefile (otherlibs): Likewise.
36950 * nscd/Makefile (otherlibs): Likewise.
36951 * posix/Makefile (otherlibs): Likewise.
36952 * pwd/Makefile (otherlibs): Likewise.
36953 * rt/Makefile (otherlibs): Likewise.
36954 * sunrpc/Makefile (otherlibs): Likewise.
36955 * nss/Makefile (otherlibs): Likewise.
36956 Add libnss_files to routines and static-only-routines.
36957 ($(objpfx)getent): Remove rule.
36958 * resolv/Makefile: Add libnss_dns and libresolv to routines and
36959 static-only-routines.
36961 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36964 * math/s_cexp.c: Include <float.h>.
36965 (__cexp): Handle exp result overflowing not necessarily
36966 overflowing both real and imaginary parts of result.
36967 * math/s_cexpf.c: Likewise.
36968 * math/s_cexpl.c: Likewise.
36969 * math/libm-test.inc (cexp_test): Add more tests.
36970 * sysdeps/i386/fpu/libm-test-ulps: Update.
36971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36973 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36975 * include/link.h (ELFW): New macro.
36976 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
36977 Replace ELF64_R_TYPE with ELFW(R_TYPE).
36979 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36981 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
36984 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36986 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
36988 (struct La_x32_retval): Likewise.
36990 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36992 * sysdeps/x86_64/preconfigure.in: New file.
36993 * sysdeps/x86_64/preconfigure: New generated file.
36995 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36998 * math/e_exp2l.c: Include <float.h>.
36999 (__ieee754_exp2l): Handle overflow and underflow cases
37000 separately. Only pass fractional part of argument to
37002 * math/libm-test.inc (exp2_test): Add more tests.
37004 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37005 negating x to take absolute value.
37006 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37008 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37009 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37011 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37012 computing low part if x was negated.
37013 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37015 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37017 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37018 la_x32_gnu_pltexit.
37019 (pltexit): Cast int_retval to ptrdiff_t.
37020 * elf/tst-auditmod3b.c: Likewise.
37021 * elf/tst-auditmod4b.c: Likewise.
37022 * elf/tst-auditmod5b.c: Likewise.
37023 * elf/tst-auditmod6b.c: Likewise.
37024 * elf/tst-auditmod6c.c: Likewise.
37025 * elf/tst-auditmod7b.c: Likewise.
37027 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37028 and x32_gnu_pltexit.
37030 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37031 __ELF_NATIVE_CLASS.
37032 (La_x32_regs): New macro.
37033 (La_x32_retval): Likewise.
37034 (la_x32_gnu_pltenter): New function prototype.
37035 (la_x32_gnu_pltexit): Likewise.
37037 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
37039 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37044 * configure.in (libc_cv_cc_nofma): Check for option to disable
37045 generation of FMA instructions.
37046 * configure: Regenerate.
37047 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37048 * sysdeps/ieee754/dbl-64/Makefile: New file.
37049 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37050 Remove brandred-fma4.
37051 (CFLAGS-brandred-fma4.c): Remove.
37052 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37053 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37055 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37058 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37060 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37061 LLONG_MAX != LONG_MAX.
37062 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37063 (_fitoa_word): Likewise.
37064 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37065 LLONG_MAX != LONG_MAX.
37066 * stdio-common/_itowa.h: Include <_itoa.h>.
37067 (_itowa_word): Use _ITOA_WORD_TYPE on value.
37068 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
37069 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
37070 only if not defined.
37071 (_ITOA_WORD_TYPE): Likewise.
37072 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37073 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37075 2012-03-21 David S. Miller <davem@davemloft.net>
37077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37079 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37081 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37082 of x86_64 when setting libc_cv_slibdir, libdir and
37084 * sysdeps/unix/sysv/linux/configure: Regenerated.
37086 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37088 * manual/lang.texi (Old Varargs): Remove section.
37089 (How Variadic): Update menu.
37090 (va_start): Do not mention varargs.h.
37092 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37093 Joseph Myers <joseph@codesourcery.com>
37095 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37097 * configure: Regenerated.
37099 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37101 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37102 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37105 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37108 * Makefile (files-for-dist): Remove NOTES.
37109 (NOTES): Remove rule.
37110 * README: Don't refer to NOTES.
37111 * manual/creature.texi: Don't include macros.texi.
37112 * manual/intro.texi (creature.texi): Remove comment referring to
37115 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37116 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37117 * configure: Regenerated.
37118 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37119 LIBC_TRY_CC_OPTION.
37120 (libc_cv_as_i686): Likewise.
37121 (libc_cv_cc_avx): Likewise.
37122 (libc_cv_cc_sse2avx): Likewise.
37123 (libc_cv_cc_fma4): Likewise.
37124 (libc_cv_cc_novzeroupper): Likewise.
37125 * sysdeps/i386/configure: Regenerated.
37128 * sysdeps/i386/fpu/s_cexp.S: Remove.
37129 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37130 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37131 * math/libm-test.inc (cexp_test): Add more tests.
37132 * sysdeps/i386/fpu/libm-test-ulps: Update.
37133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37135 2012-03-21 Allan McRae <allan@archlinux.org>
37137 * timezone/Makefile: Do not install iso3166.tab and zone.tab
37139 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37142 * math/w_exp2.c: Do not include <float.h>.
37143 (o_threshold, u_threshold): Remove.
37144 (__exp2): Calculate result before checking finiteness and calling
37146 * math/w_exp2f.c: Likewise.
37147 * math/w_exp2l.c: Likewise.
37148 * math/libm-test.inc (exp2_test): Require overflow exception for
37152 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37153 range of signed 64-bit integers before using fistpll. Remove
37154 checks for whether integers fit in mantissa bits.
37155 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37156 the range of signed 32-bit integers before using fistpl. Remove
37157 checks for whether integers fit in mantissa bits.
37158 * sysdeps/i386/fpu/e_powl.S (p64): New object.
37159 (__ieee754_powl): Test for y outside the range of signed 64-bit
37160 integers before using fistpll. Reduce 64-bit values to 63-bit
37162 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37163 divide-by-zero is raised for zero to large negative powers.
37164 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37165 (__ieee754_powl): Test for y outside the range of signed 64-bit
37166 integers before using fistpll. Reduce 64-bit values to 63-bit
37168 * math/libm-test.inc (pow_test): Add more tests.
37170 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37172 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37173 <stdio-common/_itoa.h>.
37174 * debug/segfault.c: Likewise.
37175 * elf/dl-cache.c: Likewise.
37176 * elf/dl-minimal.c: Likewise.
37177 * elf/dl-misc.c: Likewise.
37178 * elf/dl-sysdep.c: Likewise.
37179 * elf/dl-version.c: Likewise.
37180 * elf/rtld.c: Likewise.
37181 * hurd/hurdsock.c: Likewise.
37182 * hurd/lookup-retry.c: Likewise.
37183 * malloc/malloc.c: Likewise.
37184 * malloc/mtrace.c: Likewise.
37185 * nscd/nscd_getgr_r.c: Likewise.
37186 * nscd/nscd_getpw_r.c: Likewise.
37187 * nscd/nscd_getserv_r.c: Likewise.
37188 * posix/getopt_init.c: Likewise.
37189 * posix/wordexp.c: Likewise.
37190 * stdio-common/_itoa.c: Likewise.
37191 * stdio-common/printf_fphex.c: Likewise.
37192 * stdio-common/vfprintf.c: Likewise.
37193 * string/_strerror.c: Likewise.
37194 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37195 * sysdeps/i386/i686/hp-timing.h: Likewise.
37196 * sysdeps/mach/_strerror.c: Likewise.
37197 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37198 * sysdeps/mach/hurd/sethostid.c: Likewise.
37199 * sysdeps/mach/hurd/xmknodat.c: Likewise.
37200 * sysdeps/mach/xpg-strerror.c: Likewise.
37201 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37202 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37203 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37204 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37205 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37206 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37207 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37208 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37209 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37210 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37211 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37212 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37213 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37214 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37215 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37216 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37217 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37218 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37219 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37220 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37221 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37223 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37225 * stdio-common/_itoa.h: Moved to ...
37226 * sysdeps/generic/_itoa.h: Here.
37228 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37230 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37231 instead of "_itoa.h" and "_itowa.h".
37232 * stdio-common/vfprintf.: Likewise.
37234 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37236 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37238 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37239 (__signbit): Likwise.
37240 (llrintf): Likwise.
37243 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37245 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37248 2012-03-20 Joseph Myers <joseph@codesourcery.com>
37250 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37251 OVERFLOW_EXCEPTION_OK.
37252 * math/libm-test.inc ("Philosophy"): Update comment about
37254 (OVERFLOW_EXCEPTION): Define.
37255 (OVERFLOW_EXCEPTION_OK): Likewise.
37256 (INVALID_EXCEPTION_OK): Renumber.
37257 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37258 (IGNORE_ZERO_INF_SIGN): Likewise.
37259 (test_exceptions): Handle FE_OVERFLOW.
37260 (exp10_test): Expect overflow exceptions.
37261 (exp2_test): Likewise.
37262 (expm1_test): Likewise.
37263 (nextafter_test): Likewise.
37264 (pow_test): Likewise.
37265 (scalbn_test): Likewise.
37266 (scalbln_test): Likewise.
37268 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37270 * sysdeps/x86_64/bits/atomic.h
37271 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37273 (atomic_exchange_acq): Likewise.
37274 (__arch_exchange_and_add_body): Likewise.
37275 (__arch_add_body): Likewise.
37276 (atomic_add_negative): Likewise.
37277 (atomic_add_zero): Likewise.
37279 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37281 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37282 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37284 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37286 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37287 Check __x86_64__ instead of __WORDSIZE.
37289 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37291 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37293 2012-03-19 David S. Miller <davem@davemloft.net>
37295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37297 * sysdeps/sparc/fpu/fenv_private.h: New file.
37298 * sysdeps/sparc/fpu/math_private.h: Use it.
37299 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37301 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37302 (libc_feholdexcept_setroundl): Remove.
37303 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37305 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37306 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37308 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37310 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37311 int64_t instead of long int.
37312 (INSERT_WORDS64): Likwise.
37314 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37316 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37317 _Unwind_GetCFA return to _Unwind_Ptr first.
37319 2012-03-19 Joseph Myers <joseph@codesourcery.com>
37322 * math/s_clog.c: Include <float.h>.
37323 (__clog): Scale large or subnormal inputs.
37324 * math/s_clogf.c: Likewise.
37325 * math/s_clogl.c: Likewise.
37326 * math/s_clog10.c: Include <float.h>.
37327 (M_LOG10_2): Define.
37328 (__clog10): Scale large or subnormal inputs.
37329 * math/s_clog10f.c: Likewise.
37330 * math/s_clog10l.c: Likewise.
37331 * math/libm-test.inc (clog_test): Add more tests.
37332 (clog10_test): Likewise.
37333 * sysdeps/i386/fpu/libm-test-ulps: Update.
37334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37337 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37339 * math/libm-test.inc (atan2_test): Add another test.
37341 * Makerules (common-objdir-compile): Remove.
37342 * sysdeps/unix/Makefile (config-generated): Do not add
37343 $(unix-generated) to variable.
37344 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37345 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37347 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37349 [generic bits/local_lim.h] (before-compile): Do not append to
37351 [generic bits/local_lim.h] (common-generated): Likewise.
37352 [generic sys/param.h] (before-compile): Do not append to variable.
37353 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37354 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37355 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37356 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37358 [generic sys/param.h] (sys/param.h-includes): Remove variable.
37359 [generic sys/param.h] (sys/param.h-includes): Remove rule.
37360 [generic sys/param.h] ($(addprefix
37361 $(common-objpfx),$(sys/param.h-includes))): Likewise.
37362 [generic sys/param.h] (common-generated): Do not append to
37364 [generic sys/param.h] (sysdep_headers): Likewise.
37365 [generic bits/errno.h] (before-compile): Do not append to
37367 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37369 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37370 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37371 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37372 [generic bits/errno.h] (common-generated): Do not append to
37374 [generic bits/ioctls.h] (before-compile): Do not append to
37376 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37378 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37379 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37380 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37382 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37383 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37384 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37385 [generic bits/ioctls.h] (common-generated): Do not append to
37387 [generic sys/syscall.h] (syscall.h): Remove variable.
37388 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37390 [generic sys/syscall.h] (before-compile): Do not append to
37392 [generic sys/syscall.h] (common-generated): Likewise.
37393 * sysdeps/unix/errnos-tmpl.c: Remove file.
37394 * sysdeps/unix/errnos.awk: Likewise.
37395 * sysdeps/unix/ioctls-tmpl.c: Likewise.
37396 * sysdeps/unix/ioctls.awk: Likewise.
37397 * sysdeps/unix/mk-local_lim.c: Likewise.
37398 * sysdeps/unix/snarf-ioctls: Likewise.
37400 2012-03-19 Richard Henderson <rth@twiddle.net>
37402 * sysdeps/i386/fpu/fenv_private.h: New file.
37403 * sysdeps/i386/fpu/math_private.h: Use it.
37404 (math_opt_barrier, math_force_eval): Remove.
37405 (libc_feholdexcept_setround_53bit): Remove.
37406 (libc_feupdateenv_53bit): Remove.
37407 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37408 (math_opt_barrier, math_force_eval): Remove.
37409 (libc_feholdexcept): Remove.
37410 (libc_feholdexcept_setround): Remove.
37411 (libc_fetestexcept, libc_fesetenv): Remove.
37412 (libc_feupdateenv_test): Remove.
37413 (libc_feupdateenv, libc_feholdsetround): Remove.
37414 (libc_feresetround): Remove.
37416 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37417 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37419 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37420 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37421 (libc_feupdateenv_testl): New.
37422 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37423 (libc_feupdateenv_testf): New.
37424 (libc_feupdateenv): Use libc_feupdateenv_test.
37425 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37426 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37428 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37429 (libc_feholdsetroundf, libc_feholdsetroundl): New.
37430 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37431 (libc_feresetround_noex): New.
37432 (libc_feresetround_noexf): New.
37433 (libc_feresetround_noexl): New.
37434 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37435 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37436 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37437 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37439 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37440 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37442 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37443 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37444 SET_RESTORE_ROUND_NOEX.
37445 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37446 SET_RESTORE_ROUND_NOEXF.
37447 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37448 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37449 (libc_feholdsetroundf): New.
37450 (libc_feresetround, libc_feresetroundf): New.
37452 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37453 (libc_feholdexcept_setround_53bit): Convert from macro to function.
37454 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
37456 * sysdeps/generic/math_private.h: Include <fenv.h>.
37457 (default_libc_feholdexcept): New.
37458 (default_libc_feholdexcept_setround): New.
37459 (default_libc_fesetenv, default_libc_feupdateenv): New.
37460 (libc_feholdexcept): Only define if undefined.
37461 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37462 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37463 (libc_feholdexcept_setroundl): Likewise.
37464 (libc_feholdexcept_setround_53bit): Likewise.
37465 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37466 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37467 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37468 (libc_feupdateenv_53bit): Likewise.
37469 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37470 (libc_feholdexcept): Convert from macro to inline function.
37471 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37472 (libc_fesetenv, libc_feupdateenv): Likewise.
37474 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37475 not previously defined.
37476 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37477 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37478 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37479 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37480 * sysdeps/ieee754/flt-32/math_private.h: New file.
37481 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37482 math_private.h below SET_FLOAT_WORD.
37483 (__isnan, __isinf_ns, __finite): Remove.
37484 (__isnanf, __isinf_nsf, __finitef): Remove.
37486 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
37488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37490 2012-03-17 David S. Miller <davem@davemloft.net>
37493 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37496 2012-03-16 David S. Miller <davem@davemloft.net>
37498 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37502 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37504 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37505 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37506 sysdep_routines when subdir is sysvipc.
37507 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37508 __getshmlba helper.
37510 * sysdeps/sparc/fpu/libm-test/ulps: Update.
37512 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37514 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37517 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37519 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37520 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37521 (__lround): Renamed to ...
37522 (__llround): This. Replace long int with long long int.
37523 Define lround functions as aliases of llround functions.
37524 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37526 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37528 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37529 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
37530 adresses to uintptr_t. Replace "long int" and "unsigned long
37531 int" with "greg_t" on va_arg.
37533 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37535 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37536 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37538 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37539 Move e_machine check before EI_CLASS check. Handle x32
37540 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37541 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37542 SKIP_EM_IA_64 and include
37543 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37545 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37546 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37547 (add_system_dir): New macro.
37549 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37550 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37552 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37563 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37565 * math/w_j0f.c (j0f): Likewise.
37567 * math/w_j0l.c (__j0l): Likewise.
37569 * math/w_j1.c (j1): Likewise.
37571 * math/w_j1f.c (j1f): Likewise.
37573 * math/w_j1l.c (__j1l): Likewise.
37575 * math/w_jn.c (jn): Likewise.
37577 * math/w_jnf.c (jnf): Likewise.
37579 * math/w_jnl.c (__jnl): Likewise.
37581 * math/libm-test.inc (j0_test): Add more tests.
37582 (j1_test): Likewise.
37583 (jn_test): Likewise. Add trailing semicolon to existing test.
37584 (y0_test): Likewise.
37585 (y1_test): Likewise.
37586 * sysdeps/i386/fpu/libm-test-ulps: Update.
37587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37591 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37592 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37593 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37594 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37595 (__tanl): Set errno for infinite argument.
37596 * sysdeps/i386/fpu/mptan.c: Remove.
37597 * sysdeps/i386/fpu/s_tan.S: Likewise.
37598 * sysdeps/i386/fpu/s_tanl.S: Likewise.
37599 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37600 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37601 * math/libm-test.inc (tan_test): Add more tests and enable more
37602 tests for double and long double.
37603 * sysdeps/i386/fpu/libm-test-ulps: Update.
37604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37606 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
37608 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37609 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37611 2012-03-16 Roland McGrath <roland@hack.frob.com>
37613 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37614 * configure.in: Use it for both main tree and add-ons.
37615 * configure: Regenerated.
37617 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37619 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37621 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37623 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37627 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37628 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37629 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37630 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37631 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37633 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37634 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37635 != 0 for prec == 2.
37636 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37637 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37638 * sysdeps/i386/fpu/s_cosl.S: Likewise.
37639 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37640 * sysdeps/i386/fpu/s_sinl.S: Likewise.
37641 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37642 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37643 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37644 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37645 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37646 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37647 * math/libm-test.inc (cos_test): Add more tests and enable more
37648 tests for long double.
37649 (sin_test): Likewise.
37650 (sincos_test): Likewise.
37651 * sysdeps/i386/fpu/libm-test-ulps: Update.
37652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37654 2012-03-16 David S. Miller <davem@davemloft.net>
37656 * sysdeps/sparc/fpu/math_private.h: New file.
37658 2012-03-15 David S. Miller <davem@davemloft.net>
37660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37667 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37669 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37670 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37674 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37675 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37677 * sysdeps/sparc/sparc-ifunc.h: New file.
37678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37702 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37703 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37704 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37705 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37706 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37707 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37708 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37709 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37710 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37711 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37712 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37713 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37714 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37715 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37716 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37717 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37718 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37719 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37720 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37721 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37723 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37725 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37729 2012-03-15 Andreas Jaeger <aj@suse.de>
37732 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37733 ieee754/flt-32 implementation for sin, cos and sincos.
37734 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37735 * sysdeps/i386/fpu/s_cosf.S: Likewise.
37736 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37737 * sysdeps/i386/fpu/s_sinf.S: Likewise.
37738 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37739 ieee754/flt-32 implementation for tan.
37741 * math/libm-test.inc (cos_test): Enable some large input tests for
37743 (sin_test): Likewise.
37744 (sincos_test): Likewise.
37745 (tan_test): Add tests for large input.
37747 * sysdeps/i386/fpu/libm-test-ulps: Update.
37749 2012-03-15 Andreas Jaeger <aj@suse.de>
37752 * math/libm-test.inc (cos_test): Add more test cases.
37753 (sin_test): Likewise.
37754 (sincos_test): Likewise.
37756 2012-03-15 Andreas Jaeger <aj@suse.de>
37759 * math/libm-test.inc (cos_test): Add a test case for large input
37761 (sin_test): Likewise.
37762 (sincos_test): Likewise.
37764 2012-03-15 Andreas Jaeger <aj@suse.de>
37765 Joseph Myers <joseph@codesourcery.com>
37768 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
37769 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37770 * sysdeps/i386/fpu/branred.c: Likewise.
37771 * sysdeps/i386/fpu/dosincos.c: Likewise.
37772 * sysdeps/i386/fpu/mpa.c: Likewise.
37773 * sysdeps/i386/fpu/s_cos.S: Likewise.
37774 * sysdeps/i386/fpu/s_sin.S: Likewise.
37775 * sysdeps/i386/fpu/s_sincos.S: Likewise.
37776 * sysdeps/i386/fpu/sincos32.c: Likewise.
37778 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37780 (libc_feupdateenv_53bit): Define.
37781 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37783 (libc_feupdateenv_53bit): Define.
37785 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37786 53 bit (without extend i386 double precision).
37788 * math/libm-test.inc (sincos_test): Add tests for large input.
37792 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37794 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37798 2012-03-15 David S. Miller <davem@davemloft.net>
37800 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37801 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37802 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37803 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37808 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37809 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37810 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37811 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37813 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
37815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
37818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
37820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
37821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
37823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
37824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
37826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
37827 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
37828 fmin/fmax sysdep routines.
37829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37831 2012-03-14 David S. Miller <davem@davemloft.net>
37833 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37834 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
37835 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
37836 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
37837 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
37838 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
37839 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
37840 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
37841 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
37842 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
37843 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
37844 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
37845 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
37846 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
37847 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
37848 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
37849 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
37850 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
37851 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
37852 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
37853 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
37854 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
37855 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
37856 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
37857 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
37858 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
37859 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
37860 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
37861 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
37863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
37865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
37866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
37868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
37869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
37871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
37872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
37874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
37875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
37877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
37878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
37880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
37882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
37884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
37886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
37888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
37890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
37892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
37893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
37895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
37896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
37898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
37899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
37901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
37902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
37905 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37908 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37910 * sysdeps/sparc/configure.in: New file.
37911 * sysdeps/sparc/configure: Generate.
37912 * configure.in (libc_cv_sparc_as_vis3): Substitute.
37913 * configure: Regenerate.
37914 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
37915 * config.make.in (have-as-vis3): New.
37916 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
37917 available use -Av9d instead of -Av9a.
37918 * sysdeps/sparc/sparc64/Makefile: Likewise.
37919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
37920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
37922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
37924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
37926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
37928 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
37929 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
37930 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
37931 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
37932 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
37934 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
37935 fzeros/fnegs to load 0x80000000 into a float register instead of
37937 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
37939 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37941 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37943 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
37944 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
37945 ($(inst_includedir)/bits/syscall.h): Remove rule.
37946 ($(objpfx)bits/syscall.d): Include instead of
37947 $(objpfx)syscall-list.d.
37948 (generated): Change syscall-list.h and syscall-list.d to
37949 bits/syscall.h and bits/syscall.d.
37951 2012-03-14 Roland McGrath <roland@hack.frob.com>
37954 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
37956 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37959 * math/s_csqrt.c: Include <float.h>.
37960 (__csqrt): Scale large or subnormal inputs.
37961 * math/s_csqrtf.c: Likewise.
37962 * math/s_csqrtl.c: Likewise.
37963 * math/libm-test.inc (csqrt_test): Add more tests.
37964 * sysdeps/i386/fpu/libm-test-ulps: Update.
37965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37968 * math/libm-test.inc (hypot_test): Add more tests.
37970 2012-03-13 David S. Miller <davem@davemloft.net>
37973 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
37974 double-precision for the calculation instead of scaling.
37976 2012-03-13 Joseph Myers <joseph@codesourcery.com>
37978 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
37979 manipulate bits before adding and subtracting TWO52[sx].
37980 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
37981 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
37983 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
37985 2012-03-13 David S. Miller <davem@davemloft.net>
37987 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
37988 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
37989 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
37990 rtld-global-offsets.h
37991 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37993 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
37996 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37998 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37999 'err' in the ifdef scope in which it is actually used.
38001 * nss/nss_db/db-init.c: Include string.h
38003 2012-03-12 David S. Miller <davem@davemloft.net>
38005 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38006 masking out of the most significant byte of random value used.
38007 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38008 Fix coding style in previous change.
38010 * sysdeps/unix/sysv/linux/kernel-features.h
38011 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38012 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38014 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38017 2012-03-11 David S. Miller <davem@davemloft.net>
38019 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38020 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38021 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38022 for 'resultvar' otherwise things get truncated on 64-bit.
38024 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38025 Fix masking out of the most significant byte of random value used.
38027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38029 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
38031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38033 2012-03-09 David S. Miller <davem@davemloft.net>
38035 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38036 variables with appropriate CPP guards.
38037 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38038 from the frame pointer, not the stack pointer. Correct layout
38039 comments. Fix test on resulting framesize and the management of
38040 the outregs buffer for pltexit. Preserve floating point return
38041 values across _dl_call_pltexit call.
38042 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38043 framesize and the management of the outregs buffer for pltexit.
38044 Preserve floating point return values across _dl_call_pltexit
38046 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38047 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38048 (la_sparc64_gnu_pltexit): New functions.
38049 (print_exit): Fix format string for return register value.
38051 2012-03-10 Joseph Myers <joseph@codesourcery.com>
38053 * sunrpc/Makefile (others): Add rpcgen.
38054 ($(objpfx)rpcgen): Remove special build rule and dependency on
38056 * sunrpc/rpcgen.c: New file.
38058 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
38061 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38062 * stdio-common/bug-vfprintf-nargs.c: Likewise.
38063 * sysdeps/i386/crti.S: Likewise.
38064 * sysdeps/i386/crtn.S: Likewise.
38065 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38066 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38067 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38068 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38069 * sysdeps/sh/crti.S: Likewise.
38070 * sysdeps/sh/crtn.S: Likewise.
38071 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38074 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38076 * locale/programs/locfile-kw.gperf: Likewise.
38077 * locale/programs/charmap-kw.h: Regenerated.
38078 * locale/programs/locfile-kw.h: Likewise.
38081 * intl/plural.y: Replace FSF snail mail address with URL.
38082 * intl/plural.c: Regenerated.
38084 2012-03-09 Richard Henderson <rth@twiddle.net>
38086 * include/math_private.h: Remove file.
38087 * math/math_private.h: Move file ...
38088 * sysdeps/generic/math_private.h: ... here.
38090 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38091 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38092 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38094 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38095 and <math_private.h>.
38096 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38097 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38098 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38099 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38100 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38101 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38102 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38103 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38104 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38105 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38106 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38107 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38108 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38109 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38110 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38111 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38112 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38113 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38114 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38115 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38116 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38117 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38118 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38119 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38120 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38121 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38122 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38123 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38124 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38125 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38126 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38127 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38128 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38129 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38130 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38131 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38132 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38133 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38134 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38135 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38136 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38137 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38138 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38139 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38140 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38141 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38142 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38143 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38144 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38145 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38146 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38147 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38148 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38149 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38150 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38151 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38152 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38153 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38154 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38155 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38156 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38157 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38158 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38159 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38160 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38161 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38162 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38163 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38164 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38165 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38166 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38167 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38168 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38169 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38170 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38171 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38172 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38173 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38174 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38175 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38176 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38177 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38178 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38179 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38180 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38181 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38182 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38183 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38184 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38185 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38186 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38187 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38188 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38189 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38190 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38191 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38192 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38193 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38194 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38195 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38196 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38197 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38198 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38199 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38200 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38201 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38202 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38203 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38204 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38205 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38206 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38207 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38208 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38209 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38210 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38211 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38212 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38213 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38214 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38215 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38216 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38217 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38218 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38219 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38220 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38221 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38222 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38223 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38224 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38225 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38226 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38227 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38228 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38229 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38230 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38231 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38232 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38233 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38234 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38235 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38236 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38237 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38238 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38239 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38240 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38241 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38242 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38243 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38244 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38245 * sysdeps/ieee754/k_standard.c: Likewise.
38246 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38247 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38248 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38249 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38250 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38251 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38252 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38253 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38254 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38255 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38256 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38257 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38258 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38259 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38260 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38261 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38262 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38263 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38264 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38265 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38266 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38267 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38268 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38269 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38270 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38271 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38272 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38273 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38274 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38275 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38276 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38277 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38278 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38279 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38280 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38281 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38282 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38283 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38284 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38285 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38286 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38287 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38288 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38289 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38290 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38291 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38292 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38293 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38294 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38295 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38296 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38297 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38298 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38299 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38300 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38301 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38302 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38303 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38304 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38305 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38306 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38307 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38308 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38309 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38310 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38311 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38312 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38313 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38314 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38315 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38316 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38317 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38318 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38319 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38320 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38321 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38322 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38323 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38324 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38325 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38326 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38327 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38328 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38329 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38330 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38331 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38332 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38333 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38334 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38335 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38336 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38337 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38338 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38339 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38340 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38341 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38342 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38343 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38344 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38345 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38346 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38347 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38348 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38349 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38350 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38351 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38352 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38353 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38354 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38355 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38356 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38357 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38358 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38359 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38360 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38361 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38362 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38363 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38364 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38365 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38366 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38367 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38368 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38369 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38370 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38371 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38372 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38373 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38374 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38375 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38376 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38377 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38378 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38379 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38380 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38381 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38382 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38383 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38384 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38385 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38386 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38387 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38388 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38389 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38390 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38391 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38392 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38393 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38394 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38395 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38396 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38397 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38398 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38399 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38400 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38401 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38402 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38403 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38404 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38405 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38406 * sysdeps/ieee754/s_lib_version.c: Likewise.
38407 * sysdeps/ieee754/s_matherr.c: Likewise.
38408 * sysdeps/ieee754/s_signgam.c: Likewise.
38409 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38410 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38411 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38412 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38413 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38414 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38415 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38416 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38417 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38418 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38419 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38420 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38421 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38422 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38423 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38424 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38425 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38426 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38427 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38428 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38429 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38431 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38433 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38434 * sunrpc/rpc_main.c: Likewise.
38435 * sunrpc/rpc_svcout.c: Likewise.
38437 2012-03-09 David S. Miller <davem@davemloft.net>
38439 * include/math_private.h: New file.
38441 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38443 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38444 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38445 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38446 from <bits/socket_type.h>.
38447 (enum __socket_type): Don't define here.
38448 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38449 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38450 bits/socket_type.h.
38453 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38454 checking __USE_GNU.
38456 * Makerules ($(inst_includedir)/%.h): New rule.
38457 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38458 (install-others): Remove variable setting.
38459 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38461 2012-03-08 Richard Henderson <rth@twiddle.net>
38463 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38464 from macro to inline function; merge with the
38465 !__LIBC_INTERNAL_MATH_INLINES version.
38466 (__ieee754_sqrtf): Likewise.
38468 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38469 to inline function.
38470 (__rintf, __floor, __floorf): Likewise.
38472 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38473 macro to inline function.
38474 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38476 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38477 not <math/math_private.h>.
38479 2012-03-08 David S. Miller <davem@davemloft.net>
38481 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38483 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38485 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
38487 * resolv/gai_misc.c (handle_requests): Fix struct timespec
38489 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38490 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38492 2012-03-08 Ulrich Drepper <drepper@gmail.com>
38494 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
38495 be defined individually, they must be defined as a block. Define
38496 S for printing a string instead of hidint the different by using a
38497 macro for adding the 'l'.
38498 * stdio-common/tst-fphex-wide.c: Adjust.
38500 2012-03-07 Marek Polacek <polacek@redhat.com>
38502 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38504 2012-03-08 Marek Polacek <polacek@redhat.com>
38507 * stdio-common/Makefile (tests): Add tst-fphex-wide.
38508 * stdio-common/tst-fphex.c: Define a few macros to make the
38509 test reusable. Use them.
38510 * stdio-common/tst-fphex-wide.c: New file.
38512 2012-03-08 Joseph Myers <joseph@codesourcery.com>
38515 * manual/macros.texi (gnusystems): New macro.
38516 (nongnusystems): Likewise.
38517 (gnulinuxhurdsystems): Likewise.
38518 (gnuhurdsystems): Likewise..
38519 (gnulinuxsystems): Likewise.
38520 * manual/charset.texi: Use new macros or @theglibc{} to refer to
38521 variants of the GNU system, not "GNU system".
38522 * manual/conf.texi: Likewise.
38523 * manual/errno.texi: Likewise. Update example of errno macro
38525 * manual/filesys.texi: Likewise.
38526 (getumask): Document as specific to GNU/Hurd.
38527 * manual/install.texi: Likewise. Reword some references to
38529 * manual/intro.texi: Likewise.
38530 * manual/io.texi: Likewise.
38531 (File Name Portability): Detail which constraints are inapplicable
38532 to all GNU systems and which are only inapplicable to GNU/Hurd.
38533 * manual/job.texi: Likewise.
38534 * manual/llio.texi: Likewise.
38535 (O_NOCTTY): Document as present on GNU/Linux.
38536 * manual/maint.texi: Likewise.
38537 * manual/memory.texi: Likewise.
38538 * manual/pattern.texi: Likewise.
38539 * manual/pipe.texi: Likewise.
38540 * manual/process.texi: Likewise.
38541 * manual/resource.texi: Likewise.
38542 (RUSAGE_CHILDREN): Remove statement about specifying a particular
38544 * manual/setjmp.texi: Likewise.
38545 * manual/signal.texi: Likewise.
38546 * manual/startup.texi: Likewise.
38547 * manual/stdio.texi: Likewise.
38548 * manual/terminal.texi: Likewise.
38549 (ONLCR): Document as POSIX.
38550 (OXTABS): Document availability on GNU/Linux as XTABS.
38551 (ONOEOT): Document availability separately from other bits.
38552 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38553 * manual/time.texi: Likewise.
38554 * manual/users.texi: Likewise.
38555 * INSTALL: Regenerated.
38556 * sysdeps/gnu/errlist.c: Regenerated.
38558 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38559 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38560 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
38562 * configure: Regenerated.
38564 2012-03-07 Joseph Myers <joseph@codesourcery.com>
38566 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38567 default includes instead of AC_HEADER_CHECK.
38568 * sysdeps/i386/configure: Regenerated.
38571 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38572 * math/s_cacoshf.c (__cacoshf): Likewise.
38573 * math/s_cacoshl.c (__cacoshl): Likewise.
38574 * math/s_casinh.c (__casinh): Set signs of result from argument.
38575 * math/s_casinhf.c (__casinhf): Likewise.
38576 * math/s_casinhl.c (__casinhl): Likewise.
38577 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38578 (casinh_test): Add more tests.
38579 * sysdeps/i386/fpu/libm-test-ulps: Update.
38580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38582 2012-03-07 Ulrich Drepper <drepper@gmail.com>
38584 * po/zh_TW.po: Update from translation team.
38586 * login/Makefile (distribute): Remove variable.
38587 * catgets/Makefile: Likewise.
38588 * mach/Makefile: Likewise.
38589 * malloc/Makefile: Likewise.
38590 * misc/Makefile: Likewise.
38591 * iconv/Makefile: Likewise.
38592 * nscd/Makefile: Likewise.
38593 * hurd/Makefile: Likewise.
38594 * manual/Makefile: Likewise.
38595 * locale/Makefile: Likewise.
38596 * intl/Makefile: Likewise.
38597 * conform/Makefile: Likewise.
38598 * nss/Makefile: Likewise.
38599 * time/Makefile: Likewise.
38600 * soft-fp/Makefile: Likewise.
38601 * dirent/Makefile: Likewise.
38602 * gmon/Makefile: Likewise.
38603 * po/Makefile: Likewise.
38604 * rt/Makefile: Likewise.
38605 * socket/Makefile: Likewise.
38606 * math/Makefile: Likewise.
38607 * signal/Makefile: Likewise.
38608 * debug/Makefile: Likewise.
38609 * elf/Makefile: Likewise.
38610 * timezone/Makefile: Likewise.
38611 * stdlib/Makefile: Likewise.
38612 * iconvdata/Makefile: Likewise.
38613 * sunrpc/Makefile: Likewise.
38614 * io/Makefile: Likewise.
38615 * argp/Makefile: Likewise.
38616 * inet/Makefile: Likewise.
38617 * hesiod/Makefile: Likewise.
38618 * grp/Makefile: Likewise.
38619 * csu/Makefile: Likewise.
38620 * wctype/Makefile: Likewise.
38621 * crypt/Makefile: Likewise.
38622 * libio/Makefile: Likewise.
38623 * string/Makefile: Likewise.
38624 * nis/Makefile: Likewise.
38625 * resolv/Makefile: Likewise.
38626 * stdio-common/Makefile: Likewise.
38627 * wcsmbs/Makefile: Likewise.
38628 * dlfcn/Makefile: Likewise.
38629 * posix/Makefile: Likewise.
38632 * timezone/Makefile: Don't install timezone files, just the programs
38635 2012-03-06 Ulrich Drepper <drepper@gmail.com>
38637 * nss/databases.def: Add missing gshadow entry.
38639 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
38641 2012-03-06 Marek Polacek <polacek@redhat.com>
38644 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38645 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38646 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38647 * stdio-common/tst-long-dbl-fphex.c: New file.
38649 2012-03-06 David S. Miller <davem@davemloft.net>
38651 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38652 (set_obp_int): New function.
38653 (get_obp_int): New function.
38654 (__get_clockfreq_via_dev_openprom): Likewise.
38655 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38656 Avoid unused variable warnings on 'val' and use builtin_expect.
38657 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38659 (INLINE_CLONE_SYSCALL): Likewise.
38661 2012-03-05 David S. Miller <davem@davemloft.net>
38663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38665 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
38667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38669 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38670 only for |x| >= 40.
38671 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38673 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
38675 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38676 Replace gettimeofday with __vdso_gettimeofday.
38678 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38679 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38680 __vdso_clock_gettime and __vdso_getcpu.
38682 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38683 time with __vdso_time.
38685 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38687 * manual/lang.texi (size_t): Note types to which size_t may be
38688 equivalent with the GNU C Library, but do not describe when
38689 differences between them are significant.
38691 2012-03-05 Andreas Jaeger <aj@suse.de>
38693 * sysdeps/i386/fpu/libm-test-ulps: Update.
38695 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38698 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38699 (__ieee754_pow): Save and restore rounding mode and use
38700 round-to-nearest for main computations.
38701 * math/libm-test.inc (pow_test_tonearest): New function.
38702 (pow_test_towardzero): Likewise.
38703 (pow_test_downward): Likewise.
38704 (pow_test_upward): Likewise.
38705 (main): Call the new functions.
38706 * sysdeps/i386/fpu/libm-test-ulps: Update.
38707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38710 * math/libm-test.inc (cosh_test_tonearest): New function.
38711 (cosh_test_towardzero): Likewise.
38712 (cosh_test_downward): Likewise.
38713 (cosh_test_upward): Likewise.
38714 (sinh_test_tonearest): Likewise.
38715 (sinh_test_towardzero): Likewise.
38716 (sinh_test_downward): Likewise.
38717 (sinh_test_upward): Likewise.
38718 (main): Call the new functions.
38719 * sysdeps/i386/fpu/libm-test-ulps: Update.
38720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38722 2012-03-05 Tom de Vries <tom@codesourcery.com>
38724 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38725 default stack guard is set in last bytes.
38726 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38728 2012-03-05 Kees Cook <keescook@chromium.org>
38730 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38733 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38734 possibly allocate from heap instead of stack.
38735 * stdio-common/bug-vfprintf-nargs.c: New file.
38736 * stdio-common/Makefile (tests): Add nargs overflow test.
38738 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
38740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38742 2012-03-03 Marek Polacek <polacek@redhat.com>
38744 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38745 * math/math_private.h: Likewise.
38746 * stdlib/tst-strtod.c: Likewise.
38747 * sysdeps/i386/i486/bits/atomic.h: Likewise.
38748 * sysdeps/x86_64/bits/atomic.h: Likewise.
38750 2012-03-02 David S. Miller <davem@davemloft.net>
38752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38756 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38757 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38758 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38759 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38761 2012-03-02 Roland McGrath <roland@hack.frob.com>
38764 * manual/examples/README: New file, says the example source files
38765 can be used under GPL>=2.
38766 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38767 line containing just "*/".
38768 * manual/examples/add.c: Add copyright header (GPL>=2).
38769 * manual/examples/argp-ex1.c: Likewise.
38770 * manual/examples/argp-ex2.c: Likewise.
38771 * manual/examples/argp-ex3.c: Likewise.
38772 * manual/examples/argp-ex4.c: Likewise.
38773 * manual/examples/atexit.c: Likewise.
38774 * manual/examples/db.c: Likewise.
38775 * manual/examples/dir.c: Likewise.
38776 * manual/examples/dir2.c: Likewise.
38777 * manual/examples/execinfo.c: Likewise.
38778 * manual/examples/filecli.c: Likewise.
38779 * manual/examples/filesrv.c: Likewise.
38780 * manual/examples/fmtmsgexpl.c: Likewise.
38781 * manual/examples/genpass.c: Likewise.
38782 * manual/examples/inetcli.c: Likewise.
38783 * manual/examples/inetsrv.c: Likewise.
38784 * manual/examples/isockad.c: Likewise.
38785 * manual/examples/longopt.c: Likewise.
38786 * manual/examples/memopen.c: Likewise.
38787 * manual/examples/memstrm.c: Likewise.
38788 * manual/examples/mkfsock.c: Likewise.
38789 * manual/examples/mkisock.c: Likewise.
38790 * manual/examples/mygetpass.c: Likewise.
38791 * manual/examples/pipe.c: Likewise.
38792 * manual/examples/popen.c: Likewise.
38793 * manual/examples/rprintf.c: Likewise.
38794 * manual/examples/search.c: Likewise.
38795 * manual/examples/select.c: Likewise.
38796 * manual/examples/setjmp.c: Likewise.
38797 * manual/examples/sigh1.c: Likewise.
38798 * manual/examples/sigusr.c: Likewise.
38799 * manual/examples/stpcpy.c: Likewise.
38800 * manual/examples/strdupa.c: Likewise.
38801 * manual/examples/strftim.c: Likewise.
38802 * manual/examples/strncat.c: Likewise.
38803 * manual/examples/subopt.c: Likewise.
38804 * manual/examples/swapcontext.c: Likewise.
38805 * manual/examples/termios.c: Likewise.
38806 * manual/examples/testopt.c: Likewise.
38807 * manual/examples/testpass.c: Likewise.
38808 * manual/examples/timeval_subtract.c: Likewise.
38811 * manual/time.texi (Elapsed Time): Move timeval_subtract example
38813 * manual/timeval_subtract.c.texi: ... here, new file.
38815 2012-03-02 David S. Miller <davem@davemloft.net>
38817 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38819 2012-03-02 Joseph Myers <joseph@codesourcery.com>
38822 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
38823 (__sin): Save and restore rounding mode and use round-to-nearest
38824 for all computations.
38825 (__cos): Save and restore rounding mode and use round-to-nearest
38826 for all computations.
38827 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
38829 (tan): Save and restore rounding mode and use round-to-nearest for
38831 * math/libm-test.inc (cos_test_tonearest): New function.
38832 (cos_test_towardzero): Likewise.
38833 (cos_test_downward): Likewise.
38834 (cos_test_upward): Likewise.
38835 (sin_test_tonearest): Likewise.
38836 (sin_test_towardzero): Likewise.
38837 (sin_test_downward): Likewise.
38838 (sin_test_upward): Likewise.
38839 (tan_test_tonearest): Likewise.
38840 (tan_test_towardzero): Likewise.
38841 (tan_test_downward): Likewise.
38842 (tan_test_upward): Likewise.
38843 (main): Call the new functions.
38844 * sysdeps/i386/fpu/libm-test-ulps: Update.
38845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38848 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
38849 small n, then large n, before computing and testing k+n.
38850 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38851 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
38853 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
38855 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
38856 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
38857 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
38858 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
38859 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38860 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38861 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
38862 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
38863 * math/libm-test.inc (scalbn_test): Add more tests.
38864 (scalbln_test): Likewise.
38866 * manual/filesys.texi (mode_t): Describe constraints on size and
38867 signedness, not exact equivalence to a particular type.
38869 (ino64_t): Likewise.
38871 (nlink_t): Likewise.
38872 (blkcnt_t): Likewise.
38873 (blkcnt64_t): Likewise.
38874 * manual/llio.texi (off_t): Likewise.
38877 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
38878 (__ieee754_exp): Save and restore rounding mode and use
38879 round-to-nearest for all computations.
38880 * math/libm-test.inc (exp_test_tonearest): New function.
38881 (exp_test_towardzero): Likewise.
38882 (exp_test_downward): Likewise.
38883 (exp_test_upward): Likewise.
38884 (main): Call the new functions.
38885 * sysdeps/i386/fpu/libm-test-ulps: Update.
38886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38888 2012-03-01 Chris Demetriou <cgd@google.com>
38890 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
38891 have predictable order.
38893 2012-03-01 David S. Miller <davem@davemloft.net>
38895 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
38897 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
38898 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
38899 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
38900 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
38902 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
38903 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
38904 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
38905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
38906 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
38907 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
38908 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
38909 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
38910 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
38912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38914 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
38915 * sysdeps/sparc/fpu/libm-test-ulps: to here.
38916 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
38918 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
38919 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38920 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38921 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
38922 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
38923 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
38924 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
38925 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38926 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38927 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
38928 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
38929 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38930 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38931 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38932 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38933 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38934 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
38935 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
38936 * sysdeps/sparc/elf/configure: Regenerated.
38938 2012-03-01 Joseph Myers <joseph@codesourcery.com>
38940 * configure.in (AS, LD): Require binutils 2.20 or later.
38941 * configure: Regenerated.
38942 * manual/install.texi (Tools for Compilation): Give binutils 2.20
38943 as required minimum version.
38944 * INSTALL: Regenerated.
38948 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
38949 before squaring exponent.
38950 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
38951 bottom long double and 27 bits of top long double before squaring
38953 * math/libm-test.inc (erfc_test): Add more tests.
38954 * sysdeps/i386/fpu/libm-test-ulps: Update.
38955 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38958 2012-03-01 Kai Tietz <ktietz@redhat.com>
38960 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
38961 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
38962 containing bit-fields.
38963 * soft-fp/extended.h (_FP_UNION_E): Likewise.
38964 * soft-fp/single.h (_FP_UNION_S): Likewise.
38965 * soft-fp/double.h (_FP_UNION_D): Likewise.
38967 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38970 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
38971 not include ../strcmp.S.
38972 [USE_AS_STRNCASECMP_L]: Likewise.
38973 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
38974 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
38975 * sysdeps/i386/i686/multiarch/strncase_l-c.c
38976 (__strncasecmp_l_ia32): Define as alias to
38977 __strncasecmp_l_nonascii.
38980 * math/libm-test.inc (expm1_test): Add test for bug 5794.
38981 * sysdeps/i386/fpu/libm-test-ulps: Update.
38982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38984 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
38985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38987 2012-02-29 Jeff Law <law@redhat.com>
38989 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
38990 out of bounds read.
38992 2012-02-29 Marek Polacek <polacek@redhat.com>
38995 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
38996 * elf/Makefile: Add rules to run tst-unused-dep.out.
38998 2012-02-28 David S. Miller <davem@davemloft.net>
39000 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39001 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39002 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39003 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39004 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39005 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39007 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39009 * math/libm-test.inc (llround_test): Move one test from
39010 lround_test. Use TEST_f_L in moved test.
39011 (lround_test): Move misplaced test to llround_test. Add testcase
39014 2012-02-28 Ulrich Drepper <drepper@gmail.com>
39016 * sysdeps/x86_64/fpu/e_expf.S: New file.
39017 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39019 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
39022 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39023 of remain_len that may cause incomplete multi-byte character and
39025 * posix/bug-regex33.c: New file.
39026 * posix/Makefile (tests): Add bug-regex33.
39028 2012-02-28 Joseph Myers <joseph@codesourcery.com>
39030 * manual/macros.texi: New file.
39031 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39032 * manual/libc.texinfo: Include macros.texi.
39033 * manual/creatute.texi: Likewise.
39034 * manual/install.texi: Likewise.
39035 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39036 @glibcadj{} in references to the GNU C Library.
39037 * manual/charset.texi: Likewise.
39038 * manual/conf.texi: Likewise.
39039 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
39040 when not using those macros.
39041 * manual/creature.texi: Likewise.
39042 * manual/crypt.texi: Likewise.
39043 * manual/errno.texi: Likewise.
39044 * manual/filesys.texi: Likewise.
39045 * manual/header.texi: Likewise.
39046 * manual/install.texi: Likewise.
39047 * manual/intro.texi: Likewise.
39048 * manual/io.texi: Likewise.
39049 * manual/job.texi: Likewise.
39050 * manual/lang.texi: Likewise.
39051 * manual/libc.texiinfo: Likewise.
39052 * manual/llio.texi: Likewise.
39053 * manual/locale.texi: Likewise.
39054 * manual/maint.texi: Likewise.
39055 * manual/math.texi: Likewise.
39056 * manual/memory.texi: Likewise.
39057 * manual/message.texi: Likewise.
39058 * manual/nss.texi: Likewise.
39059 * manual/pattern.texi: Likewise.
39060 * manual/process.texi: Likewise.
39061 * manual/resource.texi: Likewise.
39062 * manual/search.texi: Likewise.
39063 * manual/setjmp.texi: Likewise.
39064 * manual/signal.texi: Likewise.
39065 * manual/socket.texi: Likewise.
39066 * manual/startup.texi: Likewise.
39067 * manual/stdio.texi: Likewise.
39068 * manual/string.texi: Likewise.
39069 * manual/sysinfo.texi: Likewise.
39070 * manual/syslog.texi: Likewise.
39071 * manual/terminal.texi: Likewise.
39072 * manual/time.texi: Likewise.
39073 * manual/users.texi: Likewise.
39074 * INSTALL: Regenerated.
39075 * NOTES: Regenerated.
39076 * sysdeps/gnu/errlist.c: Regenerated.
39078 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
39080 * include/dirent.h: Include <dirstream.h> before
39083 2012-02-28 David S. Miller <davem@davemloft.net>
39085 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39086 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39087 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39088 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39090 2012-02-27 David S. Miller <davem@davemloft.net>
39092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39094 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39095 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39098 frame pointer instead of stack pointer relative arg slot.
39099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39100 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39101 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39103 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39106 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39108 2012-02-27 David S. Miller <davem@davemloft.net>
39110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39114 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39115 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39116 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39117 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39119 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39121 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39122 later. Allow versions 5-9.
39123 * configure: Regenerated.
39124 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39125 required minimum version and 4.6 as recommended version. Do not
39126 mention bugs in GCC 2.7 and 2.8.
39127 * INSTALL: Regenerated.
39129 2012-02-27 David S. Miller <davem@davemloft.net>
39131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39135 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39136 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39137 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39138 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39140 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39141 manipulate bits before adding and subtracting TWO112[sx].
39142 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39144 2012-02-27 Roland McGrath <roland@hack.frob.com>
39147 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39148 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39149 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39150 being in POSIX, because they are in 1003.1-2008.
39152 * rt/tst-aio.c: Include <fcntl.h>.
39153 * rt/tst-aio7.c: Likewise.
39154 * rt/tst-aio64.c: Likewise.
39156 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39158 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39160 * manual/install.texi (--with-headers): Describe headers as
39161 interface headers, not private headers.
39162 (Specific advice for GNU/Linux systems): Describe use of headers
39163 from "make headers_install", not private headers from older
39165 * INSTALL: Regenerated.
39166 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39168 * sysdeps/unix/sysv/linux/configure: Regenerated.
39170 * manual/llio.texi (fclean): Remove documentation.
39172 * manual/Makefile (libc-texi-generated): New variable. Include
39174 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39175 $(libc-texi-generated), not duplicated list of files.
39176 (version.texi, stamp-version): New rules.
39177 (realclean): Remove $(libc-texi-generated), not individual files
39178 from that list. Do not remove dir-add.texinfo.
39179 * manual/libc.texinfo: Comment out uses of edition numbers and
39180 references to printed manual. Remove last-updated dates.
39181 (EDITION): Comment out.
39183 (VERSION, UPDATED): Remove.
39184 (version.texi): Include.
39186 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
39188 * sysdeps/posix/spawni.c: Include <signal.h>.
39189 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39190 * sysdeps/pthread/aio_fsync.c: Likewise.
39192 2012-02-26 Ulrich Drepper <drepper@gmail.com>
39194 * conform/Makefile (tests): Run only when not cross-compiling and
39195 when fast-check is not defined.
39197 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39198 * conform/data/limits.h-data: Fixes for POSIX2008.
39199 * conform/run-conformtest.sh: Run all tests.
39200 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39202 * include/bits/dlfcn.h: Likewise.
39203 * include/langinfo.h: Likewise.
39204 * include/monetary.h: Likewise.
39205 * include/sys/poll.h: Likewise.
39207 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39209 * posix/spawn.h: Define __need_sigset_t.
39210 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39211 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39212 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
39213 to get sigevent_t only.
39214 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39215 only for __USE_GNU.
39216 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39217 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39218 process_vm_writev only for __USE_GNU.
39219 * termios/termios.h: Declare tcgetsid also for POSIX2008.
39221 * conform/Makefile: For now ignore errors from run-conformtest.
39222 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
39223 POSIX to avoid namespace pollution. Don't prepend headers.
39224 * conform/data/aio.h-data: Fixes for POSIX testing.
39225 * conform/data/fcntl.h-data: Likewise.
39226 * conform/data/glob.h-data: Likewise.
39227 * conform/data/grp.h-data: Likewise.
39228 * conform/data/pthread.h-data: Likewise.
39229 * conform/data/pwd.h-data: Likewise.
39230 * conform/data/signal.h-data: Likewise.
39231 * conform/data/spawn.h-data: Likewise.
39232 * conform/data/stdio.h-data: Likewise.
39233 * conform/data/stdlib.h-data: Likewise.
39234 * conform/data/stropts.h-data: Likewise.
39235 * conform/data/sys/mman.h-data: Likewise.
39236 * conform/data/sys/stat.h-data: Likewise.
39237 * conform/data/sys/types.h-data: Likewise.
39238 * conform/data/sys/wait.h-data: Likewise.
39239 * conform/data/time.h-data: Likewise.
39240 * conform/data/unistd.h-data: Likewise.
39241 * conform/data/utime.h-data: Likewise.
39243 * io/sys/stat.h: fchmod was always in POSIX.
39244 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39245 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39246 * rt/aio.h: Define __need_timespec before including <time.h>.
39247 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39248 struct. Add forward declaration of pthread_attr_t and use it in
39250 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39251 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39252 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39253 always remove CLK_TCK definition.
39255 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
39257 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39259 2012-02-25 Ulrich Drepper <drepper@gmail.com>
39261 * conform/run-conformtest.sh: New file.
39262 * conform/Makefile: Run run-conformtest for tests.
39263 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
39266 * conform/data/uchar.h-data: New file.
39267 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39268 * conform/data/arpa/inet.h-data: Likewise.
39269 * conform/data/assert.h-data: Likewise.
39270 * conform/data/complex.h-data: Likewise.
39271 * conform/data/cpio.h-data: Likewise.
39272 * conform/data/ctype.h-data: Likewise.
39273 * conform/data/dirent.h-data: Likewise.
39274 * conform/data/dlfcn.h-data: Likewise.
39275 * conform/data/errno.h-data: Likewise.
39276 * conform/data/fcntl.h-data: Likewise.
39277 * conform/data/float.h-data: Likewise.
39278 * conform/data/fmtmsg.h-data: Likewise.
39279 * conform/data/fnmatch.h-data: Likewise.
39280 * conform/data/ftw.h-data: Likewise.
39281 * conform/data/glob.h-data: Likewise.
39282 * conform/data/grp.h-data: Likewise.
39283 * conform/data/iconv.h-data: Likewise.
39284 * conform/data/inttypes.h-data: Likewise.
39285 * conform/data/langinfo.h-data: Likewise.
39286 * conform/data/libgen.h-data: Likewise.
39287 * conform/data/limits.h-data: Likewise.
39288 * conform/data/locale.h-data: Likewise.
39289 * conform/data/math.h-data: Likewise.
39290 * conform/data/monetary.h-data: Likewise.
39291 * conform/data/mqueue.h-data: Likewise.
39292 * conform/data/ndbm.h-data: Likewise.
39293 * conform/data/net/if.h-data: Likewise.
39294 * conform/data/netdb.h-data: Likewise.
39295 * conform/data/netinet/in.h-data: Likewise.
39296 * conform/data/nl_types.h-data: Likewise.
39297 * conform/data/poll.h-data: Likewise.
39298 * conform/data/pthread.h-data: Likewise.
39299 * conform/data/pwd.h-data: Likewise.
39300 * conform/data/regex.h-data: Likewise.
39301 * conform/data/sched.h-data: Likewise.
39302 * conform/data/search.h-data: Likewise.
39303 * conform/data/semaphore.h-data: Likewise.
39304 * conform/data/setjmp.h-data: Likewise.
39305 * conform/data/signal.h-data: Likewise.
39306 * conform/data/spawn.h-data: Likewise.
39307 * conform/data/stdarg.h-data: Likewise.
39308 * conform/data/stdio.h-data: Likewise.
39309 * conform/data/stdlib.h-data: Likewise.
39310 * conform/data/string.h-data: Likewise.
39311 * conform/data/strings.h-data: Likewise.
39312 * conform/data/stropts.h-data: Likewise.
39313 * conform/data/sys/ipc.h-data: Likewise.
39314 * conform/data/sys/mman.h-data: Likewise.
39315 * conform/data/sys/msg.h-data: Likewise.
39316 * conform/data/sys/resource.h-data: Likewise.
39317 * conform/data/sys/select.h-data: Likewise.
39318 * conform/data/sys/sem.h-data: Likewise.
39319 * conform/data/sys/shm.h-data: Likewise.
39320 * conform/data/sys/socket.h-data: Likewise.
39321 * conform/data/sys/stat.h-data: Likewise.
39322 * conform/data/sys/statvfs.h-data: Likewise.
39323 * conform/data/sys/time.h-data: Likewise.
39324 * conform/data/sys/timeb.h-data: Likewise.
39325 * conform/data/sys/times.h-data: Likewise.
39326 * conform/data/sys/types.h-data: Likewise.
39327 * conform/data/sys/uio.h-data: Likewise.
39328 * conform/data/sys/un.h-data: Likewise.
39329 * conform/data/sys/utsname.h-data: Likewise.
39330 * conform/data/sys/wait.h-data: Likewise.
39331 * conform/data/syslog.h-data: Likewise.
39332 * conform/data/tar.h-data: Likewise.
39333 * conform/data/termios.h-data: Likewise.
39334 * conform/data/utime.h-data: Likewise.
39335 * conform/data/utmpx.h-data: Likewise.
39336 * conform/data/varargs.h-data: Likewise.
39337 * conform/data/wchar.h-data: Likewise.
39338 * conform/data/wctype.h-data: Likewise.
39339 * conform/data/wordexp.h-data: Likewise.
39341 * include/stropts.h: New file.
39342 * include/uchar.h: New file.
39343 * include/aio.h: Changes to allow conformtest.pl to use the headers.
39344 * include/assert.h: Likewise.
39345 * include/ctype.h: Likewise.
39346 * include/dirent.h: Likewise.
39347 * include/dlfcn.h: Likewise.
39348 * include/fcntl.h: Likewise.
39349 * include/fnmatch.h: Likewise.
39350 * include/glob.h: Likewise.
39351 * include/grp.h: Likewise.
39352 * include/libio.h: Likewise.
39353 * include/locale.h: Likewise.
39354 * include/math.h: Likewise.
39355 * include/net/if.h: Likewise.
39356 * include/netdb.h: Likewise.
39357 * include/netinet/in.h: Likewise.
39358 * include/pthread.h: Likewise.
39359 * include/pwd.h: Likewise.
39360 * include/regex.h: Likewise.
39361 * include/sched.h: Likewise.
39362 * include/search.h: Likewise.
39363 * include/setjmp.h: Likewise.
39364 * include/signal.h: Likewise.
39365 * include/stdio.h: Likewise.
39366 * include/stdlib.h: Likewise.
39367 * include/string.h: Likewise.
39368 * include/sys/cdefs.h: Likewise.
39369 * include/sys/mman.h: Likewise.
39370 * include/sys/msg.h: Likewise.
39371 * include/sys/resource.h: Likewise.
39372 * include/sys/select.h: Likewise.
39373 * include/sys/socket.h: Likewise.
39374 * include/sys/stat.h: Likewise.
39375 * include/sys/statvfs.h: Likewise.
39376 * include/sys/time.h: Likewise.
39377 * include/sys/times.h: Likewise.
39378 * include/sys/uio.h: Likewise.
39379 * include/sys/utsname.h: Likewise.
39380 * include/sys/wait.h: Likewise.
39381 * include/termios.h: Likewise.
39382 * include/time.h: Likewise.
39383 * include/ulimit.h: Likewise.
39384 * include/unistd.h: Likewise.
39385 * include/utime.h: Likewise.
39386 * include/wchar.h: Likewise.
39387 * include/wctype.h: Likewise.
39388 * include/wordexp.h: Likewise.
39390 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39392 * time/time.h: TIME_UTC must be a macro.
39393 Make timespec_get available for ISO C11 only as well.
39395 2012-02-24 Ulrich Drepper <drepper@gmail.com>
39397 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39398 Reported by Peng Haitao <penght@cn.fujitsu.com>.
39400 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39402 * configure.in: Use -o not -a in test for unsupported multi-arch.
39404 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39406 * manual/texinfo.tex: Update to version 2012-01-19.16.
39408 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39410 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39412 2012-02-24 Roland McGrath <roland@hack.frob.com>
39415 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39416 * manual/fdl-1.3.texi: New file.
39417 * manual/fdl-1.1.texi: File removed.
39420 * manual/libc.texinfo (FDL_VERSION): New @set.
39421 Use it for mention of FDL in cover text.
39422 (Documentation License): Use it in @include file name.
39424 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39425 Roland McGrath <roland@hack.frob.com>
39428 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39429 (not LONG_LONG_MAX and LONG_LONG_MIN.
39430 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39431 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
39433 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39435 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39439 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39440 manipulate bits before adding and subtracting TWO23[sx].
39441 * math/libm-test.inc (nearbyint_test): Add more tests.
39443 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39446 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39447 bits before adding and subtracting TWO23[sx].
39448 * math/libm-test.inc (rint_test): Add more tests.
39449 (rint_test_tonearest): Likewise.
39450 (rint_test_towardzero): Likewise.
39451 (rint_test_downward): Likewise.
39452 (rint_test_upward: Likewise.
39454 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39457 * include/stdc-predef.h: New file. Extracted from features.h.
39458 * include/features.h: Include stdc-predef.h.
39459 * Makefile (headers): Add stdc-predef.h.
39460 * CONFORMANCE (Compiler limitations): Update.
39462 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39464 * manual/libc.texinfo (VERSION, UPDATED): Revert.
39466 2012-02-21 David S. Miller <davem@davemloft.net>
39468 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39469 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39471 2012-02-20 David S. Miller <davem@davemloft.net>
39473 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39474 using a normal save/restore sequence, rather than allocating a
39475 dummy stack frame just to store a frame pointer and restore.
39476 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39478 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39480 * manual/install.texi: Fix stray word in line-wrapped comment.
39482 2012-02-20 David S. Miller <davem@davemloft.net>
39484 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39485 both binutils and gcc support GOTDATA.
39487 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39488 "rd %pc" in the PIC register setup sequences.
39490 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39491 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39492 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39493 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39494 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39495 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39496 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39497 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39498 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39499 (SYSCALL_ERROR_HANDLER): Likewise.
39500 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39501 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39502 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39503 (SYSCALL_ERROR_HANDLER): Likewise.
39505 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39506 (HAVE_GCC_GOTDATA): New.
39507 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39508 relocation support in both binutils and gcc.
39509 * sysdeps/sparc/elf/configure: Regenerate.
39511 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39512 * sysdeps/sparc/sparc32/elf/configure: Delete.
39513 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39514 * sysdeps/sparc/sparc64/elf/configure: Delete.
39515 * sysdeps/sparc/elf/configure.in: New file.
39516 * sysdeps/sparc/elf/configure: Generate.
39518 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39519 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39520 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39521 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39522 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39524 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39526 * manual/install.texi: Do not mention specific glibc version
39528 * manual/libc.texinfo (VERSION, UPDATED): Update.
39529 (@copying): Use @copyright{} and range of years.
39531 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39534 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39535 [crti.S not in sysdirs] (generated): Do not append.
39536 [crti.S not in sysdirs] (omit-deps): Likewise.
39537 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39538 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39539 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39540 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39541 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39543 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39544 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39545 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39546 * csu/defs.awk: Remove file.
39547 * sysdeps/generic/initfini.c: Likewise.
39548 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39550 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39553 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39555 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39556 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39557 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39558 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39559 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39560 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39562 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39563 (__EPOLL_PACKED): Define to empty if not defined by
39565 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39566 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39569 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39571 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39572 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39573 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39574 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39576 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39577 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39580 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39582 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39584 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39585 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39586 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39589 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
39591 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39592 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39594 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
39596 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39597 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39599 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39601 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39604 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
39606 * math/w_acos.c: Use non-signaling floating-point comparisons.
39607 * math/w_acosf.c: Likewise.
39608 * math/w_acosh.c: Likewise.
39609 * math/w_acoshf.c: Likewise.
39610 * math/w_acoshl.c: Likewise.
39611 * math/w_acosl.c: Likewise.
39612 * math/w_asin.c: Likewise.
39613 * math/w_asinf.c: Likewise.
39614 * math/w_asinl.c: Likewise.
39615 * math/w_atanh.c: Likewise.
39616 * math/w_atanhf.c: Likewise.
39617 * math/w_atanhl.c: Likewise.
39618 * math/w_exp2.c: Likewise.
39619 * math/w_exp2f.c: Likewise.
39620 * math/w_exp2l.c: Likewise.
39621 * math/w_j0.c: Likewise.
39622 * math/w_j0f.c: Likewise.
39623 * math/w_j0l.c: Likewise.
39624 * math/w_j1.c: Likewise.
39625 * math/w_j1f.c: Likewise.
39626 * math/w_j1l.c: Likewise.
39627 * math/w_jn.c: Likewise.
39628 * math/w_jnf.c: Likewise.
39629 * math/w_log.c: Likewise.
39630 * math/w_log10.c: Likewise.
39631 * math/w_log10f.c: Likewise.
39632 * math/w_log10l.c: Likewise.
39633 * math/w_log2.c: Likewise.
39634 * math/w_log2f.c: Likewise.
39635 * math/w_log2l.c: Likewise.
39636 * math/w_logf.c: Likewise.
39637 * math/w_logl.c: Likewise.
39638 * math/w_sqrt.c: Likewise.
39639 * math/w_sqrtf.c: Likewise.
39640 * math/w_sqrtl.c: Likewise.
39641 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39642 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39643 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39644 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39645 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39647 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39650 * manual/string.texi (strnlen): Use correct parameter name in
39651 equivalent expression.
39653 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39656 * manual/users.texi (seteuid): Consistently use neweuid for
39659 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39662 * manual/nss.texi (Services in the NSS configuration): Correct
39663 list of services in example configuration file.
39665 2012-02-19 Nick Bowler <nbowler@draconx.ca>
39668 * manual/arith.texi: Remove statements about negative zero
39669 behaving identically to zero.
39671 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39674 * manual/install.texi: Do not document upgrading from libc5.
39676 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39679 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39681 2012-02-18 David S. Miller <davem@davemloft.net>
39683 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39684 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39685 %o7 across the call.
39686 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39688 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39689 SETUP_PIC_REG_LEAF.
39690 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39691 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39692 * sysdeps/sparc/crtn.S: Likewise.
39694 2012-02-17 Ulrich Drepper <drepper@gmail.com>
39696 * aout/Makefile: Remove.
39698 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
39701 * manual/examples/argp-ex1.c (main): Format definition in GNU
39703 * manual/examples/argp-ex2.c (main): Likewise.
39704 * manual/examples/argp-ex3.c (main): Likewise.
39705 * manual/examples/argp-ex4.c (main): Likewise.
39706 * manual/examples/longopt.c (main): Use new-style prototype
39708 * manual/examples/strncat.c (main): Specify return type and use
39709 (void) for arguments.
39710 * manual/examples/subopt.c (main): Use char **argv argument.
39712 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39715 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39718 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
39721 * manual/string.texi (strchr): Change when strchrnul is
39724 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
39727 * manual/locale.texi (setlocale): Document LOCPATH.
39729 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39732 * manual/process.texi (execle): Move @dots{} before last argument.
39734 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
39737 * manual/charset.texi (Generic Charset Conversion): Fix typo
39738 (LC_TYPE -> LC_CTYPE).
39740 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
39743 * manual/arith.texi (scalbn): Use @var{} on parameter names.
39744 (scalbnf): Likewise.
39745 (scalbnl): Likewise.
39746 (scalbln): Likewise.
39747 (scalblnf): Likewise.
39748 (scalblnl): Likewise.
39749 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39750 (vwarnx): Likewise.
39753 * manual/filesys.texi (telldir): Use braces around return type.
39754 * manual/llio.texi (mmap): Add space after comma.
39755 (mmap64): Likewise.
39756 * manual/math.texi (jn): Use @var{} on parameter names.
39762 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39764 * manual/resource.texi (ulimit): Use @dots{} instead of literal
39766 (sched_get_priority_min): Remove semicolon on @deftypefun line.
39767 (sched_get_priority_max): Likewise.
39768 * manual/signal.texi (sigvec): Add space after comma.
39769 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39771 (if_indextoname): Likewise.
39772 (if_freenameindex): Likewise.
39773 (sendto): Use ',' instead of '.' in prototype.
39774 * manual/startup.texi (syscall): Use @dots{} instead of literal
39776 * manual/stdio.texi (__fpending): Separate initial words of
39777 paragraph from @deftypefun line.
39778 * manual/syslog.texi (syslog): Use @dots{} instead of literal
39780 (vsyslog): Use @var{} on parameter names.
39781 * manual/terminal.texi (stty): Use @var{} on parameter names.
39782 * manual/users.texi (getutmp): Use @var{} on parameter names.
39783 (getutmpx): Likewise.
39785 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39788 * manual/stdio.texi (fopen): Fix typos in description of
39791 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
39794 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39795 get clock_id definition.
39797 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
39800 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39801 (madvise): Cast every argument to void on its own.
39803 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39806 * manual/startup.texi (Exit Status): Fix typo.
39808 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39811 * manual/examples/argp-ex1.c: Include <stdlib.h>.
39812 * manual/examples/argp-ex2.c: Likewise.
39813 * manual/examples/argp-ex3.c: Likewise.
39815 2012-02-16 Richard Henderson <rth@redhat.com>
39817 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39818 * sysdeps/s390/s390-32/initfini.c: Remove.
39819 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
39820 * sysdeps/s390/s390-64/initfini.c: Remove.
39822 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39824 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
39825 compiler output for sysdeps/generic/initfini.c.
39826 * sysdeps/sh/elf/initfini.c: Remove file.
39828 2012-02-16 David S. Miller <davem@davemloft.net>
39831 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
39833 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
39834 * sysdeps/sparc/crti.S: New file.
39835 * sysdeps/sparc/crtn.S: New file.
39836 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
39837 * sysdeps/sparc/sparc64/Makefile: Likewise.
39839 2012-02-15 Mike Frysinger <vapier@gentoo.org>
39842 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
39844 2012-02-15 Roland McGrath <roland@hack.frob.com>
39847 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
39849 * mach/devstream.c (cookie_io_functions_t): Macro removed.
39850 (write, read, close): Likewise.
39851 Patch by Aurelien Jarno <aurelien@aurel32.net>.
39853 2012-02-15 Joseph Myers <joseph@codesourcery.com>
39855 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
39856 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
39857 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
39858 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
39860 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
39861 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39864 2012-02-14 Marek Polacek <polacek@redhat.com>
39866 * sysdeps/x86_64/crti.S: New file.
39867 * sysdeps/x86_64/crtn.S: New file.
39868 * sysdeps/x86_64/elf/initfini.c: Remove file.
39870 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39872 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
39873 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
39874 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
39875 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
39877 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
39878 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39881 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39883 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
39884 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
39885 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
39886 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
39888 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
39889 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39892 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
39894 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
39895 __feraiseexcept instead of feraiseexcept.
39897 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
39898 nanosleep invocations.
39899 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
39900 strings, and add error checking for a nanosleep invocations.
39902 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
39904 Replace FSF snail mail address with URLs, as per GNU coding standards.
39905 Most of the snail mail addresses were wrong anyway, and omitting
39906 them makes the source code easier to maintain. Almost all of the
39907 changes are to license notices and to locale LC_IDENTIFICATION
39908 addresses, except for this one:
39909 * manual/libc.texinfo: In "Published by", give the FSF's URL,
39910 not its snail mail address.
39912 2012-02-09 Richard Henderson <rth@twiddle.net>
39914 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
39915 of kernel-features.h.
39917 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
39919 2012-02-08 Marek Polacek <polacek@redhat.com>
39921 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
39922 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
39923 * sysdeps/gnu/_G_config.h: Likewise.
39924 * sysdeps/generic/_G_config.h: Likewise.
39926 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
39928 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
39930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39932 * sysdeps/powerpc/powerpc32/crti.S: New file.
39933 * sysdeps/powerpc/powerpc32/crtn.S: New file.
39934 * sysdeps/powerpc/powerpc64/crti.S: New file.
39935 * sysdeps/powerpc/powerpc64/crtn.S: New file.
39937 * Makeconfig (have-initfini): Don't set.
39938 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
39939 * configure.in (nopic_initfini): Don't substitute.
39940 * config.h.in (HAVE_INITFINI): Don't #undef.
39941 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
39942 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
39944 2012-02-08 Joseph Myers <joseph@codesourcery.com>
39946 Support crti.S and crtn.S provided directly by architectures.
39947 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
39948 [crti.S in sysdirs] (omit-deps): Likewise.
39949 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
39950 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
39951 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
39952 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
39953 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
39954 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
39955 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
39956 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
39957 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
39958 compiler output for sysdeps/generic/initfini.c.
39959 * sysdeps/i386/elf/Makefile: Remove file.
39960 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
39962 2012-02-07 Marek Polacek <polacek@redhat.com>
39964 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
39965 * sysdeps/gnu/_G_config.h: Likewise.
39966 * sysdeps/mach/hurd/_G_config.h: Likewise.
39968 2012-02-07 Marek Polacek <polacek@redhat.com>
39970 * math/Makefile (tests): Add tst-CMPLX2.
39971 * math/tst-CMPLX2.c: New file.
39973 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
39975 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39977 * math/libm-test.inc (jn_test): Add missing L suffix.
39979 2012-02-06 Marek Polacek <polacek@redhat.com>
39981 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
39982 * sysdeps/i386/fpu/e_powf.S: Likewise.
39983 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39984 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39985 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39986 * sysdeps/i386/fpu/e_pow.S: Likewise.
39987 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39988 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39989 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39990 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39991 * sysdeps/i386/fpu/e_log2.S: Likewise.
39992 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39993 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39994 * sysdeps/i386/fpu/e_powl.S: Likewise.
39995 * sysdeps/i386/fpu/s_log1p.S: Likewise.
39996 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39997 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39998 * sysdeps/i386/fpu/e_logl.S: Likewise.
39999 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40000 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40001 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40002 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40003 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40004 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40005 * sysdeps/i386/fpu/e_log.S: Likewise.
40006 * sysdeps/i386/fpu/s_cexp.S: Likewise.
40007 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40008 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40009 * sysdeps/i386/fpu/e_logf.S: Likewise.
40010 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40011 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40012 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40013 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40014 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40015 * sysdeps/i386/fpu/e_log10.S: Likewise.
40016 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40017 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40018 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40019 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40020 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40021 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40022 * sysdeps/i386/asm-syntax.h: Likewise.
40023 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40024 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40025 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40026 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40027 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40028 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40029 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40030 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40031 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40032 * sysdeps/powerpc/sysdep.h: Likewise.
40033 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40034 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40036 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40039 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40041 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40043 * sysdeps/i386/sysdep.h: Include <features.h>.
40044 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40047 2012-02-05 Joseph Myers <joseph@codesourcery.com>
40049 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40051 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40054 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40056 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40057 (SETUP_PIC_REG): Use GET_PC_THUNK.
40058 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40061 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40063 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40064 for non-PIC compilation.
40065 (SETUP_PIC_REG): Add .p2align directive.
40066 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40067 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40068 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40069 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40070 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40071 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40072 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40073 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40074 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40075 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40076 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40077 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40078 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40079 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40080 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40081 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40082 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40083 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40084 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40085 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40086 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40087 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40088 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40089 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40090 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40091 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40092 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40093 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40094 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40095 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40096 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40097 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40098 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40099 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40100 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40101 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40102 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40103 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40104 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40105 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40106 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40108 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40110 * math/tst-CMPLX.c: Include <stdio.h>.
40112 2012-01-31 Joseph Myers <joseph@codesourcery.com>
40114 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40116 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40117 * sysdeps/sparc/bits/mathdef.h: Likewise.
40119 2012-01-31 Marek Polacek <polacek@redhat.com>
40121 * libio/libio.h: Don't define _PARAMS.
40122 * locale/programs/config.h: Don't define PARAMS.
40123 * stdlib/strtol_l.c: Likewise.
40124 (__strtol_l): Remove PARAMS from the prototype.
40126 2012-01-31 Ulrich Drepper <drepper@gmail.com>
40128 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
40129 names. Just use the correct names. Remove unnecessary wrapper
40131 * malloc/arena.c: Likewise.
40132 * malloc/hooks.c: Likewise.
40134 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40135 ARENA_TEST says not to. Simplify test for creation of a new arena.
40136 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40138 2012-01-30 Ulrich Drepper <drepper@gmail.com>
40140 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40142 (update_get_addr): New function.
40143 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40144 GET_ADDR_MODULE parameter.
40146 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40148 * crypt/cert.c: Remove __STDC__ conditionals.
40149 * crypt/crypt-entry.c: Likewise.
40150 * crypt/crypt_util.c: Likewise.
40151 * libio/filedoalloc.c: Likewise.
40152 * libio/fileops.c: Likewise.
40153 * libio/genops.c: Likewise.
40154 * libio/iofclose.c: Likewise.
40155 * libio/iofdopen.c: Likewise.
40156 * libio/iofopen.c: Likewise.
40157 * libio/iofopen64.c: Likewise.
40158 * libio/iogetdelim.c: Likewise.
40159 * libio/iopopen.c: Likewise.
40160 * libio/obprintf.c: Likewise.
40161 * libio/oldfileops.c: Likewise.
40162 * libio/oldiofclose.c: Likewise.
40163 * libio/oldiofdopen.c: Likewise.
40164 * libio/oldiofopen.c: Likewise.
40165 * libio/oldiopopen.c: Likewise.
40166 * libio/wfiledoalloc.c: Likewise.
40167 * libio/wgenops.c: Likewise.
40168 * locale/programs/xmalloc.c: Likewise.
40169 * misc/syslog.c: Likewise.
40170 * stdio-common/xbug.c: Likewise.
40171 * string/memchr.c: Likewise.
40172 * string/memcmp.c: Likewise.
40173 * string/memrchr.c: Likewise.
40174 * string/rawmemchr.c: Likewise.
40175 * sysdeps/posix/getcwd.c: Likewise.
40176 * time/strftime_l.c: Likewise.
40178 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40180 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40181 * config.make.in (config-cflags-sse2avx): Define.
40182 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40185 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
40187 * scripts/config.guess: Update from upstream config git repository.
40188 * scripts/config.sub: Likewise.
40190 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
40192 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40194 (R_TILEPRO_*, R_TILEGX_*): New macros.
40196 * scripts/firstversions.awk: Fix bug in version range handling.
40198 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40200 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40202 * include/sys/epoll.h: New file.
40203 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40206 2012-01-28 Ulrich Drepper <drepper@gmail.com>
40208 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40209 Avoid unnecessary __WORDSIZE == 64 test.
40210 (fmaxf): Use VEX format if possible.
40215 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40216 * math/math_private.h: Remove libc_fegetround* and
40218 * sysdeps/i386/configure.in: Check for -msse2avx.
40219 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40220 also if SSE2AVX is defined.
40221 Remove libc_fegetround* and libc_fesetround*.
40222 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40223 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
40224 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40226 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40227 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40228 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40229 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40230 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40232 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40234 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40236 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40238 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40240 2012-01-27 Ulrich Drepper <drepper@gmail.com>
40243 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40245 * Makeconfig (libm): Define.
40246 * elf/Makefile: Add rules to build and run tst-relsort1.
40247 * elf/tst-relsort1.c: New file.
40248 * elf/tst-relsort1mod1.c: New file.
40249 * elf/tst-relsort1mod2.c: New file.
40251 2012-01-27 Joseph Myers <joseph@codesourcery.com>
40253 * math/s_ldexp.c: Remove __STDC__ conditionals.
40254 * math/s_ldexpf.c: Likewise.
40255 * math/s_ldexpl.c: Likewise.
40256 * math/s_nextafter.c: Likewise.
40257 * math/s_nexttowardf.c: Likewise.
40258 * math/s_significand.c: Likewise.
40259 * math/s_significandf.c: Likewise.
40260 * math/s_significandl.c: Likewise.
40261 * math/w_jnl.c: Likewise.
40262 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40263 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40264 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40265 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40266 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40267 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40268 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40269 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40270 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40271 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40272 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40273 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40274 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40275 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40276 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40277 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40278 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40279 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40280 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40281 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40282 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40283 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40284 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40285 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40286 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40287 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40288 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40289 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40290 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40291 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40292 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40293 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40294 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40295 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40296 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40297 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40298 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40299 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40300 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40301 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40302 * sysdeps/ieee754/k_standard.c: Likewise.
40303 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40304 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40305 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40306 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40307 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40308 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40309 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40310 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40311 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40312 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40313 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40314 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40315 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40316 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40317 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40318 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40319 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40320 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40321 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40322 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40323 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40324 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40325 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40326 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40327 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40328 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40329 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40330 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40331 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40332 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40333 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40334 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40335 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40336 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40337 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40338 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40339 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40340 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40341 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40342 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40343 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40344 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40345 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40346 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40347 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40348 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40349 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40350 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40351 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40352 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40353 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40354 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40355 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40356 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40357 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40358 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40359 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40360 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40361 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40362 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40363 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40364 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40365 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40366 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40367 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40368 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40369 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40370 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40371 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40372 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40373 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40374 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40375 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40376 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40377 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40378 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40379 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40380 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40381 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40382 * sysdeps/ieee754/s_matherr.c: Likewise.
40383 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40384 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40385 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40386 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40388 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40390 * crypt/md5.h: Remove __STDC__ conditionals.
40391 * libio/libioP.h: Likewise.
40392 * locale/programs/config.h: Likewise.
40393 * sysdeps/generic/sysdep.h: Likewise.
40394 * sysdeps/i386/asm-syntax.h: Likewise.
40395 * sysdeps/s390/asm-syntax.h: Likewise.
40396 * sysdeps/unix/sysdep.h: Likewise.
40397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40400 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40402 * libio/libio.h: Remove __STDC__ conditionals.
40403 * malloc/obstack.h: Likewise.
40404 * math/complex.h: Likewise.
40405 * math/math.h: Likewise.
40406 * sysdeps/generic/_G_config.h: Likewise.
40407 * sysdeps/gnu/_G_config.h: Likewise.
40408 * sysdeps/mach/hurd/_G_config.h: Likewise.
40409 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40410 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40411 * sysdeps/sparc/bits/mathdef.h: Likewise.
40413 2012-01-26 Ulrich Drepper <drepper@gmail.com>
40416 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40417 Clean up HAS_* macros.
40418 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40419 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40421 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40423 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40424 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40425 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40426 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40427 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40429 2012-01-25 Joseph Myers <joseph@codesourcery.com>
40431 * elf/tst-unique3.cc (gets): Remove declaration.
40432 * elf/tst-unique3lib.cc (gets): Likewise.
40433 * elf/tst-unique3lib2.cc (gets): Likewise.
40434 * elf/tst-unique4.cc (gets): Likewise.
40436 2012-01-24 Ulrich Drepper <drepper@gmail.com>
40438 * include/stdio.h: Add C++ protection. Add gets declarations and
40440 * debug/tst-chk1.c: Don't declare gets here.
40441 * stdio-common/tst-gets.c: Likewise.
40443 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40445 * posix/glob: Remove directory.
40447 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40449 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40451 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
40453 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40454 of the non-standard EPFNOSUPPORT.
40456 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
40458 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40459 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40460 ANYWHERE set to 1 only on KERN_NO_SPACE error.
40462 2012-01-21 Ulrich Drepper <drepper@gmail.com>
40464 * wcsmbs/uchar.h: Test __STDC_VERSION__.
40466 2012-01-20 Ulrich Drepper <drepper@gmail.com>
40468 * nscd/aicache.c (addhstaiX): Do not cache negative results of
40470 * nscd/grpcache.c (cache_addgr): Likewise.
40471 * nscd/hstcache.c (cache_addhst): Likewise.
40472 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40473 * nscd/pwdcache.c (cache_addpw): Likewise.
40474 * nscd/servicescache.c (cache_addserv): Likewise.
40476 2012-01-16 Ulrich Drepper <drepper@gmail.com>
40478 * malloc/malloc.c: Various cleanups.
40479 * malloc/hooks.c: Likewise.
40481 * stdlib/Makefile (tests): Add bug-fmtmsg1.
40482 * stdlib/bug-fmtmsg1.c: New file.
40484 * stdlib/fmtmsg.c (init): Add missing unlock.
40485 Patch by Peng Haitao <penght@cn.fujitsu.com>.
40487 2012-01-12 Marek Polacek <polacek@redhat.com>
40489 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40492 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40494 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40495 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40496 macro to ensure uniqueness of label name.
40497 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40498 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40500 2012-01-11 Ulrich Drepper <drepper@gmail.com>
40502 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40504 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40505 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40506 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40507 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40509 2012-01-10 Ulrich Drepper <drepper@gmail.com>
40511 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40513 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40514 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40515 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40517 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40519 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40520 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40521 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40522 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40524 * math/bits/math-finite.h: Add ldexp support.
40526 2012-01-10 Marek Polacek <polacek@redhat.com>
40528 * locale/programs/localedef.h (show_archive_content): Add noreturn
40531 2012-01-09 Ulrich Drepper <drepper@gmail.com>
40533 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40535 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40537 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40539 * io/Makefile (headers): Add bits/poll2.h.
40541 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
40543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40544 typo #include statement.
40546 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40548 * include/sys/cdefs.h: Define __attribute_alloc_size.
40549 * catgets/gencat.c: Add alloc_size attribute and apply consistently
40550 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40551 * elf/pldd.c: Likewise.
40552 * iconv/iconv_charmap.c: Likewise.
40553 * iconv/iconvconfig.c: Likewise.
40554 * iconv/strtab.c: Likewise.
40555 * locale/programs/locale.c: Likewise.
40556 * locale/programs/localedef.h: Likewise.
40557 * locale/programs/simple-hash.c: Likewise.
40558 * nscd/nscd.h: Likewise.
40559 * nss/makedb.c: Likewise.
40560 * sysdeps/generic/ldconfig.h: Likewise.
40561 * locale/programs/localedef.c: Remove xmalloc prototype.
40562 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40564 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40566 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40569 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40571 * math/Makefile (tests): Add tst-CMPLX.
40572 * math/tst-CMPLX.c: New file.
40574 * math/complex.h (CMPLXL): Fix typo.
40576 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40577 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40579 * debug/tst-chk1.c: Add poll and ppoll tests.
40580 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40581 * include/sys/poll.h: Add hidden proto for ppoll.
40582 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40583 * sysdeps/mach/hurd/ppoll.c: Likewise.
40584 * io/ppoll.c: Likewise.
40585 * debug/poll_chk.c: New file.
40586 * debug/ppoll_chk.c: New file.
40587 * include/bits/poll2.h: New file.
40588 * io/bits/poll2.h: New file.
40591 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40593 * configure.in: static is always set to yes. Remove.
40594 * config.make.in: Don't set build-static.
40595 * Makeconfig: Remove use of build-static.
40596 * dlfcn/Makefile: Likewise.
40597 * elf/Makefile: Likewise.
40598 * math/Makefile: Likewise.
40599 * misc/Makefile: Likewise.
40600 * nptl/Makefile: Likewise.
40601 * sysdeps/mach/hurd/Makefile: Likewise.
40603 * configure.in: PWD_P is not used anymore.
40604 * config.make.in: Remove PWD_P entry.
40606 * configure.in: Remove last remnants of RANLIB.
40607 No need to check for signed size_t anymore.
40608 Don't set libc_commonpagesize and libc_relro_required here for Alpha
40610 Remove __builtin_expect test because we require at least gcc 3.4.
40611 * aclocal.m4: Likewise.
40613 * wcsmbs/mbrtoc16.c: Implement using towc function.
40614 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40615 * wcsmbs/wcsmbsload.c: Likewise.
40616 * iconv/gconv_simple.c: Likewise.
40617 * iconv/gconv_int.h: Likewise.
40618 * iconv/gconv_builtin.h: Likewise.
40619 * iconv/iconv_prog.c: Remove CHAR16 handling.
40621 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40623 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40625 * configure.in: Remove --with-elf and --enable-bounded options.
40626 Dont set base_machine for ia64. More non-ELF conditions removed.
40627 Remove testing and setting of leading underscore information.
40628 * config.make.in (build-bounded): Set to no.
40629 * config.h.in: Remove NO_UNDERSCORES entry.
40630 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
40632 * csu/start.c: Remove !NO_UNDERSCORE code.
40633 * locale/localeinfo.h: Likewise.
40634 * sysdeps/generic/machine-gmon.h: Likewise.
40635 * sysdeps/generic/sysdep.h: Likewise.
40636 * sysdeps/i386/sysdep.h: Likewise.
40637 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40638 * sysdeps/mach/sysdep.h: Likewise.
40639 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40640 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40641 * sysdeps/sh/sysdep.h: Likewise.
40642 * sysdeps/sparc/sparc32/alloca.S: Likewise.
40643 * sysdeps/unix/i386/sysdep.S: Likewise.
40644 * sysdeps/unix/sparc/start.c: Likewise.
40645 * sysdeps/unix/sparc/sysdep.S: Likewise.
40646 * sysdeps/unix/sparc/sysdep.h: Likewise.
40647 * sysdeps/unix/start.c: Likewise.
40648 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40649 * sysdeps/x86_64/sysdep.h: Likewise.
40651 2012-01-07 Ulrich Drepper <drepper@gmail.com>
40654 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40656 * argp/argp-fmtstream.h: Use const instead __const.
40657 * argp/argp.h: Likewise.
40658 * assert/assert.h: Likewise.
40659 * bits/fenv.h: Likewise.
40660 * bits/sched.h: Likewise.
40661 * bits/sigset.h: Likewise.
40662 * bits/sigthread.h: Likewise.
40663 * catgets/nl_types.h: Likewise.
40664 * conform/data/pthread.h-data: Likewise.
40665 * crypt/crypt-private.h: Likewise.
40666 * crypt/crypt.h: Likewise.
40667 * crypt/crypt_util.c: Likewise.
40668 * ctype/ctype.h: Likewise.
40669 * debug/execinfo.h: Likewise.
40670 * debug/mbsnrtowcs_chk.c: Likewise.
40671 * debug/mbsrtowcs_chk.c: Likewise.
40672 * debug/wcsnrtombs_chk.c: Likewise.
40673 * debug/wcsrtombs_chk.c: Likewise.
40674 * debug/wcstombs_chk.c: Likewise.
40675 * dirent/dirent.h: Likewise.
40676 * dlfcn/dlfcn.h: Likewise.
40677 * elf/neededtest4.c: Likewise.
40678 * grp/grp.h: Likewise.
40679 * gshadow/gshadow.h: Likewise.
40680 * iconv/gconv.h: Likewise.
40681 * iconv/gconv_int.h: Likewise.
40682 * iconv/gconv_simple.c: Likewise.
40683 * iconv/iconv.h: Likewise.
40684 * iconv/loop.c: Likewise.
40685 * iconv/skeleton.c: Likewise.
40686 * include/aio.h: Likewise.
40687 * include/aliases.h: Likewise.
40688 * include/argz.h: Likewise.
40689 * include/arpa/inet.h: Likewise.
40690 * include/assert.h: Likewise.
40691 * include/dirent.h: Likewise.
40692 * include/dlfcn.h: Likewise.
40693 * include/execinfo.h: Likewise.
40694 * include/fcntl.h: Likewise.
40695 * include/fenv.h: Likewise.
40696 * include/glob.h: Likewise.
40697 * include/grp.h: Likewise.
40698 * include/libintl.h: Likewise.
40699 * include/mntent.h: Likewise.
40700 * include/netdb.h: Likewise.
40701 * include/pwd.h: Likewise.
40702 * include/rpc/netdb.h: Likewise.
40703 * include/sched.h: Likewise.
40704 * include/search.h: Likewise.
40705 * include/shadow.h: Likewise.
40706 * include/signal.h: Likewise.
40707 * include/stdio.h: Likewise.
40708 * include/stdlib.h: Likewise.
40709 * include/string.h: Likewise.
40710 * include/sys/socket.h: Likewise.
40711 * include/sys/stat.h: Likewise.
40712 * include/sys/statfs.h: Likewise.
40713 * include/sys/statvfs.h: Likewise.
40714 * include/sys/syslog.h: Likewise.
40715 * include/sys/time.h: Likewise.
40716 * include/sys/uio.h: Likewise.
40717 * include/time.h: Likewise.
40718 * include/unistd.h: Likewise.
40719 * include/utmp.h: Likewise.
40720 * include/wchar.h: Likewise.
40721 * include/wctype.h: Likewise.
40722 * inet/aliases.h: Likewise.
40723 * inet/arpa/inet.h: Likewise.
40724 * inet/netinet/ether.h: Likewise.
40725 * inet/netinet/in.h: Likewise.
40726 * intl/libintl.h: Likewise.
40727 * io/bits/fcntl2.h: Likewise.
40728 * io/fcntl.h: Likewise.
40729 * io/ftw.h: Likewise.
40730 * io/sys/poll.h: Likewise.
40731 * io/sys/stat.h: Likewise.
40732 * io/sys/statfs.h: Likewise.
40733 * io/sys/statvfs.h: Likewise.
40734 * io/utime.h: Likewise.
40735 * libio/bits/stdio.h: Likewise.
40736 * libio/bits/stdio2.h: Likewise.
40737 * libio/libio.h: Likewise.
40738 * libio/libioP.h: Likewise.
40739 * libio/stdio.h: Likewise.
40740 * locale/lc-ctype.c: Likewise.
40741 * locale/locale.h: Likewise.
40742 * login/utmp.h: Likewise.
40743 * malloc/arena.c: Likewise.
40744 * malloc/malloc.c: Likewise.
40745 * malloc/malloc.h: Likewise.
40746 * malloc/mcheck.c: Likewise.
40747 * malloc/mtrace.c: Likewise.
40748 * math/bits/mathcalls.h: Likewise.
40749 * math/fenv.h: Likewise.
40750 * math/math_private.h: Likewise.
40751 * misc/bits/error.h: Likewise.
40752 * misc/bits/syslog.h: Likewise.
40753 * misc/err.h: Likewise.
40754 * misc/error.h: Likewise.
40755 * misc/fstab.h: Likewise.
40756 * misc/mntent.h: Likewise.
40757 * misc/regexp.h: Likewise.
40758 * misc/search.h: Likewise.
40759 * misc/sgtty.h: Likewise.
40760 * misc/sys/mman.h: Likewise.
40761 * misc/sys/syslog.h: Likewise.
40762 * misc/sys/uio.h: Likewise.
40763 * misc/sys/xattr.h: Likewise.
40764 * misc/ttyent.h: Likewise.
40765 * nis/rpcsvc/ypclnt.h: Likewise.
40766 * nss/nss.h: Likewise.
40767 * posix/bits/unistd.h: Likewise.
40768 * posix/fnmatch.h: Likewise.
40769 * posix/glob.h: Likewise.
40770 * posix/sched.h: Likewise.
40771 * posix/spawn.h: Likewise.
40772 * posix/sys/wait.h: Likewise.
40773 * posix/unistd.h: Likewise.
40774 * posix/wordexp.h: Likewise.
40775 * pwd/pwd.h: Likewise.
40776 * resolv/netdb.h: Likewise.
40777 * resource/sys/resource.h: Likewise.
40778 * rt/aio.h: Likewise.
40779 * rt/bits/mqueue2.h: Likewise.
40780 * rt/mqueue.h: Likewise.
40781 * shadow/shadow.h: Likewise.
40782 * signal/signal.h: Likewise.
40783 * socket/send.c: Likewise.
40784 * socket/sendto.c: Likewise.
40785 * socket/sys/socket.h: Likewise.
40786 * stdio-common/printf.h: Likewise.
40787 * stdlib/bits/stdlib.h: Likewise.
40788 * stdlib/fmtmsg.h: Likewise.
40789 * stdlib/monetary.h: Likewise.
40790 * stdlib/stdlib.h: Likewise.
40791 * stdlib/ucontext.h: Likewise.
40792 * streams/stropts.h: Likewise.
40793 * string/argz.h: Likewise.
40794 * string/bits/string2.h: Likewise.
40795 * string/string.h: Likewise.
40796 * string/strings.h: Likewise.
40797 * sunrpc/rpc/auth.h: Likewise.
40798 * sunrpc/rpc/auth_des.h: Likewise.
40799 * sunrpc/rpc/clnt.h: Likewise.
40800 * sunrpc/rpc/netdb.h: Likewise.
40801 * sunrpc/rpc/pmap_clnt.h: Likewise.
40802 * sunrpc/rpc/xdr.h: Likewise.
40803 * sysdeps/generic/inttypes.h: Likewise.
40804 * sysdeps/generic/net/if.h: Likewise.
40805 * sysdeps/generic/sys/swap.h: Likewise.
40806 * sysdeps/gnu/net/if.h: Likewise.
40807 * sysdeps/gnu/utmpx.h: Likewise.
40808 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40809 * sysdeps/i386/i486/bits/string.h: Likewise.
40810 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40811 * sysdeps/s390/bits/string.h: Likewise.
40812 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40813 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40814 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40815 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40816 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40817 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40818 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40819 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
40820 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
40821 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
40822 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
40823 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40824 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
40825 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40826 * sysdeps/unix/sysv/linux/readv.c: Likewise.
40827 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
40828 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40829 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40830 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40831 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40832 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40833 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
40834 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
40835 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
40836 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
40837 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
40838 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
40839 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40840 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
40841 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
40842 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
40843 * sysvipc/sys/ipc.h: Likewise.
40844 * sysvipc/sys/msg.h: Likewise.
40845 * sysvipc/sys/sem.h: Likewise.
40846 * sysvipc/sys/shm.h: Likewise.
40847 * termios/termios.h: Likewise.
40848 * time/sys/time.h: Likewise.
40849 * time/time.h: Likewise.
40850 * wcsmbs/bits/wchar2.h: Likewise.
40851 * wcsmbs/uchar.h: Likewise.
40852 * wcsmbs/wchar.h: Likewise.
40853 * wctype/wctype.h: Likewise.
40856 * Makeconfig: Remove all but ELF support including AIX support.
40857 * Makerules: Likewise.
40858 * config.h.in: Likewise.
40859 * config.make.in: Likewise.
40860 * configure: Likewise.
40861 * configure.in: Likewise.
40862 * csu/Makefile: Likewise.
40863 * csu/version.c: Likewise.
40864 * debug/Makefile: Likewise.
40865 * dlfcn/Makefile: Likewise.
40866 * elf/Makefile: Likewise.
40867 * extra-lib.mk: Likewise.
40868 * iconv/Makefile: Likewise.
40869 * include/libc-symbols.h: Likewise.
40870 * include/shlib-compat.h: Likewise.
40871 * resolv/Makefile: Likewise.
40872 * resolv/res_libc.c: Likewise.
40873 * rt/Makefile: Likewise.
40874 * sysdeps/i386/asm-syntax.h: Likewise.
40875 * sysdeps/i386/sysdep.h: Likewise.
40876 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40877 * sysdeps/mach/sysdep.h: Likewise.
40878 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
40879 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
40880 * sysdeps/s390/asm-syntax.h: Likewise.
40881 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40882 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40883 * sysdeps/sh/sysdep.h: Likewise.
40884 * sysdeps/unix/sparc/sysdep.h: Likewise.
40885 * sysdeps/wordsize-32/divdi3.c: Likewise.
40886 * sysdeps/x86_64/sysdep.h: Likewise.
40888 * argp/Versions: Remove _argp_unlock_xxx.
40891 * abilist/ld.abilist: Update. Adjust for removal of tls option.
40892 * abilist/libBrokenLocale.abilist: Likewise.
40893 * abilist/libanl.abilist: Likewise.
40894 * abilist/libc.abilist: Likewise.
40895 * abilist/libcrypt.abilist: Likewise.
40896 * abilist/libdl.abilist: Likewise.
40897 * abilist/libm.abilist: Likewise.
40898 * abilist/libnsl.abilist: Likewise.
40899 * abilist/libpthread.abilist: Likewise.
40900 * abilist/libresolv.abilist: Likewise.
40901 * abilist/librt.abilist: Likewise.
40902 * abilist/libthread_db.abilist: Likewise.
40903 * abilist/libutil.abilist: Likewise.
40904 * abilist/libnss_db.abilist: New file.
40906 * scripts/abilist.awk: Add support for indirect functions.
40908 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
40910 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
40912 * shlib-versions: Remove entries for ports architectures.
40914 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
40916 * elf/stackguard-macros.h: Remove support for IA-64.
40917 * elf/tst-auditmod1.c: Likewise.
40918 * sysdeps/generic/ldsodefs.h: Likewise.
40920 * sysdeps/unix/sysv/linux/configure.in: Ports should define
40921 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
40925 * configure.in: Remove --enable-omitfp support.
40927 * config.make.in: Likewise.
40928 * Makeconfig: Likewise.
40929 * manual/install.texi: Likewise.
40931 In case anyone cares, the IA-64 architecture could move to ports.
40932 * sysdeps/ia64/*: Removed.
40933 * sysdeps/unix/sysv/linux/ia64/*: Removed.
40934 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
40937 * configure.in: Remove entries for unsupported architectures.
40940 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
40941 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
40943 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
40944 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
40945 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
40946 fall back to using wcrtomb.
40947 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
40948 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
40950 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
40951 * wcsmbs/tst-c16c32-1.c: New file.
40953 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
40956 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
40958 * elf/tst-unique3.cc: Add explicit declaration of gets.
40959 * elf/tst-unique3lib.cc: Likewise.
40960 * elf/tst-unique3lib2.cc: Likewise.
40961 * elf/tst-unique4.cc: Likewise.
40963 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
40965 2012-01-06 Joseph Myers <joseph@codesourcery.com>
40968 * assert/assert.h (static_assert): Don't define for C++.
40969 * libio/stdio.h (gets): Do declare for C++ <= C++11.
40970 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
40972 2012-01-03 Ulrich Drepper <drepper@gmail.com>
40974 * iconv/loop.c (single loop): Fix assertion in storing of
40977 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
40979 2012-01-01 Ulrich Drepper <drepper@gmail.com>
40981 * posix/getconf.c: Update copyright year.
40982 * nss/getent.c: Likewise.
40983 * nss/makedb.c: Likewise.
40984 * iconv/iconvconfig.c: Likewise.
40985 * iconv/iconv_prog.c: Likewise.
40986 * elf/ldconfig.c: Likewise.
40987 * elf/pldd.c: Likewise.
40988 * elf/sotruss.ksh: Likewise.
40989 * catgets/gencat.c: Likewise.
40990 * csu/version.c: Likewise.
40991 * elf/ldd.bash.in: Likewise.
40992 * elf/sprof.c (print_version): Likewise.
40993 * locale/programs/locale.c: Likewise.
40994 * locale/programs/localedef.c: Likewise.
40995 * login/programs/pt_chown.c: Likewise.
40996 * nscd/nscd.c (print_version): Likewise.
40997 * debug/xtrace.sh: Likewise.
40998 * malloc/memusage.sh: Likewise.
40999 * malloc/mtrace.pl: Likewise.
41000 * debug/catchsegv.sh: Likewise.
41002 2011-12-30 Jakub Jelinek <jakub@redhat.com>
41004 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41007 2011-12-24 Ulrich Drepper <drepper@gmail.com>
41010 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41011 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41013 * iconv/gconv_int.h: Likewise.
41014 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41015 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41016 from libc for GLIBC_2.16.
41017 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41018 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41019 * wcsmbs/uchar.h: Really define mbstate_t.
41020 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41021 * wcsmbs/c16rtomb.c: New file.
41022 * wcsmbs/mbrtoc16.c: New file.
41023 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41024 for C/POSIX locale.
41025 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41026 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41028 * wcsmbs/wchar.h: Add missing __restrict.
41030 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41033 * time/Makefile (routines): Add timespec_get.
41034 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41035 * time/time.h: Define TIME_UTC and declare timespec_get. Define
41036 timespec for ISO C11.
41037 * time/timespec_get.c: New file.
41038 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41039 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41042 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41043 * stdlib/stdlib.h: Declare aligned_alloc.
41044 * Versions.def: Add GLIBC_2.16 for libc.
41045 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41048 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41051 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41055 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41058 * assert/assert.h (static_assert): Define.
41060 * version.h: Update for 2.16 development version.
41063 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41066 * version.h (RELEASE): Bump for 2.15 release.
41067 * include/features.h (__GLIBC_MINOR__): Bump to 15.
41069 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41070 Patch by Marek Polacek <mpolacek@redhat.com>.
41072 * bits/byteswap.h: Protect long long constants with __extension__.
41073 * sysdeps/i386/bits/byteswap.h: Likewise.
41074 * sysdeps/ia64/bits/byteswap.h: Likewise.
41075 * sysdeps/s390/bits/byteswap.h: Likewise.
41076 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41078 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41081 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41082 destination buffer.
41083 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41085 2011-12-23 Marek Polacek <polacek@redhat.com>
41087 * elf/dl-addr.c (determine_info): Add inline keyword.
41088 * elf/tst-auditmod4b.c (check_avx): Likewise.
41089 * elf/tst-auditmod6b.c (check_avx): Likewise.
41090 * elf/tst-auditmod6c.c (check_avx): Likewise.
41091 * elf/tst-auditmod7b.c (check_avx): Likewise.
41093 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41095 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41098 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41101 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41102 processing for last bytes.
41104 2011-08-06 Bruno Haible <bruno@clisp.org>
41107 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41108 U+0385, not to U+1FEE.
41111 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41112 entry for U+00A5 U+0301.
41114 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41117 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41118 buffer for the output is too small.
41120 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41124 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41125 SSE flags if possible.
41127 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41130 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41131 processing for last bytes.
41133 2011-12-22 Joseph Myers <joseph@codesourcery.com>
41135 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41136 (syscall-list-default-options, syscall-list-default-condition)
41137 (syscall-list-includes): Define.
41138 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41139 list of ABIs and options and #if conditions for each ABI. Do not
41140 handle common syscalls between ABIs specially.
41141 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41143 (syscall-list-variants, syscall-list-32bit-options)
41144 (syscall-list-32bit-condition, syscall-list-64bit-options)
41145 (syscall-list-64bit-condition): Define.
41146 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41147 (syscall-list-variants, syscall-list-32bit-options)
41148 (syscall-list-32bit-condition, syscall-list-64bit-options)
41149 (syscall-list-64bit-condition): Define.
41150 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41152 (syscall-list-variants, syscall-list-32bit-options)
41153 (syscall-list-32bit-condition, syscall-list-64bit-options)
41154 (syscall-list-64bit-condition): Define.
41155 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41157 (syscall-list-variants, syscall-list-32bit-options)
41158 (syscall-list-32bit-condition, syscall-list-64bit-options)
41159 (syscall-list-64bit-condition): Define.
41161 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41163 * locale/iso-639.def: Add brx entry.
41166 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41167 Proposed by Mariusz_Cukr <marcukr@op.pl>.
41169 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41170 __feraiseexcept_renamed.
41172 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41175 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41176 EPOLLET with unsigned values.
41177 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41178 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41180 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41181 to large cancellation.
41182 * math/s_cacoshf.c: Likewise.
41183 * math/s_cacoshl.c: Likewise.
41185 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
41189 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41190 * math/s_cacoshf.c: Likewise.
41191 * math/s_cacoshl.c: Likewise.
41193 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41196 * iconv/gconv.h: Define __GCONV_SWAP.
41197 * iconvdata/unicode.c: The swap bit must be stored in __flags.
41198 * iconvdata/utf-16.c: Likewise.
41199 * iconvdata/utf-32.c: Likewise.
41201 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
41204 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41205 numerator after shifting it by one limb.
41207 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
41209 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41210 under [__USE_EXTERN_INLINES].
41212 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41215 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41217 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41219 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41220 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41222 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41223 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41224 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41225 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41226 for strncasecmp/strncasecmp_l compilation.
41227 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41228 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41230 2011-12-08 Marek Polacek <mpolacek@redhat.com>
41233 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41236 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41239 * time/tzfile.c (__tzfile_read): Check values from file header.
41241 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41243 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41244 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41245 * powerpc/powerpc32/dl-start.S: Likewise.
41246 * powerpc/powerpc32/elf/start.S: Likewise.
41247 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41248 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41249 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41250 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41251 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41252 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41253 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41254 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41255 * powerpc/powerpc32/fpu/s_round.S: Likewise.
41256 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41257 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41258 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41259 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41260 * powerpc/powerpc32/memset.S: Likewise.
41261 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41262 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41263 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41264 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41265 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41266 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41267 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41268 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41269 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41270 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41271 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41272 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41273 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41275 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41277 * math/libm-test.inc: Added more nearbyint tests.
41278 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41279 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41280 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41281 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41283 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
41285 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41288 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41290 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41291 Add wcscpy-ssse3 wcscpy-c.
41292 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41293 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41294 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41295 * sysdeps/x86_64/wcschr.S: New file.
41296 * sysdeps/x86_64/wcsrchr.S: New file.
41297 * string/test-strcmp.c: Remove checking of wcscmp function for
41299 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41300 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41301 wcsrchr-sse2 wcsrchr-c.
41302 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41303 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41304 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41305 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41306 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41307 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41308 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41309 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41310 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41311 * wcsmbc/wcschr.c (WCSCHR): New macro.
41313 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41315 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41316 * wcsmbs/test-wcsrchr.c: New file.
41317 * string/test-strrchr.c: Add wcsrchr support.
41319 * wcsmbs/test-wcscpy.c: New file.
41320 * string/test-strcpy.c: Add wcscpy support.
41323 2011-12-10 Ulrich Drepper <drepper@gmail.com>
41325 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41328 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
41331 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41333 2011-12-04 Ulrich Drepper <drepper@gmail.com>
41335 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41336 Minor optimizations.
41338 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41339 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41340 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41342 2011-12-03 Ulrich Drepper <drepper@gmail.com>
41344 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41345 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41346 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41347 for gcc to avoid warnings.
41348 * inet/Makefile (tests): Add tst-checks.
41349 * inet/tst-checks.c: New file.
41351 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41354 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41357 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41358 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41360 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41362 2011-12-02 Ulrich Drepper <drepper@gmail.com>
41364 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41367 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41369 2011-11-29 Joseph Myers <joseph@codesourcery.com>
41371 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41372 conditional on GCC version.
41373 (__arch_compare_and_exchange_val_8_acq)
41374 (__arch_compare_and_exchange_val_16_acq)
41375 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41376 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41377 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41379 2011-12-02 Joseph Myers <joseph@codesourcery.com>
41381 * sysdeps/sh/backtrace.c: New file.
41383 2011-12-02 Andreas Schwab <schwab@redhat.com>
41385 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
41388 2011-12-01 Andreas Schwab <schwab@redhat.com>
41390 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41391 falling back to utime.
41393 2011-11-30 Andreas Schwab <schwab@redhat.com>
41395 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41396 expectations for float.
41398 2011-11-29 Andreas Schwab <schwab@redhat.com>
41400 * locale/weight.h (findidx): Add parameter len.
41401 * locale/weightwc.h (findidx): Likewise.
41402 * posix/fnmatch_loop.c (FCT): Adjust caller.
41403 * posix/regcomp.c (build_equiv_class): Likewise.
41404 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41405 * posix/regexec.c (check_node_accept_bytes): Likewise.
41406 * string/strcoll_l.c (STRCOLL): Likewise.
41407 * string/strxfrm_l.c (STRXFRM): Likewise.
41409 2011-11-17 Ulrich Drepper <drepper@gmail.com>
41411 * Makefile.in: Remove CVSOPT handling.
41412 * configure.in: Remove use of AC_REVISION.
41413 * iconvdata/Makefile (distribute): No need to filter out CVS.
41414 * scripts/list-sources.sh: Remove CVS, subversion and monotone
41417 2011-11-16 Andreas Schwab <schwab@redhat.com>
41419 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41420 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41421 [USE_AS_STRNCASECMP_L]: Likewise.
41422 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41423 NO_TLS_DIRECT_SEG_REFS.
41424 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41425 Fix argument offsets for non-PIC.
41426 [USE_AS_STRNCASECMP_L]: Likewise.
41427 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41428 NO_TLS_DIRECT_SEG_REFS.
41430 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41432 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41434 * locale/loadlocale.c (_nl_load_locale): Likewise.
41436 2011-11-15 Andreas Schwab <schwab@redhat.com>
41438 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41439 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41440 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41441 (SYSCALL_GETTIME): Set errno on error.
41443 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41444 count references to noai6ai_cached.
41446 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41448 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41450 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41451 FD_CLOEXEC for /proc/self/maps.
41453 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41454 FD_CLOEXEC for /proc/meminfo.
41456 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41459 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
41460 FD_CLOEXEC for given file.
41462 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41464 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41465 FD_CLOEXEC for /etc/hosts.
41466 (_gethtent): Likewise.
41468 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41470 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41471 cancellation and set FD_CLOEXEC for /etc/netgroup.
41473 * nss/nss_files/files-key.c (search): Don't allow cancellation when
41474 reading /etc/publickey.
41476 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41477 allow cancellation when reading /etc/group.
41479 * nss/nss_files/files-alias.c (internal_setent): Don't allow
41481 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
41483 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41484 when using data file.
41486 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41488 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41489 (write_nis_obj): Use "c" and "e" in fopen.
41491 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41493 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41495 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41497 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41499 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41502 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41504 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41506 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41508 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41509 file parsing and set FD_CLOEXEC.
41511 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41513 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41515 2011-11-14 Andreas Schwab <schwab@redhat.com>
41517 * malloc/arena.c (arena_get2): Don't call reused_arena when
41518 _int_new_arena failed.
41520 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41522 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41523 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41524 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41525 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41526 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41527 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41528 to compile strcasecmp and strncasecmp.
41529 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41530 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41532 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41534 2011-11-13 Ulrich Drepper <drepper@gmail.com>
41536 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41537 locale-defines.sym to gen-as-const-headers.
41538 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41539 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41540 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41541 to compile strcasecmp and strncasecmp.
41542 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41543 strcasecmp_l and strncasecmp_l.
41544 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41545 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41546 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41547 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41548 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41549 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41550 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41551 * sysdeps/i386/i686/multiarch/strncase.S: New file.
41552 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41553 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41554 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41556 2011-11-12 Ulrich Drepper <drepper@gmail.com>
41558 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41559 result of SYSDEP_GETTIME_CPU to retval.
41560 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41561 parameter list to macro. Remove trailing semicolon. Adjust users.
41563 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41566 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41568 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41570 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41571 from unused variable.
41573 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41575 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41578 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41581 * sunrpc/rpc_prot.c (rejected): Fix case value.
41583 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41584 unsigned long long int to avoid warnings in shift.
41586 * posix/regex_internal.c (re_string_reconstruct): Actually use result
41588 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41591 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41592 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41593 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41595 * nis/nis_table.c (nis_list): Use variable of correct type for
41596 result of __follow_path call.
41598 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41600 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41601 of math functions ceil, trunc, floor, round, and sqrt, when
41602 avaliable on the platform.
41603 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41605 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41606 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41607 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41609 2011-10-30 Marek Polacek <mpolacek@redhat.com>
41611 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41612 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41614 2011-11-11 Roland McGrath <roland@hack.frob.com>
41616 * include/unistd.h: Fix __readlink return type.
41617 Reported by Chris Metcalf <cmetcalf@tilera.com>.
41619 2011-11-11 Ulrich Drepper <drepper@gmail.com>
41621 * stdlib/ucontext.h: Undo last change for makecontext.
41623 2011-11-11 Andreas Schwab <schwab@redhat.com>
41625 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41627 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41628 * setjmp/setjmp.h: Mark functions as non-leaf.
41629 * setjmp/bits/setjmp2.h: Likewise.
41630 * stdlib/ucontext.h: Likewise.
41632 2011-11-10 Andreas Schwab <schwab@redhat.com>
41634 * malloc/arena.c (_int_new_arena): Don't increment narenas.
41635 (reused_arena): Don't check arena limit.
41636 (arena_get2): Atomically check arena limit.
41638 2011-11-08 Ulrich Drepper <drepper@gmail.com>
41640 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41641 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41643 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41646 2011-11-07 Andreas Schwab <schwab@redhat.com>
41648 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41649 handler when locking.
41651 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41652 Fix size of allocated buffer.
41654 2011-11-04 Andreas Schwab <schwab@redhat.com>
41657 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41658 declarations for long double functions.
41659 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41661 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41663 2011-11-03 Andreas Schwab <schwab@redhat.com>
41665 * nscd/nscd.c (main): Don't start AVC thread until credentials are
41668 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41671 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
41673 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41675 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
41677 * include/alloca.h (stackinfo_alloca_round): Define.
41678 (extend_alloca): Use it.
41679 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41680 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41683 * scripts/check-local-headers.sh: Ignore libaudit.h.
41685 * nscd/Makefile (extra-objs): Make recursively expanded.
41687 2011-11-01 Ulrich Drepper <drepper@gmail.com>
41689 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41690 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41692 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41693 * posix/tst-rfc3484-2.c: Likewise.
41694 * posix/tst-rfc3484-3.c: Likewise.
41696 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41698 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41700 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41701 process_vm_writev from libc using GLIBC_2.15 version.
41703 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41705 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
41707 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41710 2011-10-31 Ulrich Drepper <drepper@gmail.com>
41713 * nss/getent.c (initgroups_keys): Show error message in case no group
41716 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41717 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41718 __bump_nl_timestamp.
41719 * nscd/connections (nscd_init): When host database is served open
41720 netlink socket and request notification about configuration changes.
41721 (main_loop_poll): Track netlink file descriptor and bump timestamp
41722 in case data becomes available.
41723 (main_loop_epoll): Likewise.
41724 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41725 (database_pers_head): Add extra_data fileds.
41726 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41727 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41728 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41730 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41731 in6ai data, call __free_in6ai.
41732 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41733 Add -DHAVE_NETLINK.
41734 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
41735 interface information. Reuse previous data if netlink timestamp
41737 (__bump_nl_timestamp): New function.
41738 (__free_in6ai): New function.
41740 2011-10-30 Ulrich Drepper <drepper@gmail.com>
41742 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41743 close_not_cancel_no_status here.
41744 (__check_pf): Reorganize code a bit to not call close twice if OOM.
41746 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41749 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41752 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41753 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41754 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41756 2011-07-03 Andreas Jaeger <aj@suse.de>
41759 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41760 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41761 * math/libm-test.inc (sin_test): Add test case.
41763 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41766 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41767 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41769 * elf/chroot_canon.c (chroot_canon): Cleanups.
41771 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41774 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41775 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41777 * string/test-strchr.c: Make usable for strchrnul testing.
41778 * string/test-strchrnul.c: New file.
41779 * string/Makefile (strop-tests): Add strchrnul.
41781 * po/it.po: Update from translation team.
41782 * po/es.po: Likewise.
41784 2011-10-28 Ulrich Drepper <drepper@gmail.com>
41786 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41787 the three constants needed as parameters. Drop the others.
41788 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41789 __m128i_strloadu_tolower.
41790 Create and initialize variable zero and use it in all the places
41791 where _mm_setzero_si128 was used.
41793 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41794 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41795 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41796 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41798 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41799 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41800 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41801 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41802 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41803 __mpranred, __mptan.
41804 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41805 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41806 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41807 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41808 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41809 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41810 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41811 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41812 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41814 2011-10-28 Andreas Schwab <schwab@redhat.com>
41816 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41817 redefine if SHARED.
41818 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
41820 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
41821 wide char related routines to wcsmbs subdir.
41823 2011-10-27 Andreas Schwab <schwab@redhat.com>
41826 * misc/sys/cdefs.h (__THROWNL): Define.
41827 * posix/unistd.h: Use __THREADNL instead of __THREAD
41828 for memory synchronization functions.
41830 2011-10-26 Roland McGrath <roland@hack.frob.com>
41833 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
41835 * manual/stdio.texi (Obstack Streams): Node removed.
41837 2011-10-26 Andreas Schwab <schwab@redhat.com>
41839 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
41840 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41841 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41843 * math/math_private.h (math_force_eval): Allow non-addressable
41845 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
41847 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41849 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
41850 file is not needed.
41852 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
41853 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
41854 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41855 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41856 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41857 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41858 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41859 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
41861 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
41862 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
41863 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
41864 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
41865 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
41866 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
41867 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
41868 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
41869 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
41870 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
41871 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
41872 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
41873 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
41874 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
41875 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
41876 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
41877 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
41878 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
41879 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
41881 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
41882 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
41884 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
41885 place. Use VEX encoding when compiling for AVX.
41887 2011-10-25 Andreas Schwab <schwab@redhat.com>
41889 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
41890 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41892 * string/test-strchr.c (do_test): Don't generate NUL bytes.
41894 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41896 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
41897 useless if() expression.
41898 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41899 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41900 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41901 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41902 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41903 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41904 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41905 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41906 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41907 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41908 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41909 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41910 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41911 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41912 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41913 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41914 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41915 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41916 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41918 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
41920 2011-10-25 Andreas Schwab <schwab@redhat.com>
41922 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
41924 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41926 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41928 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
41929 .text section. Avoid duplicate constants.
41930 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41931 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41932 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41933 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41934 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41935 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41936 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41937 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41938 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41939 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
41940 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41941 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41942 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41943 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41944 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41945 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41946 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41947 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41948 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41949 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41950 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41951 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41952 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41953 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
41954 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
41955 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
41956 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
41957 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
41958 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
41959 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
41960 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
41961 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
41962 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41963 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
41964 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
41965 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
41966 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
41967 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
41968 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
41969 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
41970 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
41971 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
41972 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
41973 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
41974 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
41976 2011-10-24 Ulrich Drepper <drepper@gmail.com>
41978 * sysdeps/x86_64/dla.h: Move to ...
41979 * sysdeps/x86_64/fpu/dla.h: ...here.
41980 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
41981 situations. Use __builtin_fma only for gcc 4.6 and up.
41983 * config.make.in: Add have-mfma4 entry.
41984 * configure.in: Substitute libc_cv_cc_fma4.
41985 * math/Makefile (dbl-only-routines): Add sincostab.
41986 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
41987 Use __sincostab not sincos.
41988 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
41990 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41991 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41992 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41993 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
41995 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
41996 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
41997 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41998 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42000 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42001 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42003 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
42004 define aliases when function name is a macro.
42005 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42006 sysdeps/ieee754/dbl-64/sincos.tbl.
42007 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42008 fma4-enabled routines.
42009 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42010 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42011 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42012 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42013 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42014 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42015 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42016 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42017 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42018 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42019 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42020 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42021 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42022 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42023 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42024 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42025 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42026 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42027 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42028 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42029 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42030 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42031 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42032 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42033 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42034 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42035 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42036 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42037 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42038 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42040 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42042 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42043 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42044 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42045 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42046 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42047 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42048 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42049 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42051 2011-10-24 Andreas Schwab <schwab@redhat.com>
42053 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42055 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42057 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42059 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42061 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42063 * string/strnlen.c: Don't define STRNLEN, reverse logic.
42064 Remove unused variable magic_bits.
42065 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42067 * string/strnlen.c: Define and use STRNLEN macro.
42068 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42069 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42070 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42071 * wcsmbs/wcslen.c: Define and use WCSLEN.
42072 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42073 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42074 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42075 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42076 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42077 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42078 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42080 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42082 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42083 strnlen-sse2-no-bsf.
42084 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42085 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42086 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42087 Add strnlen support.
42088 (USE_AS_STRNLEN): New macro.
42089 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42090 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42091 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42092 * sysdeps/x86_64/wcslen.S: New file.
42094 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42096 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42097 XMM-moves are used for copying on small sizes.
42099 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42101 * wcsmbs/Makefile (strop-tests): Add wcschr.
42102 * wcsmbs/test-wcschr.c: New file.
42103 * string/test-strchr.c: Update.
42104 Add wcschr support.
42107 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42109 * wcsmbs/Makefile (strop-tests): Add wcslen.
42110 * wcsmbs/test-wcslen.c: New file.
42111 * string/test-strlen.c: Update.
42112 Add wcslen support.
42115 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42117 * po/it.po: Update from translation team.
42119 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42121 * sysdeps/x86_64/wcscmp.S: Update.
42122 Fix wrong comparison semantics.
42123 wcscmp shall use signed comparison not unsigned.
42124 Don't use substraction to avoid overflow bug.
42125 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42126 * wcsmbc/wcscmp.c: Likewise.
42127 * string/test-strcmp.c: Likewise.
42128 Add new tests to check cases with negative values.
42130 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42132 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42133 * sysdeps/x86_64/dla.h: ...here. New file.
42134 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42135 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42136 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42137 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42138 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42139 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42140 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42141 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42142 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42144 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
42146 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42147 __ynl_finite aliases.
42149 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42151 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42153 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42155 [DLA_FMA] (EMULV): Use DLA_FMA.
42156 [DLA_FMA] (MUL12): Use EMULV.
42157 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42158 that are not needed.
42159 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42160 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42161 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42162 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42163 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42164 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42165 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42167 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
42169 * math/s_nan.c: Undef __nan.
42170 * math/s_nanf.c: Undef __nanf.
42171 * math/s_nanl.c: Undef __nanl.
42172 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42175 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42177 * math/s_catan.c: Add branch predictions.
42178 * math/s_catanf.c: Likewise.
42179 * math/s_catanh.c: Likewise.
42180 * math/s_catanhf.c: Likewise.
42181 * math/s_catanhl.c: Likewise.
42182 * math/s_catanl.c: Likewise.
42183 * math/s_cexp.c: Likewise.
42184 * math/s_cexpf.c: Likewise.
42185 * math/s_cexpl.c: Likewise.
42186 * math/s_clog.c: Likewise.
42187 * math/s_clog10.c: Likewise.
42188 * math/s_clog10f.c: Likewise.
42189 * math/s_clog10l.c: Likewise.
42190 * math/s_clogf.c: Likewise.
42191 * math/s_clogl.c: Likewise.
42192 * math/s_csqrt.c: Likewise.
42193 * math/s_csqrtf.c: Likewise.
42194 * math/s_csqrtl.c: Likewise.
42195 * math/s_ctanf.c: Likewise.
42196 * math/s_ctanh.c: Likewise.
42197 * math/s_ctanhf.c: Likewise.
42198 * math/s_ctanhl.c: Likewise.
42199 * math/s_ctanl.c: Likewise.
42201 * math/math_private.h: Define __nan, __nanf, __nanl.
42202 * math/s_cacosh.c: Include <math_private.h>.
42203 * math/s_cacoshl.c: Likewise.
42204 * math/s_casinh.c: Likewise.
42205 * math/s_casinhf.c: Likewise.
42206 * math/s_casinhl.c: Likewise.
42207 * math/s_ccos.c: Rely entire on ccosh.
42208 * math/s_ccosf.c: Rely entire on ccoshf.
42209 * math/s_ccosl.c: Rely entirely on ccoshl.
42210 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
42211 Remove tests for FE_INVALID.
42212 * math/s_ccoshf.c: Likewise.
42213 * math/s_ccoshl.c: Likewise.
42214 * math/s_csin.c: Likewise.
42215 * math/s_csinf.c: Likewise.
42216 * math/s_csinh.c Likewise.
42217 * math/s_csinhf.c: Likewise.
42218 * math/s_csinhl.c: Likewise.
42219 * math/s_csinl.c: Likewise.
42220 * math/s_ctan.c: Likewise.
42221 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42222 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42223 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42225 2011-10-21 Ulrich Drepper <drepper@gmail.com>
42227 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42228 compilation problems.
42230 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42233 2011-10-20 Ulrich Drepper <drepper@gmail.com>
42235 * sysdeps/i386/configure.in: Test for -mfma4 option.
42236 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42237 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42238 COMMON_CPUID_INDEX_80000001.
42239 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42240 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42241 use it if FMA3 is not supported.
42242 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42244 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42245 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42247 2011-10-20 Andreas Schwab <schwab@redhat.com>
42250 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42251 it would create a cycle with a link time dependency.
42253 2011-10-19 Ulrich Drepper <drepper@gmail.com>
42255 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42257 * string/Makefile (strop-tests): Add rawmemchr.
42258 * string/test-rawmemchr.c: New file.
42260 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42261 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
42262 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
42263 when compiling str{,n}casecmp and when AVX is available. Hook up
42264 new optimized code in initializers.
42266 2011-10-19 Andreas Schwab <schwab@redhat.com>
42268 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42269 __feraiseexcept instead of feraiseexcept.
42271 2011-10-18 Ulrich Drepper <drepper@gmail.com>
42273 * math/math_private.h: Define defaults for libc_fetestexcept and
42275 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42276 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42277 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42278 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42279 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42280 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42281 libc_fetestexcept and libc_feupdateenv.
42283 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42284 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42285 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42286 * sysdeps/x86_64/fpu/math_private.h: Define special version of
42287 libc_feholdexcept_setround.
42289 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42290 Add s_nearbyint-c and s_nearbyintf-c.
42291 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42292 nearbyintf inlines.
42293 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42294 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42295 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42296 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42298 * math/math_private.h: Define defaults for libc_fegetround,
42299 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42300 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42301 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42302 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42303 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42304 standard functions.
42305 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42306 Remove comments and hacks for old compiler versions.
42307 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42308 libc_fegetround, libc_fesetround, libc_feholdexcept, and
42309 libc_feholdexceptl.
42311 2011-10-18 Andreas Schwab <schwab@redhat.com>
42313 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42314 (__feraiseexcept_renamed): Add __NTH.
42315 (feraiseexcept): Add __NTH. Rename local variables to fix
42316 namespace violations.
42318 2011-10-17 Ulrich Drepper <drepper@gmail.com>
42320 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42322 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42324 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42325 recently added interfaces.
42326 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42328 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42329 about macro parameter expansion.
42331 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42332 __NO_MATH_INLINES is defined. Cleanups.
42334 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42335 and __floorf is target has SSE4.1.
42336 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42337 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42338 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42339 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42341 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42343 (floorf): Likewise.
42345 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42347 2011-10-17 Andreas Schwab <schwab@redhat.com>
42349 * misc/sys/cdefs.h: Fix last change.
42351 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42354 2011-10-16 Ulrich Drepper <drepper@gmail.com>
42356 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42358 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42359 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42360 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42361 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42362 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42363 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42364 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42365 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42366 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42367 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42368 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42369 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42370 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42371 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42372 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42373 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42374 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42375 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42376 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42377 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42378 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42379 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42381 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42382 ceil, ceilf, floor, floorf.
42384 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42385 Perform IRELATIVE relocations last.
42387 * elf/do-rel.h: Add another parameter nrelative, replacing the
42388 local variable with the same name. Change name of the function
42389 to end in Rel or Rela (uppercase).
42390 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42391 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
42392 elf_dynamic_do_##reloc function.
42394 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42396 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42397 is sufficient, at least on modern CPUs.
42399 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42401 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42402 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42404 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42406 * math/bits/math-finite.h: Add entries for exp.
42407 * math/e_expl.c: Add __*_finite alias.
42408 * sysdeps/i386/fpu/e_exp.S: Likewise.
42409 * sysdeps/i386/fpu/e_expf.S: Likewise.
42410 * sysdeps/i386/fpu/e_expl.c: Likewise.
42411 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42412 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42413 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42414 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42415 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42416 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42417 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42419 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42420 is sufficient, at least on modern CPUs.
42422 * ctype/ctype-info.c (__ctype_init): Define.
42423 * include/ctype.h (__ctype_init): Declare.
42424 (__ctype_b_loc): The variable is always initialized.
42425 (__ctype_toupper_loc): Likewise.
42426 (__ctype_tolower_loc): Likewise.
42427 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42428 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42430 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
42432 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42434 * configure.in: Also look in $cxxmachine/include for C++ system
42437 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42439 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42440 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42441 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42442 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
42443 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42444 (USE_AS_WMEMCMP): New macro.
42446 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42447 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42448 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42449 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42450 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42451 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42452 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42453 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42454 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42455 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42456 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42457 (USE_AS_WMEMCMP): New macro.
42458 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42459 * sysdeps/string/test-memcmp.c: Update.
42460 Fix simple_wmemcmp.
42462 * wcsmbs/wmemcmp.c: Update.
42463 (WMEMCMP): New macro.
42466 2011-10-12 Andreas Jaeger <aj@suse.de>
42469 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42471 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42473 * libio/iofwide.c (do_length): Avoid warning.
42475 * ctype/ctype.h (__isctype_f): Add missing __THROW.
42477 2011-10-14 Ulrich Drepper <drepper@gmail.com>
42479 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42481 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42482 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42483 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42484 * sysdeps/i386/i686/fpu/e_log.S: New file.
42485 * sysdeps/i386/i686/fpu/e_logf.S: New file.
42486 * sysdeps/i386/i686/fpu/e_logl.S: New file.
42488 * ctype/ctype.h: Add support for inlined isXXX functions when
42489 compiling C++ code.
42491 2011-10-14 Andreas Schwab <schwab@redhat.com>
42493 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42495 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42497 2011-10-13 Roland McGrath <roland@hack.frob.com>
42500 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42502 2011-10-13 Andreas Schwab <schwab@redhat.com>
42504 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42505 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42508 * sysdeps/x86_64/memrchr.S: Check for zero size.
42510 * string/stratcliff.c: Add memrchr tests.
42512 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42514 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42515 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42516 rawmemchr-sse2 rawmemchr-sse2-bsf.
42517 * sysdeps/i386/i686/multiarch/memchr.S: New file.
42518 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42519 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42520 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42521 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42522 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42523 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42524 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42525 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42526 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42527 * string/memrchr.c (MEMRCHR): New macro.
42529 2011-10-12 Ulrich Drepper <drepper@gmail.com>
42531 Add integration with gcc's -ffinite-math-only and optimize wrapper
42533 * Versions.def: Define GLIBC_2.15 version for libm.
42534 * math/Makefile (headers): Add bits/math-finite.h.
42535 * math/bits/math-finite.h: New file.
42536 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42537 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42538 * math/e_acoshl.c: Add __*_finite alias.
42539 * math/e_acosl.c: Likewise.
42540 * math/e_asinl.c: Likewise.
42541 * math/e_atan2l.c: Likewise.
42542 * math/e_atanhl.c: Likewise.
42543 * math/e_coshl.c: Likewise.
42544 * math/e_exp10.c: Likewise.
42545 * math/e_exp10f.c: Likewise.
42546 * math/e_exp10l.c: Likewise.
42547 * math/e_exp2l.c: Likewise.
42548 * math/e_fmodl.c: Likewise.
42549 * math/e_gammal_r.c: Likewise.
42550 * math/e_hypotl.c: Likewise.
42551 * math/e_j0l.c: Likewise.
42552 * math/e_j1l.c: Likewise.
42553 * math/e_jnl.c: Likewise.
42554 * math/e_lgammal_r.c: Likewise.
42555 * math/e_log10l.c: Likewise.
42556 * math/e_log2l.c: Likewise.
42557 * math/e_logl.c: Likewise.
42558 * math/e_powl.c: Likewise.
42559 * math/e_sinhl.c: Likewise.
42560 * math/e_sqrtl.c: Likewise.
42561 * math/e_scalb.c: Completely rewritten and optimized.
42562 * math/e_scalbf.c: Likewise.
42563 * math/e_scalbl.c: Likewise.
42564 * math/w_acos.c: Likewise.
42565 * math/w_acosf.c: Likewise.
42566 * math/w_acosl.c: Likewise.
42567 * math/w_acosh.c: Likewise.
42568 * math/w_acoshf.c: Likewise.
42569 * math/w_acoshl.c: Likewise.
42570 * math/w_asin.c: Likewise.
42571 * math/w_asinf.c: Likewise.
42572 * math/w_asinl.c: Likewise.
42573 * math/w_atan2.c: Likewise.
42574 * math/w_atan2f.c: Likewise.
42575 * math/w_atan2l.c: Likewise.
42576 * math/w_atanh.c: Likewise.
42577 * math/w_atanhf.c: Likewise.
42578 * math/w_atanhl.c: Likewise.
42579 * math/w_exp10.c: Likewise.
42580 * math/w_exp10f.c: Likewise.
42581 * math/w_exp10l.c: Likewise.
42582 * math/w_fmod.c: Likewise.
42583 * math/w_fmodf.c: Likewise.
42584 * math/w_fmodl.c: Likewise.
42585 * math/w_j0.c: Likewise.
42586 * math/w_j0f.c: Likewise.
42587 * math/w_j0l.c: Likewise.
42588 * math/w_j1.c: Likewise.
42589 * math/w_j1f.c: Likewise.
42590 * math/w_j1l.c: Likewise.
42591 * math/w_jn.c: Likewise.
42592 * math/w_jnf.c: Likewise.
42593 * math/w_log.c: Likewise.
42594 * math/w_logf.c: Likewise.
42595 * math/w_logl.c: Likewise.
42596 * math/w_log10.c: Likewise.
42597 * math/w_log10f.c: Likewise.
42598 * math/w_log10l.c: Likewise.
42599 * math/w_log2.c: Likewise.
42600 * math/w_log2f.c: Likewise.
42601 * math/w_log2l.c: Likewise.
42602 * math/w_pow.c: Likewise.
42603 * math/w_powf.c: Likewise.
42604 * math/w_powl.c: Likewise.
42605 * math/w_remainder.c: Likewise.
42606 * math/w_remainderf.c: Likewise.
42607 * math/w_remainderl.c: Likewise.
42608 * math/w_scalb.c: Likewise.
42609 * math/w_scalbf.c: Likewise.
42610 * math/w_scalbl.c: Likewise.
42611 * math/w_sqrt.c: Likewise.
42612 * math/w_sqrtf.c: Likewise.
42613 * math/w_sqrtl.c: Likewise.
42614 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42615 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
42617 * math/math_private.h: Declare __kernel_standard_f.
42618 * math/w_cosh.c: Remove cruft and optimize a bit.
42619 * math/w_coshf.c: Likewise.
42620 * math/w_coshl.c: Likewise.
42621 * math/w_exp2.c: Likewise.
42622 * math/w_exp2f.c: Likewise.
42623 * math/w_exp2l.c: Likewise.
42624 * math/w_hypot.c: Likewise.
42625 * math/w_hypotf.c: Likewise.
42626 * math/w_hypotl.c: Likewise.
42627 * math/w_lgamma.c: Likewise.
42628 * math/w_lgamma_r.c: Likewise.
42629 * math/w_lgammaf.c: Likewise.
42630 * math/w_lgammaf_r.c: Likewise.
42631 * math/w_lgammal.c: Likewise.
42632 * math/w_lgammal_r.c: Likewise.
42633 * math/w_sinh.c: Likewise.
42634 * math/w_sinhf.c: Likewise.
42635 * math/w_sinhl.c: Likewise.
42636 * math/w_tgamma.c: Likewise.
42637 * math/w_tgammaf.c: Likewise.
42638 * math/w_tgammal.c: Likewise.
42639 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42640 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42641 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42642 Minor optimizations. Pretty printing. Remove cruft.
42643 * sysdeps/i386/fpu/e_acosf.S: Likewise.
42644 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42645 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42646 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42647 * sysdeps/i386/fpu/e_acosl.c: Likewise.
42648 * sysdeps/i386/fpu/e_asin.S: Likewise.
42649 * sysdeps/i386/fpu/e_asinf.S: Likewise.
42650 * sysdeps/i386/fpu/e_atan2.S: Likewise.
42651 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42652 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42653 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42654 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42655 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42656 * sysdeps/i386/fpu/e_exp10.S: Likewise.
42657 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42658 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42659 * sysdeps/i386/fpu/e_exp2.S: Likewise.
42660 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42661 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42662 * sysdeps/i386/fpu/e_fmod.S: Likewise.
42663 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42664 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42665 * sysdeps/i386/fpu/e_hypot.S: Likewise.
42666 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42667 * sysdeps/i386/fpu/e_log.S: Likewise.
42668 * sysdeps/i386/fpu/e_log10.S: Likewise.
42669 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42670 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42671 * sysdeps/i386/fpu/e_log2.S: Likewise.
42672 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42673 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42674 * sysdeps/i386/fpu/e_logf.S: Likewise.
42675 * sysdeps/i386/fpu/e_logl.S: Likewise.
42676 * sysdeps/i386/fpu/e_pow.S: Likewise.
42677 * sysdeps/i386/fpu/e_powf.S: Likewise.
42678 * sysdeps/i386/fpu/e_powl.S: Likewise.
42679 * sysdeps/i386/fpu/e_remainder.S: Likewise.
42680 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42681 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42682 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42683 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42684 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42685 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42686 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42687 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42688 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42689 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42690 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42691 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42692 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42693 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42694 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42695 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42696 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42697 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42698 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42699 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42700 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42701 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42702 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42703 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42704 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42705 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42706 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42707 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42708 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42709 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42710 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42711 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42712 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42713 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42714 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42715 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42716 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42717 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42718 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42719 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42720 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42721 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42722 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42723 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42724 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42725 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42726 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42727 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42728 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42729 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42730 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42731 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42732 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42733 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42734 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42735 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42736 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42737 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42738 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42739 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42740 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42741 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42742 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42743 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42744 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42745 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42746 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42747 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42748 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42749 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42750 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42751 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42752 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42753 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42754 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42755 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42756 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42757 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42758 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42759 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42760 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42761 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42762 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42763 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42764 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42765 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42766 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42767 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42768 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42769 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42770 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42771 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42772 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42773 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42774 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42775 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42776 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42777 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42778 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42779 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42780 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42781 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42782 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42783 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42784 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42785 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42786 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42787 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42788 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42789 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42790 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42791 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42792 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42793 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42794 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42795 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42796 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42797 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42798 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
42799 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42800 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42801 (__isnanf): Likewise.
42802 (__isinf_ns): Likewise.
42803 (__isinf_nsf): Likewise.
42804 (__finite): Likewise.
42805 (__finitef): Likewise.
42806 (__ieee754_sqrt): Define as macro.
42807 (__ieee754_sqrtf): Define as macro.
42808 (__ieee754_sqrtl): Define as macro.
42809 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42811 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42812 __FINITE_MATH_ONLY__ consistent.
42813 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42815 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
42817 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
42820 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
42822 2011-10-09 Ulrich Drepper <drepper@gmail.com>
42824 * po/ja.po: Update from translation team.
42826 2011-10-08 Roland McGrath <roland@hack.frob.com>
42828 * locale/programs/locarchive.c (prepare_address_space): New function.
42829 (create_archive, enlarge_archive, open_archive): Use it.
42831 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
42832 inside [SHARED], where it is used.
42834 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
42836 * nss/getent.c (netgroup_keys): Remove unused variable.
42837 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42839 2011-10-08 Ulrich Drepper <drepper@gmail.com>
42841 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
42842 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
42843 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
42844 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
42845 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
42846 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
42847 * math/Makefile (libm-calls): Add s_isinf_ns.
42848 * math/divtc3.c: Use __isinf_nsl instead of isinf.
42849 * math/multc3.c: Likewise.
42850 * math/s_casin.c: Likewise.
42851 * math/s_casinf.c: Likewise.
42852 * math/s_casinl.c: Likewise.
42853 * math/s_ccos.c: Likewise.
42854 * math/s_ccosf.c: Likewise.
42855 * math/s_ccosl.c: Likewise.
42856 * math/s_ctan.c: Likewise.
42857 * math/s_ctanf.c: Likewise.
42858 * math/s_ctanh.c: Likewise.
42859 * math/s_ctanhf.c: Likewise.
42860 * math/s_ctanhl.c: Likewise.
42861 * math/s_ctanl.c: Likewise.
42862 * math/w_fmod.c: Likewise.
42863 * math/w_fmodf.c: Likewise.
42864 * math/w_fmodl.c: Likewise.
42865 * math/w_remainder.c: Likewise.
42866 * math/w_remainderf.c: Likewise.
42867 * math/w_remainderl.c: Likewise.
42868 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
42869 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
42870 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
42871 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
42872 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
42873 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
42874 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
42875 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
42877 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
42879 * stdio-common/printf_fphex.c: Likewise.
42880 * stdio-common/printf_size.c: Likewise.
42882 * math/e_exp10.c: Include math_private.h using <...> not "...".
42883 * math/e_exp10f.c: Likewise.
42884 * math/e_exp10l.c: Likewise.
42885 * math/e_exp2l.c: Likewise.
42886 * math/e_j0l.c: Likewise.
42887 * math/e_j1l.c: Likewise.
42888 * math/e_jnl.c: Likewise.
42889 * math/e_lgammal_r.c: Likewise.
42890 * math/e_rem_pio2l.c: Likewise.
42891 * math/e_scalb.c: Likewise.
42892 * math/e_scalbf.c: Likewise.
42893 * math/e_scalbl.c: Likewise.
42894 * math/k_cosl.c: Likewise.
42895 * math/k_sinl.c: Likewise.
42896 * math/k_tanl.c: Likewise.
42897 * math/s_cacoshf.c: Likewise.
42898 * math/s_catan.c: Likewise.
42899 * math/s_catanf.c: Likewise.
42900 * math/s_catanh.c: Likewise.
42901 * math/s_catanhf.c: Likewise.
42902 * math/s_catanhl.c: Likewise.
42903 * math/s_catanl.c: Likewise.
42904 * math/s_ccosh.c: Likewise.
42905 * math/s_ccoshf.c: Likewise.
42906 * math/s_ccoshl.c: Likewise.
42907 * math/s_cexp.c: Likewise.
42908 * math/s_cexpf.c: Likewise.
42909 * math/s_cexpl.c: Likewise.
42910 * math/s_clog.c: Likewise.
42911 * math/s_clog10.c: Likewise.
42912 * math/s_clog10f.c: Likewise.
42913 * math/s_clog10l.c: Likewise.
42914 * math/s_clogf.c: Likewise.
42915 * math/s_clogl.c: Likewise.
42916 * math/s_csin.c: Likewise.
42917 * math/s_csinf.c: Likewise.
42918 * math/s_csinh.c: Likewise.
42919 * math/s_csinhf.c: Likewise.
42920 * math/s_csinhl.c: Likewise.
42921 * math/s_csinl.c: Likewise.
42922 * math/s_csqrt.c: Likewise.
42923 * math/s_csqrtf.c: Likewise.
42924 * math/s_csqrtl.c: Likewise.
42925 * math/s_ctan.c: Likewise.
42926 * math/s_ctanf.c: Likewise.
42927 * math/s_ctanh.c: Likewise.
42928 * math/s_ctanhf.c: Likewise.
42929 * math/s_ctanhl.c: Likewise.
42930 * math/s_ctanl.c: Likewise.
42931 * math/s_ldexp.c: Likewise.
42932 * math/s_ldexpf.c: Likewise.
42933 * math/s_ldexpl.c: Likewise.
42934 * math/s_significand.c: Likewise.
42935 * math/s_significandf.c: Likewise.
42936 * math/s_significandl.c: Likewise.
42937 * math/w_acos.c: Likewise.
42938 * math/w_acosf.c: Likewise.
42939 * math/w_acosh.c: Likewise.
42940 * math/w_acoshf.c: Likewise.
42941 * math/w_acoshl.c: Likewise.
42942 * math/w_acosl.c: Likewise.
42943 * math/w_asin.c: Likewise.
42944 * math/w_asinf.c: Likewise.
42945 * math/w_asinl.c: Likewise.
42946 * math/w_atan2.c: Likewise.
42947 * math/w_atan2f.c: Likewise.
42948 * math/w_atan2l.c: Likewise.
42949 * math/w_atanh.c: Likewise.
42950 * math/w_atanhf.c: Likewise.
42951 * math/w_atanhl.c: Likewise.
42952 * math/w_cosh.c: Likewise.
42953 * math/w_coshf.c: Likewise.
42954 * math/w_coshl.c: Likewise.
42955 * math/w_dremf.c: Likewise.
42956 * math/w_exp10.c: Likewise.
42957 * math/w_exp10f.c: Likewise.
42958 * math/w_exp10l.c: Likewise.
42959 * math/w_exp2.c: Likewise.
42960 * math/w_exp2f.c: Likewise.
42961 * math/w_fmod.c: Likewise.
42962 * math/w_fmodf.c: Likewise.
42963 * math/w_fmodl.c: Likewise.
42964 * math/w_hypot.c: Likewise.
42965 * math/w_hypotf.c: Likewise.
42966 * math/w_hypotl.c: Likewise.
42967 * math/w_j0.c: Likewise.
42968 * math/w_j0f.c: Likewise.
42969 * math/w_j0l.c: Likewise.
42970 * math/w_j1.c: Likewise.
42971 * math/w_j1f.c: Likewise.
42972 * math/w_j1l.c: Likewise.
42973 * math/w_jn.c: Likewise.
42974 * math/w_jnf.c: Likewise.
42975 * math/w_jnl.c: Likewise.
42976 * math/w_lgamma.c: Likewise.
42977 * math/w_lgamma_r.c: Likewise.
42978 * math/w_lgammaf.c: Likewise.
42979 * math/w_lgammaf_r.c: Likewise.
42980 * math/w_lgammal.c: Likewise.
42981 * math/w_lgammal_r.c: Likewise.
42982 * math/w_log.c: Likewise.
42983 * math/w_log10.c: Likewise.
42984 * math/w_log10f.c: Likewise.
42985 * math/w_log10l.c: Likewise.
42986 * math/w_log2.c: Likewise.
42987 * math/w_log2f.c: Likewise.
42988 * math/w_log2l.c: Likewise.
42989 * math/w_logf.c: Likewise.
42990 * math/w_logl.c: Likewise.
42991 * math/w_pow.c: Likewise.
42992 * math/w_powf.c: Likewise.
42993 * math/w_powl.c: Likewise.
42994 * math/w_remainder.c: Likewise.
42995 * math/w_remainderf.c: Likewise.
42996 * math/w_remainderl.c: Likewise.
42997 * math/w_scalb.c: Likewise.
42998 * math/w_scalbf.c: Likewise.
42999 * math/w_scalbl.c: Likewise.
43000 * math/w_sinh.c: Likewise.
43001 * math/w_sinhf.c: Likewise.
43002 * math/w_sinhl.c: Likewise.
43003 * math/w_sqrt.c: Likewise.
43004 * math/w_sqrtf.c: Likewise.
43005 * math/w_sqrtl.c: Likewise.
43006 * math/w_tgamma.c: Likewise.
43007 * math/w_tgammaf.c: Likewise.
43008 * math/w_tgammal.c: Likewise.
43010 * po/ja.po: Update from translation team.
43012 2011-09-29 Andreas Jaeger <aj@suse.de>
43015 * sunrpc/netname.c (netname2host): Fix logic.
43019 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43021 * math/w_remainder.c (__remainder): Likewise.
43022 * math/w_remainderf.c (__remainderf): Likewise.
43023 * math/libm-test.inc (remainder_test): Add test cases.
43025 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43027 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
43030 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43032 * string/test-memcmp.c: Avoid unncessary #defines.
43033 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43035 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43037 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43038 Use new sse2 version for core i3 - i7 as it's faster
43039 than sse42 version.
43040 (bit_Prefer_PMINUB_for_stringop): New.
43041 * sysdeps/x86_64/rawmemchr.S: Update.
43042 Replace with faster SSE2 version.
43043 * sysdeps/x86_64/memrchr.S: New file.
43044 * sysdeps/x86_64/memchr.S: Update.
43045 Replace with faster SSE2 version.
43047 2011-09-12 Marek Polacek <mpolacek@redhat.com>
43049 * elf/dl-load.c (lose): Add cast to avoid warning.
43051 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43053 * po/ca.po: Update from translation team.
43055 * inet/getnetgrent_r.c: Hook up nscd.
43056 * nscd/Makefile (routines): Add nscd_netgroup.
43057 (nscd-modules): Add netgroupcache.
43058 (CFLAGS-netgroupcache.c): Define.
43059 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43060 (cache_search): Add const to second parameter.
43061 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43063 (dbs): Add netgrdb entry.
43064 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43065 (verify_persistent_db): Handle netgrdb.
43066 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43067 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43069 (netgroup_response_header): Define.
43070 (innetgroup_response_header): Define.
43071 (datahead): Add netgroup_response_header and innetgroup_response_header
43073 * nscd/nscd.conf: Add entries for netgroup cache.
43074 * nscd/nscd.h (dbtype): Add netgrdb.
43075 (_PATH_NSCD_NETGROUP_DB): Define.
43076 (netgroup_iov_disabled): Declare.
43077 (xmalloc, xcalloc, xrealloc): Move declarations here.
43078 (cache_search): Adjust prototype.
43079 Add netgroup-related prototypes.
43080 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43081 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43082 (__nscd_innetgr): Declare.
43083 * nscd/selinux.c (perms): Use access_vector_t as element type and
43084 add netgroup-related initializers.
43085 * nscd/netgroupcache.c: New file.
43086 * nscd/nscd_netgroup.c: New file.
43087 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43088 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43089 For four parameters use innetgr.
43090 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43091 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43092 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43093 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43095 * nscd/connections.c (register_traced_file): Don't register file
43096 for disabled databases.
43098 2011-10-06 Ulrich Drepper <drepper@gmail.com>
43100 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43102 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43103 from tree and freeing node.
43105 2011-09-25 Jiri Olsa <jolsa@redhat.com>
43107 * nss/nsswitch.c (__nss_database_lookup): Handle
43108 nss_parse_service_list out of memory case.
43110 2011-09-15 Jiri Olsa <jolsa@redhat.com>
43112 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43113 out of memory case.
43115 2011-10-04 Andreas Schwab <schwab@redhat.com>
43117 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43118 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43120 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43121 elf_machine_rela, elf_machine_lazy_rel.
43122 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43123 (ELF_DYNAMIC_DO_REL): Likewise.
43124 (ELF_DYNAMIC_DO_RELA): Likewise.
43125 (ELF_DYNAMIC_RELOCATE): Likewise.
43126 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43127 to ELF_DYNAMIC_DO_REL.
43128 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43129 (dl_main): In trace mode always set __RTLD_NOIFUNC.
43130 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43132 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43133 skip_ifunc, don't call ifunc function if non-zero.
43134 (elf_machine_rela): Likewise.
43135 (elf_machine_lazy_rel): Likewise.
43136 (elf_machine_lazy_rela): Likewise.
43137 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43138 (elf_machine_lazy_rel): Likewise.
43139 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43141 (elf_machine_lazy_rel): Likewise.
43142 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43144 (elf_machine_lazy_rel): Likewise.
43145 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43146 (elf_machine_lazy_rel): Likewise.
43147 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43148 (elf_machine_lazy_rel): Likewise.
43149 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43150 (elf_machine_lazy_rel): Likewise.
43151 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43152 (elf_machine_lazy_rel): Likewise.
43153 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43154 (elf_machine_lazy_rel): Likewise.
43155 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43156 (elf_machine_lazy_rel): Likewise.
43158 2011-09-28 Ulrich Drepper <drepper@gmail.com>
43160 * nss/nss_files/files-init.c (_nss_files_init): Use static
43161 initialization for all the *_traced_file variables.
43163 2011-09-28 Andreas Schwab <schwab@redhat.com>
43165 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43167 2011-09-27 Roland McGrath <roland@hack.frob.com>
43170 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43172 2011-09-27 Andreas Schwab <schwab@redhat.com>
43174 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43175 Reread the line before reparsing it.
43177 2011-09-26 Andreas Schwab <schwab@redhat.com>
43179 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43181 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
43182 Maxim Kuvyrkov <maxim@codesourcery.com>
43183 Joseph Myers <joseph@codesourcery.com>
43185 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43186 if needed for __stack_chk_guard.
43188 2011-09-19 Roland McGrath <roland@hack.frob.com>
43190 * sysdeps/posix/spawni.c (script_execute): Always define it.
43191 It will be optimized away if unused.
43192 (maybe_script_execute): New function.
43193 (__spawni): Call it.
43195 * Makerules: Don't include tls.make.
43196 (config-tls): Always set to thread.
43197 * tls.make.c: File removed.
43199 2011-09-19 Mike Frysinger <vapier@gentoo.org>
43201 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43202 * config.make.in (CPPFLAGS-config): New substituted variable.
43204 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43206 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43209 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43210 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43212 2011-09-15 Roland McGrath <roland@hack.frob.com>
43214 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43215 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43216 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43217 (CALL_FAIL): Likewise.
43218 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43219 (CALL_FAIL): Macro removed.
43220 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43222 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43224 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43225 for __FINITE_MATH_ONLY__ == 1.
43227 2011-09-15 Andreas Schwab <schwab@redhat.com>
43229 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43230 __ieee754_sqrt instead of sqrt.
43231 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43232 __ieee754_sqrtf instead of sqrtf.
43233 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43234 __floorf instead of floorf.
43235 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43236 __floorf, __truncf instead of floorf, truncf.
43238 2011-09-14 Ulrich Drepper <drepper@gmail.com>
43240 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43242 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43243 __extern_always_inline.
43244 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43247 2011-09-14 Andreas Schwab <schwab@redhat.com>
43249 * elf/rtld.c (dl_main): Also relocate in dependency order when
43250 doing symbol dependency testing.
43252 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
43254 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43255 Always define `refsym'.
43257 2011-09-13 Andreas Schwab <schwab@redhat.com>
43259 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43260 (__FD_ELT): Renamed from __FDELT.
43261 * misc/bits/select2.h (__FD_ELT): Likewise.
43262 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43263 __FD_MASK instead of __FDELT, __FDMASK.
43264 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43266 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43269 * elf/Makefile (gen-ldd): Fix pattern.
43271 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43272 (init_tls): Likewise.
43274 2011-09-12 Ulrich Drepper <drepper@gmail.com>
43276 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43278 2011-09-12 Andreas Schwab <schwab@redhat.com>
43280 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43281 `struct cmsghdr *' instead of `void *'.
43282 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43285 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
43287 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43289 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43290 ldd_rewrite_script.
43292 2011-09-11 Ulrich Drepper <drepper@gmail.com>
43294 * configure.in: Remove --with-tls option.
43295 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43296 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43297 out in case it is missing.
43298 * sysdeps/ia64/elf/configure.in: Likewise.
43299 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43300 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43301 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43302 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43303 * sysdeps/sh/elf/configure.in: Likewise.
43304 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43305 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43306 * sysdeps/x86_64/elf/configure.in: Likewise.
43307 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43308 * sysdeps/mach/hurd/tls.h: Likewise.
43311 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43314 * configure.in: Fix use of AC_INIT.
43316 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43318 2011-09-10 Ulrich Drepper <drepper@gmail.com>
43320 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43322 * malloc/hooks.c: Likewise.
43325 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
43326 variables statically.
43327 (narenas): Initialize.
43328 (list_lock): Initialize.
43329 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
43330 initializtion of main_arena and list_lock. Small cleanups.
43331 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43332 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
43333 Add initializers to main_arena and mp_.
43334 (malloc_state): Remove pagesize member. Change all users to use
43337 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43338 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
43339 is always initialized.
43341 * malloc/malloc.c: Removed unused configurations and dead code.
43342 * malloc/arena.c: Likewise.
43343 * malloc/hooks.c: Likewise.
43344 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43346 * include/tls.h: Removed. USE___THREAD must always be defined.
43347 * bits/libc-tsd.h: Don't handle !USE___THREAD.
43348 * elf/dl-libc.c: Likewise.
43349 * elf/dl-tsd.c: Likewise.
43350 * include/errno.h: Likewise.
43351 * include/netdb.h: Likewise.
43352 * include/resolv.h: Likewise.
43353 * inet/herrno-loc.c: Likewise.
43354 * inet/herrno.c: Likewise.
43355 * malloc/arena.c: Likewise.
43356 * malloc/hooks.c: Likewise.
43357 * malloc/malloc.c: Likewise.
43358 * resolv/res-state.c: Likewise.
43359 * resolv/res_libc.c: Likewise.
43360 * sysdeps/i386/dl-machine.h: Likewise.
43361 * sysdeps/ia64/dl-machine.h: Likewise.
43362 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43363 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43364 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43365 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43366 * sysdeps/sh/dl-machine.h: Likewise.
43367 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43368 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43369 * sysdeps/unix/i386/sysdep.S: Likewise.
43370 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43371 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43372 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43373 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43374 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43375 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43376 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43377 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43378 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43379 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43380 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43381 * sysdeps/x86_64/dl-machine.h: Likewise.
43382 * tls.make.c: Likewise.
43384 * configure.in: Remove --with-__thread option. Make tests for
43385 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43386 tls_model attribute fail if no support is available. Remove
43388 * Makeconfig: Adjust for dropped configure option. All features are
43390 * Makerules: Likewise.
43391 * Versions.def: Likewise.
43392 * argp/argp-fmtstream.c: Likewise.
43393 * argp/argp-fmtstream.h: Likewise.
43394 * argp/argp-help.c: Likewise.
43395 * assert/assert.c: Likewise.
43396 * config.h.in: Likewise.
43397 * config.make.in: Likewise.
43398 * configure: Likewise.
43399 * configure.in: Likewise.
43400 * csu/Versions: Likewise.
43401 * csu/init.c: Likewise.
43402 * elf/tst-audit2.c: Likewise.
43403 * elf/tst-tls10.c: Likewise.
43404 * elf/tst-tls10.h: Likewise.
43405 * elf/tst-tls11.c: Likewise.
43406 * elf/tst-tls12.c: Likewise.
43407 * elf/tst-tls14.c: Likewise.
43408 * elf/tst-tlsmod11.c: Likewise.
43409 * elf/tst-tlsmod12.c: Likewise.
43410 * elf/tst-tlsmod13.c: Likewise.
43411 * elf/tst-tlsmod13a.c: Likewise.
43412 * elf/tst-tlsmod14a.c: Likewise.
43413 * elf/tst-tlsmod15b.c: Likewise.
43414 * elf/tst-tlsmod16a.c: Likewise.
43415 * elf/tst-tlsmod16b.c: Likewise.
43416 * elf/tst-tlsmod7.c: Likewise.
43417 * elf/tst-tlsmod8.c: Likewise.
43418 * elf/tst-tlsmod9.c: Likewise.
43419 * gmon/gmon.c: Likewise.
43420 * grp/fgetgrent_r.c: Likewise.
43421 * grp/putgrent.c: Likewise.
43422 * hurd/fopenport.c: Likewise.
43423 * include/libc-symbols.h: Likewise.
43424 * include/tls.h: Likewise.
43425 * intl/gettextP.h: Likewise.
43426 * intl/loadinfo.h: Likewise.
43427 * locale/global-locale.c: Likewise.
43428 * locale/localeinfo.h: Likewise.
43429 * mach/devstream.c: Likewise.
43430 * malloc/arena.c: Likewise.
43431 * malloc/set-freeres.c: Likewise.
43432 * misc/err.c: Likewise.
43433 * misc/getttyent.c: Likewise.
43434 * misc/mntent_r.c: Likewise.
43435 * posix/getopt.c: Likewise.
43436 * posix/wordexp.c: Likewise.
43437 * pwd/fgetpwent_r.c: Likewise.
43438 * resolv/Versions: Likewise.
43439 * resolv/res_hconf.c: Likewise.
43440 * shadow/fgetspent_r.c: Likewise.
43441 * shadow/putspent.c: Likewise.
43442 * stdio-common/printf_fphex.c: Likewise.
43443 * stdio-common/tmpfile.c: Likewise.
43444 * stdlib/abort.c: Likewise.
43445 * stdlib/fmtmsg.c: Likewise.
43446 * sunrpc/auth_unix.c: Likewise.
43447 * sunrpc/clnt_perr.c: Likewise.
43448 * sunrpc/clnt_tcp.c: Likewise.
43449 * sunrpc/clnt_udp.c: Likewise.
43450 * sunrpc/clnt_unix.c: Likewise.
43451 * sunrpc/openchild.c: Likewise.
43452 * sunrpc/svc_simple.c: Likewise.
43453 * sunrpc/svc_tcp.c: Likewise.
43454 * sunrpc/svc_udp.c: Likewise.
43455 * sunrpc/svc_unix.c: Likewise.
43456 * sunrpc/xdr.c: Likewise.
43457 * sunrpc/xdr_array.c: Likewise.
43458 * sunrpc/xdr_rec.c: Likewise.
43459 * sunrpc/xdr_ref.c: Likewise.
43460 * sunrpc/xdr_stdio.c: Likewise.
43462 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43464 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43466 2011-07-03 Andreas Jaeger <aj@suse.de>
43468 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43469 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43470 regenerate with gen-libm-tests.pl.
43472 2010-05-12 Petr Baudis <pasky@suse.cz>
43475 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43476 around j0() zero points by switching to j1().
43477 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43478 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43479 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43480 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43482 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43484 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43486 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
43488 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43489 Patch in part by Pavel Roskin <proski@gnu.org>.
43492 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43494 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
43495 Free memory block if necessary.
43498 * libio/genops.c (INTDEF): For string streams the _lock pointer can
43499 be NULL. Don't lock in this case.
43501 2011-09-09 Roland McGrath <roland@hack.frob.com>
43503 * elf/elf.h (ELFOSABI_GNU): New macro.
43504 (ELFOSABI_LINUX): Define to that.
43506 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
43508 * string/strncat.c (strncat): Undef the symbol in case it has been
43509 defined in bits/string.h.
43511 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43513 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43515 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43518 2011-08-17 Andreas Jaeger <aj@suse.de>
43520 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43522 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
43523 Ian Lance Taylor <iant@google.com>
43525 * math/libm-test.inc (lround_test): New testcase.
43526 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43528 2011-09-08 Ulrich Drepper <drepper@gmail.com>
43530 * Makefile: Remove support for automatic cvs check-ins.
43531 * Makerules: Likewise.
43532 * config.make.in: Likewise.
43533 * configure.in: Likewise.
43534 * intl/Makefile: Likewise.
43535 * locale/Makefile: Likewise.
43536 * po/Makefile: Likewise.
43537 * posix/Makefile: Likewise.
43538 * sysdeps/gnu/Makefile: Likewise.
43539 * sysdeps/mach/hurd/Makefile: Likewise.
43540 * sysdeps/sparc/sparc32/Makefile: Likewise.
43543 * posix/Makefile (bug-regex32-ENV): Define.
43544 Patch by John Stanley <jpsinthemix@verizon.net>.
43546 * misc/Makefile (headers): Add bits/select2.h.
43547 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43548 * misc/bits/select2.h: New file.
43549 * include/bits/select2.h: New file.
43550 * debug/Makefile (routines): Add fdelt_chk.
43551 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43552 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43554 * debug/fdelt_chk.c: New file.
43556 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
43557 * wcsmbs/test-wmemcmp.c: Likewise.
43558 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43559 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43561 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43563 * string/Makefile (strop-tests): Add memcmp.
43564 * string/test-wmemcmp.c: New file.
43565 * string/test-memcmp.c: Add wmemcmp support.
43567 2011-09-08 Roland McGrath <roland@hack.frob.com>
43570 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43573 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43574 garbage value in a __mach_port_mod_refs call in the cases of the
43575 task-self and thread-self ports.
43577 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43579 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43581 2011-09-08 Andreas Schwab <schwab@redhat.com>
43583 * elf/dl-load.c (lose): Check for non-null L.
43585 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43587 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43589 * elf/dl-libc.c (dlerror_run): Pass back error code from
43593 * elf/dl-load.c (lose): Free l_origin if it is valid.
43595 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43597 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43598 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43599 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43600 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43601 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43602 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43604 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43606 * sysdeps/powerpc/fpu/e_hypot.c: New file.
43607 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43608 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43609 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43610 * sysdeps/powerpc/fpu/k_cosf.c: New file.
43611 * sysdeps/powerpc/fpu/k_sinf.c: New file.
43612 * sysdeps/powerpc/fpu/s_cosf.c: New file.
43613 * sysdeps/powerpc/fpu/s_sinf.c: New file.
43614 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43615 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43617 2011-08-15 Alan Modra <amodra@gmail.com>
43620 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43621 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43622 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
43623 ppc_mcount to static-only-routines.
43624 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43626 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43627 __mcount_internal with usual JUMPTARGET. Remove useless nop.
43629 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
43631 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43632 for finite and infinity parameters.
43634 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43636 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43637 and add nop instructions for throughput optimization.
43638 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43640 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
43642 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43643 aligned copy for power7 with vector-scalar instructions.
43644 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43646 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
43648 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43651 2011-09-07 Andreas Schwab <schwab@redhat.com>
43654 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43657 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43659 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43660 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43661 syscall wrapper around clock_gettime in __vdso_clock_gettime.
43662 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43665 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43667 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43668 Forgot to demangle the pointer.
43670 * sysdeps/i386/sysdep.h: Define atom_text_section.
43671 * sysdeps/x86_64/sysdep.h: Likewise.
43672 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43673 section with atom_text_section.
43674 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43675 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43676 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43677 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43678 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43680 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43681 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43682 already be defined. Change to take two parameters and don't assign
43683 result to variable. Adjust all users.
43684 Define INTERNAL_GETTIME if not already defined.
43685 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43687 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43688 HAVE_CLOCK_GETTIME_VSYSCALL.
43689 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43691 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43692 gettimeofday vsyscall, just use time.
43694 2011-09-06 Andreas Schwab <schwab@redhat.com>
43696 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43699 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43701 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43703 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43705 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43706 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43707 syscall if possible.
43709 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43711 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43712 e_ident. Don't pass to find_mapsXX.
43713 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43715 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43717 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43718 strchr-sse2-no-bsf strrchr-sse2-no-bsf
43719 * sysdeps/x86_64/multiarch/strchr.S: Update.
43720 Check bit_slow_BSF bit.
43721 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43722 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43723 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43725 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43728 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43730 (tryshell): Define.
43731 (__spawni): Change last parameter to be flag. Test
43732 SPAWN_XFLAGS_USE_PATH flag to use path or not.
43733 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43734 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43735 * posix/spawni.c: Likewise.
43736 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43737 * posix/spawnp.c: Likewise. Change normal version to use
43738 SPAWN_XFLAGS_USE_PATH.
43739 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43740 SPAWN_XFLAGS_TRY_SHELL.
43743 * posix/glob.h: Remove gcc 1.x support.
43746 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43748 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43750 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43751 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43753 * sysdeps/i386/i686/multiarch/strchr.S: New file.
43754 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43755 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43756 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43757 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43758 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43760 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43762 * sysdeps/x86_64/wcscmp.S: New file.
43764 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43765 wcscmp-c wcscmp-sse2
43766 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43767 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43768 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43769 * wcsmbs/wcscmp.c: Allow renaming.
43771 2011-09-05 David S. Miller <davem@davemloft.net>
43773 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43774 stack slot, rather than the struct return pointer slot.
43775 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43776 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43778 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43780 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43782 * po/ja.po: Update from translation team.
43785 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43786 kernel in 64-bit binaries.
43788 2011-09-01 David S. Miller <davem@davemloft.net>
43790 * elf/elf.h (HWCAP_SPARC_*): Move to..
43791 * sysdeps/sparc/sysdep.h: this new file and add new values.
43792 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43793 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43794 _DL_HWCAP_COUNT to 24.
43795 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43797 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43798 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43799 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43800 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43801 instead of magic constants.
43802 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43804 2011-08-31 David S. Miller <davem@davemloft.net>
43806 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43807 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43808 Reimplement to do errno handling inline.
43809 (SYSCALL_ERROR_HANDLER): New macro.
43810 (__SYSCALL_STRING): Do not do errno handling in asm.
43811 (__CLONE_SYSCALL_STRING): Delete.
43812 (__INTERNAL_SYSCALL_STRING): Delete.
43813 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43814 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43815 (PSEUDO): Reimplement to do errno handling inline.
43816 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
43817 (SYSCALL_ERROR_HANDLER): New macro.
43818 (__SYSCALL_STRING): Do not do errno handling in asm.
43819 (__CLONE_SYSCALL_STRING): Delete.
43820 (__INTERNAL_SYSCALL_STRING): Delete.
43821 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
43822 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
43824 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
43825 (inline_syscall*): Add 'err' argument.
43826 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
43827 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
43828 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
43829 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
43831 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
43832 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43834 2011-08-30 Andreas Schwab <schwab@redhat.com>
43836 * elf/rtld.c (dl_main): Relocate objects in dependency order.
43838 2011-08-29 Jiri Olsa <jolsa@redhat.com>
43840 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
43843 2011-08-24 David S. Miller <davem@davemloft.net>
43845 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
43847 2011-08-24 Andreas Schwab <schwab@redhat.com>
43849 * elf/Makefile: Add rules to build and run unload8 test.
43850 * elf/unload8.c: New file.
43851 * elf/unload8mod1.c: New file.
43852 * elf/unload8mod1x.c: New file.
43853 * elf/unload8mod2.c: New file.
43854 * elf/unload8mod3.c: New file.
43856 * elf/dl-close.c (_dl_close_worker): Reset private search list if
43859 2011-08-23 David S. Miller <davem@davemloft.net>
43861 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
43862 subtract stack bias.
43863 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
43864 %sp not %fp in calculations.
43865 (_JMPBUF_UNWINDS_ADJ): Likewise.
43867 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
43868 (aio_suspend): Call it to force an exception region around the
43869 AIO_MISC_WAIT() invocation.
43871 2011-08-23 Andreas Schwab <schwab@redhat.com>
43873 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
43876 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
43878 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
43880 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
43881 and <dl-machine.h>.
43882 (Elf64_FuncDesc): Remove.
43884 2011-08-22 David S. Miller <davem@davemloft.net>
43886 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
43887 sigaltstack check, add missing cfi directives.
43888 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
43889 missing cfi directives, and sigaltstack handling.
43891 2011-08-16 Andreas Schwab <schwab@redhat.com>
43894 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
43895 object is seen twice.
43896 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43898 * elf/Makefile (distribute): Add tst-initorder2.c.
43899 (tests): Add tst-initorder2.
43900 (modules-names): Add tst-initorder2a tst-initorder2b
43901 tst-initorder2c tst-initorder2d. Add rules to build them.
43902 ($(objpfx)tst-initorder2.out): New rule.
43903 * elf/tst-initorder2.c: New file.
43904 * elf/tst-initorder2.exp: New file.
43906 2011-08-22 Andreas Schwab <schwab@redhat.com>
43908 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
43910 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
43911 dependencies back to end of function.
43913 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43914 $(elfobjdir)/ld.so.
43916 2011-08-21 Ulrich Drepper <drepper@gmail.com>
43918 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
43919 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
43920 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
43921 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
43922 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
43923 of __vdso_gettimeofday.
43924 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
43925 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
43927 (_libc_vdso_platform_setup): Remove initialization of
43928 __vdso_gettimeofday and __vdso_time.
43930 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43932 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
43933 and fgetc_unlocked.
43934 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
43937 * elf/dl-open.c (add_to_global): Report additions to the global scope
43938 for LD_DEBUG=scopes.
43939 (dl_open_worker): Also print scope of newly loaded dependencies.
43940 (_dl_show_scope): Indicate if there is no scope.
43943 * stdio-common/Makefile (tests): Add bug24.
43944 * stdio-common/bug24.c: New file.
43946 2011-08-19 Andreas Jaeger <aj@suse.de>
43949 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
43950 non-existant file when using close-on-exec mode.
43952 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43954 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
43955 the very first instruction.
43957 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
43958 the CFI state in the end.
43959 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
43960 inclusion of dl-trampoline.h.
43961 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
43963 2011-08-19 Andreas Schwab <schwab@redhat.com>
43965 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
43966 expectations for long double.
43968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
43969 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
43971 2011-08-14 David S. Miller <davem@davemloft.net>
43973 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
43974 artificual limit depends upon the system page size.
43976 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43978 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
43979 * resolv/Makefile: Define CFLAGS-libresolv.
43981 2011-08-17 Andreas Schwab <schwab@redhat.com>
43983 * nss/makedb.c (compute_tables): Make variables used in nested
43986 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43988 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
43989 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
43990 if buffer was too small.
43992 * elf/pldd.c (main): Attach to all threads in the process.
43993 Rewrite /proc handling to use *at functions.
43995 2011-08-16 Ulrich Drepper <drepper@gmail.com>
43997 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43998 specifies first scope to show.
43999 (dl_open_worker): Update callers. Move printing scope of new
44000 object to before the relocation.
44001 * elf/rtld.c (dl_main): Update _dl_show_scope call.
44002 * sysdeps/generic/ldsodefs.h: Update declaration.
44004 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44005 string for the scope number.
44007 2011-08-14 Ulrich Drepper <drepper@gmail.com>
44009 * nscd/servicescache.c (cache_addserv): Make sure written is always
44012 2011-08-14 Roland McGrath <roland@hack.frob.com>
44014 * sysdeps/i386/i486/bits/atomic.h
44015 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44016 statement expression, so as to suppress "set but not used" warning.
44017 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44019 * string/strncat.c (STRNCAT): Use prototype definition.
44021 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44022 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44024 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44025 (localedef-modules): Add localedef.
44026 (locale-modules): Add locale.
44028 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44029 * elf/rtld.c (dl_main): Invert order of assignment in last change,
44030 to avoid a warning.
44032 2011-08-14 David S. Miller <davem@davemloft.net>
44034 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44035 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44037 2011-08-13 Ulrich Drepper <drepper@gmail.com>
44039 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44040 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44041 * elf/rtld.c (dl_main): Set l_name of vDSO.
44042 Call _dl_show_scope when DL_DEBUG_SCOPES.
44043 (process_dl_debug): Recognize scopes flag and also set it for all.
44044 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44045 Declare _dl_show_scope.
44047 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44048 (do_dlopen): Pass caller_dlopen to dl_open.
44049 (__libc_dlopen_mode): Initialize caller_dlopen.
44051 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44052 of libc. Make tolower call locale-independent. Optimize a bit by
44053 using isdigit instead of isalnum.
44054 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44056 2011-08-12 Ulrich Drepper <drepper@gmail.com>
44058 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44059 was a dependency or dynamically loaded.
44061 2011-08-11 Ulrich Drepper <drepper@gmail.com>
44063 * intl/l10nflist.c: Allow architecture-specific pop function.
44064 * sysdeps/x86_64/l10nflist.c: New file.
44066 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44069 2011-08-10 Andreas Schwab <schwab@redhat.com>
44071 * include/dirent.h: Add libc_hidden_proto for scandirat and
44072 scandirat64. Don't declare __scandirat64.
44073 * dirent/scandirat.c: Add libc_hidden_def.
44074 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44075 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44077 2011-08-10 David S. Miller <davem@davemloft.net>
44079 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44081 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44082 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44083 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44085 2011-08-09 Ulrich Drepper <drepper@gmail.com>
44087 * Versions.def [libc]: Add GLIBC_2.15.
44088 * dirent/Makefile (routines): Add scandirat and scandirat64.
44089 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44091 * dirent/dirent.h: Declare scandirat and scandirat64.
44092 * dirent/scandirat.c: New file.
44093 * dirent/scandirat64.c: New file.
44094 * sysdeps/wordsize-64/scandirat.c: New file.
44095 * sysdeps/wordsize-64/scandirat64.c: New file.
44096 * dirent/opendir.c: Define opendirat.
44097 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44099 * dirent/scandir64.c: Adjust for scandir.c change.
44100 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44101 __scandirat64, and __scandir_cancel_handler.
44102 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44103 additional parameter and use openat instead of open (outside of ld.so).
44104 Add new __opendir as wrapper around __opendirat.
44105 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44106 here without requiring old scandirat implementation.
44108 2011-08-08 Ulrich Drepper <drepper@gmail.com>
44110 * dirent/scandir.c (cancel_handler): Renamed to
44111 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44112 defined. Adjust users.
44113 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44114 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44116 2011-08-04 Ulrich Drepper <drepper@gmail.com>
44118 * string/test-string.h (IMPL): Use __STRING to expand name and then
44121 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44124 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44126 * string/Makefile: Update.
44127 (strop-tests): Append strncat.
44128 * string/test-wcscmp.c: New file.
44129 New comprehensive test for wcscmp.
44130 * string/test-strcmp.c: Update.
44131 (WIDE): New define.
44133 2011-07-22 Andreas Schwab <schwab@redhat.com>
44135 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44138 2011-07-26 Andreas Schwab <schwab@redhat.com>
44140 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44141 encoding to ACE if AI_IDN.
44143 2011-08-01 Jakub Jelinek <jakub@redhat.com>
44145 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44146 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44148 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44150 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44151 Fix overflow bug in strncat.
44152 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44154 * string/test-strncat.c: Update.
44155 Add new tests for checking overflow bugs.
44157 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44159 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44160 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44161 * sysdeps/i386/i686/multiarch/strcat.S: New file.
44162 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44163 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44164 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44165 * sysdeps/i386/i686/multiarch/strncat.S: New file.
44166 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44167 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44169 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44170 (USE_AS_STRCAT): Define.
44171 Add strcat and strncat support.
44172 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44174 2011-07-25 Andreas Schwab <schwab@redhat.com>
44176 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44177 __n bigger than INT_MAX+1.
44178 (__strncmp_g): Likewise.
44180 2011-07-23 Ulrich Drepper <drepper@gmail.com>
44182 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44183 * libio/stido.h: Likewise.
44185 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44187 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44190 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44191 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44192 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44193 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44194 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44197 * scripts/test-installation.pl: Don't expect libnss_test1 to be
44200 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44202 (_dl_x86_64_save_sse): Likewise.
44204 2011-07-22 Ulrich Drepper <drepper@gmail.com>
44206 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44208 (_dl_x86_64_save_sse): Likewise.
44210 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44212 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44214 2011-07-21 Andreas Schwab <schwab@redhat.com>
44216 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44218 (_dl_x86_64_save_sse): Use correct AVX check.
44220 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44222 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44223 bug in strncpy/strncat.
44224 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44226 2011-07-21 Ulrich Drepper <drepper@gmail.com>
44228 * string/tester.c (test_strcat): Add tests for different alignments
44229 of source and destination.
44230 (test_strncat): Likewise.
44232 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44235 * posix/glob.c (glob): Check passed in values before using them in
44236 expressions to avoid some overflows.
44237 (glob_in_dir): Likewise.
44240 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44241 check for AVX enablement so that we don't crash with old kernels and
44243 * elf/tst-audit4.c: Add same checks here.
44244 * elf/tst-audit6.c: Likewise.
44246 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44248 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
44250 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44252 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44254 * po/cs.po: Update from translation team.
44255 * po/bg.po: Likewise.
44257 2011-07-12 Marek Polacek <mpolacek@redhat.com>
44259 * misc/sys/cdefs.h: Add support for const attribute.
44260 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44261 to gnu_dev_{major,minor,makedev} functions.
44263 2011-07-20 Marek Polacek <mpolacek@redhat.com>
44265 * intl/dcigettext.c (get_output_charset): Add missing bracket.
44267 2011-07-20 Andreas Schwab <schwab@redhat.com>
44269 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44272 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44274 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44275 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44276 register in order to avoid conflicts with the soft frame pointer
44277 being held in r11 when necessary.
44278 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44279 (INTERNAL_VSYSCALL_NCS): Likewise.
44281 2011-07-14 Marek Polacek <mpolacek@redhat.com>
44283 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44284 * elf/dl-fini.c (_dl_fini): Adjust caller.
44285 * elf/dl-close.c (_dl_close_worker): Likewise.
44286 * sysdeps/generic/ldsodefs.h: Adjust declaration.
44288 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44290 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44291 "aux_cache->nlibs < 0".
44293 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44294 in the reload-count case.
44296 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44298 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44299 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44300 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44301 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44302 * sysdeps/x86_64/multiarch/strcat.S: New file.
44303 * sysdeps/x86_64/multiarch/strncat.S: New file.
44304 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44305 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44306 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44307 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44308 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44309 (USE_AS_STRCAT): Define.
44310 Add strcat and strncat support.
44311 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44312 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44313 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44314 * string/strncat.c: Update.
44315 (USE_AS_STRNCAT): Define.
44316 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44317 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44319 * sysdeps/x86_64/multiarch/init-arch.h
44320 (bit_Prefer_PMINUB_for_stringop): New.
44321 (index_Prefer_PMINUB_for_stringop): Likewise.
44322 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44323 bit_Prefer_PMINUB_for_stringop.
44325 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44327 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44329 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44330 of casting of buffer.
44331 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44332 buffer32 and buffer64.
44333 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44334 writes instead of casting of buffer.
44335 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44337 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44340 2011-07-19 Andreas Schwab <schwab@redhat.com>
44342 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44344 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44346 * nscd/nscd.c (termination_handler): Don't do anything for a database
44347 if it has not yet been initialized.
44349 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44351 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44353 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44355 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44357 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44359 * po/nl.po: Update from translation team.
44360 * po/sv.po: Likewise.
44362 2011-07-16 Roland McGrath <roland@hack.frob.com>
44364 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44365 now disallowed by GCC.
44367 * configure.in (use-default-link): Default to yes if a test -shared
44368 link meets our qualifications.
44369 * configure: Regenerated.
44371 * config.make.in (output-format): New variable.
44372 * configure.in: Check for ld --print-output-format support.
44373 * configure: Regenerated.
44374 * Makerules ($(common-objpfx)format.lds)
44375 [$(output-format) != unknown]: Just use $(output-format),
44376 instead of the linker-script munging.
44378 2011-07-14 Roland McGrath <roland@hack.frob.com>
44380 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44381 of $(common-objpfx)shlib.lds.
44382 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44384 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44385 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44387 * configure.in (-z relro check): Adjust test code to add a large
44388 writable data section after it.
44389 * configure: Regenerated.
44391 2011-07-11 Roland McGrath <roland@hack.frob.com>
44393 * configure.in (-z relro check): Fix test code to make the variable
44395 * configure: Regenerated.
44397 2011-07-11 Ulrich Drepper <drepper@gmail.com>
44399 * nscd/nscd.h (struct traced_file): Define.
44400 (struct database_dyn): Remove inotify_descr, reset_res, and filename
44401 elements. Add traced_files.
44402 (inotify_fd): Declare.
44403 (register_traced_file): Declare.
44404 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44405 (inotify_fd): Export.
44406 (resolv_conf_descr): Remove.
44407 (nscd_init): Move inotify descriptor creation to main.
44408 Don't register files for notification here.
44409 (register_traced_file): New function.
44410 (invalidate_cache): Don't use reset_res to determine whether to call
44411 res_init, go through the list of registered files.
44412 (main_loop_poll): The inotify descriptors are now stored in the
44413 structures for the traced files.
44414 (main_loop_epoll): Likewise
44415 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
44416 to __nss_disable_nscd.
44417 * nscd/cache.c (prune_cache): There is no single inotify descriptor
44418 for a database anymore. Check the records for all the registered
44420 * nss/Makefile (libnss_files-routines): Add files-init.
44421 (libnss_db-routines): Add db-init.
44422 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44423 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44424 * nss/nss_db/db-init.c: New file.
44425 * nss/nss_files/files-init.c: New file.
44426 * nss/nsswitch.c (nss_load_library): New function. Broken out of
44427 __nss_lookup_function.
44428 (__nss_lookup_function): Call nss_load_library.
44429 (nss_load_all_libraries): New function.
44430 (__nss_disable_nscd): Take parameter with callback function for files
44431 to register. Set is_nscd. Load all the DSOs for the NSS modules
44432 used for the cached services.
44433 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44434 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44435 options for features to all the files in nscd.
44437 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44439 2011-07-10 Roland McGrath <roland@hack.frob.com>
44441 * csu/elf-init.c (__libc_csu_init): Comment typo.
44443 2011-07-09 Ulrich Drepper <drepper@gmail.com>
44445 * po/pl.po: Update from translation team.
44446 * po/ja.po: Likewise.
44447 * po/ru.po: Likewise.
44448 * po/ko.po: Likewise.
44449 * po/fr.po: Likewise.
44451 2011-07-09 Roland McGrath <roland@hack.frob.com>
44453 * configure.in (.ctors/.dtors header and trailer check):
44454 Use an empirical test on a built program.
44455 * configure: Regenerated.
44457 * configure.in (-z relro check): Use an empirical test on a built DSO.
44458 Detect, but do not require, on ia64.
44459 * configure: Regenerated.
44461 * configure.in (READELF): Find it with AC_CHECK_TOOL.
44462 Update tests that use readelf to use $READELF instead.
44463 * configure: Regenerated.
44465 2011-07-08 Ulrich Drepper <drepper@gmail.com>
44467 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44468 if the result is not used.
44470 2011-07-05 Andreas Jaeger <aj@suse.de>
44473 * stdlib/tst-strtod.c: Add testcase.
44475 2011-07-07 Ulrich Drepper <drepper@gmail.com>
44477 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44478 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
44479 The latter has a higher limit. Take additional parameter to pass to
44481 (__pathconf): Pass file to __statfs_link_max.
44482 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44484 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44488 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44489 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44491 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44492 (__statfs_filesize_max): Likewise.
44493 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44495 2011-07-05 Andreas Jaeger <aj@suse.de>
44497 * resolv/res_comp.c (dn_skipname): Remove unused variable.
44499 2011-07-06 Marek Polacek <mpolacek@redhat.com>
44501 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44503 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44506 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
44508 * Makefile (strop-tests): Add strncat.
44509 * string/test-strncat.c: New file.
44511 2011-06-30 Marek Polacek <mpolacek@redhat.com>
44513 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44515 2011-06-21 Andreas Jaeger <aj@suse.de>
44517 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44518 Copy rule from iconvdata/Makefile.
44520 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44523 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44524 but no long options are defined, just return 'W'.
44526 2011-06-22 Marek Polacek <mpolacek@redhat.com>
44529 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44531 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44533 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44535 (innetgr): Likewise.
44537 2011-07-05 Roland McGrath <roland@hack.frob.com>
44539 * config.make.in (install_root): Default to $(DESTDIR).
44541 2011-07-05 Ulrich Drepper <drepper@gmail.com>
44543 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44545 2011-07-02 Roland McGrath <roland@hack.frob.com>
44547 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44549 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44550 containing directory rather than embedding absolute directory names.
44552 * scripts/check-local-headers.sh: Rewritten using awk.
44553 Match by word, not by line. Print error messages for matches.
44554 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44556 * Makerules [shlib-lds-flags empty]:
44557 ($(common-objpfx)libc_pic.opts): New target.
44558 ($(common-objpfx)libc_pic.os.clean): New target.
44559 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44561 * config.make.in (OBJCOPY): New variable.
44562 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44563 * configure: Regenerated.
44565 * config.make.in (use-default-link): New variable.
44566 * configure.in (use_default_link): Grok --with-default-link to set it.
44567 * configure: Regenerated.
44568 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44569 (shlib-lds, shlib-lds-flags): Define to empty.
44571 * Makerules (shlib-lds): New variable.
44572 (shlib-lds-flags): New variable.
44573 (build-shlib, build-moduile, build-module-asneeded): Use it.
44574 ($(common-objpfx)libc.so): Use $(shlib-lds).
44575 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44576 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44578 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44579 DT_FLAGS/DT_FLAGS_1 with zero flags.
44581 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44582 linker script munging.
44584 2011-07-02 Ulrich Drepper <drepper@gmail.com>
44586 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44588 * crypt/sha512.c (sha512_process_block): Perform total addition using
44589 128-bit if possible.
44590 (__sha512_finish_ctx): Likewise.
44591 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44593 * crypt/sha256.c (SWAP64): Define.
44594 (sha256_process_block): Perform total addition using 64-bit if
44596 (__sha256_finish_ctx): Likewise.
44598 2011-07-01 Ulrich Drepper <drepper@gmail.com>
44600 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
44601 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44602 * nscd/hstcache.c (cache_addhst): Likewise.
44603 * nscd/grpcache.c (cache_addgr): Likewise.
44604 * nscd/aicache.c (addhstaiX): Likewise
44605 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44607 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
44609 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44610 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44611 * nscd/hstcache.c (cache_addhst): Likewise.
44612 * nscd/grpcache.c (cache_addgr): Likewise.
44613 * nscd/aicache.c (addhstaiX): Likewise
44615 2011-07-01 Andreas Schwab <schwab@redhat.com>
44617 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44618 domain only when needed.
44620 2011-06-30 Andreas Schwab <schwab@redhat.com>
44622 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44623 is always restored.
44625 2011-06-29 Ulrich Drepper <drepper@gmail.com>
44627 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44628 are re-adding the entry.
44629 * nscd/servicescache.c (cache_addserv): Likewise.
44631 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
44633 * sysdeps/generic/dl-irel.h: fix protection against multiple
44635 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44637 2011-06-28 Ulrich Drepper <drepper@gmail.com>
44640 * malloc/memusage.sh: Fix quoting in message.
44641 * debug/xtrace.sh: Likewise.
44643 * configure.in: Remove support for --experimental-malloc option, make
44645 * config.make.in: Likewise.
44646 * malloc/Makefile: Likewise.
44648 2011-06-27 Andreas Schwab <schwab@redhat.com>
44650 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44651 two-byte characters.
44653 2011-06-27 Roland McGrath <roland@hack.frob.com>
44655 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44656 AC_CACHE_CHECK invocation.
44657 * configure: Regenerated.
44659 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44661 2011-06-27 Ulrich Drepper <drepper@gmail.com>
44664 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
44665 bit from old_res_options.
44667 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44669 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44670 value type for setfct.
44672 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
44674 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44675 __gettimeofday instead of gettimeofday.
44677 2011-06-26 Ulrich Drepper <drepper@gmail.com>
44679 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44681 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
44683 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44685 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44688 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44690 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44691 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44692 strcpy-sse2-unaligned strncpy-sse2-unaligned
44693 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44694 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44695 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44696 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44697 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44698 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44699 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44700 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44701 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44702 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44703 (STRCPY): Support SSE2 and SSSE3 versions.
44705 2011-06-24 Ulrich Drepper <drepper@gmail.com>
44708 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44709 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44710 kernels which artificially limit size of requests.
44712 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44714 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44715 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44716 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44717 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44718 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44719 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44720 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44721 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44722 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44723 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44724 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44725 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44726 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44727 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44728 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44730 Enable unaligned load optimization for Intel Core i3, i5 and i7
44732 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44734 (index_Fast_Unaligned_Load): Define.
44735 (HAS_FAST_UNALIGNED_LOAD): Define.
44737 2011-06-23 Marek Polacek <mpolacek@redhat.com>
44739 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44741 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44744 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44745 until it is clear that the information is realy needed.
44746 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44748 2011-06-22 Andreas Schwab <schwab@redhat.com>
44750 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44752 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44754 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44755 /sys/devices/system/cpu/online if it is usable.
44757 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44758 reading the information from the /proc filesystem to once a second.
44760 2011-06-21 Andreas Jaeger <aj@suse.de>
44762 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44763 NULL after inclusion of kernel headers.
44765 2011-06-21 Ulrich Drepper <drepper@gmail.com>
44767 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44768 calls to internal_setent.
44771 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44772 addresses using gethostbyname4_r ignore IPv4 addresses.
44774 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44775 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
44777 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44779 2011-06-20 David S. Miller <davem@davemloft.net>
44781 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44783 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44785 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44786 (elf_irel): Use it.
44787 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44788 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44789 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44790 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44791 * sysdeps/x86_64/dl-irel.h: Likewise.
44793 * elf/dl-runtime.c: Use elf_ifunc_invoke.
44794 * elf/dl-sym.c: Likewise.
44796 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44798 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
44799 need to dereference resplen2.
44801 2011-06-14 Andreas Schwab <schwab@redhat.com>
44803 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44805 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44807 * Makeconfig: Define vardbdir and inst_vardbdir.
44808 * nss/Makefile: Add rules to install db-Makefile.
44810 * nss/nss_db/db-XXX.c: Cleanup.
44812 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44813 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44815 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44816 * nss/makedb.c: Implement -g option to specify that value strings
44817 are generated and should not be added to table iterated over for
44819 * nss/nss_db/db-initgroups.c: New file.
44821 * nss/getent.c: Add support for initgroups lookups through getgrouplist
44824 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
44825 (internal_getgrouplist): Adjust to name change.
44826 Update use_initgroups_entry if this is not the first call.
44827 * nss/databases.def: Add initgroups entry.
44829 * nss/makedb.c (compute_tables): Check result of multiple hash table
44830 sizes to minimize maximum chain length.
44832 2011-06-14 Ulrich Drepper <drepper@gmail.com>
44834 * Versions.def: Add entry for libnss_db.
44835 * shlib-versions: Likewise.
44836 * nss/Makefile: Add rules to build libnss_db.
44837 * nss/Versions: Add libnss_db information. Organize libnss_files
44839 * nss/db-Makefile: Add gshadow support. Change rules for the new
44840 makedb progra. Some minor improvements to generate smaller files.
44841 * nss/nss_db/nss_db.h: Move NSS database header data structures to
44843 * nss/makedb.c: ...here.
44844 Improve database format to be smaller and require less memory at
44846 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
44848 * nss/nss_db/db-netgrp.c: Likewise.
44849 * nss/nss_db/db-open.c: Likewise.
44850 * nss/nss_files/flies-XXX.x: Adjust comments.
44851 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
44852 * nss/nss_files/files-grp.c: Likewise.
44853 * nss/nss_files/files-hosts.c: Likewise.
44854 * nss/nss_files/files-network.c: Likewise.
44855 * nss/nss_files/files-proto.c: Likewise.
44856 * nss/nss_files/files-pwd.c: Likewise.
44857 * nss/nss_files/files-rpc.c: Likewise.
44858 * nss/nss_files/files-service.c: Likewise.
44859 * nss/nss_files/files-sgrp.c: Likewise.
44860 * nss/nss_files/files-spwd.c: Likewise.
44861 * nss/nss_db/db-alias.c: Removed.
44862 * nss/nss_db/dummy-db.h: Removed.
44864 2011-06-02 Ulrich Drepper <drepper@gmail.com>
44866 * nss/makedb.c: Rewritten to not use database library.
44867 * nss/Makefile: Update to build new makedb program.
44869 2011-06-14 Andreas Jaeger <aj@suse.de>
44871 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
44872 memset declaration.
44874 2011-06-10 Andreas Schwab <schwab@redhat.com>
44876 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
44879 2011-06-10 Roland McGrath <roland@hack.frob.com>
44881 * Makerules (shlib.lds): Fail if the linker script comes out empty.
44882 * elf/Makefile ($(objpfx)ld.so): Likewise.
44884 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
44885 Don't list ld.so twice in dependencies.
44887 * posix/bug-regex31.c: Include <stdlib.h>.
44889 * nscd/hstcache.c (cache_addhst): Remove unused variable.
44891 * nis/nss_compat/compat-spwd.c
44892 (getspent_next_nss_netgr): Remove unused variable.
44893 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
44895 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
44896 nonmembers" output to use the right array.
44898 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
44900 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
44902 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
44903 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
44904 * catgets/gencat.c (read_input_file): Likewise.
44905 * locale/programs/locarchive.c (enlarge_archive): Likewise.
44907 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
44908 variable definition inside #if's controlling its use.
44910 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
44912 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
44914 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
44916 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
44919 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
44921 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
44922 * configure: Regenerated.
44924 * Makerules: Revert last change.
44925 * elf/Makefile: Likewise.
44927 2011-06-09 Roland McGrath <roland@hack.frob.com>
44929 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
44930 * elf/Makefile ($(objpfx)librtld.os): Likewise.
44931 (reloc-link): Likewise.
44933 2011-06-09 Ulrich Drepper <drepper@gmail.com>
44935 * elf/Makefile: Add rules to build pldd.
44936 * elf/pldd.c: New file.
44937 * elf/pldd-xx.c: New file.
44939 2011-06-07 Ulrich Drepper <drepper@gmail.com>
44941 * version.h: Update for 2.15 development version.
44943 2011-06-07 David S. Miller <davem@davemloft.net>
44945 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
44947 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
44948 elf_machine_lazy_rel): Likewise.
44949 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44950 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
44951 elf_machine_lazy_rel): Likewise.
44952 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
44953 dl_hwcap via passed in argument.
44954 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
44957 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44959 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
44961 2011-06-06 Roland McGrath <roland@hack.frob.com>
44964 * manual/fdl-1.1.texi: New file, verbatim from:
44965 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
44966 * manual/lgpl-2.1.texi: New file, verbatim from:
44967 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
44968 * manual/Makefile (licenses): New variable, list those new file names.
44970 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
44972 * manual/fdl.texi: File removed.
44973 * manual/lesser.texi: File removed.
44974 * manual/libc.texinfo (Copying, Documentation License):
44975 Use new @include file names, put @appendix directive before @include.
44977 2011-06-04 Jakub Jelinek <jakub@redhat.com>
44980 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
44981 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
44982 (mq_open): Add __NTH.
44984 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
44986 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44987 Assume Intel Core i3/i5/i7 processor if AVX is available.
44989 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44991 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44994 2011-05-31 Andreas Schwab <schwab@redhat.com>
44996 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44997 memory. Use alloca_account. Fix memory leak when retrying.
44999 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45001 * version.h (RELEASE): Bump for 2.14 release.
45002 * include/features.h (__GLIBC_MINOR__): Bump to 14.
45004 * config.make.in (RANLIB): Remove entry.
45006 2011-05-30 Ulrich Drepper <drepper@gmail.com>
45008 * po/Makefile (po-sed-cmd): Add ksh to extensions.
45009 (libc.pot): Work around missing support for .ksh extension in xgettext.
45012 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45013 if both request failed.
45014 (send_dg): In case of server errors clear resplen or *resplen2.
45017 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45018 when there are multiple maps.
45019 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45020 (_dl_fini): Remove test here.
45022 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45024 2011-05-29 Ulrich Drepper <drepper@gmail.com>
45027 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45028 bit from old_res_options.
45029 (gaih_inet): Likewise.
45032 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45035 * resolv/res_init.c (res_setoptions): Make the code more compact.
45038 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45042 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45044 * malloc/malloc.h: Mark malloc hook variables as deprecated.
45047 * malloc/malloc.h: Declare malloc hook variables as volatile.
45049 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45053 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45054 raise in the comment.
45055 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45056 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45057 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45059 2011-05-28 Ulrich Drepper <drepper@gmail.com>
45062 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45063 grow the buffers more if it already has to be sufficient.
45064 (build_wcs_upper_buffer): Likewise.
45065 * posix/regexec.c (check_matching): Likewise.
45066 (clean_state_log_if_needed): Likewise.
45067 (extend_buffers): Don't enlarge buffers beyond size of the input
45069 Patches mostly by Emil Wojak <emil@wojak.eu>.
45070 * posix/bug-regex32.c: New file.
45071 * posix/Makefile (tests): Add bug-regex32.
45073 * locale/findlocale.c (_nl_find_locale): Return right away if
45074 _nl_explode_name failed.
45075 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45077 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45079 * debug/xtrace.sh: Unify messages.
45080 * malloc/memusage.sh: Likewise.
45083 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45084 time symbol from vDSO. Substitute with vsyscall if not available.
45085 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45088 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45089 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45090 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45091 Add sendmmsg and internal_sendmmsg.
45092 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45093 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45094 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45096 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45097 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45098 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45100 2011-05-27 Ulrich Drepper <drepper@gmail.com>
45103 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45104 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45106 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45110 * iconvdata/Makefile (tests): Add bug-iconv9.
45111 * iconvdata/bug-iconv9.c: New file.
45113 2011-05-27 Andreas Schwab <schwab@redhat.com>
45116 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45118 2011-05-25 Jakub Jelinek <jakub@redhat.com>
45120 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45121 (struct user_regs_struct): Change intcs field back to cs.
45123 2011-05-25 Ulrich Drepper <drepper@gmail.com>
45125 * po/ja.po: Update from translation team.
45127 2011-05-23 Ulrich Drepper <drepper@gmail.com>
45130 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45131 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45133 2011-05-20 Andreas Schwab <schwab@redhat.com>
45135 * stdlib/longlong.h: Update from GCC.
45137 2011-05-23 Andreas Schwab <schwab@redhat.com>
45139 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45141 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45142 Add parameter name.
45143 (__sysconf): Pass it down.
45145 2011-05-22 Ulrich Drepper <drepper@gmail.com>
45148 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45150 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45151 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45152 add in in __libc_use_alloca calls. Adjust callers.
45153 (glob): Use malloc in some situations.
45155 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45156 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45159 2011-05-21 Ulrich Drepper <drepper@gmail.com>
45161 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45162 and CLOCK_BOOTTIME_ALARM.
45165 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45168 * string/_strerror.c (__strerror_r): Print negative errors as signed
45172 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45173 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45174 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45176 * configure.in: Fix typo in redirection and correct removal of test
45177 files in two cases.
45180 * locale/setlocale.c (new_composite_name): Fix test to check for
45181 identical name of all categories.
45184 * libio/filedoalloc.c (local_isatty): New function.
45185 (_IO_file_doallocate): Use local_isatty.
45186 * stdio-common/perror.c (perror): In case a new stream is used
45187 forward the stream error.
45188 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45191 2011-05-20 Ulrich Drepper <drepper@gmail.com>
45194 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45196 * include/alloca.h (extend_alloca_account): Define.
45199 * posix/regex.h: Fix comments with documentation of user-accessible
45200 fields after compilation and describe correct free'ing of pattern
45201 after re_compile_pattern.
45202 Patch by Reuben Thomas <rrt@sc3d.org>.
45204 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
45206 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45207 and -mno-altivec to prevent the compiler from using Altivec and/or
45208 VSX instructions when the corresponding registers are not available.
45210 2011-05-19 Andreas Schwab <schwab@redhat.com>
45212 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45214 2011-05-19 Ulrich Drepper <drepper@gmail.com>
45216 * libio/freopen.c (freopen): Use __dup2, not dup2.
45217 * libio/freopen64.c (freopen64): Likewise.
45219 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
45222 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45223 * math/Makefile (tests): Add test-powl.
45224 (CFLAGS-test-powl.c): Define.
45225 * math/test-powl.c: New file.
45227 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
45229 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45231 2011-05-17 Ulrich Drepper <drepper@gmail.com>
45234 * iconvdata/gb18030.c: Update to GB18020-2005.
45236 2011-05-16 Ulrich Drepper <drepper@gmail.com>
45238 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45239 RE_SYNTAX_POSIX_AWK): Update to match recent development.
45240 Patch by Aharon Robbins <arnold@skeeve.com>.
45243 * stdlib/putenv.c (putenv): Don't always create copy of the variable
45247 * misc/pselect.c (__pselect): Handle timeout value errors hidden
45248 through underflows.
45251 * misc/error.c (error_at_line): Ensure file_name and old_file_name
45252 point to strings before performing equality test for error_one_per_line
45256 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45259 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45260 (struct user_fpregs_struct): Avoid __uint*_t types.
45263 * malloc/mtrace.c (tr_where): Add additional parameter to point to
45264 symbol info. Use it instead of calling _dl_addr locally.
45265 (lock_and_info): New function.
45266 (tr_freehook): Call lock_and_info and pass symbol info as additional
45267 parameter to tr_where.
45268 (tr_mallochook): Likewise.
45269 (tr_reallochook): Likewise.
45270 (tr_memalignhook): Likewise.
45272 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
45273 used and couldn't be at all thread-safe.
45275 2011-05-15 Ulrich Drepper <drepper@gmail.com>
45277 * libio/freopen.c (freopen): Don't close old file descriptor
45278 before the new one is opened. Instead dup the new file descriptor
45279 to the old one after the new stream is created.
45280 * libio/freopen64.c (freopen64): Likewise.
45281 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45282 * libio/fileops.c (_IO_new_file_close_it): Handle new
45283 _IO_FLAGS2_NOCLOSE flag.
45284 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45285 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45286 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45287 _IO_FLAGS2_NOCLOSE flag.
45288 * include/unistd.h: Add hidden_proto for dup3.
45289 Define __have_dup3.
45290 * io/dup3.c: Define hidden symbol.
45291 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45294 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45295 when an incomplete long option is used.
45296 * posix/tst-getopt_long1.c: New file.
45297 * posix/Makefile (tests): Add tst-getopt_long1.
45300 * scripts/config.guess: Update from autoconf-2.68.
45301 * scripts/config.sub: Likewise.
45304 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45306 (has_cpuclock): ...this. New function.
45307 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45308 macro here based on has_cpuclock code.
45311 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45312 First byte (not low byte) is now always NUL.
45313 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45315 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45316 Use non-cancelable interfaces.
45319 * locale/iso-639.def: Add entry for Sorani.
45322 * include/stdlib.h: Move include protection to the right place.
45323 Define abort_msg_s. Declare __abort_msg with it.
45324 * stdlib/abort.c (__abort_msg): Adjust type.
45325 * assert/assert.c (__assert_fail_base): New function. Majority
45326 of code from __assert_fail. Allocate memory for __abort_msg with
45328 (__assert_fail): Now call __assert_fail_base.
45329 * assert/assert-perr.c: Remove bulk of implementation. Use
45330 __assert_fail_base.
45331 * include/assert.hL Declare __assert_fail_base.
45332 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45334 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45336 2011-05-14 Ulrich Drepper <drepper@gmail.com>
45340 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45341 until all modules are registered in the DTV.
45342 * elf/Makefile: Add rules to build and run tst-tls19.
45343 * elf/tst-tls19.c: New file.
45344 * elf/tst-tls19mod1.c: New file.
45345 * elf/tst-tls19mod2.c: New file.
45346 * elf/tst-tls19mod3.c: New file.
45347 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45350 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45354 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45355 two-byte sequence errors.
45356 * iconvdata/Makefile (tests): Add bug-iconv8.
45357 * iconvdata/bug-iconv8.c: New file.
45360 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45363 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45366 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45367 (dummy_getcfa): New function.
45368 (init): Get _Unwind_GetCFA address, use dummy if not found.
45369 (backtrace_helper): In recursion check, also check whether CFA changes.
45370 (__backtrace): Completely initialize arg.
45372 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45373 storing incomplete byte sequence in state object. Avoid testing for
45374 guaranteed too small input if we know there is enough data available.
45376 2011-05-11 Andreas Schwab <schwab@redhat.com>
45378 * Makeconfig (+link-pie): Indent.
45379 * Rules (binaries-pie): Define if $(have-fpie) and
45381 (binaries-shared): Also filter out $(binaries-pie).
45382 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45383 * nscd/Makefile (others-pie): Add nscd.
45384 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45385 ($(objpfx)nscd): Remove command override.
45386 * login/Makefile (others-pie): Add pt_chown.
45387 ($(objpfx)pt_chown): Remove command override.
45388 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45389 remove command overrides.
45391 2011-05-13 Ulrich Drepper <drepper@gmail.com>
45393 * libio/tst_putwc.c: Fix error messages.
45396 * libio/fileops.c (_IO_new_file_close_it): Always flush when
45397 currently writing and seek to current position when not.
45398 * libio/Makefile (tests): Add bug-fclose1.
45399 * libio/bug-fclose1.c: New file.
45401 2011-05-12 Ulrich Drepper <drepper@gmail.com>
45404 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45405 don't set DF_1_NODELETE here.
45406 (do_lookup_x): When entering new entry test for copy relocation
45407 and if necessary set DF_1_NODELETE flag.
45408 * elf/tst-unique4.cc: New file.
45409 * elf/tst-unique4.h: New file.
45410 * elf/tst-unique4lib.cc: New file.
45411 * elf/Makefile: Add rules to build and run tst-unique4.
45412 Patch by Piotr Bury <pbury@goahead.com>.
45414 2011-05-11 Ulrich Drepper <drepper@gmail.com>
45417 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45420 * misc/mntent_r.c (addmntent): Flush the stream after the output
45423 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45424 (is_trusted_path_normalize): Skip initial colon. Append slash
45425 to empty buffer. Duplicate is_trusted_path code but allow
45426 constructed patch to be prefix.
45427 (is_dst): Allow $ORIGIN followed by /.
45428 (_dl_dst_substitute): Correct clearing of check_for_trusted.
45429 Correct testing of result of is_trusted_path_normalize
45430 (decompose_rpath): Fix warning.
45432 2011-05-10 Ulrich Drepper <drepper@gmail.com>
45435 * grp/initgroups.c (internal_getgrouplist): When we found the service
45436 list through the initgroups entry in nsswitch.conf do not always
45437 continue on a successful lookup. Don't always use the
45438 __nss_group_database value if it is set.
45439 * nss/nsswitch.conf (initgroups): Change action for successful db
45440 lookup to continue for compatibility.
45442 2011-05-09 Ulrich Drepper <drepper@gmail.com>
45445 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45447 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45449 * iconvdata/tst-tables.sh: Likewise.
45450 * iconvdata/cp770.c: New file.
45451 * iconvdata/cp771.c: New file.
45452 * iconvdata/cp772.c: New file.
45453 * iconvdata/cp773.c: New file.
45454 * iconvdata/cp774.c: New file.
45455 * iconvdata/testdata/CP770: New file.
45456 * iconvdata/testdata/CP770..UTF8: New file.
45457 * iconvdata/testdata/CP771: New file.
45458 * iconvdata/testdata/CP771..UTF8: New file.
45459 * iconvdata/testdata/CP772: New file.
45460 * iconvdata/testdata/CP772..UTF8: New file.
45461 * iconvdata/testdata/CP773: New file.
45462 * iconvdata/testdata/CP773..UTF8: New file.
45463 * iconvdata/testdata/CP774: New file.
45464 * iconvdata/testdata/CP774..UTF8: New file.
45466 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45468 * iconvdata/gen-8bit-gap.sh: Likewise.
45469 * iconvdata/gen-8bit.sh: Likewise.
45471 * locale/iso-639.def: Add ary entry.
45474 * locale/C-translit.h.in: Add U20A1 transliteration.
45477 * locale/iso-639.def: Add wae entry.
45478 Patch by Kevin Bortis <bortis@translate-wae.ch>.
45481 * locale/programs/localedef.c (construct_output_path): Use ssize_t
45485 * locale/C-translit.h.in: Add entry for U20B9.
45486 Patch by pravin.d.s@gmail.com.
45488 2011-05-08 Ulrich Drepper <drepper@gmail.com>
45491 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45492 ENAMETOOLONG use generic getcwd.
45493 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
45494 in rtld. Use *stat64.
45495 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
45496 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45497 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45498 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45499 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45500 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45501 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45502 __fstatat64 macros.
45503 * include/dirent.h: Add libc_hidden_proto for rewinddir.
45504 * dirent/rewinddir.c: Add libc_hidden_def.
45505 * sysdeps/mach/hurd/rewinddir.c: Likewise.
45506 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
45508 * include/dirent.h (__alloc_dir): Add flags parameter.
45509 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45510 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45512 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
45513 from fdopendir if O_CLOEXEC is already set.
45515 2011-03-15 Alan Modra <amodra@gmail.com>
45517 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45518 l_tls_firstbyte_offset non-zero. Save padding offset in
45519 l_tls_firstbyte_offset for later use.
45520 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45521 freeing static tls block.
45523 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
45525 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45526 where #ifdef was intended. The intent is to prevent ARG_MAX from
45527 being defined by the kernel headers.
45529 2011-05-07 Ulrich Drepper <drepper@gmail.com>
45532 * resolv/resolv.h: Define RES_NOTLDQUERY.
45533 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45534 no-tld-query and set RES_NOTLDQUERY.
45535 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45536 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45537 modern BIND to search name as TLD unless forbidden.
45539 2011-05-07 Petr Baudis <pasky@suse.cz>
45540 Ulrich Drepper <drepper@gmail.com>
45543 * elf/dl-load.c (fillin_rpath): Move trusted path check...
45544 (is_trusted_path): ...to here.
45545 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45546 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45547 using is_trusted_path_normalize() in setuid scripts.
45549 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45551 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45552 __BEGIN/__END_DECLS.
45554 2011-05-06 Ulrich Drepper <drepper@gmail.com>
45556 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45557 NSS_STATUS_NOTFOUND if no record was found.
45559 2011-05-05 Andreas Schwab <schwab@redhat.com>
45561 * sunrpc/Makefile (headers): Add rpc/netdb.h.
45562 (headers-not-in-tirpc): Remove rpc/netdb.h
45563 * resolv/netdb.h: Revert last change.
45565 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45567 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45568 circular dependency between libgcc.a and libc.a.
45570 2011-05-05 Andreas Schwab <schwab@redhat.com>
45572 * resolv/netdb.h: Don't include <rpc/netdb.h>.
45573 * nis/Makefile: Don't install rpcsvc/*.
45574 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45575 instead of <rpc/types.h>.
45576 (MAXHOSTNAMELEN): Define.
45578 2011-05-03 Andreas Schwab <schwab@redhat.com>
45580 * elf/ldconfig.c (add_dir): Don't crash on empty path.
45582 2011-04-28 Maciej Babinski <mbabinski@google.com>
45585 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45586 gethostbyname4_r when IPv6 results are possible.
45588 2011-05-02 Ulrich Drepper <drepper@gmail.com>
45591 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45592 _PC_PIPE_BUF handling.
45594 2011-04-30 Bruno Haible <bruno@clisp.org>
45597 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45598 * resolv/netdb.h (getnameinfo): Change type of flags parameter
45600 * inet/getnameinfo.c (getnameinfo): Likewise.
45602 2011-04-29 Ulrich Drepper <drepper@gmail.com>
45604 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45605 to groups setting in database lookup.
45606 * nss/nsswitch.conf: Add initgroups entry.
45608 2011-04-22 Ulrich Drepper <drepper@gmail.com>
45611 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45613 Patch by Eric Blake <eblake@redhat.com>.
45615 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
45617 * sunrpc/Makefile (need-export-routines): Add svc_run.
45618 (routines): Remove svc_run.
45619 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45620 * sunrpc/clnt_perr.c (clnt_perrno): Export.
45621 * sunrpc/svc_run.c (svc_run): Likewise.
45622 * sunrpc/svc_udp.c (svcudp_create): Likewise.
45624 2011-04-21 Ulrich Drepper <drepper@gmail.com>
45626 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45627 problem in reallocation in last patch.
45629 2011-04-20 Ulrich Drepper <drepper@gmail.com>
45631 * sunrpc/Makefile: Move inclusion of Rules.
45633 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45635 * nss/nss_files/files-initgroups.c: New file.
45636 * nss/Makefile (libnss_files-routines): Add files-initgroups.
45637 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45638 _nss_files_initgroups_dyn.
45640 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
45642 * elf/elf.h (R_ARM_IRELATIVE): Define.
45644 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45646 * po/ru.po: Update from translation team.
45648 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45650 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45653 2011-02-06 Mike Frysinger <vapier@gentoo.org>
45656 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45657 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45658 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45659 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45660 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45662 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
45664 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45666 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45667 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45668 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45670 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45673 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45675 * stdlib/bug-getcontext.c: New file.
45676 * stdlib/Makefile: Add rules to build and run bug-getcontext.
45678 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45680 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45681 instructions into .machine "z9-109".
45682 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45683 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45685 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45687 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45688 between environment variables and auxiliary vector.
45690 2011-04-16 Ulrich Drepper <drepper@gmail.com>
45692 * Makefile: Add rules to build linkobj/libc.so.
45693 * include/libc-symbols.h: Define libc_hidden_nolink.
45694 * include/rpc/auth.h: Mark functions which are to be hidden.
45695 * include/rpc/auth_des.h: Likewise.
45696 * include/rpc/auth_unix.h: Likewise.
45697 * include/rpc/clnt.h: Likewise.
45698 * include/rpc/des_crypt.h: Likewise.
45699 * include/rpc/key_prot.h: Likewise.
45700 * include/rpc/pmap_clnt.h: Likewise.
45701 * include/rpc/pmap_prot.h: Likewise.
45702 * include/rpc/pmap_rmt.h: Likewise.
45703 * include/rpc/rpc_msg.h: Likewise.
45704 * include/rpc/svc.h: Likewise.
45705 * include/rpc/svc_auth.h: Likewise.
45706 * include/rpc/xdr.h: Likewise.
45707 * nis/Makefile: Link all DSOs against linkobj/libc.so.
45708 * nss/Makefile: Likewise.
45709 * sunrpc/Makefile: Don't install headers. Build library with normal
45710 entry points. Don't build rpcinfo. Link RPC tests appropriately.
45711 * sunrpc/auth_des.c: Hide exported symbols by default, export some
45712 for the compat linking library. Remove use of INTDEF/INTUSE.
45713 * sunrpc/auth_none.c: Likewise.
45714 * sunrpc/auth_unix.c: Likewise.
45715 * sunrpc/authdes_prot.c: Likewise.
45716 * sunrpc/authuxprot.c: Likewise.
45717 * sunrpc/clnt_gen.c: Likewise.
45718 * sunrpc/clnt_perr.c: Likewise.
45719 * sunrpc/clnt_raw.c: Likewise.
45720 * sunrpc/clnt_simp.c: Likewise.
45721 * sunrpc/clnt_tcp.c: Likewise.
45722 * sunrpc/clnt_udp.c: Likewise.
45723 * sunrpc/clnt_unix.c: Likewise.
45724 * sunrpc/des_crypt.c: Likewise.
45725 * sunrpc/des_soft.c: Likewise.
45726 * sunrpc/get_myaddr.c: Likewise.
45727 * sunrpc/key_call.c: Likewise.
45728 * sunrpc/key_prot.c: Likewise.
45729 * sunrpc/netname.c: Likewise.
45730 * sunrpc/pm_getmaps.c: Likewise.
45731 * sunrpc/pm_getport.c: Likewise.
45732 * sunrpc/pmap_clnt.c: Likewise.
45733 * sunrpc/pmap_prot.c: Likewise.
45734 * sunrpc/pmap_prot2.c: Likewise.
45735 * sunrpc/pmap_rmt.c: Likewise.
45736 * sunrpc/publickey.c: Likewise.
45737 * sunrpc/rpc_cmsg.c: Likewise.
45738 * sunrpc/rpc_common.c: Likewise.
45739 * sunrpc/rpc_dtable.c: Likewise.
45740 * sunrpc/rpc_prot.c: Likewise.
45741 * sunrpc/rpc_thread.c: Likewise.
45742 * sunrpc/rtime.c: Likewise.
45743 * sunrpc/svc.c: Likewise.
45744 * sunrpc/svc_auth.c: Likewise.
45745 * sunrpc/svc_authux.c: Likewise.
45746 * sunrpc/svc_raw.c: Likewise.
45747 * sunrpc/svc_run.c: Likewise.
45748 * sunrpc/svc_simple.c: Likewise.
45749 * sunrpc/svc_tcp.c: Likewise.
45750 * sunrpc/svc_udp.c: Likewise.
45751 * sunrpc/svc_unix.c: Likewise.
45752 * sunrpc/svcauth_des.c: Likewise.
45753 * sunrpc/xcrypt.c: Likewise.
45754 * sunrpc/xdr.c: Likewise.
45755 * sunrpc/xdr_array.c: Likewise.
45756 * sunrpc/xdr_float.c: Likewise.
45757 * sunrpc/xdr_intXX_t.c: Likewise.
45758 * sunrpc/xdr_mem.c: Likewise.
45759 * sunrpc/xdr_rec.c: Likewise.
45760 * sunrpc/xdr_ref.c: Likewise.
45761 * sunrpc/xdr_sizeof.c: Likewise.
45762 * sunrpc/xdr_stdio.c: Likewise.
45764 2011-04-10 Ulrich Drepper <drepper@gmail.com>
45767 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45768 * sysdeps/ia64/dl-tls.h: Likewise.
45769 * sysdeps/powerpc/dl-tls.h: Likewise.
45770 * sysdeps/s390/dl-tls.h: Likewise.
45771 * sysdeps/sh/dl-tls.h: Likewise.
45772 * sysdeps/sparc/dl-tls.h: Likewise.
45773 * sysdeps/x86_64/dl-tls.h: Likewise.
45774 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45776 2011-03-14 Andreas Schwab <schwab@redhat.com>
45778 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45779 rpath element also skip the following colon.
45780 (expand_dynamic_string_token): Add is_path parameter and pass
45781 down to DL_DST_REQUIRED and _dl_dst_substitute.
45782 (decompose_rpath): Call expand_dynamic_string_token with
45783 non-zero is_path. Ignore empty rpaths.
45784 (_dl_map_object_from_fd): Call expand_dynamic_string_token
45787 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
45789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45792 2011-04-09 Ulrich Drepper <drepper@gmail.com>
45795 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45796 Patch by Filipe David Manana <fdmanana@apache.org>.
45798 2011-04-07 Andreas Schwab <schwab@redhat.com>
45800 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45801 Maintain aligned stack.
45802 (CHECK_RSP): Remove unused macro.
45804 2011-04-03 Ulrich Drepper <drepper@gmail.com>
45806 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45807 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45809 2011-04-02 Ulrich Drepper <drepper@gmail.com>
45811 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45813 * include/features.h: Mention __USE_XOPEN2K8 in comment.
45815 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
45818 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45819 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
45820 * sysdeps/x86_64/memmove.c: New file.
45821 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
45822 (memcpy): Renamed to ...
45823 (__new_memcpy): This.
45824 (memcpy): Provide GLIBC_2_14 memcpy.
45825 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
45826 (memcpy): Provide GLIBC_2_2_5 memcpy.
45828 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45831 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
45833 2011-03-30 Andreas Schwab <schwab@redhat.com>
45835 * misc/syncfs.c: New file.
45836 * misc/Makefile (routines): Add syncfs.
45837 * posix/unistd.h: Declare syncfs.
45838 * sysdeps/unix/syscalls.list: Add syncfs.
45840 2011-04-01 Andreas Schwab <schwab@redhat.com>
45842 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
45844 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45845 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45846 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45847 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45848 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45849 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
45850 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45852 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45854 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
45855 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45856 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
45857 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45858 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45859 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45860 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45862 * io/Makefile: Compile fallocate.c, fallocate64.c, and
45863 sync_file_range.c with -fexceptions.
45864 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
45865 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
45866 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
45867 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
45868 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
45869 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45870 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
45871 sync_file_range as cancellation point
45872 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
45873 now a wrapper around __call_sync_file_range with cancellation handling.
45874 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
45875 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
45876 function name to __call_sync_file_range.
45877 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
45878 Add call_sync_file_range.
45880 2011-04-01 Andreas Schwab <schwab@redhat.com>
45882 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45885 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45887 * iconv/iconv.h: Fix typo in comment.
45888 * io/fcntl.h: Likewise.
45889 * libio/stdio.h: Likewise.
45890 * posix/spawn.h: Likewise.
45891 * posix/unistd.h: Likewise.
45892 * stdlib/stdlib.h: Likewise.
45893 * time/time.h: Likewise.
45894 * wcsmbs/wchar.h: Likewise.
45896 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
45897 open_by_handle): Add.
45898 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
45899 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
45900 Augment a few comments.
45901 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45902 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45903 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45904 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45905 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45906 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
45909 * io/fcntl.h (AT_EMPTY_PATH): Define.
45911 2011-03-30 Ulrich Drepper <drepper@gmail.com>
45913 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
45914 * sysdeps/unix/sysv/linux/bits/time.h: New file.
45915 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
45917 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
45918 * Versions.def: Add GLIBC_2.14.
45919 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
45922 2011-03-22 Ulrich Drepper <drepper@gmail.com>
45924 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
45926 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45928 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
45931 * string/test-strncmp.c (do_page_test): New function.
45932 (check2): Likewise.
45933 (test_main): Call check2.
45934 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
45936 2011-03-20 Ulrich Drepper <drepper@gmail.com>
45939 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
45940 Handle cache information in CPU leaf 4.
45941 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45943 2011-03-18 Ulrich Drepper <drepper@gmail.com>
45946 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
45947 character representation.
45948 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
45950 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
45952 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
45953 END(__isnan) to END(__isnanf) to match function entry point/label
45954 EALIGN(__isnanf,...).
45956 2011-03-10 Jakub Jelinek <jakub@redhat.com>
45958 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
45960 2011-03-10 Ulrich Drepper <drepper@gmail.com>
45963 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
45964 copy from the symbol referenced in the relocation to initialize the
45966 Patch by Piotr Bury <pbury@goahead.com>.
45967 * elf/Makefile: Add rules to build and tst-unique3.
45968 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
45969 * elf/tst-unique3.cc: New file.
45970 * elf/tst-unique3.h: New file.
45971 * elf/tst-unique3lib.cc: New file.
45972 * elf/tst-unique3lib2.cc: New file.
45974 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
45976 2011-03-10 Mike Frysinger <vapier@gentoo.org>
45978 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
45979 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
45982 2011-03-06 Ulrich Drepper <drepper@gmail.com>
45984 * elf/dl-load.c (_dl_map_object): If we are looking for the first
45985 to-be-loaded object along a path to loader is ld.so.
45987 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45988 Ulrich Drepper <drepper@gmail.com>
45990 * sysdeps/x86_64/memset.S: After aligning destination, code
45991 branches to different locations depending on the value of
45992 misalignment, when multiarch is enabled. Fix this.
45994 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45996 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45997 Set _x86_64_preferred_memory_instruction for AMD processsors.
45998 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45999 Set bit_Prefer_SSE_for_memop for AMD processors.
46001 2011-03-04 Ulrich Drepper <drepper@gmail.com>
46003 * libio/fmemopen.c (fmemopen): Optimize a bit.
46005 2011-03-03 Andreas Schwab <schwab@redhat.com>
46007 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46009 2011-03-03 Roland McGrath <roland@redhat.com>
46011 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46013 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
46015 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46016 __bzero_ultra1 instead of __memset_ultra1.
46018 2011-02-23 Andreas Schwab <schwab@redhat.com>
46019 Ulrich Drepper <drepper@gmail.com>
46022 * include/link.h (struct link_map): Add l_orig_initfini.
46023 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46024 returning unsuccessfully.
46025 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46026 close of a file loaded at startup, restore the original l_initfini
46028 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46029 list, store the pointer.
46030 * elf/Makefile ($(objpfx)noload-mem): New rule.
46031 (noload-ENV): Define.
46032 (tests): Add $(objpfx)noload-mem.
46033 * elf/noload.c: Include <memcheck.h>.
46034 (main): Call mtrace. Close all opened handles.
46036 2011-02-17 Andreas Schwab <schwab@redhat.com>
46039 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46040 dependencies are missing.
46042 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
46044 Fix __if_freereq crash: Unlike the generic version which uses free,
46046 * sysdeps/mach/hurd/ifreq.h: New file.
46048 2011-01-27 Petr Baudis <pasky@suse.cz>
46049 Ulrich Drepper <drepper@gmail.com>
46052 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46053 to extend_alloca().
46054 * stdio-common/bug23.c: New file.
46055 * stdio-common/Makefile (tests): Add bug23.
46057 2010-09-28 Andreas Schwab <schwab@redhat.com>
46058 Ulrich Drepper <drepper@gmail.com>
46061 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46062 before performing relro protection. At old place add assertion
46063 to make sure nothing changed.
46065 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
46066 Glauber de Oliveira Costa <glommer@gmail.com>
46068 * elf/elf.h: Add new ARM TLS relocs.
46070 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
46072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46073 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46075 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
46077 * sysdeps/wordsize-64/tst-writev.c: New file.
46079 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
46081 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46082 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46083 insns in _dl_start to prevent a TOC reference before relocs are
46086 2011-02-15 Ulrich Drepper <drepper@gmail.com>
46089 * Makeconfig: Remove RANLIB definition.
46090 * Makerules: Don't use RANLIB.
46091 * aclocal.m4: Remove ranlib test.
46092 * configure.in: No need to check for ranlib.
46093 * elf/rtld-Rules: Don't use RANLIB.
46095 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46097 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46099 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46100 inclusion protection macro.
46102 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46103 SIGRTMIN and SIGRTMAX and print information in that case only when
46104 SIGRTMIN is defined.
46106 2011-02-11 Jakub Jelinek <jakub@redhat.com>
46108 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46109 arginfo fn returning -1.
46111 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46112 and thousands string is zero terminated.
46114 2011-02-03 Andreas Schwab <schwab@redhat.com>
46116 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46117 sysdeps/unix/sysv/linux/bits/socket.h.
46119 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46121 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46122 (__CPU_COUNT): Remove old macros.
46123 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46124 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46125 (__CPU_ALLOC, __CPU_FREE): Add macros.
46126 (__sched_cpualloc, __sched_cpufree): Add declarations.
46128 2011-02-05 Ulrich Drepper <drepper@gmail.com>
46130 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46131 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46132 * nscd/aicache.c (addhstaiX): Return timeout of added value.
46133 (readdhstai): Return value of addhstaiX call.
46134 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46135 (addgrbyX): Return value returned by cache_addgr.
46136 (readdgrbyname): Return value returned by addgrbyX.
46137 (readdgrbygid): Likewise.
46138 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46139 (addpwbyX): Return value returned by cache_addpw.
46140 (readdpwbyname): Return value returned by addhstbyX.
46141 (readdpwbyuid): Likewise.
46142 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46143 (addservbyX): Return value returned by cache_addserv.
46144 (readdservbyname): Return value returned by addservbyX:
46145 (readdservbyport): Likewise.
46146 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46147 (addhstbyX): Return value returned by cache_addhst.
46148 (readdhstbyname): Return value returned by addhstbyX.
46149 (readdhstbyaddr): Likewise.
46150 (readdhstbynamev6): Likewise.
46151 (readdhstbyaddrv6): Likewise.
46152 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46153 (readdinitgroups): Return value returned by addinitgroupsX.
46154 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46155 (prune_cache): Keep track of timeout value of re-added entries.
46156 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46157 * nscd/nscd.h: Adjust prototypes of readd* functions.
46159 2011-02-04 Roland McGrath <roland@redhat.com>
46161 * nis/nis_server.c (nis_servstate): Use the right name for 0.
46162 (nis_stats): Likewise.
46163 * nis/nis_modify.c (nis_modify): Likewise.
46164 * nis/nis_remove.c (nis_remove): Likewise.
46165 * nis/nis_add.c (nis_add): Likewise.
46167 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46169 * posix/fnmatch_loop.c: Add some consts.
46171 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46173 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
46176 * config.make.in (config-cflags-novzeroupper): Define.
46177 * configure.in: Substitute libc_cv_cc_novzeroupper.
46178 * elf/Makefile (AVX-CFLAGS): Define.
46179 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46180 (CFLAGS-tst-auditmod4a.c): Likewise.
46181 (CFLAGS-tst-auditmod4b.c): Likewise.
46182 (CFLAGS-tst-auditmod6b.c): Likewise.
46183 (CFLAGS-tst-auditmod6c.c): Likewise.
46184 (CFLAGS-tst-auditmod7b.c): Likewise.
46185 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46187 2011-02-02 Ulrich Drepper <drepper@gmail.com>
46189 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46190 function to the callback.
46191 Patch partly by Jiri Olsa <jolsa@redhat.com>.
46193 2011-02-02 Andreas Schwab <schwab@redhat.com>
46195 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46198 2011-01-19 Ulrich Drepper <drepper@gmail.com>
46201 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46203 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46205 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46208 * elf/Makefile: Add rules to build and run new test.
46209 * elf/tst-initorder.c: New file.
46210 * elf/tst-initorder.exp: New file.
46211 * elf/tst-initordera1.c: New file.
46212 * elf/tst-initordera2.c: New file.
46213 * elf/tst-initordera3.c: New file.
46214 * elf/tst-initordera4.c: New file.
46215 * elf/tst-initorderb1.c: New file.
46216 * elf/tst-initorderb2.c: New file.
46217 * elf/tst-order-a1.c: New file.
46218 * elf/tst-order-a2.c: New file.
46219 * elf/tst-order-a3.c: New file.
46220 * elf/tst-order-a4.c: New file.
46221 * elf/tst-order-b1.c: New file.
46222 * elf/tst-order-b2.c: New file.
46223 * elf/tst-order-main.c: New file.
46224 New test case by George Gensure <werkt0@gmail.com>.
46226 2010-10-01 Andreas Schwab <schwab@redhat.com>
46228 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46229 decoding ACE if AI_CANONIDN.
46231 2011-01-18 Ulrich Drepper <drepper@gmail.com>
46233 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46235 2011-01-17 Ulrich Drepper <drepper@gmail.com>
46237 * version.h (RELEASE): Bump for 2.13 release.
46238 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46240 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46242 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46244 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46245 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46246 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46247 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46248 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46249 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46251 * posix/getconf.c: Update copyright year.
46252 * catgets/gencat.c: Likewise.
46253 * csu/version.c: Likewise.
46254 * debug/catchsegv.sh: Likewise.
46255 * debug/xtrace.sh: Likewise.
46256 * elf/ldconfig.c: Likewise.
46257 * elf/ldd.bash.in: Likewise.
46258 * elf/sprof.c (print_version): Likewise.
46259 * iconv/iconv_prog.c: Likewise.
46260 * iconv/iconvconfig.c: Likewise.
46261 * locale/programs/locale.c: Likewise.
46262 * locale/programs/localedef.c: Likewise.
46263 * malloc/memusage.sh: Likewise.
46264 * malloc/mtrace.pl: Likewise.
46265 * nscd/nscd.c (print_version): Likewise.
46266 * nss/getent.c: Likewise.
46268 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46269 PF_CAIF, and PF_ALG.
46270 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46272 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
46274 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46275 (modules-names): Use them.
46276 (ifunc-test-modules, ifunc-pie-tests): Define.
46277 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46278 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46279 (test-extras): Likewise.
46280 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46281 $(compile-command.c).
46282 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46283 (all-built-dso): Define.
46284 (check-textrel.out, check-execstack.out): Depend on it.
46286 * configure.in: Don't override --enable-multi-arch.
46288 2011-01-15 Ulrich Drepper <drepper@gmail.com>
46291 * nscd/hstcache.c (tryagain): Define.
46292 (cache_addhst): Return tryagain not notfound for temporary errors.
46293 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46296 2011-01-14 Ulrich Drepper <drepper@gmail.com>
46299 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46300 to make the syscall.
46301 * sysdeps/unix/sysv/linux/setgroups.c: New file.
46304 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46305 and fall back to matching as normal character if the string ends before
46306 the matching ']' is found. This is what POSIX requires.
46307 * posix/testfnm.c: Adjust test result.
46308 * posix/globtest.sh: Adjust test result. Add new test.
46309 * posix/tst-fnmatch.input: Likewise.
46310 * posix/tst-fnmatch2.c: Add new test.
46312 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
46314 * elf/Makefile (check-execstack): Revert last change. Depend on
46316 (check-execstack.h): New target.
46317 (generated): Add check-execstack.h.
46318 * elf/check-execstack.c: Include "check-execstack.h".
46319 (main): Revert last change.
46320 (handle_file): Return zero if GNU_STACK is absent and
46321 DEFAULT_STACK_PERMS doesn't include PF_X.
46323 2011-01-13 Ulrich Drepper <drepper@gmail.com>
46325 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46326 in child fails because the descriptor is already closed.
46327 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46328 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46329 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46332 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46336 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46337 temporary buffer used to handle multi lookups locally.
46338 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46340 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46342 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46345 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
46347 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46348 alignment for SSE2.
46350 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46353 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46354 characters. When rounding increased number of integer digits recompute
46356 * stdio-common/tst-grouping.c: New file.
46357 * stdio-common/Makefile: Add rules to build and run tst-grouping.
46359 2011-01-09 Ulrich Drepper <drepper@gmail.com>
46361 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46362 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
46364 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46366 * bits/select.h: Likewise.
46368 2011-01-08 Ulrich Drepper <drepper@gmail.com>
46370 * po/ja.po: Update from translation team.
46372 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
46375 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46376 implementation just like for lxstat, fxstatat, et al.
46378 2010-12-27 Jim Meyering <meyering@redhat.com>
46381 * posix/regexec.c (build_trtable): Return failure indication upon
46382 calloc failure. Otherwise, re_search_internal could infloop on OOM.
46384 2010-12-25 Ulrich Drepper <drepper@gmail.com>
46387 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46388 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46389 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46390 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46393 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46396 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46397 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46399 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
46401 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46402 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46403 script has SORT_BY_INIT_PRIORITY.
46404 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46405 NO_CTORS_DTORS_SECTIONS is defined.
46406 * elf/soinit.c: Likewise.
46407 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46408 NO_CTORS_DTORS_SECTIONS is defined.
46409 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46410 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46411 * sysdeps/sh/init-first.c: Likewise.
46412 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46414 2010-12-24 Ulrich Drepper <drepper@gmail.com>
46416 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46417 always use the slow path.
46419 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
46421 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46422 similar rule which adds the sysdep directories to the header search in
46423 order to pick up the correct platform stackinfo.h.
46424 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46425 perform test if it is, otherwise return successfully without testing.
46426 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46427 DEFAULT_STACK_PERMS define in stackinfo.h.
46428 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46429 defined in stackinfo.h.
46430 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46431 DEFAULT_STACK_PERMS defined in stackinfo.h.
46432 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46433 * sysdeps/ia64/stackinfo.h: Likewise.
46434 * sysdeps/s390/stackinfo.h: Likewise.
46435 * sysdeps/sh/stackinfo.h: Likewise.
46436 * sysdeps/sparc/stackinfo.h: Likewise.
46437 * sysdeps/x86_64/stackinfo.h: Likewise.
46438 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46439 PF_X for powerpc64. Retain PF_X for powerpc32.
46441 2010-12-19 Ulrich Drepper <drepper@gmail.com>
46443 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46445 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46446 GETDENTS_64BIT_ALIGNED.
46448 2010-12-14 Ulrich Drepper <dreper@gmail.com>
46450 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46452 2010-12-10 Andreas Schwab <schwab@redhat.com>
46454 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46457 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46458 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46460 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46461 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46463 2010-12-09 Ulrich Drepper <drepper@gmail.com>
46466 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46469 2010-12-09 Jakub Jelinek <jakub@redhat.com>
46471 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46473 2010-12-03 Ulrich Drepper <drepper@gmail.com>
46475 * po/it.po: Update from translation team.
46477 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
46479 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46482 2010-11-30 Ulrich Drepper <drepper@gmail.com>
46484 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46486 2010-11-24 Andreas Schwab <schwab@redhat.com>
46488 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46490 (gaih_getanswer_slice): Likewise.
46492 2010-10-20 Jakub Jelinek <jakub@redhat.com>
46494 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46496 2010-05-31 Petr Baudis <pasky@suse.cz>
46499 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46500 silently even in the chroot mode.
46502 2010-11-22 Ulrich Drepper <drepper@gmail.com>
46504 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46505 last patch a bit. Pretty printing
46507 2010-05-31 Petr Baudis <pasky@suse.cz>
46510 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46511 initialization of skip_initgroups_dyn.
46513 2010-11-19 Ulrich Drepper <drepper@gmail.com>
46515 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46516 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46518 2010-11-16 Ulrich Drepper <drepper@gmail.com>
46520 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46522 2010-11-11 Andreas Schwab <schwab@redhat.com>
46524 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46525 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46526 (tst-fnmatch-ENV): Set MALLOC_TRACE.
46527 ($(objpfx)tst-fnmatch-mem): New rule.
46528 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46529 * posix/tst-fnmatch.c (main): Call mtrace.
46531 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
46533 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46534 Support Intel processor model 6 and model 0x2c.
46536 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
46538 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46541 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
46544 * string/test-strncasecmp.c (check_result): New function.
46545 (do_one_test): Use it.
46546 (check1): New function.
46547 (test_main): Use it.
46548 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46549 Support strcasecmp and strncasecmp.
46551 2010-11-08 Ulrich Drepper <drepper@gmail.com>
46554 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46555 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46557 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
46559 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46561 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46563 * sysdeps/x86_64/multiarch/bzero.S: New file.
46564 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46565 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46566 * sysdeps/x86_64/multiarch/memset.S: New file.
46567 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46568 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46569 Set bit_Prefer_SSE_for_memop for Intel processors.
46570 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46572 (index_Prefer_SSE_for_memop): Define.
46573 (HAS_PREFER_SSE_FOR_MEMOP): Define.
46575 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
46577 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46578 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46580 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
46583 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46584 (__x86_64_raw_data_cache_size_half): Likewise.
46585 (__x86_64_raw_shared_cache_size): Likewise.
46586 (__x86_64_raw_shared_cache_size_half): Likewise.
46588 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46589 (__x86_64_raw_data_cache_size_half): Likewise.
46590 (__x86_64_raw_shared_cache_size): Likewise.
46591 (__x86_64_raw_shared_cache_size_half): Likewise.
46592 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46593 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46594 and __x86_64_raw_shared_cache_size_half. Round
46595 __x86_64_data_cache_size_half, __x86_64_data_cache_size
46596 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46597 to multiple of 256 bytes.
46599 2010-11-03 Ulrich Drepper <drepper@gmail.com>
46602 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46603 of inacessible symlinks. Verify result of symlink before returning it.
46604 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46605 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46607 2010-10-28 Erich Ritz <erichritz@gmail.com>
46609 * math/math.h (isinf): Fix typo in comment.
46611 2010-11-01 Ulrich Drepper <drepper@gmail.com>
46613 * po/da.po: Update from translation team.
46615 2010-10-26 Ulrich Drepper <drepper@gmail.com>
46617 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46618 is added to the list.
46620 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46621 Ulrich Drepper <drepper@gmail.com>
46623 * elf/dl-object.c (_dl_new_object): Don't append the new object to
46624 the global list here. Move code to...
46625 (_dl_add_to_namespace_list): ...here. New function.
46626 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46627 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46628 * elf/dl-load.c (lose): Don't remove the element from the list.
46629 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46630 (_dl_map_object): Likewise.
46632 2010-10-25 Ulrich Drepper <drepper@gmail.com>
46635 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46636 into all bytes of SSE register.
46637 Patch by Richard Li <richardpku@gmail.com>.
46639 2010-10-24 Ulrich Drepper <drepper@gmail.com>
46642 * malloc/malloc.c (_int_free): Fill correct number of bytes when
46645 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
46647 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46648 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46649 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46650 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46655 2010-10-22 Andreas Schwab <schwab@redhat.com>
46657 * include/dlfcn.h (__RTLD_SECURE): Define.
46658 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
46659 mode & __RTLD_SECURE instead.
46660 (open_path): Rename preloaded parameter to secure.
46661 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46662 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46663 * elf/dl-deps.c (openaux): Likewise.
46664 * elf/rtld.c (struct map_args): Remove is_preloaded.
46665 (map_doit): Don't use it.
46666 (dl_main): Likewise.
46667 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46668 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46670 2010-09-09 Andreas Schwab <schwab@redhat.com>
46672 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46673 (sysd-rules-targets): Remove duplicates.
46674 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46675 rtld-%.$o dependency.
46677 2010-10-18 Andreas Schwab <schwab@redhat.com>
46679 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46680 _dl_map_object do it.
46682 2010-10-19 Ulrich Drepper <drepper@gmail.com>
46684 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46685 fast fma builtins, define the macros in the C99 standard.
46686 (FP_FAST_FMAF): Likewise.
46687 (FP_FAST_FMAL): Likewise.
46688 * sysdeps/x86_64/bits/mathdef.h: Likewise.
46690 * bits/mathdef.h: Update copyright year.
46691 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46693 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
46695 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46696 builtins, define the macros in the C99 standard.
46697 (FP_FAST_FMAF): Likewise.
46698 (FP_FAST_FMAL): Likewise.
46699 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46701 (FP_FAST_FMAF): Likewise.
46703 2010-10-15 Jakub Jelinek <jakub@redhat.com>
46706 * math/libm-test.inc (fma_test): Some new testcases.
46707 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46708 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46709 y and infinite z. Do multiplication by C already in long double.
46710 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46711 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46712 y and infinite z. Do bitwise or of inexact bit into u.d.
46713 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46714 * sysdeps/i386/fpu/s_fmaf.S: Removed.
46715 * sysdeps/i386/fpu/s_fma.S: Removed.
46716 * sysdeps/i386/fpu/s_fmal.S: Removed.
46718 2010-10-16 Jakub Jelinek <jakub@redhat.com>
46721 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46722 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46723 computation is not scheduled after fetestexcept. Fix value
46724 of minimum denormal long double.
46726 2010-10-14 Jakub Jelinek <jakub@redhat.com>
46729 * math/libm-test.inc (fma_test): Add some more tests.
46730 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46733 2010-10-15 Andreas Schwab <schwab@redhat.com>
46735 * scripts/data/localplt-s390-linux-gnu.data: New file.
46736 * scripts/data/localplt-s390x-linux-gnu.data: New file.
46738 2010-10-13 Jakub Jelinek <jakub@redhat.com>
46741 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46742 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46744 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46746 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46747 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46748 if one of x and y is very large and the other is subnormal.
46749 * sysdeps/s390/fpu/s_fmaf.c: New file.
46750 * sysdeps/s390/fpu/s_fma.c: New file.
46751 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46752 * sysdeps/powerpc/fpu/s_fma.S: New file.
46753 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46754 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46755 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46757 2010-10-12 Jakub Jelinek <jakub@redhat.com>
46760 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46762 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46763 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46764 * sysdeps/i386/i686/multiarch/s_fma.c: Include
46765 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46766 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46767 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46768 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46770 2010-10-12 Ulrich Drepper <drepper@redhat.com>
46773 * posix/regcomp.c (parse_branch): One more memory leak plugged.
46774 * posix/bug-regex31.input: Add test case.
46776 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46778 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46779 * posix/bug-regex31.input: New file.
46782 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46783 (parse_sub_exp): Fix last change, use postorder.
46785 * posix/bug-regex31.c: New file.
46786 * posix/Makefile: Add rules to build and run bug-regex31.
46788 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46791 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46794 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46795 to have entries in sys_siglist.
46798 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46801 2010-10-07 Jakub Jelinek <jakub@redhat.com>
46804 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46805 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46806 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46807 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46808 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46809 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46810 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46811 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46812 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46813 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46814 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46815 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46816 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46817 * math/ftestexcept.c (fetestexcept): Likewise.
46818 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46819 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
46820 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
46821 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
46822 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
46823 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
46824 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46826 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46829 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
46832 2010-10-06 Ulrich Drepper <drepper@gmail.com>
46834 * string/bug-strstr1.c: New file.
46835 * string/Makefile: Add rules to build and run bug-strstr1.
46837 2010-10-05 Eric Blake <eblake@redhat.com>
46840 * string/str-two-way.h (two_way_long_needle): Always clear memory
46841 when skipping input due to the shift table.
46843 2010-10-03 Ulrich Drepper <drepper@gmail.com>
46846 * malloc/mcheck.c: Handle large requests.
46849 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
46850 for strncmp and strncasecmp.
46851 * string/stratcliff.c: Add tests for strcmp and strncmp.
46852 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
46854 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46856 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
46859 2010-09-30 Andreas Jaeger <aj@suse.de>
46861 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
46862 (CGROUP_SUPER_MAGIC): Define.
46863 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46864 Handle btrfs and cgroup file systems.
46865 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46868 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
46870 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
46871 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
46873 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46876 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
46877 trying to locate the ELF header.
46879 2010-09-27 Andreas Schwab <schwab@redhat.com>
46882 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
46883 Mask out sign-bit copies when constructing f_fsid.
46885 2010-09-24 Petr Baudis <pasky@suse.cz>
46887 * debug/stack_chk_fail_local.c: Add missing licence exception.
46888 * debug/warning-nop.c: Likewise.
46890 2010-09-15 Joseph Myers <joseph@codesourcery.com>
46892 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
46893 implementing getdents64 using getdents syscall, set d_type if
46894 __ASSUME_GETDENTS32_D_TYPE.
46896 2010-09-16 Andreas Schwab <schwab@redhat.com>
46898 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
46899 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
46901 2010-09-21 Ulrich Drepper <drepper@redhat.com>
46904 * posix/unistd.h: Undo change of feature selection for ftruncate from
46907 2010-09-20 Ulrich Drepper <drepper@redhat.com>
46909 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
46912 2010-09-20 Andreas Schwab <schwab@redhat.com>
46914 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
46916 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46918 2010-09-14 Andreas Schwab <schwab@redhat.com>
46920 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
46921 variables after CHECK_SP call.
46922 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
46924 2010-09-13 Andreas Schwab <schwab@redhat.com>
46925 Ulrich Drepper <drepper@redhat.com>
46927 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
46928 re-relocationg ld.so.
46929 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
46930 _dl_init_paths call.
46931 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
46934 2010-09-14 Ulrich Drepper <drepper@redhat.com>
46936 * resolv/res_init.c (__res_vinit): Count the default server we added.
46938 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
46939 Ulrich Drepper <drepper@redhat.com>
46942 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46943 (____longjmp_chk): Use %ebx for saving value across system call.
46946 2010-09-06 Andreas Schwab <schwab@redhat.com>
46948 * manual/Makefile: Don't mix pattern rules with normal rules.
46950 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
46952 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
46954 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
46955 * libio/iofopncook.c (_IO_cookie_init): Likewise.
46956 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
46957 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
46958 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46961 2010-09-04 Ulrich Drepper <drepper@redhat.com>
46964 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
46965 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
46967 2010-09-02 Ulrich Drepper <drepper@redhat.com>
46969 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
46970 * sysdeps/x86_64/addmul_1.S: Likewise.
46971 * sysdeps/x86_64/lshift.S: Likewise.
46972 * sysdeps/x86_64/mul_1.S: Likewise.
46973 * sysdeps/x86_64/rshift.S: Likewise.
46974 * sysdeps/x86_64/sub_n.S: Likewise.
46975 * sysdeps/x86_64/submul_1.S: Likewise.
46977 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
46979 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
46980 Define __sched_param instead of SCHED_* and sched_param when
46981 <bits/sched.h> is included with __need_schedparam defined.
46982 * bits/sched.h [__need_schedparam]
46983 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
46984 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
46985 (__defined_schedparam): Define to 1.
46986 (__sched_param): New structure, identical to sched_param.
46987 (__need_schedparam): Undefine.
46989 2010-08-31 Mike Frysinger <vapier@gentoo.org>
46991 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
46992 (epoll_create1): Declare.
46994 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
46996 2010-08-31 Andreas Schwab <schwab@redhat.com>
46999 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47000 shifting retval into place.
47002 2010-09-01 Ulrich Drepper <drepper@redhat.com>
47004 * nis/rpcsvc/nis.h: Update copyright notice.
47005 * nis/rpcsvc/nis.x: Likewise.
47006 * nis/rpcsvc/nis_callback.h: Likewise.
47007 * nis/rpcsvc/nis_callback.x: Likewise.
47008 * nis/rpcsvc/nis_object.x: Likewise.
47009 * nis/rpcsvc/nis_tags.h: Likewise.
47010 * nis/rpcsvc/yp.h: Likewise.
47011 * nis/rpcsvc/yp.x: Likewise.
47012 * nis/rpcsvc/ypupd.h: Likewise.
47013 * nis/yp_xdr.c: Likewise.
47014 * nis/ypupdate_xdr.c: Likewise.
47016 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
47017 mainly the body of pmap_getport. Add parameters to specify timeouts.
47018 (pmap_getport): Use __libc_rpc_getport.
47019 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47020 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47021 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47023 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
47025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47028 2010-08-27 Roland McGrath <roland@redhat.com>
47030 * sysdeps/i386/i686/multiarch/Makefile
47031 (CFLAGS-varshift.c): New variable.
47033 2010-08-27 Ulrich Drepper <drepper@redhat.com>
47035 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47036 * sysdeps/i386/i686/multiarch/varshift.c: New file.
47038 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47040 * sysdeps/x86_64/strlen.S: Minimal code improvement.
47042 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
47044 * sysdeps/x86_64/strlen.S: Unroll the loop.
47045 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47046 strlen-sse2 strlen-sse2-bsf.
47047 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47048 __strlen_no_bsf if bit_Slow_BSF is set.
47049 (__strlen_sse42): Removed.
47050 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47051 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47053 2010-08-25 Roland McGrath <roland@redhat.com>
47055 * sysdeps/x86_64/multiarch/varshift.S: File removed.
47056 * sysdeps/x86_64/multiarch/varshift.c: New file.
47057 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47058 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47059 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47060 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47062 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
47064 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47065 strlen-sse2 strlen-sse2-bsf.
47066 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47067 __strlen_sse2_bsf if bit_Slow_BSF is unset.
47068 (__strlen_sse2): Removed.
47069 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47070 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47072 bit_Slow_BSF for Atom.
47073 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47074 (index_Slow_BSF): Define.
47075 (HAS_SLOW_BSF): Define.
47077 2010-08-25 Ulrich Drepper <drepper@redhat.com>
47080 * resolv/res_init.c (__res_vinit): When no server address at all
47081 is given default to loopback.
47083 2010-08-24 Roland McGrath <roland@redhat.com>
47085 * configure.in: Remove config-name.h generation.
47086 * configure: Regenerated.
47087 * config-name.in: File removed.
47088 * scripts/config-uname.sh: New file.
47089 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47090 ($(objdir)config-name.h): New target.
47092 * sunrpc/rpc_parse.h: Avoid nested comment.
47094 2010-08-24 Richard Henderson <rth@redhat.com>
47095 Ulrich Drepper <drepper@redhat.com>
47096 H.J. Lu <hongjiu.lu@intel.com>
47098 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47099 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47100 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47101 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47102 _mm_alignr_epi8 with _mm_loadu_si128.
47103 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47104 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47105 (__m128i_shift_right): Removed.
47106 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47107 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47108 * sysdeps/x86_64/multiarch/varshift.h: New file.
47109 * sysdeps/x86_64/multiarch/varshift.S: New file.
47111 2010-08-21 Mike Frysinger <vapier@gentoo.org>
47113 * configure.in: Move assembler checks to before sysdep dir checking.
47115 2010-08-20 Petr Baudis <pasky@suse.cz>
47117 * LICENSES: Sync the sunrpc license.
47119 2010-08-19 Ulrich Drepper <drepper@redhat.com>
47121 * sunrpc/auth_des.c: Update copyright notice once again.
47122 * sunrpc/auth_none.c: Likewise.
47123 * sunrpc/auth_unix.c: Likewise.
47124 * sunrpc/authdes_prot.c: Likewise.
47125 * sunrpc/authuxprot.c: Likewise.
47126 * sunrpc/bindrsvprt.c: Likewise.
47127 * sunrpc/clnt_gen.c: Likewise.
47128 * sunrpc/clnt_perr.c: Likewise.
47129 * sunrpc/clnt_raw.c: Likewise.
47130 * sunrpc/clnt_simp.c: Likewise.
47131 * sunrpc/clnt_tcp.c: Likewise.
47132 * sunrpc/clnt_udp.c: Likewise.
47133 * sunrpc/clnt_unix.c: Likewise.
47134 * sunrpc/des_crypt.c: Likewise.
47135 * sunrpc/des_soft.c: Likewise.
47136 * sunrpc/get_myaddr.c: Likewise.
47137 * sunrpc/getrpcport.c: Likewise.
47138 * sunrpc/key_call.c: Likewise.
47139 * sunrpc/key_prot.c: Likewise.
47140 * sunrpc/openchild.c: Likewise.
47141 * sunrpc/pm_getmaps.c: Likewise.
47142 * sunrpc/pm_getport.c: Likewise.
47143 * sunrpc/pmap_clnt.c: Likewise.
47144 * sunrpc/pmap_prot.c: Likewise.
47145 * sunrpc/pmap_prot2.c: Likewise.
47146 * sunrpc/pmap_rmt.c: Likewise.
47147 * sunrpc/rpc/auth.h: Likewise.
47148 * sunrpc/rpc/auth_unix.h: Likewise.
47149 * sunrpc/rpc/clnt.h: Likewise.
47150 * sunrpc/rpc/des_crypt.h: Likewise.
47151 * sunrpc/rpc/key_prot.h: Likewise.
47152 * sunrpc/rpc/netdb.h: Likewise.
47153 * sunrpc/rpc/pmap_clnt.h: Likewise.
47154 * sunrpc/rpc/pmap_prot.h: Likewise.
47155 * sunrpc/rpc/pmap_rmt.h: Likewise.
47156 * sunrpc/rpc/rpc.h: Likewise.
47157 * sunrpc/rpc/rpc_des.h: Likewise.
47158 * sunrpc/rpc/rpc_msg.h: Likewise.
47159 * sunrpc/rpc/svc.h: Likewise.
47160 * sunrpc/rpc/svc_auth.h: Likewise.
47161 * sunrpc/rpc/types.h: Likewise.
47162 * sunrpc/rpc/xdr.h: Likewise.
47163 * sunrpc/rpc_clntout.c: Likewise.
47164 * sunrpc/rpc_cmsg.c: Likewise.
47165 * sunrpc/rpc_common.c: Likewise.
47166 * sunrpc/rpc_cout.c: Likewise.
47167 * sunrpc/rpc_dtable.c: Likewise.
47168 * sunrpc/rpc_hout.c: Likewise.
47169 * sunrpc/rpc_main.c: Likewise.
47170 * sunrpc/rpc_parse.c: Likewise.
47171 * sunrpc/rpc_parse.h: Likewise.
47172 * sunrpc/rpc_prot.c: Likewise.
47173 * sunrpc/rpc_sample.c: Likewise.
47174 * sunrpc/rpc_scan.c: Likewise.
47175 * sunrpc/rpc_scan.h: Likewise.
47176 * sunrpc/rpc_svcout.c: Likewise.
47177 * sunrpc/rpc_tblout.c: Likewise.
47178 * sunrpc/rpc_util.c: Likewise.
47179 * sunrpc/rpc_util.h: Likewise.
47180 * sunrpc/rpcinfo.c: Likewise.
47181 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47182 * sunrpc/rpcsvc/key_prot.x: Likewise.
47183 * sunrpc/rpcsvc/klm_prot.x: Likewise.
47184 * sunrpc/rpcsvc/mount.x: Likewise.
47185 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47186 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47187 * sunrpc/rpcsvc/rex.x: Likewise.
47188 * sunrpc/rpcsvc/rstat.x: Likewise.
47189 * sunrpc/rpcsvc/rusers.x: Likewise.
47190 * sunrpc/rpcsvc/sm_inter.x: Likewise.
47191 * sunrpc/rpcsvc/spray.x: Likewise.
47192 * sunrpc/rpcsvc/yppasswd.x: Likewise.
47193 * sunrpc/rtime.c: Likewise.
47194 * sunrpc/svc.c: Likewise.
47195 * sunrpc/svc_auth.c: Likewise.
47196 * sunrpc/svc_authux.c: Likewise.
47197 * sunrpc/svc_raw.c: Likewise.
47198 * sunrpc/svc_run.c: Likewise.
47199 * sunrpc/svc_simple.c: Likewise.
47200 * sunrpc/svc_tcp.c: Likewise.
47201 * sunrpc/svc_udp.c: Likewise.
47202 * sunrpc/svc_unix.c: Likewise.
47203 * sunrpc/svcauth_des.c: Likewise.
47204 * sunrpc/xcrypt.c: Likewise.
47205 * sunrpc/xdr.c: Likewise.
47206 * sunrpc/xdr_array.c: Likewise.
47207 * sunrpc/xdr_float.c: Likewise.
47208 * sunrpc/xdr_mem.c: Likewise.
47209 * sunrpc/xdr_rec.c: Likewise.
47210 * sunrpc/xdr_ref.c: Likewise.
47211 * sunrpc/xdr_sizeof.c: Likewise.
47212 * sunrpc/xdr_stdio.c: Likewise.
47214 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47217 2010-08-19 Andreas Schwab <schwab@redhat.com>
47219 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47221 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
47223 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47224 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47225 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47226 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47227 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47228 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47229 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47230 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47231 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47232 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47233 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47234 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47235 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47236 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47238 2010-07-26 Anton Blanchard <anton@samba.org>
47240 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47241 * malloc/arena.c (heap_trim): Likewise.
47243 2010-08-16 Ulrich Drepper <drepper@redhat.com>
47245 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47247 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47248 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47250 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
47252 * sysdeps/i386/elf/Makefile: New file.
47254 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47256 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47257 from fanotify_init.
47258 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47259 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47261 2010-08-15 Ulrich Drepper <drepper@redhat.com>
47263 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47265 * sysdeps/multiarch/strcmp.S: Likewise.
47267 2010-08-14 Ulrich Drepper <drepper@redhat.com>
47269 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47270 strncase_l-nonascii.
47271 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47272 Add strncase_l-ssse3.
47273 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47274 * sysdeps/x86_64/strcmp.S: Likewise.
47275 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47276 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47277 * sysdeps/x86_64/strncase.S: New file.
47278 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47279 * sysdeps/x86_64/strncase_l.S: New file.
47280 * string/Makefile (strop-tests): Add strncasecmp.
47281 * string/test-strncasecmp.c: New file.
47283 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47286 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47287 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47289 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47291 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47293 2010-08-12 Ulrich Drepper <drepper@redhat.com>
47295 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47296 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47297 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47299 2010-05-01 Alan Modra <amodra@gmail.com>
47301 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47302 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47303 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47304 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47305 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47306 tidying. Don't tail-call __sigjmp_save for static lib.
47307 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47309 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47310 (CALL_MCOUNT): Add eh info, and nop after bl.
47311 (TAIL_CALL_SYSCALL_ERROR): New macro.
47312 (PSEUDO_RET): Use it.
47313 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47314 Correct save location of integer regs and cr.
47315 (_dl_profile_resolve): Correct cr save location. Delete nops
47316 after bl when SHARED. Reduce cfi size a little by better
47317 placement of cfi directives.
47318 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47319 make a stack frame. Instead use parm save area as a temp.
47320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47321 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
47322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47323 Don't make a stack frame for parent, use parm save area.
47324 Increase child stack frame to 112 bytes. Don't save unused reg,
47325 and adjust reg usage. Set up cfi on error recovery and
47326 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47328 (__makecontext): Add dummy nop after jump to exit.
47329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47330 Use correct parm save area and cr save, reduce stack frame.
47331 Correct cfi for possible PSEUDO_RET frame setup.
47332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47333 Branch to local label emitted by PSEUDO_RET rather than
47336 2010-08-12 Andreas Schwab <schwab@redhat.com>
47339 * locale/programs/locale.c (print_assignment): New function.
47340 (show_locale_vars): Use it.
47342 2010-08-11 Ulrich Drepper <drepper@redhat.com>
47344 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47346 (struct statfs64): Likewise.
47347 (_STATFS_F_FLAGS): Define.
47348 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47349 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47350 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47351 (ST_VALID): Define locally.
47352 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47353 __statvfs_getflags, use the provided value.
47354 * sysdeps/unix/sysv/linux/kernel-features.h: Define
47355 __ASSUME_STATFS_F_FLAGS.
47357 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47359 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47360 Add sys/fanotify.h.
47361 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47362 fanotify_mask for GLIBC_2.13.
47363 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47364 fanotify_init and fanotify_mark.
47365 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47366 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47368 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47370 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47371 prlimit64 for GLIBC_2.13.
47372 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47374 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47377 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47378 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47379 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47380 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
47382 * sysdeps/unix/sysv/linux/prlimit.c: New file.
47385 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47386 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47388 * nss/Makefile: Add rules to build and run tst-nss-test1.
47389 * shlib-versions: Add entry for libnss_test1.
47390 * nss/nss_test1.c: New file.
47391 * nss/tst-nss-test1.c: New file.
47393 * nss/nsswitch.c (__nss_database_custom): Define new variable.
47394 (__nss_configure_lookup): Set appropriate entry in
47395 __nss_configure_lookup to true.
47396 * nss/nsswitch.h: Define enum with indeces of databases in
47397 databases and __nss_database_custom arrays. Declare
47398 __nss_database_custom.
47399 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47400 to avoid using nscd when custom rules are installed.
47401 * nss/getXXbyYY_r.c: Likewise.
47402 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47404 * nss/nss_files/files-parse.c: Whitespace fixes.
47406 2010-08-09 Ulrich Drepper <drepper@redhat.com>
47409 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47410 * posix/fnmatch_loop.c: Likewise.
47412 2010-07-17 Andi Kleen <ak@linux.intel.com>
47414 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47415 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47416 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47417 * Versions.def [GLIBC_2.13]: Add.
47419 2010-08-06 Ulrich Drepper <drepper@redhat.com>
47421 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47422 Also fail if tpwd after pwuid call is NULL.
47424 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
47426 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47427 when converting to ms.
47429 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47431 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47432 EOPNOTSUPP errors with ENOTTY.
47433 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47434 EOPNOTSUPP errors with ENOTTY.
47436 2010-07-31 Ulrich Drepper <drepper@redhat.com>
47438 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47439 Add strcasecmp_l-ssse3.
47440 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47442 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47443 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47444 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47446 2010-07-30 Ulrich Drepper <drepper@redhat.com>
47448 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47450 * string/Makefile (strop-tests): Add strcasecmp.
47451 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47452 strcasecmp_l-nonascii.
47453 (gen-as-const-headers): Add locale-defines.sym.
47454 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47455 * sysdeps/x86_64/strcasecmp.S: New file.
47456 * sysdeps/x86_64/strcasecmp_l.S: New file.
47457 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47458 * sysdeps/x86_64/locale-defines.sym: New file.
47459 * string/test-strcasecmp.c: New file.
47461 * string/test-strcasestr.c: Test both ends of the range of characters.
47462 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47464 2010-07-29 Roland McGrath <roland@redhat.com>
47467 * manual/locale.texi (Yes-or-No Questions): Fix example code.
47469 2010-07-27 Ulrich Drepper <drepper@redhat.com>
47471 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47474 2010-07-27 Andreas Schwab <schwab@redhat.com>
47476 * manual/memory.texi (Malloc Tunable Parameters): Document
47479 2010-07-26 Roland McGrath <roland@redhat.com>
47482 * configure.in (-fgnu89-inline check): Set and substitute
47483 gnu89_inline, not libc_cv_gnu89_inline.
47484 * configure: Regenerated.
47485 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47487 2010-07-26 Ulrich Drepper <drepper@redhat.com>
47489 * string/test-strnlen.c: New file.
47490 * string/Makefile (strop-tests): Add strnlen.
47491 * string/tester.c (test_strnlen): Add a few more test cases.
47492 * string/tst-strlen.c: Better error reporting.
47494 * sysdeps/x86_64/strnlen.S: New file.
47496 2010-07-24 Ulrich Drepper <drepper@redhat.com>
47498 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47499 lower-latency instructions.
47501 2010-07-23 Ulrich Drepper <drepper@redhat.com>
47503 * string/test-strcasestr.c: New file.
47504 * string/test-strstr.c: New file.
47505 * string/Makefile (strop-tests): Add strstr and strcasestr.
47506 * string/str-two-way.h: Don't undefine MAX.
47507 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47509 2010-07-21 Andreas Schwab <schwab@redhat.com>
47511 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47512 strcasestr-nonascii.
47513 (CFLAGS-strcasestr-nonascii.c): Define.
47514 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47515 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47516 Remove unused attribute.
47518 2010-07-20 Roland McGrath <roland@redhat.com>
47520 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47521 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
47522 ld.so.cache was broken. With it, there is no way to disable dsocaps
47523 like LD_HWCAP_MASK can disable hwcaps.
47525 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47527 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47529 2010-07-16 Ulrich Drepper <drepper@redhat.com>
47531 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47532 call in strcasestr.
47533 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47534 __strcasestr_sse42_nonascii.
47535 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47536 strcasestr-nonascii.c.
47537 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47539 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
47541 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47542 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47543 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47544 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47546 2010-07-09 Ulrich Drepper <drepper@redhat.com>
47548 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47551 2010-07-06 Andreas Schwab <schwab@redhat.com>
47554 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47557 2010-07-06 Ulrich Drepper <drepper@redhat.com>
47559 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47560 _PC_PIPE_BUF using F_GETPIPE_SZ.
47562 2010-07-05 Roland McGrath <roland@redhat.com>
47564 * manual/arith.texi (Rounding Functions): Fix rint description
47565 implicit in round description.
47567 2010-07-02 Ulrich Drepper <drepper@redhat.com>
47569 * elf/Makefile: Fix linking for a few tests to make recent linker
47572 2010-06-30 Andreas Schwab <schwab@redhat.com>
47574 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47575 $(common-objpfx)libc_nonshared.a.
47577 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
47579 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47580 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47581 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47582 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47583 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47584 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47585 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47586 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47601 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47602 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47603 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47604 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47605 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47606 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47607 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47608 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47609 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47610 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47611 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47612 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47628 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
47630 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47631 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
47632 * string/memmove.c (memmove): Renamed to ...
47633 (MEMMOVE): ...this. Default to memmove.
47634 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47635 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47637 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47638 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47639 mempcpy-ssse3-back memmove-ssse3-back.
47640 * sysdeps/x86_64/multiarch/bcopy.S: New file .
47641 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47642 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47643 * sysdeps/x86_64/multiarch/memcpy.S: New file.
47644 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47645 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47646 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47647 * sysdeps/x86_64/multiarch/memmove.c: New file.
47648 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47649 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47650 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47651 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47652 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47653 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47655 (index_Fast_Copy_Backward): Define.
47656 (HAS_ARCH_FEATURE): Define.
47657 (HAS_FAST_REP_STRING): Define.
47658 (HAS_FAST_COPY_BACKWARD): Define.
47660 2010-06-21 Andreas Schwab <schwab@redhat.com>
47662 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47663 Restore proper fallback handling.
47665 2010-06-19 Ulrich Drepper <drepper@redhat.com>
47668 * posix/group_member.c (__group_member): Correct checking loop.
47670 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47671 OOM in getpwuid_r correctly. Return error number when the caller
47672 should return, otherwise -1.
47673 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47674 call returning > 0 value.
47675 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47677 2010-06-07 Andreas Schwab <schwab@redhat.com>
47679 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47680 libc_nonshared.a from targets in modules-names.
47682 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
47684 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47687 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
47689 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47690 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47691 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47692 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47694 2010-06-02 Andreas Schwab <schwab@redhat.com>
47696 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47698 2010-06-14 Ulrich Drepper <drepper@redhat.com>
47700 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47702 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47703 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47704 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47705 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47706 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47707 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47709 2010-06-14 Roland McGrath <roland@redhat.com>
47711 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47713 2010-06-07 Jakub Jelinek <jakub@redhat.com>
47715 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47716 __REDIRECT followed by __THROW.
47717 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47718 * posix/getopt.h (getopt): Likewise.
47720 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47722 * hurd/lookup-at.c (__file_name_lookup_at): Accept
47723 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
47724 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47726 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47727 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47729 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
47731 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47733 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
47736 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47737 Properly check family and model.
47739 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
47741 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47743 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
47745 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47747 2010-05-21 Ulrich Drepper <drepper@redhat.com>
47749 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47752 2010-05-19 Andreas Schwab <schwab@redhat.com>
47754 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47757 2010-05-21 Andreas Schwab <schwab@redhat.com>
47759 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47760 and internal_recvmmsg.
47761 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47762 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47763 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47764 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47766 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47767 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47768 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47770 2010-05-20 Andreas Schwab <schwab@redhat.com>
47772 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47774 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
47776 POWER7 optimizations.
47777 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47778 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47780 2010-05-19 Ulrich Drepper <drepper@redhat.com>
47782 * version.h: Update for 2.13 development version.
47784 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
47786 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47787 exceptions. Return 0.
47789 2010-05-07 Roland McGrath <roland@redhat.com>
47791 * elf/ldconfig.c (main): Add a const.
47793 2010-05-06 Ulrich Drepper <drepper@redhat.com>
47795 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47796 (args_options): Add no-idn option.
47797 (ahosts_keys_int): Add idn_flags to ai_flags.
47798 (parse_option): Handle 'i' option to clear idn_flags.
47800 * malloc/malloc.c (_int_free): Possible race in the most recently
47801 added check. Only act on the data if no current modification
47804 See ChangeLog.17 for earlier changes.