1 2014-06-25 Joseph Myers <joseph@codesourcery.com>
3 * configure.ac (USE_REGPARMS): Don't define here.
4 * configure: Regenerated.
5 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
6 * sysdeps/i386/configure: Regenerated.
8 * nptl/createthread.c: Don't include kernel-features.h.
9 * nptl/pthread_cancel.c: Likewise.
10 * nptl/pthread_condattr_setclock.c: Likewise.
11 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
12 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
13 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
14 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
15 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
16 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
17 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
18 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
19 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
20 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
21 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
22 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
23 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
24 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
25 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
26 * nscd/gai.c: Likewise.
27 * nss/nss_db/db-open.c: Likewise.
28 * sysdeps/generic/ldsodefs.h: Likewise.
29 * sysdeps/sh/nptl/tls.h: Likewise.
30 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
32 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
33 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
34 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
35 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
36 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
37 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
38 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
39 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
40 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
41 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
42 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
43 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
44 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
45 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
46 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
47 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
48 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
49 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
50 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
51 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
52 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
53 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
54 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
55 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
56 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
57 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
58 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
59 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
60 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
61 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
62 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
63 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
64 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
65 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
66 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
67 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
68 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
69 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
70 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
71 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
72 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
73 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
74 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
75 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
76 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
77 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
78 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
79 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
80 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
81 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
82 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
83 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
84 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
85 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
86 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
87 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
88 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
89 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
90 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
91 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
92 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
93 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
94 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
95 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
96 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
97 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
98 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
99 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
110 * sysdeps/unix/sysv/linux/pread.c: Likewise.
111 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
112 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
113 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
114 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
115 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
116 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
117 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
118 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
119 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
120 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
121 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
122 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
123 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
124 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
125 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
126 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
127 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
128 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
129 * sysdeps/unix/sysv/linux/system.c: Likewise.
130 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
131 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
132 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
133 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
134 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
135 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
136 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
138 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
139 * configure: Regenerated.
140 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
142 * configure.ac (base_machine): Do not set specially for particular
144 * configure: Regenerated.
145 * sysdeps/powerpc/preconfigure: Move machine and base_machine
146 settings from configure.ac.
147 * sysdeps/i386/preconfigure: New file.
148 * sysdeps/s390/preconfigure: Likewise.
149 * sysdeps/sh/preconfigure: Likewise.
150 * sysdeps/sparc/preconfigure: Likewise.
152 2014-06-25 Roland McGrath <roland@hack.frob.com>
154 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
155 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
156 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
157 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
158 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
159 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
160 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
161 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
162 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
163 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
164 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
165 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
166 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
167 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
168 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
169 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
170 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
171 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
172 * sysdeps/sparc/sparc64/Makefile: ... appended here.
174 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
175 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
176 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
177 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
178 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
179 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
180 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
181 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
182 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
183 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
184 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
185 * sysdeps/sparc/sparc32/sem_post.c: ... here.
186 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
187 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
188 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
189 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
190 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
191 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
192 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
193 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
194 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
195 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
196 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
197 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
198 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
199 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
200 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
201 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
202 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
203 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
204 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
205 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
206 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
207 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
208 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
209 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
210 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
211 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
213 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
214 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
215 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
216 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
217 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
219 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
222 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
224 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
227 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
229 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
231 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
233 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
236 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
237 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
239 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
241 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
244 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
245 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
246 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
247 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
248 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
250 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
252 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
255 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
258 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
260 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
263 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
264 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
265 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
266 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
267 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
268 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
269 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
270 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
272 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
275 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
276 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
277 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
278 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
280 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
282 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
283 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
284 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
286 2014-06-25 Joseph Myers <joseph@codesourcery.com>
288 * timezone/checktab.awk: Update from tzcode 2014e.
289 * timezone/private.h: Likewise.
290 * timezone/tzfile.h: Likewise.
291 * timezone/zdump.c: Likewise.
292 * timezone/zic.c: Likewise.
294 * sysdeps/unix/sysv/linux/kernel-features.h
295 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
296 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
297 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
298 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
299 Remove conditional code.
301 2014-06-25 Will Newton <will.newton@linaro.org>
303 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
304 (_dl_arm_cap_flags): Add HWCAP2 values.
305 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
306 (_DL_HWCAP_COUNT): Increase to 37.
307 (_DL_HWCAP_LAST): New define.
308 (_DL_HWCAP2_LAST): New define.
309 (_dl_procinfo): Add support for printing
311 (_dl_string_hwcap): Use _dl_hwcap_string.
313 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
317 2014-06-25 Joseph Myers <joseph@codesourcery.com>
319 * README: Do not mention ports directory.
321 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
323 * sysdeps/unix/sysv/linux/futimes.c: Do not include
325 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
326 conditional variable definition.
327 (__futimes): Update comment.
328 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
329 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
332 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
333 arguments close to 0.
334 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
336 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
338 * math/auto-libm-test-in: Add more tests of exp10.
339 * math/auto-libm-test-out: Regenerated.
340 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
342 * sysdeps/unix/sysv/linux/kernel-features.h
343 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
344 * sysdeps/unix/sysv/linux/readv.c: Do not include
346 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
347 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
348 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
350 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
352 * sysdeps/unix/sysv/linux/writev.c: Do not include
354 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
355 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
356 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
358 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
361 2014-06-25 Will Newton <will.newton@linaro.org>
363 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
364 comment changes throughout the file. Remove checks
365 for HAVE_*_H definitions that are not required.
366 (__gen_tempname): Call abort if an unknown kind value is
369 2014-06-25 Andreas Schwab <schwab@suse.de>
372 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
373 scalbln, scalblnf, scalblnl in libc.
375 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
378 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
379 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
380 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
382 2014-06-24 Roland McGrath <roland@hack.frob.com>
384 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
385 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
386 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
387 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
389 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
390 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
392 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
393 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
394 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
395 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
396 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
397 * sysdeps/x86/bits/pthreadtypes.h: ... here.
398 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
399 * sysdeps/x86/bits/semaphore.h: ... here.
400 * sysdeps/x86/nptl/elide.h: Moved ...
401 * sysdeps/x86/elide.h: ... here.
402 * sysdeps/x86_64/nptl/Implies: File removed.
403 * sysdeps/i386/nptl/Implies: File removed.
405 2014-06-24 Joseph Myers <joseph@codesourcery.com>
408 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
409 return the argument for normal arguments with exponent below -64.
410 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
412 * math/auto-libm-test-in: Add another test of expm1.
413 * math/auto-libm-test-out: Regenerated.
416 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
417 calling __erfcl for arguments at least 16.
418 * math/auto-libm-test-in: Add more tests of erf.
419 * math/auto-libm-test-out: Regenerated.
421 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
422 individual architectures.
423 * sysdeps/unix/sysv/linux/configure: Regenerated.
424 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
425 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
426 * sysdeps/unix/sysv/linux/powerpc/configure.ac
427 (ldd_rewrite_script): Define variable.
428 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
433 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
434 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
435 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
436 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
437 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
438 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
439 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
440 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
442 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
445 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
446 Rename member __data.d to __data.__elision_data.
448 2014-06-24 Wilco <wdijkstr@arm.com>
450 * NEWS: Add 16918 to fixed bug list.
452 2014-06-24 Wilco <wdijkstr@arm.com>
454 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
456 2014-06-24 Wilco <wdijkstr@arm.com>
458 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
459 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
460 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
461 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
462 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
463 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
464 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
467 2014-06-24 Wilco <wdijkstr@arm.com>
469 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
471 2014-06-24 Wilco <wdijkstr@arm.com>
473 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
474 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
475 * sysdeps/arm/fesetround.c (fesetround): Remove space.
476 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
478 2014-06-24 Wilco <wdijkstr@arm.com>
481 * sysdeps/arm/feupdateenv.c (feupdateenv):
482 Rewrite to reduce FPSCR accesses and fix return value.
484 2014-06-24 Wilco <wdijkstr@arm.com>
486 * sysdeps/arm/fclrexcpt.c (feclearexcept):
487 Optimize to avoid unnecessary FPSCR writes.
488 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
489 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
490 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
491 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
493 2014-06-24 Wilco <wdijkstr@arm.com>
495 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
496 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
497 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
498 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
499 Call libc_fetestexcept_vfp.
500 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
501 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
502 __SOFTFP__ ifdef so that they can be built for softfp.
504 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
506 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
507 argument type signed char.
509 * Makerules (check-abi): Dump diff of symlist if the test
512 2014-06-23 Roland McGrath <roland@hack.frob.com>
514 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
517 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
518 Remove unused variable ST.
520 2014-06-23 Joseph Myers <joseph@codesourcery.com>
524 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
525 small arguments before calling __expm1.
526 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
527 small arguments before calling __expm1f.
528 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
529 small arguments before calling __expm1l.
530 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
532 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
533 * math/auto-libm-test-in: Add more cosh tests. Do not allow
534 spurious underflow for some cosh tests.
535 * math/auto-libm-test-out: Regenerated.
536 * sysdeps/i386/fpu/libm-test-ulps: Update.
539 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
540 (__ieee754_y1): Set errno if return value overflows.
541 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
542 (__ieee754_y1f): Set errno if return value overflows.
543 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
544 (__ieee754_y1l): Set errno if return value overflows.
545 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
546 (__ieee754_y1l): Set errno if return value overflows.
547 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
548 * math/auto-libm-test-out: Regenerated.
550 * math/gen-auto-libm-tests.c: Document use of
551 ignore-zero-inf-sign.
552 (input_flag_type): Add value flag_ignore_zero_inf_sign.
553 (input_flags): Add ignore-zero-inf-sign.
554 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
555 * math/gen-libm-test.pl (generate_testfile): Handle
556 ignore-zero-inf-sign.
557 * math/auto-libm-test-in: Mark some cpow tests with
558 ignore-zero-inf-sign and some with xfail-rounding.
559 * math/auto-libm-test-out: Regenerated.
560 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
561 * sysdeps/i386/fpu/libm-test-ulps: Update.
562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
565 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
566 overflowing or underflowing operations take place with sign of
568 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
569 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
570 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
571 (__ieee754_pow): Recompute overflowing and underflowing results in
572 original rounding mode.
573 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
574 (__powl_helper): Allow negative argument X and scale negated value
575 as needed. Avoid passing value outside [-1, 1] to f2xm1.
576 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
577 overflowing or underflowing operations take place with sign of
579 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
581 * math/auto-libm-test-in: Add more tests of pow.
582 * math/auto-libm-test-out: Regenerated.
583 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
584 (pow_tonearest_test_data): Remove.
585 (pow_test_tonearest): Likewise.
586 (pow_towardzero_test_data): Likewise.
587 (pow_test_towardzero): Likewise.
588 (pow_downward_test_data): Likewise.
589 (pow_test_downward): Likewise.
590 (pow_upward_test_data): Likewise.
591 (pow_test_upward): Likewise.
592 (main): Don't call removed functions.
593 * sysdeps/i386/fpu/libm-test-ulps: Update.
594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
596 2014-06-23 Roland McGrath <roland@hack.frob.com>
598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
772 2014-06-23 Will Newton <will.newton@linaro.org>
773 Wilco <wdijkstr@arm.com>
775 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
776 implementation. Include get-rounding-mode.h.
777 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
778 [!libc_feholdsetround_noex_ctx]: Define
779 libc_feholdsetround_noex_ctx.
780 [!libc_feholdsetround_noexf_ctx]: Define
781 libc_feholdsetround_noexf_ctx.
782 [!libc_feholdsetround_noexl_ctx]: Define
783 libc_feholdsetround_noexl_ctx.
784 (libc_feholdsetround_ctx): New function.
785 (libc_feresetround_ctx): New function.
786 (libc_feholdsetround_noex_ctx): New function.
787 (libc_feresetround_noex_ctx): New function.
789 2014-06-23 Roland McGrath <roland@hack.frob.com>
791 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
792 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
793 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
794 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
795 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
796 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
798 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
799 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
800 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
801 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
802 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
803 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
804 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
805 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
806 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
807 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
808 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
810 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
812 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
813 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
814 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
815 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
816 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
818 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
819 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
820 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
821 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
822 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
823 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
824 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
825 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
827 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
828 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
830 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
831 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
832 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
833 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
835 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
836 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
837 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
838 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
839 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
840 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
841 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
842 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
843 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
844 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
846 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
848 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
849 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
850 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
851 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
852 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
853 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
854 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
855 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
856 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
857 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
858 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
859 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
860 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
862 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
863 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
864 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
865 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
866 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
867 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
869 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
870 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
871 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
872 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
873 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
875 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
876 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
877 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
878 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
879 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
880 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
881 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
882 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
883 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
884 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
885 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
886 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
887 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
888 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
889 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
890 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
891 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
892 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
893 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
894 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
895 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
896 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
897 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
898 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
899 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
900 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
901 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
902 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
904 2014-06-23 Joseph Myers <joseph@codesourcery.com>
906 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
907 (FALLOC_FL_COLLAPSE_RANGE): New macro.
908 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
909 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
910 (IPV6_PMTUDISC_INTERFACE): Likewise.
911 (IPV6_PMTUDISC_OMIT): Likewise.
913 2014-06-23 Andreas Schwab <schwab@suse.de>
915 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
916 Remove unused errout label.
918 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
920 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
921 macro: hardware supports Vector Crypto instructions.
923 2014-06-23 Will Newton <will.newton@linaro.org>
925 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
926 rather than __builtin_expect.
928 * elf/dl-lookup.c (undefined_msg): Remove variable.
929 (_dl_lookup_symbol_x): Replace undefined_msg with string
932 * elf/dl-lookup.c (do_lookup_unique): New function.
933 (do_lookup_x): Move STB_GNU_UNIQUE handling code
934 to a separate function.
936 2014-06-23 Andreas Schwab <schwab@suse.de>
939 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
940 before reading the next line.
942 2014-06-23 Will Newton <will.newton@linaro.org>
944 * test-skeleton.c (signal_handler): Use printf and %m
945 rather than perror. Use printf rather than fprintf to
946 stderr. Use puts rather than fputs to stderr.
949 2014-06-22 Ludovic Courtès <ludo@gnu.org>
951 * nscd/nscd.c (thread_info_t): Remove typedef.
952 (thread_info): Remove variable.
954 2014-06-21 Allan McRae <allan@archlinux.org>
956 * NEWS: Mention CVE-2014-4043.
958 2014-06-20 Roland McGrath <roland@hack.frob.com>
960 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
961 * nptl/smp.h: ... here.
963 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
965 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
966 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
967 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
968 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
970 * nptl/allocatestack.c: Include <stack-aliasing.h>.
971 * nptl/stack-aliasing.h: New file.
972 * sysdeps/i386/i686/stack-aliasing.h: New file.
973 * sysdeps/i386/i686/nptl/Makefile: File removed.
974 * sysdeps/x86_64/stack-aliasing.h: New file.
975 * sysdeps/x86_64/nptl/Makefile
976 (CFLAGS-pthread_create.c): Variable removed.
978 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
979 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
981 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
982 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
985 2014-06-21 Joseph Myers <joseph@codesourcery.com>
987 * sysdeps/unix/sysv/linux/arm/kernel-features.h
988 (__ASSUME_SIGFRAME_V2): Remove macro.
989 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
990 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
991 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
992 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
993 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
994 Declare as function. Remove conditional macro definitions.
995 (__default_rt_sa_restorer): Likewise.
996 (__default_sa_restorer_v1): Remove declaration.
997 (__default_sa_restorer_v2): Likewise.
998 (__default_rt_sa_restorer_v1): Likewise.
999 (__default_rt_sa_restorer_v2): Likewise.
1000 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1001 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1002 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1004 2014-06-20 Roland McGrath <roland@hack.frob.com>
1006 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1007 (libpthread-routines): Add sysdep.
1008 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1009 * sysdeps/unix/sysv/linux/sparc/Versions
1010 (libpthread: GLIBC_2.3.3): New version set.
1011 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1012 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1013 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1014 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1015 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1016 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1018 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1019 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1020 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1021 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1022 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1023 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1024 * sysdeps/sparc/nptl/sem_init.c: ... here.
1025 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1026 * sysdeps/sparc/nptl/sem_post.c: ... here.
1027 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1028 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1029 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1030 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1031 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1032 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1033 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1034 (libpthread-routines): Add cpu_relax.
1035 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1037 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1038 (librt: GLIBC_2.3.3): New version set.
1039 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1040 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1041 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1042 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1043 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1044 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1045 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1046 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1048 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1049 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1050 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1051 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1052 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1053 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1054 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1055 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1056 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1057 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1059 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1061 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1063 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1065 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1067 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1069 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1071 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1073 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1075 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1077 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1079 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1081 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1082 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1083 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1084 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1085 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1086 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1087 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1088 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1089 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1090 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1091 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1093 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1094 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1095 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1096 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1097 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1099 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1101 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1102 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1103 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1104 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1105 * nscd/nscd.c: Likewise.
1106 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1107 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1108 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1109 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1111 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1112 <kernel-features.h>.
1113 (init_mq_netlink): Remove conditional have_sock_cloexec
1114 definitions. Remove code conditional on have_sock_cloexec < 0.
1115 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1116 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1117 * sysdeps/unix/sysv/linux/opensock.c: Do not include
1118 <kernel-features.h>.
1119 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1120 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1122 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1124 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1125 Add tests for memset_chk and memset.
1127 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1130 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1133 * elf/tst-dl-iter-static.c: New file.
1134 * elf/Makefile (tests-static): Add tst-dl-iter-static.
1136 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1139 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1141 * sysdeps/unix/sysv/linux/kernel-features.h
1142 (__ASSUME_F_GETOWN_EX): Remove macro.
1143 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1144 <kernel-features.h>.
1145 (miss_F_GETOWN_EX): Remove variable or macro.
1146 (do_fcntl): Do not check miss_F_GETOWN_EX.
1147 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1149 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1151 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1152 [!__ASSUME_AT_RANDOM]: Remove conditional code.
1153 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1155 * sysdeps/unix/sysv/linux/kernel-features.h
1156 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1157 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1158 [ADJ_OFFSET_SS_READ]: Make code unconditional.
1159 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1161 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1164 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1165 Fix calculation of the symbol's value.
1166 * sysdeps/arm/tst-armtlsdescloc.c: New file.
1167 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1168 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1169 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1170 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1171 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1172 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1173 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1174 (modules-names): Add `tst-armtlsdescmod',
1175 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1176 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1177 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1178 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1179 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1180 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1181 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1182 ($(objpfx)tst-armtlsdescloc): New dependency.
1183 ($(objpfx)tst-armtlsdescextnow): Likewise.
1184 ($(objpfx)tst-armtlsdescextlazy): Likewise.
1185 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1187 * sysdeps/arm/configure: Regenerate.
1189 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1191 * include/fcntl.h (__atfct_seterrno): Remove prototype.
1192 (__atfct_seterrno_2): Likewise.
1193 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1194 <kernel-features.h>.
1195 (__ASSUME_ATFCTS): Do not undefine and redefine.
1196 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1197 (__have_atfcts): Remove conditional definition.
1198 (__fxstatat([__NR_fstatat64]: Make code unconditional.
1199 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1200 unreachable if [__ASSUME_ATFCTS].
1201 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1202 not undefine and redefine.
1203 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1204 <kernel-features.h>.
1205 (faccessat) [__NR_faccessat]: Make code unconditional.
1206 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1207 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1208 <kernel-features.h>.
1209 (fchmodat) [__NR_fchmodat]: Make code unconditional.
1210 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1211 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1212 <kernel-features.h>.
1213 (fchownat) [__NR_fchownat]: Make code unconditional.
1214 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1215 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1216 <kernel-features.h>.
1217 (futimesat) [__NR_futimesat]: Make code unconditional.
1218 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1219 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1220 <kernel-features.h>.
1221 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1222 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1223 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1224 <kernel-features.h>.
1225 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1226 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1227 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1228 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1229 <kernel-features.h>.
1230 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1231 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1232 * sysdeps/unix/sysv/linux/linkat.c: Do not include
1233 <kernel-features.h>.
1234 (linkat) [__NR_linkat]: Make code unconditional.
1235 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1236 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1237 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1238 <kernel-features.h>.
1239 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1240 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1241 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1242 <kernel-features.h>.
1243 (mkdirat) [__NR_mkdirat]: Make code unconditional.
1244 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1245 * sysdeps/unix/sysv/linux/openat.c: Do not include
1246 <kernel-features.h>.
1247 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1248 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1249 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1250 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1251 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1252 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1253 <kernel-features.h>.
1254 (readlinkat) [__NR_readlinkat]: Make code unconditional.
1255 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
1256 result of INLINE_SYSCALL directly, not via int variable.
1257 * sysdeps/unix/sysv/linux/renameat.c: Do not include
1258 <kernel-features.h>.
1259 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1260 (renameat) [__NR_renameat]: Make code unconditional.
1261 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1262 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1263 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1264 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1265 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1266 (__ASSUME_ATFCTS): Do not undefine and redefine.
1267 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1268 <kernel-features.h>.
1269 (symlinkat) [__NR_symlinkat]: Make code unconditional.
1270 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1271 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1272 <kernel-features.h>.
1273 (unlinkat) [__NR_unlinkat]: Make code unconditional.
1274 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1275 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1276 (__ASSUME_ATFCTS): Do not undefine and redefine.
1277 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1278 <kernel-features.h>.
1279 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1280 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1281 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1282 <kernel-features.h>.
1283 (__xmknodat) [__NR_mknodat]: Make code unconditional.
1284 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1286 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1288 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1290 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
1293 * posix/regcomp.c (parse_reg_exp): Deallocate partially
1294 constructed tree before returning error.
1295 * posix/bug-regexp36.c: Expand test case.
1297 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1300 * math/libm-test.inc (scalbln_test_date):
1301 Add errno expectations.
1302 * math/w_scalblnf.c: New File.
1303 Add wrapper which checks for setting errno to ERANGE.
1304 Add weak_alias for corresponding scalbln function.
1305 * math/w_scalbln.c: Likewise.
1306 * math/w_scalblnl.c: Likewise.
1307 * math/Makefile (libm-calls): Add w_scalbln.
1308 * sysdeps/ieee754/flt-32/s_scalblnf.c:
1309 Remove weak_alias for corresponding scalbln function.
1310 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1311 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1312 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1313 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1314 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1315 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1316 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1317 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1318 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1319 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1320 Remove long_double_symbol for scalblnl function in libm, libc.
1321 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1322 Add wrapper which checks for setting errno to ERANGE.
1323 Add long_double_symbol for scalblnl function in libm, libc.
1324 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1325 Remove long_double_symbol for scalblnl in libm.
1326 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1327 Add wrapper which checks for setting errno to ERANGE.
1328 Add long_double_symbol for scalblnl function in libm.
1329 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1330 Do not use wrapper because of own implementation.
1332 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
1334 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1335 3 bytes for __pad1 for x32.
1336 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1338 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
1339 H.J. Lu <hongjiu.lu@intel.com>
1341 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1342 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1343 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1344 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1345 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1347 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
1350 * posix/regcomp.c (parse_expression): Deallocate partially
1351 constructed tree before returning error.
1352 * posix/Makefile.c (tests): Add bug-regex36.
1353 (generated): Add bug-regex36.mtrace.
1354 (tests-special): Add $(objpfx)bug-regex36-mem.out
1355 (bug-regex36-ENV): New variable.
1356 ($(objpfx)bug-regex36-mem.out): New rule.
1357 * posix/bug-regex36.c: New file.
1359 2014-06-19 Will Newton <will.newton@linaro.org>
1361 * malloc/malloc.c (systrim): If extra is zero then return
1364 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1366 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1368 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
1370 * sysdeps/aarch64/strchr.S: New file.
1372 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1375 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1376 from arguments -2 or below.
1377 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1378 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1380 2014-06-18 Andreas Schwab <schwab@suse.de>
1383 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1384 of a bracket expr not to run off the end of the string.
1385 * posix/Makefile (tests): Add tst-fnmatch3.
1386 * posix/tst-fnmatch3.c: New file.
1388 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1390 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1391 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1392 [$(cross-compiling) = no]: Likewise.
1393 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1394 [$(cross-compiling) = no]: Likewise.
1396 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1399 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1400 double, adjusted for any remainder from the high double.
1401 * math/libm-test.inc (nearbyint): Add tests.
1404 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1406 * nptl/sysdeps/powerpc/Makefile: Moved ...
1407 * sysdeps/powerpc/nptl/Makefile: ... here.
1408 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1409 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1410 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1411 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1412 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1413 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1414 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1415 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1416 * nptl/sysdeps/powerpc/tls.h: Moved ...
1417 * sysdeps/powerpc/nptl/tls.h: ... here.
1419 2014-06-16 Joseph Myers <joseph@codesourcery.com>
1422 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1423 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1424 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1425 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1426 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1427 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1428 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1429 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1430 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1432 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
1434 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1436 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
1438 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1441 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1444 2014-06-16 Florian Weimer <fweimer@redhat.com>
1447 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1448 non-executed part of the test.
1450 2014-06-16 Andreas Schwab <schwab@suse.de>
1452 * string/bits/string2.h (strdup, strndup): Update feature guard.
1454 2014-06-14 David S. Miller <davem@davemloft.net>
1456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1458 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
1460 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1461 that was previously under [RESET_PID].
1462 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1464 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1465 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1466 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1467 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1468 (__libc_vfork): New strong alias.
1469 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1471 2014-06-14 Andi Kleen <ak@linux.intel.com>
1473 * sysdeps/generic/elide.h: New file.
1475 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1477 * Makefile (installed-headers): Adjust path of pthread.h header.
1479 2014-06-13 Roland McGrath <roland@hack.frob.com>
1481 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1482 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1483 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1484 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1486 * nptl/sysdeps/s390/Makefile: Moved ...
1487 * sysdeps/s390/nptl/Makefile: ... here.
1488 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1489 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1490 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1491 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1492 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1493 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1494 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1495 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1496 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1497 * sysdeps/s390/nptl/pthreaddef.h: ... here.
1498 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1499 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1500 * nptl/sysdeps/s390/tls.h: Moved ...
1501 * sysdeps/s390/nptl/tls.h: ... here.
1503 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1504 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1506 2014-06-13 David S. Miller <davem@davemloft.net>
1508 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1509 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1510 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1511 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1512 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1513 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1514 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1515 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1516 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1517 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1518 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1519 Remove RESET_PID cpp guards.
1520 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1521 Remove RESET_PID cpp guards.
1522 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1524 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
1526 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1529 2014-06-13 Andi Kleen <ak@linux.intel.com>
1531 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1532 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1533 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1534 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1535 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1536 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1537 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1538 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1539 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1540 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1541 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1542 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1543 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1544 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1545 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1546 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1547 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1548 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1549 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1550 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1552 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1553 (pthread_rwlock_rdlock): Add elision.
1554 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1555 (pthread_rwlock_wrlock): Add elision.
1556 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1557 (pthread_rwlock_trywrlock): Add elision.
1558 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1559 (pthread_rwlock_tryrdlock): Add elision.
1560 * nptl/pthread_rwlock_unlock.c: Include elide.h.
1561 (pthread_rwlock_tryrdlock): Add elision unlock.
1562 * nptl/sysdeps/pthread/pthread.h:
1563 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1564 (PTHREAD_RWLOCK_INITIALIZER,
1565 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1566 Handle new elision field.
1567 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1568 * sysdeps/arm/nptl/bits/pthreadtypes.h
1569 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1570 * sysdeps/sh/nptl/bits/pthreadtypes.h
1571 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1572 * sysdeps/tile/nptl/bits/pthreadtypes.h
1573 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1574 * sysdeps/a/nptl/bits/pthreadtypes.h
1575 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1576 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1577 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1578 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1579 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1580 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1581 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1582 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1583 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1584 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1585 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1586 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1587 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1588 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1589 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1590 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1591 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1592 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1593 (elision_init): Set try_xbegin to zero when no RTM.
1594 * sysdeps/x86/nptl/bits/pthreadtypes.h
1595 (pthread_rwlock_t): Change __pad1 to __rwelision.
1596 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1598 2014-06-13 Andi Kleen <ak@linux.intel.com>
1600 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1601 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1602 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1603 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1605 2014-06-13 Meador Inge <meadori@codesourcery.com>
1608 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1609 that the cached result has been set before returning it.
1611 2014-06-12 Roland McGrath <roland@hack.frob.com>
1613 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1614 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1615 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1616 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1617 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1618 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1620 * nptl/sysdeps/sparc/Makefile: Moved ...
1621 * sysdeps/sparc/nptl/Makefile: ... here.
1622 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1623 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1624 * nptl/sysdeps/sparc/tls.h: Moved ...
1625 * sysdeps/sparc/nptl/tls.h: ... here.
1626 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1627 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1628 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1629 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1630 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1631 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1632 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1633 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1634 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1635 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1636 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1637 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1638 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1639 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1640 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1641 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1642 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1643 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1645 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1646 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1648 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1649 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1651 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1652 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1655 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1657 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1658 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1660 * sysdeps/pthread/posix-timer.h: Include <list.h>.
1661 (struct list_links): Type removed.
1662 (struct thread_node, struct timer_node): Replace struct list_links
1663 with struct list_head.
1664 (list_unlink_ip): Likewise.
1665 * sysdeps/pthread/timer_routines.c
1666 (timer_free_list, thread_free_list, thread_active_list): Likewise.
1667 (list_append, list_insbefore): Likewise.
1668 (list_init): Function removed.
1669 (thread_init, init_module): Use INIT_LIST_HEAD instead.
1670 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1671 * sysdeps/pthread/Makefile: ... here, new file.
1673 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1674 * sysdeps/nptl/Implies: ... here.
1675 * sysdeps/unix/sysv/linux/Implies: Add nptl.
1676 * nptl/sysdeps/pthread/list.h: Moved ...
1677 * include/list.h: ... here.
1678 * nptl/sysdeps/pthread/createthread.c: Moved ...
1679 * nptl/createthread.c: ... here.
1680 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1681 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1682 * nptl/pt-longjmp.c: ... here.
1683 * nptl/sysdeps/pthread/Makefile: Moved ...
1684 * sysdeps/nptl/Makefile: ... here.
1685 * nptl/sysdeps/pthread/Subdirs: Moved ...
1686 * sysdeps/nptl/Subdirs: ... here.
1687 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1688 * sysdeps/nptl/aio_misc.h: ... here.
1689 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1690 * sysdeps/nptl/bits/libc-lock.h: ... here.
1691 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1692 * sysdeps/nptl/bits/libc-lockP.h: ... here.
1693 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1694 * sysdeps/nptl/bits/stdio-lock.h: ... here.
1695 * nptl/sysdeps/pthread/configure: Moved ...
1696 * sysdeps/nptl/configure: ... here.
1697 * nptl/sysdeps/pthread/configure.ac: Moved ...
1698 * sysdeps/nptl/configure.ac: ... here.
1699 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1700 * sysdeps/nptl/gai_misc.h: ... here.
1701 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1702 * sysdeps/nptl/librt-cancellation.c: ... here.
1703 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1704 * sysdeps/nptl/malloc-machine.h: ... here.
1705 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1706 * sysdeps/nptl/pthread-functions.h: ... here.
1707 * nptl/sysdeps/pthread/pthread.h: Moved ...
1708 * sysdeps/nptl/pthread.h: ... here.
1709 * nptl/sysdeps/pthread/setxid.h: Moved ...
1710 * sysdeps/nptl/setxid.h: ... here.
1711 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1712 * sysdeps/nptl/sigfillset.c: ... here.
1713 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1714 * sysdeps/nptl/tcb-offsets.h: ... here.
1715 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1716 * sysdeps/nptl/tst-mqueue8x.c: ... here.
1717 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1718 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1719 * nptl/sysdeps/pthread/allocalim.h: Moved ...
1720 * sysdeps/pthread/allocalim.h: ... here.
1721 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1722 * sysdeps/pthread/bits/sigthread.h: ... here.
1723 * nptl/sysdeps/pthread/flockfile.c: Moved ...
1724 * sysdeps/pthread/flockfile.c: ... here.
1725 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1726 * sysdeps/pthread/ftrylockfile.c: ... here.
1727 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1728 * sysdeps/pthread/funlockfile.c: ... here.
1729 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1730 * sysdeps/pthread/posix-timer.h: ... here.
1731 * nptl/sysdeps/pthread/timer_create.c: Moved ...
1732 * sysdeps/pthread/timer_create.c: ... here.
1733 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1734 * sysdeps/pthread/timer_delete.c: ... here.
1735 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
1736 * sysdeps/pthread/timer_getoverr.c: ... here.
1737 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
1738 * sysdeps/pthread/timer_gettime.c: ... here.
1739 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
1740 * sysdeps/pthread/timer_routines.c: ... here.
1741 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
1742 * sysdeps/pthread/timer_settime.c: ... here.
1743 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
1744 * sysdeps/pthread/tst-timer.c: ... here.
1745 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
1746 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
1748 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
1749 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
1751 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
1752 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
1753 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
1754 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
1755 Update #include target.
1756 * nptl/sysdeps/i386/i686/Makefile: Moved ...
1757 * sysdeps/i386/i686/nptl/Makefile: ... here.
1758 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
1759 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
1760 Update #include target.
1761 * nptl/sysdeps/i386/i686/tls.h: Moved ...
1762 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
1763 * nptl/sysdeps/i386/Makefile: Moved ...
1764 * sysdeps/i386/nptl/Makefile: ... here.
1765 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
1766 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
1767 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
1768 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
1769 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
1770 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
1771 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
1772 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
1773 * sysdeps/i386/nptl/pthreaddef.h: ... here.
1774 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
1775 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
1776 * nptl/sysdeps/i386/tls.h: Moved ...
1777 * sysdeps/i386/nptl/tls.h: ... here.
1779 * sysdeps/sh/Makefile [$(subdir) = csu]
1780 (gen-as-const-headers): Add tcb-offsets.sym.
1781 * nptl/sysdeps/sh/Makefile: File removed.
1782 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
1783 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
1784 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
1785 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
1786 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
1787 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
1788 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
1789 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
1790 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
1791 * sysdeps/sh/nptl/pthreaddef.h: ... here.
1792 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
1793 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
1794 * nptl/sysdeps/sh/tls.h: Moved ...
1795 * sysdeps/sh/nptl/tls.h: ... here.
1796 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
1797 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
1798 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
1799 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
1800 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
1801 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
1802 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
1803 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
1804 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
1805 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
1806 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
1807 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
1808 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
1809 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
1810 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
1811 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
1812 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
1813 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
1814 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
1815 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
1816 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
1817 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
1818 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
1819 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
1820 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
1822 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
1823 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
1825 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
1826 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
1827 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
1828 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
1829 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
1830 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
1831 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
1832 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
1833 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
1834 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
1835 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
1836 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
1837 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
1838 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
1839 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
1840 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
1841 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
1842 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
1843 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
1845 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1847 * posix/spawn_faction_addopen.c: Include string.h.
1849 2014-06-11 Roland McGrath <roland@hack.frob.com>
1851 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
1852 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
1853 * nptl/sysdeps/x86_64/Makefile: Moved ...
1854 * sysdeps/x86_64/nptl/Makefile: ... here.
1855 * nptl/sysdeps/x86_64/configure: Moved ...
1856 * sysdeps/x86_64/nptl/configure: ... here.
1857 * nptl/sysdeps/x86_64/configure.ac: Moved ...
1858 * sysdeps/x86_64/nptl/configure.ac: ... here.
1859 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
1860 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
1861 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
1862 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
1863 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
1864 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
1865 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
1866 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
1867 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
1868 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
1869 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
1870 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
1871 * nptl/sysdeps/x86_64/tls.h: Moved ...
1872 * sysdeps/x86_64/nptl/tls.h: ... here.
1873 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
1874 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
1875 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
1876 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
1878 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
1880 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1884 2014-06-11 Joseph Myers <joseph@codesourcery.com>
1886 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
1888 [POSIX] (off_t): Likewise.
1889 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
1890 [POSIX] (S_ISBLK): Require macro.
1891 [POSIX] (S_ISCHR): Likewise.
1892 [POSIX] (S_ISDIR): Likewise.
1893 [POSIX] (S_ISFIFO): Likewise.
1894 [POSIX] (S_ISREG): Likewise.
1895 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
1897 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
1899 [POSIX] (time_t): Likewise.
1900 [POSIX] (timer_t): Likewise.
1902 2014-06-11 Florian Weimer <fweimer@redhat.com>
1905 * posix/spawn_int.h (struct __spawn_action): Make the path string
1906 non-const to support deallocation.
1907 * posix/spawn_faction_addopen.c
1908 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
1909 * posix/spawn_faction_destroy.c
1910 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
1911 path in all spawn_do_open actions.
1912 * posix/tst-spawn.c (do_test): Exercise the copy operation in
1913 posix_spawn_file_actions_addopen.
1915 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
1917 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1918 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1919 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1920 conditional code always true.
1921 (__libc_vfork): New alias.
1923 2014-06-11 Roland McGrath <roland@hack.frob.com>
1925 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1926 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1928 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1930 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1931 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1933 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1934 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1936 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1937 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1939 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1941 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1942 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1943 multiarch strcmp for PPC64.
1944 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1945 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1946 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1947 multiarch optimizations.
1948 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1949 (__libc_ifunc_impl_list): Likewise.
1951 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1953 * benchtests/scripts/validate_benchout.py: New script.
1954 * benchtests/Makefile (bench-func): Call it.
1955 * benchtests/scripts/benchout.schema.json: New file.
1957 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
1959 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1960 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1961 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1962 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1963 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1964 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1965 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1966 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1967 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1968 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1969 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1970 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1971 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1972 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1973 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1974 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1993 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2004 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2008 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2010 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2019 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2021 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2023 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2034 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2036 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2038 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2040 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2042 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2044 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2049 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2051 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2055 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2057 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2059 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2061 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2069 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2072 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2074 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2076 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2078 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2079 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2080 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2081 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2082 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2084 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2086 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2087 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2088 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2089 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2090 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2091 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2092 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2093 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2094 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2095 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2096 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2097 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2098 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2100 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2101 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2103 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2104 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2105 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2106 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2108 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2109 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2110 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2111 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2112 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2113 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2114 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2116 2014-06-10 Wilco <wdijkstr@arm.com>
2118 * math/test-fenv-return.c: New file.
2119 * math/Makefile: Add new test test-fenv-return.
2121 2014-06-10 Joseph Myers <joseph@codesourcery.com>
2124 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2126 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2127 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2128 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2129 0.0L for an argument of 1.0L.
2130 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2132 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2133 value when x - 1 is zero.
2134 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2135 * sysdeps/i386/fpu/libm-test-ulps: Update.
2136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2138 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2141 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2143 2014-06-09 Roland McGrath <roland@hack.frob.com>
2145 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2146 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2148 2014-06-09 Roland McGrath <roland@hack.frob.com>
2150 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2151 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2153 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2154 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2156 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2157 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2159 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2160 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2162 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2163 if not already defined.
2164 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2165 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2166 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2167 (TLS_INIT_TP): Use it.
2168 (TLS_DEFINE_INIT_TP): New macro.
2169 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2171 2014-06-09 Joseph Myers <joseph@codesourcery.com>
2173 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2175 [POSIX] (IXANY): Likewise.
2176 [POSIX] (OLCUC): Likewise.
2177 [POSIX || POSIX2008] (CBAUD): Do not allow.
2178 [POSIX || POSIX2008] (DEFECHO): Likewise.
2179 [POSIX || POSIX2008] (ECHOCTL): Likewise.
2180 [POSIX || POSIX2008] (ECHOKE): Likewise.
2181 [POSIX || POSIX2008] (ECHOPRT): Likewise.
2182 [POSIX || POSIX2008] (EXTA): Likewise.
2183 [POSIX || POSIX2008] (EXTB): Likewise.
2184 [POSIX || POSIX2008] (FLUSHO): Likewise.
2185 [POSIX || POSIX2008] (LOBLK): Likewise.
2186 [POSIX || POSIX2008] (PENDIN): Likewise.
2187 [POSIX || POSIX2008] (SWTCH): Likewise.
2188 [POSIX || POSIX2008] (VDISCARD): Likewise.
2189 [POSIX || POSIX2008] (VDSUSP): Likewise.
2190 [POSIX || POSIX2008] (VLNEXT): Likewise.
2191 [POSIX || POSIX2008] (VREPRINT): Likewise.
2192 [POSIX || POSIX2008] (VSTATUS): Likewise.
2193 [POSIX || POSIX2008] (VWERASE): Likewise.
2194 (B*): Change to B[0123456789]*.
2195 * conform/data/time.h-data [POSIX || UNIX98]
2196 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2197 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2198 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2199 [POSIX] (tm_*): Do not allow.
2201 2014-06-07 Joseph Myers <joseph@codesourcery.com>
2203 * Makefile (install): Don't set LANGUAGE.
2204 * Makefile.in (install): Likewise.
2205 * assert/Makefile (test-assert-ENV): Remove variable.
2206 (test-assert-perr-ENV): Likewise.
2207 * elf/Makefile (neededtest4-ENV): Likewise.
2208 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2209 [$(cross-compiling) = no]: Don't set LANGUAGE.
2210 * io/ftwtest-sh (LANG): Remove variable.
2211 * libio/Makefile (tst-widetext-ENV): Likewise.
2212 * manual/install.texi (Running make install): Don't refer to
2213 environment settings for make install.
2214 * INSTALL: Regenerated.
2215 * nptl/tst-tls6.sh: Don't set LANG.
2216 * posix/globtest.sh (LANG): Remove variable.
2217 * string/Makefile (tester-ENV): Likewise.
2218 (inl-tester-ENV): Likewise.
2219 (noinl-tester-ENV): Likewise.
2220 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2221 [$(cross-compiling) = no]: Don't set LANGUAGE.
2222 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2223 without explicit environment settings.
2225 2014-06-06 Roland McGrath <roland@hack.frob.com>
2227 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2228 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2229 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2230 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2232 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
2234 * crypt/crypt-private.h [DOS]: Add some includes taken from the
2235 other files in the crypt directory.
2236 * crypt/crypt.c: Remove duplicate includes.
2237 * crypt/crypt-entry.c: Likewise.
2238 * crypt/crypt_util.c: Likewise.
2240 2014-06-06 Joseph Myers <joseph@codesourcery.com>
2242 * Makeconfig (run-program-env): New variable.
2243 (run-program-prefix-before-env): Likewise.
2244 (run-program-prefix-after-env): Likewise.
2245 (run-program-prefix): Define in terms of new variables.
2246 (built-program-cmd-before-env): New variable.
2247 (built-program-cmd-after-env): Likewise.
2248 (built-program-cmd): Define in terms of new variables.
2249 (test-program-prefix-before-env): New variable.
2250 (test-program-prefix-after-env): Likewise.
2251 (test-program-prefix): Define in terms of new variables.
2252 (test-program-cmd-before-env): New variable.
2253 (test-program-cmd-after-env): Likewise.
2254 (test-program-cmd): Define in terms of new variables.
2255 * Rules (make-test-out): Use $(run-program-env).
2256 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2257 (help): Do not mention environment variables. Mention
2258 --timeoutfactor option.
2259 (timeoutfactor): New variable.
2260 (blacklist_exports): Remove function.
2261 (exports): Remove variable.
2262 (command): Do not include ${exports}.
2263 * manual/install.texi (Configuring and compiling): Do not mention
2264 test wrappers preserving environment variables. Mention that last
2265 assignment to a variable must take precedence.
2266 * INSTALL: Regenerated.
2267 * benchtests/Makefile (run-bench): Use $(run-program-env).
2268 * catgets/Makefile ($(objpfx)test1.cat): Use
2269 $(built-program-cmd-before-env), $(run-program-env) and
2270 $(built-program-cmd-after-env).
2271 ($(objpfx)test2.cat): Do not specify environment variables
2273 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2274 $(run-program-env) and $(built-program-cmd-after-env).
2275 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2276 $(run-program-env) and $(test-program-cmd-after-env).
2277 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2279 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2280 run_program_env and test_program_cmd_after_env arguments.
2281 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2282 * elf/tst-pathopt.sh: Use run_program_env argument.
2283 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2284 $(test-wrapper-env) and $(run-program-env).
2285 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2286 run_program_env arguments.
2287 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2288 * intl/Makefile ($(objpfx)tst-gettext.out): Use
2289 $(test-program-prefix-before-env), $(run-program-env) and
2290 $(test-program-prefix-after-env).
2291 ($(objpfx)tst-gettext2.out): Likewise.
2292 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2293 run_program_env and test_program_prefix_after_env arguments.
2294 * intl/tst-gettext2.sh: Likewise.
2295 * intl/tst-gettext4.sh: Do not set environment variables
2297 * intl/tst-gettext6.sh: Likewise.
2298 * intl/tst-translit.sh: Likewise.
2299 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2300 $(test-program-prefix-before-env), $(run-program-env) and
2301 $(test-program-prefix-after-env).
2302 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2303 run_program_env and test_program_prefix_after_env arguments.
2304 * math/Makefile (run-regen-ulps): Use $(run-program-env).
2305 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2306 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
2307 explicitly with each use of ${test_wrapper_env}.
2308 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2309 $(test-program-prefix-before-env), $(run-program-env) and
2310 $(test-program-prefix-after-env).
2311 * posix/tst-getconf.sh: Do not set environment variables
2313 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2314 run_program_env and test_program_prefix_after_env arguments.
2315 * stdio-common/tst-printf.sh: Do not set environment variables
2317 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2318 $(test-program-prefix-before-env), $(run-program-env) and
2319 $(test-program-prefix-after-env).
2320 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2321 run_program_env and test_program_prefix_after_env arguments.
2322 Split $test calls into $test_pre and $test.
2323 * timezone/Makefile (build-testdata): Use
2324 $(built-program-cmd-before-env), $(run-program-env) and
2325 $(built-program-cmd-after-env).
2327 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2329 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2330 strlen for non SHARED builds.
2332 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2334 * nptl/allocatestack.c (check_list): Inlined function...
2335 (__reclaim_stacks): ... here.
2337 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2340 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2343 2014-06-05 Joseph Myers <joseph@codesourcery.com>
2345 * Rules (make-test-out): Include
2346 LOCPATH=$(common-objpfx)localedata in default environment.
2347 * debug/Makefile (tst-chk1-ENV): Remove variable.
2348 (tst-chk2-ENV): Likewise.
2349 (tst-chk3-ENV): Likewise.
2350 (tst-chk4-ENV): Likewise.
2351 (tst-chk5-ENV): Likewise.
2352 (tst-chk6-ENV): Likewise.
2353 (tst-lfschk1-ENV): Likewise.
2354 (tst-lfschk2-ENV): Likewise.
2355 (tst-lfschk3-ENV): Likewise.
2356 (tst-lfschk4-ENV): Likewise.
2357 (tst-lfschk5-ENV): Likewise.
2358 (tst-lfschk6-ENV): Likewise.
2359 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2360 (tst-iconv7-ENV): Likewise.
2361 * intl/Makefile (LOCPATH-ENV): Likewise.
2362 (tst-codeset-ENV): Likewise.
2363 (tst-gettext3-ENV): Likewise.
2364 (tst-gettext5-ENV): Likewise.
2365 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2366 (tst-fopenloc-ENV): Likewise.
2367 (tst-fgetws-ENV): Remove variable.
2368 (tst-ungetwc1-ENV): Likewise.
2369 (tst-ungetwc2-ENV): Likewise.
2370 (bug-ungetwc2-ENV): Likewise.
2371 (tst-swscanf-ENV): Likewise.
2372 (bug-ftell-ENV): Likewise.
2373 (tst-fgetwc-ENV): Likewise.
2374 (tst-fseek-ENV): Likewise.
2375 (tst-ftell-partial-wide-ENV): Likewise.
2376 (tst-ftell-active-handler-ENV): Likewise.
2377 (tst-ftell-append-ENV): Likewise.
2378 * posix/Makefile (tst-fnmatch-ENV): Likewise.
2379 (tst-regexloc-ENV): Likewise.
2380 (bug-regex1-ENV): Likewise.
2381 (tst-regex-ENV): Likewise.
2382 (tst-regex2-ENV): Likewise.
2383 (bug-regex5-ENV): Likewise.
2384 (bug-regex6-ENV): Likewise.
2385 (bug-regex17-ENV): Likewise.
2386 (bug-regex18-ENV): Likewise.
2387 (bug-regex19-ENV): Likewise.
2388 (bug-regex20-ENV): Likewise.
2389 (bug-regex22-ENV): Likewise.
2390 (bug-regex23-ENV): Likewise.
2391 (bug-regex25-ENV): Likewise.
2392 (bug-regex26-ENV): Likewise.
2393 (bug-regex30-ENV): Likewise.
2394 (bug-regex32-ENV): Likewise.
2395 (bug-regex33-ENV): Likewise.
2396 (bug-regex34-ENV): Likewise.
2397 (bug-regex35-ENV): Likewise.
2398 (tst-rxspencer-ENV): Likewise.
2399 (tst-rxspencer-no-utf8-ENV): Likewise.
2400 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2401 (tst-sscanf-ENV): Likewise.
2402 (tst-swprintf-ENV): Likewise.
2403 (tst-swscanf-ENV): Likewise.
2404 (test-vfprintf-ENV): Likewise.
2405 (scanf13-ENV): Likewise.
2406 (bug14-ENV): Likewise.
2407 (tst-grouping-ENV): Likewise.
2408 * stdlib/Makefile (tst-strtod-ENV): Likewise.
2409 (tst-strtod3-ENV): Likewise.
2410 (tst-strtod4-ENV): Likewise.
2411 (tst-strtod5-ENV): Likewise.
2412 (testmb2-ENV): Likewise./
2413 * string/Makefile (tst-strxfrm-ENV): Likewise.
2414 (tst-strxfrm2-ENV): Likewise.
2415 (bug-strcoll1-ENV): Likewise.
2416 (test-strcasecmp-ENV): Likewise.
2417 (test-strncasecmp-ENV): Likewise.
2418 * time/Makefile (tst-strptime-ENV): Likewise.
2419 (tst-ftime_l-ENV): Likewise.
2420 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2421 (tst-mbrtowc-ENV): Likewise.
2422 (tst-wcrtomb-ENV): Likewise.
2423 (tst-mbrtowc2-ENV): Likewise.
2424 (tst-c16c32-1-ENV): Likewise.
2425 (tst-mbsnrtowcs-ENV): Likewise.
2427 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2429 * manual/resource.texi (How to get information about the memory
2430 subsystem?): Fix typo.
2431 Reported by Peon de la Parra Ivan <peon@keba.com>
2433 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
2436 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2437 (pthread_spin_lock): Branch out of spin loop to proper location.
2438 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2439 (pthread_spin_lock): Likewise.
2441 * nptl/tst-spin4.c: New test.
2442 * nptl/Makefile (tests): Add tst-spin4.
2444 2014-06-03 Andreas Schwab <schwab@suse.de>
2447 * resolv/res_send.c (send_dg): Reload file descriptor after
2450 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
2452 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2454 2014-06-03 Richard Henderson <rth@redhat.com>
2456 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2457 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2458 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2459 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
2460 in the SAVE_PID block.
2461 (__libc_vfork): New alias.
2462 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2464 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2465 child in registers, not on the stack. Remove RESET_PID conditionals.
2466 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2468 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
2470 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2472 2014-06-03 Wilco <wdijkstr@arm.com>
2474 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2475 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2476 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2477 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2478 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2481 2014-06-03 Wilco <wdijkstr@arm.com>
2483 * sysdeps/aarch64/fpu/math_private.h
2484 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2485 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2486 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2487 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2490 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2492 * crypt/crypt-private.h: Include ufc-crypt.h.
2493 (__b64_from_24bit): Declare extern.
2494 * crypt/crypt_util.c(__b64_from_24bit): New function.
2495 (b64t): New static const variable.
2496 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2497 (b64t): Remove variable.
2498 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2499 * crypt/sha256-crypt.c: Include crypt-private.h.
2500 (b64t): Remove variable.
2501 (__sha256_crypt_r): Remove b64_from_24bit and replace
2502 with __b64_from_24bit.
2503 * crypt/sha512-crypt.c: Likewise.
2505 2014-06-02 Roland McGrath <roland@hack.frob.com>
2507 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2508 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2509 Label the code __libc_vfork rather than __vfork.
2510 [!NOT_IN_libc] (vfork): Define as weak alias.
2511 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2512 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2513 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2515 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2517 * malloc/malloc.c (malloc_info): Fix format specifier for
2520 2014-06-02 Wilco <wdijkstr@arm.com>
2522 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2525 2014-06-02 Wilco <wdijkstr@arm.com>
2528 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2529 Rewrite to reduce FPCR/FPSR accesses.
2531 2014-06-01 David S. Miller <davem@davemloft.net>
2533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2535 2014-05-31 David S. Miller <davem@davemloft.net>
2537 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2538 to occur in round to nearest mode when |x| >= 2.0
2540 2014-05-30 Richard Henderson <rth@twiddle.net>
2542 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2543 (PSEUDO_RET_NOERRNO): Remove.
2544 (ret): Don't redefine.
2545 (ret_NOERRNO): Define in terms of ret.
2546 (ret_ERRVAL): Likewise.
2548 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2549 use of PSEUDO_RET; perform the error check directly.
2551 2014-05-30 Marko Myllynen <myllynen@redhat.com>
2553 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2556 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2558 * malloc/malloc (malloc_info): Fix formatting.
2560 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2561 Roland McGrath <roland@hack.frob.com>
2563 * malloc/malloc (malloc_info): Also print mmapped statistics.
2565 2014-05-30 Roland McGrath <roland@hack.frob.com>
2567 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2568 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2570 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
2572 * malloc/malloc.c (malloc_info): Inline mi_arena.
2574 2014-05-29 Richard Henderson <rth@twiddle.net>
2576 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2577 Remove comma before expanding ASM_ARGS_##nr.
2578 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2579 Make _x0 a strict output; make _x8 a strict input; adjust expansion
2581 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2582 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2583 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2584 (ASM_ARGS_1): Add leading comma.
2586 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2587 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2588 to __errno_location.
2589 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2590 Remove the expected plt for __errno_location.
2592 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2593 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2596 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2597 Always allocate 64 bytes of stack frame. Use ldp/stp to create
2598 it and break it down.
2599 (DOCARGS_0, DOCARGS_1): Do nothing.
2600 (DOCARGS_2): Update to store into the new stack frame.
2601 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2602 (UNDOCARGS_1): Update to restore from the new stack frame.
2603 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2604 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2606 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2607 (SINGLE_THREAD_P): New parameter for result regno.
2608 (PSEUDO): Update to match; use cbz instead of beq.
2610 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2611 Use ENTRY to define the _nocancel entry point. Share the syscall
2612 and syscall error check paths with the cancel path.
2615 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2616 whitespace; tabs before and after asm mnemonics.
2618 2014-05-29 Eric Wong <normalperson@yhbt.net>
2621 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2622 Call fstat64 or stat64 internally, depending on arguments passed.
2623 Replace stat buffer argument with file descriptor argument.
2624 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2625 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2626 Pass fd to __internal_statvfs instead of calling fstat64.
2627 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2628 Pass fd to __internal_statvfs64 instead of calling fstat64.
2629 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2630 Pass -1 to __internal_statvfs instead of calling stat64.
2631 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2632 Pass -1 to __internal_statvfs64 instead of calling stat64.
2634 2014-05-28 Roland McGrath <roland@hack.frob.com>
2636 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2637 that was previously under [RESET_PID].
2638 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2640 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2641 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2643 2014-05-27 Roland McGrath <roland@hack.frob.com>
2645 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2647 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2648 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2650 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
2652 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2654 2014-05-27 Andreas Schwab <schwab@suse.de>
2656 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2658 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2659 * elf/rtld.c (init_tls, dl_main): Likewise.
2660 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2661 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2662 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2663 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2664 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2665 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2666 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2667 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2668 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2669 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2670 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2671 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2672 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2673 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2674 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2675 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2676 * sysdeps/generic/tls.h: Update description.
2678 2014-05-27 Will Newton <will.newton@linaro.org>
2681 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2682 and restore r2 rather than just restoring.
2684 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2687 * libio/tst-ftell-append.c: New test case.
2688 * libio/Makefile (tests): Add test case.
2689 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2691 * libio/wfileops.c (do_ftell_wide): Likewise.
2693 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2697 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2701 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2702 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2703 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2704 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2705 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2706 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2707 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2710 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2713 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2714 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2715 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2716 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2717 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2719 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2720 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2722 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2724 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2726 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2727 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2728 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2730 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2731 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2732 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2733 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
2735 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
2737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
2738 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
2740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
2741 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
2743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
2744 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
2748 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
2751 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
2755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
2756 conditional [RESET_PID].
2757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2758 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
2760 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
2763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
2765 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2766 (__libc_vfork): New strong alias.
2767 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
2769 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
2772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
2774 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
2775 (__libc_vfork): New strong alias.
2776 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
2778 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
2781 2014-05-26 Carlos O'Donell <carlos@redhat.com>
2783 * malloc/malloc.c (mi_arena): New function.
2784 (malloc_info): Remove nested function mi_arena. Call non-nosted
2787 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2789 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
2791 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2792 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2793 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
2794 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
2795 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
2796 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
2797 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
2799 2014-05-26 Andreas Schwab <schwab@suse.de>
2802 * locale/programs/repertoire.c (repertoire_read): Add slash
2803 between I18NPATH element and file name.
2804 * locale/programs/locfile.c (locfile_read): Likewise.
2806 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2808 * nptl/pthread_mutexattr_settype.c
2809 (__pthread_mutexattr_settype):
2810 Disable lock elision for PTHREAD_MUTEX_NORMAL.
2812 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2814 * nptl/tst-mutex5 (do_test):
2815 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
2817 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2819 * benchtests/README: Document 'init' directive.
2820 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
2822 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
2823 (parse_file): Recognize 'init' directive.
2825 2014-05-26 Kyle McMartin <kyle@redhat.com>
2828 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
2829 alignment of struct pthread.
2831 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2834 * nscd/netgroupcache.c (addgetnetgrentX): Look for
2835 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2836 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
2837 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2839 2014-05-25 Richard Henderson <rth@twiddle.net>
2841 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2842 (SINGLE_THREAD_P_PIC): Remove.
2843 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
2844 (SINGLE_THREAD_P_PIC): Remove.
2846 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
2847 branch to syscall error ...
2849 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
2850 from __local_syscall_error to .Lsyscall_error.
2851 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
2852 (SYSCALL_ERROR): Update label name.
2854 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2855 Do not use DOARGS/UNDOARGS.
2856 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
2857 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
2858 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
2859 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
2860 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
2862 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
2865 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
2866 define if !NOT_IN_libc.
2867 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
2868 define with non-default symbol versions.
2870 2014-05-23 Richard Henderson <rth@twiddle.net>
2872 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
2873 (vfork, __vfork): Define via compat_symbol.
2875 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
2876 [!HAVE_IFUNC] (vfork_compat): Remove.
2877 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
2879 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2882 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
2883 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
2886 2014-05-23 Richard Henderson <rth@twiddle.net>
2888 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
2889 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
2890 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
2891 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
2893 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
2894 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
2895 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
2896 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
2897 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
2898 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
2899 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
2900 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
2901 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
2902 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
2903 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
2904 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
2905 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
2906 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
2907 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
2908 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
2909 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
2910 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
2911 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2912 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2913 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2914 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
2915 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
2916 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2917 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2918 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2919 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2920 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2921 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2922 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2923 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2924 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2925 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2926 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2927 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2928 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2929 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2930 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2931 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2932 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2933 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2934 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2935 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2936 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2937 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2938 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2939 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2940 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2941 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2942 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2943 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2944 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2945 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2946 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2947 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2948 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2950 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2951 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2952 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
2953 before exiting on error.
2954 (__libc_vfork): New strong alias.
2955 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2956 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2958 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2959 that was previously under [RESET_PID].
2960 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2962 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2964 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2967 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2968 value when x - 1 is zero.
2969 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2970 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2971 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2972 0.0L for an argument of 1.0L.
2973 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2975 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2976 value when x - 1 is zero.
2977 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2978 * sysdeps/i386/fpu/libm-test-ulps: Update.
2979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2981 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2983 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2984 alphasort and versionsort.
2986 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2988 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2990 [copysignf]: Likewise.
2992 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2994 * crypt/md5-crypt.c: Fix formatting.
2996 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2998 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2999 (b64_from_24bit): New function.
3001 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3003 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3004 libc_hidden_builtin_def to ifunc.
3005 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3006 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3008 2014-05-21 Roland McGrath <roland@hack.frob.com>
3010 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3011 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3013 2014-05-21 Joseph Myers <joseph@codesourcery.com>
3015 * nscd/Depend (linuxthreads): Remove.
3017 * resolv/Depend (linuxthreads): Remove.
3018 * rt/Depend (linuxthreads): Remove.
3020 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3021 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3022 $(common-objpfx)elf/.
3023 (link-libc-before-gnulib): Likewise.
3024 (elfobjdir): Remove variable.
3025 * Makefile (install): Use $(elf-objpfx) instead of
3026 $(common-objpfx)elf/.
3027 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3029 (link-libc-deps): Likewise.
3030 ($(common-objpfx)libc.so): Likewise.
3031 ($(common-objpfx)linkobj/libc.so): Likewise.
3032 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3033 instead of $(common-objpfx)elf/.
3034 (symbolic-link-list): Likewise.
3035 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3036 [$(cross-compiling) = no]: Likewise.
3037 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3039 (static-gnulib-arch): Likewise.
3040 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3041 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3042 $(common-objpfx)elf/.
3044 2014-05-21 Richard Henderson <rth@redhat.com>
3046 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3047 (SINGLE_THREAD_P): Use the correct width load. Fold
3048 into the ldr offset.
3050 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3051 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3053 2014-05-20 Joseph Myers <joseph@codesourcery.com>
3055 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3056 (libgcc_s_resume): Use __attribute_used__.
3057 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3060 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3062 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3063 optimization when used with float constants.
3065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3067 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
3070 * locale/nl_langinfo_l.c: Make direct reference to every
3071 _nl_current_CATEGORY symbol.
3072 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3073 (tests-static): Add tst-langinfo-static.
3074 (tests-special): Add tst-langinfo-static.out.
3075 ($(objpfx)tst-langinfo.out): Redirect output.
3076 ($(objpfx)tst-langinfo-static.out): New.
3077 * localedata/tst-langinfo.sh: Send output to stdout.
3078 * localedata/tst-langinfo-static.c: New file.
3081 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3082 when the shift amount is modulo the limb size.
3084 2014-05-20 Richard Henderson <rth@redhat.com>
3087 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3088 Change type of sa_flags from unsigned int to int.
3091 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3093 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3095 2014-05-20 Will Newton <will.newton@linaro.org>
3097 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3098 Test the return value of the system call in the nocancel case.
3100 2014-05-20 Will Newton <will.newton@linaro.org>
3101 Yvan Roux <yvan.roux@linaro.org>
3103 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3104 #include of asm/ptrace.h.
3105 (PTRACE_GET_THREAD_AREA): Remove #undef.
3106 (PTRACE_GETHBPREGS): Likewise.
3107 (PTRACE_SETHBPREGS): Likewise.
3108 (struct user_regs_struct): New structure.
3109 (struct user_fpsimd_struct): New structure.
3110 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3111 #include of asm/ptrace.h and second #include of sys/user.h.
3112 (PTRACE_GET_THREAD_AREA): Remove #undef.
3113 (PTRACE_GETHBPREGS): Likewise.
3114 (PTRACE_SETHBPREGS): Likewise.
3115 (ELF_NGREG): Use new struct user_regs_struct.
3116 (elf_fpregset_t): Use new struct user_fpsimd_struct.
3118 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3120 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3121 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3123 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3126 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3127 membar to avoid block loads/stores to overlap previous stores.
3129 2014-05-17 Richard Henderson <rth@redhat.com>
3131 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3132 Create the __##syscall_name##_nocancel entry point.
3133 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3134 Remove; let the sysdep-cancel.h code create it.
3136 2014-05-17 David S. Miller <davem@davemloft.net>
3138 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3139 Protect with __USE_GNU.
3140 (TIOCSET_TEMPT): Likewise.
3141 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3142 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3143 these are already provided in bits/ioctl-types.h
3145 2014-05-16 Roland McGrath <roland@hack.frob.com>
3147 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3148 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3150 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3151 Use wait4 regardless of [__NR_waitpid].
3153 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3156 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3157 (_FP_NANSIGN_Q): Set the quiet bit.
3159 2014-05-16 Joseph Myers <joseph@codesourcery.com>
3161 * benchtests/Makefile
3162 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3163 not $(common-objpfx)math/libm.so.
3164 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3165 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3166 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3167 $(common-objpfx)dlfcn/libdl.so.
3168 ($(objpfx)tst-audit8): Depend on $(libm), not
3169 $(common-objpfx)math/libm.so.
3170 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3171 not $(common-objpfx)dlfcn/libdl.so.
3173 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3174 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
3175 [$(build-shared) = yes].
3176 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3177 $(common-objpfx)nptl/libpthread.so.
3178 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3179 $(common-objpfx)math/libm.so$(libm.so-version) or
3180 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3181 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3182 $(common-objpfx)dlfcn/libdl.so.
3183 * setjmp/Makefile (link-libm): Remove variable.
3184 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3185 * stdio-common/Makefile (link-libm): Remove variable.
3186 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3187 * stdlib/Makefile (link-libm): Remove variable.
3188 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3189 ($(objpfx)tst-strtod-round): Likewise.
3190 ($(objpfx)tst-tininess): Likewise.
3191 ($(objpfx)tst-strtod-underflow): Likewise.
3192 ($(objpfx)tst-strtod6): Likewise.
3193 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3194 $(libdl), not $(common-objpfx)nptl/libpthread.so and
3195 $(common-objpfx)dlfcn/libdl.so.
3197 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3199 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3200 BSD terminal modes definitions.
3202 2014-05-16 Roland McGrath <roland@hack.frob.com>
3204 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3205 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3207 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3208 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3209 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3210 Don't do #include_next.
3211 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3212 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3213 Don't do #include_next.
3214 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3215 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3216 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3217 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3219 2014-05-16 Allan McRae <allan@archlinux.org>
3221 * po/sv.po: Update Swedish translation from translation project.
3223 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3226 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
3229 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3230 errno if the TIOCGPTN ioctl fails with an error different than
3232 * login/tst-ptsname.c: New file.
3233 * login/Makefile (tests): Add tst-ptsname.
3236 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3239 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3242 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3243 herrno to return EAI_AGAIN.
3245 2014-05-14 Roland McGrath <roland@hack.frob.com>
3247 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3248 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3249 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3250 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3251 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3252 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3253 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3254 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3255 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3256 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3257 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3258 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3259 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3260 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3261 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3262 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3263 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3264 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3265 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3266 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3267 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3268 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3269 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3270 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3271 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3272 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3273 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3274 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3275 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3276 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3277 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3278 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3280 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3281 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3283 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3284 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3285 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3287 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3288 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3289 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3290 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3291 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3292 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3293 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3295 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3296 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3297 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3299 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3300 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3301 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3303 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3305 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3306 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3307 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3308 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3309 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3310 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3312 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3313 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3314 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3316 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3317 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3318 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3319 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3320 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3321 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3322 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3324 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3326 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3327 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3328 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3329 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3330 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3333 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3334 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3335 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3337 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3338 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3339 (libpthread-sysdep_routines): Add elision-related stuff here instead.
3340 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3341 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3342 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3343 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3344 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3345 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3346 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3347 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3348 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3349 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3350 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3351 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3352 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3353 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3354 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3355 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3356 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3357 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3358 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3359 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3360 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3361 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3362 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3363 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3364 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3365 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3366 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3367 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3369 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3370 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3372 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3373 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3374 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3375 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3376 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3377 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3379 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3380 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3382 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3383 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3385 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3386 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3388 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3389 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3390 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3391 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3393 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3394 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3395 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3396 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3397 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3398 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3399 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3400 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3402 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3403 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3405 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3407 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3408 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3409 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3410 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3411 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3413 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3415 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3417 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3418 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3419 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3420 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3421 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3422 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3424 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3425 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3427 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3428 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3430 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3431 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3433 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3434 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3435 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3436 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3438 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3439 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3440 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3441 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3442 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3443 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3444 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3445 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3447 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3448 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3450 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3452 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3453 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3454 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3455 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3456 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3458 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3460 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3462 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3463 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3464 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3465 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3466 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3467 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3468 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3469 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3470 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3471 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3473 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3474 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3476 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3477 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3479 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3480 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3482 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3483 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3484 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3485 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3486 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3487 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3489 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3490 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3491 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3492 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3493 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3494 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3495 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3496 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3498 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3499 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3501 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3503 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3504 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3505 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3506 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3507 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3509 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3511 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3513 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3514 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3515 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3516 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3517 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3518 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3519 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3520 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3521 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3522 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3523 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3525 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3526 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3528 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3529 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3531 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3532 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3533 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3534 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3535 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3536 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3537 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3538 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3539 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3540 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3541 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3542 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3543 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3544 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3545 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3546 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3547 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3548 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3550 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3551 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3552 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3553 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3555 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3556 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3557 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3558 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3559 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3560 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3561 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3562 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3564 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3565 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3567 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3568 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3569 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3570 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3571 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3572 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3573 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3574 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3575 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3576 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3577 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3578 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3579 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3580 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3581 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3582 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3583 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3585 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3586 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3587 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3588 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3589 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3591 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3592 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3593 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3594 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3595 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3596 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3597 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3598 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3599 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3600 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3602 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3603 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3605 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3606 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3607 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3608 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3609 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3610 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3611 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3612 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3613 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3614 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3615 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3616 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3617 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3618 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3619 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3621 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3623 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3625 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3627 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3629 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3631 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3633 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3635 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3637 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3639 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3640 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3641 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3642 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3643 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3644 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3645 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3646 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3647 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3648 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3649 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3650 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3651 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3652 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
3653 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3655 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3656 that was previously under [RESET_PID].
3657 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3658 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3659 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3661 * sysdeps/i386/nptl/Implies: New file.
3662 * sysdeps/x86_64/nptl/Implies: New file.
3663 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3664 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3665 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3666 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3668 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3669 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3670 (__libc_vfork): New strong alias.
3671 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3672 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3674 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3675 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3676 (__libc_vfork): New strong alias.
3677 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3678 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3680 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3681 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3682 (__libc_vfork): New strong alias.
3683 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3684 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3685 * nptl/pt-vfork.c: New file.
3686 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3687 (libpthread: GLIBC_2.20): New version set (empty).
3689 2014-05-14 Will Newton <will.newton@linaro.org>
3691 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3694 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3697 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3698 arguments with exponent 65 or above.
3699 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3700 arguments 0x1p113L or above.
3701 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3702 to arguments 0x1p107L or above.
3703 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3704 positive arguments with exponent 65 or above.
3705 * math/auto-libm-test-in: Add more tests of log1p.
3706 * math/auto-libm-test-out: Regenerated.
3709 * math/s_cacos.c (__cacos): Ensure zero real part of result from
3710 non-finite arguments is +0.
3711 * math/s_cacosf.c (__cacosf): Likewise.
3712 * math/s_cacosl.c (__cacosl): Likewise.
3713 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3714 * sysdeps/i386/fpu/libm-test-ulps: Update.
3715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3718 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3720 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3721 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3722 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3723 for explicit high bit of mantissa when testing for argument equal
3725 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3726 * sysdeps/i386/fpu/libm-test-ulps: Update.
3727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3730 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3731 (__erf): Scale by 16 instead of 8 in potentially underflowing
3732 case. Ensure exception if result actually underflows.
3733 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3734 (__erff): Scale by 16 instead of 8 in potentially underflowing
3735 case. Ensure exception if result actually underflows.
3736 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
3737 (efx8): Remove variable.
3738 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3739 case. Ensure exception if result actually underflows.
3740 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
3741 (efx8): Remove variable.
3742 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3743 case. Ensure exception if result actually underflows.
3744 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
3745 (efx8): Remove variable.
3746 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3747 case. Ensure exception if result actually underflows.
3748 * math/auto-libm-test-in: Add more tests of erf.
3749 * math/auto-libm-test-out: Regenerated.
3751 2014-05-14 Andreas Schwab <schwab@suse.de>
3753 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
3754 Remove code conditionalized on USE___THREAD.
3756 * config.h.in (HAVE_PT_CHOWN): Define as 0.
3757 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
3760 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3762 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
3763 Define unconditionally.
3764 (__ASSUME_O_CLOEXEC): Likewise.
3765 (__ASSUME_SOCK_CLOEXEC): Likewise.
3766 (__ASSUME_IN_NONBLOCK): Likewise.
3767 (__ASSUME_PIPE2): Likewise.
3768 (__ASSUME_EVENTFD2): Likewise.
3769 (__ASSUME_SIGNALFD4): Likewise.
3770 (__ASSUME_DUP3): Likewise.
3771 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3772 (__ASSUME_DUP3): Do not define.
3773 (__ASSUME_EVENTFD2): Likewise.
3774 (__ASSUME_IN_NONBLOCK): Likewise.
3775 (__ASSUME_O_CLOEXEC): Likewise.
3776 (__ASSUME_PIPE2): Likewise.
3777 (__ASSUME_SIGNALFD4): Likewise.
3778 (__ASSUME_SOCK_CLOEXEC): Likewise.
3779 (__ASSUME_UTIMES): Undefine.
3780 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3781 (__ASSUME_UTIMES): Do not define.
3782 (__ASSUME_O_CLOEXEC): Likewise.
3783 (__ASSUME_SOCK_CLOEXEC): Likewise.
3784 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
3785 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
3787 (__ASSUME_PIPE2): Likewise.
3788 (__ASSUME_EVENTFD2): Likewise.
3789 (__ASSUME_SIGNALFD4): Likewise.
3790 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
3791 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
3793 (__ASSUME_EVENTFD2): Likewise.
3794 (__ASSUME_SIGNALFD4): Likewise.
3795 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3796 (__ASSUME_32BITUIDS): Likewise.
3797 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3798 (__ASSUME_IPC64): Likewise.
3799 (__ASSUME_ST_INO_64_BIT): Likewise.
3800 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
3801 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
3802 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3803 (__ASSUME_UTIMES): Do not define.
3804 (__ASSUME_PSELECT): Likewise.
3805 (__ASSUME_PPOLL): Likewise.
3806 (__ASSUME_O_CLOEXEC): Likewise.
3807 (__ASSUME_SOCK_CLOEXEC): Likewise.
3808 (__ASSUME_IN_NONBLOCK): Likewise.
3809 (__ASSUME_PIPE2): Likewise.
3810 (__ASSUME_EVENTFD2): Likewise.
3811 (__ASSUME_SIGNALFD4): Likewise.
3812 (__ASSUME_DUP3): Likewise.
3813 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3814 (__ASSUME_UTIMES): Likewise.
3815 (__ASSUME_O_CLOEXEC): Likewise.
3816 (__ASSUME_SOCK_CLOEXEC): Likewise.
3817 (__ASSUME_IN_NONBLOCK): Likewise.
3818 (__ASSUME_PIPE2): Likewise.
3819 (__ASSUME_EVENTFD2): Likewise.
3820 (__ASSUME_SIGNALFD4): Likewise.
3821 (__ASSUME_DUP3): Likewise.
3822 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3823 (__ASSUME_UTIMES): Likewise.
3824 (__ASSUME_O_CLOEXEC): Likewise.
3825 (__ASSUME_SOCK_CLOEXEC): Likewise.
3826 (__ASSUME_IN_NONBLOCK): Likewise.
3827 (__ASSUME_PIPE2): Likewise.
3828 (__ASSUME_EVENTFD2): Likewise.
3829 (__ASSUME_SIGNALFD4): Likewise.
3830 (__ASSUME_DUP3): Likewise.
3831 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
3833 (__ASSUME_UTIMES): Likewise.
3834 (__ASSUME_EVENTFD2): Likewise.
3835 (__ASSUME_SIGNALFD4): Likewise.
3836 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3837 (__ASSUME_O_CLOEXEC): Likewise.
3838 (__ASSUME_SOCK_CLOEXEC): Likewise.
3839 (__ASSUME_IN_NONBLOCK): Likewise.
3840 (__ASSUME_PIPE2): Likewise.
3841 (__ASSUME_EVENTFD2): Likewise.
3842 (__ASSUME_SIGNALFD4): Likewise.
3843 (__ASSUME_DUP3): Likewise.
3844 (__ASSUME_UTIMES): Undefine.
3846 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
3847 feclearexcept. Remove symbol versioning code.
3848 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
3849 symbol versioning code.
3850 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
3851 symbol versioning code.
3852 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
3853 feupdateenv. Remove symbol versioning code.
3854 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
3855 fegetexceptflag. Remove symbol versioning code.
3856 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
3857 fesetexceptflag. Remove symbol versioning code.
3858 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
3859 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
3860 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
3861 (__posix_fadvise64_l32): Remove prototype.
3862 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
3865 2014-05-13 Roland McGrath <roland@hack.frob.com>
3867 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
3868 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
3869 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
3870 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
3872 2014-05-13 Sami Kerola <kerolasa@iki.fi>
3874 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
3875 current working directory
3877 2014-05-13 Roland McGrath <roland@hack.frob.com>
3879 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
3880 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
3881 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
3882 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
3883 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
3884 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
3885 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
3886 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
3887 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
3888 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
3889 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
3890 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
3891 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
3892 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
3893 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
3894 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
3895 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
3896 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
3897 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
3898 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
3899 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
3900 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
3901 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
3902 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
3903 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
3904 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
3905 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
3906 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
3907 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
3908 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
3909 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
3910 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
3911 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3912 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3913 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3914 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
3915 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
3916 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3917 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3918 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3919 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3920 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3922 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3923 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3925 * sysdeps/unix/sysv/linux/arm/Makefile
3926 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3927 Add rt-aeabi_unwind_cpp_pr1.
3928 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3929 Add nptl-aeabi_unwind_cpp_pr1.
3930 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3931 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3932 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3933 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3934 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3935 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3937 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3938 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3939 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3940 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3942 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3943 Deconditionalize the code that was previously under [RESET_PID].
3944 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3946 * sysdeps/generic/exit-thread.h: New file.
3947 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3948 * include/unistd.h (__exit_thread): Remove declaration.
3949 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3950 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3951 * csu/libc-start.c: Include <exit-thread.h>.
3952 (LIBC_START_MAIN): Pass no argument to __exit_thread.
3953 * nptl/pthread_create.c: Include <exit-thread.h>.
3954 (start_thread): Call __exit_thread in place of __exit_thread_inline.
3955 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3956 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3957 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3958 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3959 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3960 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3961 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3962 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3963 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3964 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3965 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3966 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3967 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3968 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3969 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3970 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3972 2014-05-13 Andreas Schwab <schwab@suse.de>
3974 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3976 2014-05-12 Joseph Myers <joseph@codesourcery.com>
3978 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3979 (__ASSUME_UTIMES): Do not condition on kernel version.
3980 (__ASSUME_PSELECT): Define unconditionally.
3981 (__ASSUME_PPOLL): Likewise.
3982 (__ASSUME_ATFCTS): Likewise.
3983 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3984 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3985 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3986 (__ASSUME_UTIMENSAT): Define unconditionally.
3987 (__ASSUME_PRIVATE_FUTEX): Likewise.
3988 (__ASSUME_FALLOCATE): Likewise.
3989 (__ASSUME_O_CLOEXEC): Likewise.
3990 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3991 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3992 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3993 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3994 (__ASSUME_IN_NONBLOCK): Likewise.
3995 (__ASSUME_PIPE2): Likewise.
3996 (__ASSUME_EVENTFD2): Likewise.
3997 (__ASSUME_SIGNALFD4): Likewise.
3998 (__ASSUME_DUP3): Likewise.
3999 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4000 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4001 (__ASSUME_AT_RANDOM): Likewise.
4002 (__ASSUME_PREADV): Likewise.
4003 (__ASSUME_PWRITEV): Likewise.
4004 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4005 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4006 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4007 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4008 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4009 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4010 (__ASSUME_O_CLOEXEC): Define unconditionally.
4011 (__ASSUME_PSELECT): Do not undefine conditionally.
4012 (__ASSUME_PPOLL): Likewise.
4013 (__ASSUME_ATFCTS): Likewise.
4014 (__ASSUME_SET_ROBUST_LIST): Likewise.
4015 (__ASSUME_UTIMENSAT): Likewise.
4016 (__ASSUME_FDATASYNC): Define unconditionally.
4017 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4018 (__ASSUME_SIGFRAME_V2): Likewise.
4019 )__ASSUME_EVENTFD2): Likewise.
4020 (__ASSUME_SIGNALFD4): Likewise.
4021 (__ASSUME_PSELECT): Do not undefine conditionally.
4022 (__ASSUME_PPOLL): Likewise.
4023 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4024 (__ASSUME_PSELECT): Define unconditionally.
4025 (__ASSUME_PPOLL): Likewise.
4026 (__ASSUME_O_CLOEXEC): Likewise.
4027 (__ASSUME_SOCK_CLOEXEC): Likewise.
4028 (__ASSUME_IN_NONBLOCK): Likewise.
4029 (__ASSUME_PIPE2): Likewise.
4030 (__ASSUME_EVENTFD2): Likewise.
4031 (__ASSUME_SIGNALFD4): Likewise.
4032 (__ASSUME_DUP3): Likewise.
4033 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4034 (__ASSUME_O_CLOEXEC): Likewise.
4035 (__ASSUME_SOCK_CLOEXEC): Likewise.
4036 (__ASSUME_IN_NONBLOCK): Likewise.
4037 (__ASSUME_PIPE2): Likewise.
4038 (__ASSUME_EVENTFD2): Likewise.
4039 (__ASSUME_SIGNALFD4): Likewise.
4040 (__ASSUME_DUP3): Likewise.
4041 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4042 (__ASSUME_EVENTFD2): Likewise.
4043 (__ASSUME_SIGNALFD4): Likewise.
4044 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4046 2014-05-12 Andreas Schwab <schwab@suse.de>
4049 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4050 (_nss_nis_gethostbyname4_r): Return error if item length is larger
4051 than maximum RPC packet size.
4052 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4053 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4054 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4055 (_nss_nis_getservbyport_r): Likewise.
4057 2014-05-12 Will Newton <will.newton@linaro.org>
4059 * malloc/Makefile (tests): Add tst-mallopt.
4060 * malloc/tst-mallopt.c: New file.
4062 2014-05-09 Roland McGrath <roland@hack.frob.com>
4064 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4065 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4067 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4069 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4070 (tst-tlsmod6.so): Likewise.
4072 2014-05-09 Roland McGrath <roland@hack.frob.com>
4074 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4076 2014-05-09 Joseph Myers <joseph@codesourcery.com>
4079 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4080 and <dl-procinfo.h>.
4081 (__fegetenv): Save SSE state in envp->__eip if supported.
4082 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4083 envp->__eip if supported.
4084 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4085 and <dl-procinfo.h>.
4086 (__fesetenv): Always set __eip, __cs_selector, __opcode,
4087 __data_offset and __data_selector in environment to 0. Set SSE
4089 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4091 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4093 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4095 2014-05-09 Will Newton <will.newton@linaro.org>
4097 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4098 and libc_relro_required for ARM.
4099 * sysdeps/arm/preconfigure: Regenerate.
4101 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
4102 Stefan Liebler <stli@linux.vnet.ibm.com>
4104 * config.make.in (enable-lock-elision): New Makefile variable.
4105 * configure.ac: Likewise.
4106 * configure: Regenerate.
4107 * sysdeps/s390/configure.ac:
4108 Add check for gcc transactions support.
4109 * sysdeps/s390/configure: Regenerate.
4110 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4111 Build elision files if enabled.
4112 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4113 Add lock elision support for s390.
4114 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4115 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4116 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4117 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4118 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4119 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4120 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4122 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4124 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4126 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4128 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4129 (__lll_timedlock_elision, __lll_lock_elision)
4130 (__lll_unlock_elision, __lll_trylock_elision)
4131 (lll_timedlock_elision, lll_lock_elision)
4132 (lll_unlock_elision, lll_trylock_elision): Add.
4133 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4134 (pthread_mutex_t): Add lock elision support for s390.
4136 2014-05-14 Wilco <wdijkstr@arm.com>
4138 * sysdeps/arm/fclrexcpt.c: Cleanup.
4139 * sysdeps/arm/fedisblxcpt.c: Cleanup.
4140 * sysdeps/arm/feenablxcpt.c: Cleanup.
4141 * sysdeps/arm/fegetenv.c: Cleanup.
4142 * sysdeps/arm/fegetexcept.c: Cleanup.
4143 * sysdeps/arm/fegetround.c: Cleanup.
4144 * sysdeps/arm/feholdexcpt.c: Cleanup.
4145 * sysdeps/arm/fesetenv.c: Cleanup.
4146 * sysdeps/arm/fesetround.c: Cleanup.
4147 * sysdeps/arm/feupdateenv.c: Cleanup.
4148 * sysdeps/arm/fgetexcptflg.c: Cleanup.
4149 * sysdeps/arm/fraiseexcpt.c: Cleanup.
4150 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4151 * sysdeps/arm/ftestexcept.c: Cleanup.
4152 * sysdeps/arm/get-rounding-mode.h: Cleanup.
4153 * sysdeps/arm/setfpucw.c: Cleanup.
4155 2014-05-09 Will Newton <will.newton@linaro.org>
4157 * sysdeps/arm/armv7/strcmp.S: New file.
4158 * NEWS: Mention addition of ARMv7 optimized strcmp.
4160 2014-05-08 Roland McGrath <roland@hack.frob.com>
4162 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4163 look for %.ac rather than %.in.
4165 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4166 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4167 * sysdeps/mach/hurd/configure: Regenerated.
4168 * sysdeps/unix/sysv/linux/configure: Regenerated.
4170 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4172 2014-05-07 Steve Ellcey <sellcey@mips.com>
4175 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4179 2014-05-07 Andreas Schwab <schwab@suse.de>
4181 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4182 when skipping over non-matching result from nscd.
4184 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
4187 * nptl/sockperf.c (client): Check socket return value.
4190 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4191 nscd security class.
4193 2014-05-06 Roland McGrath <roland@hack.frob.com>
4195 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4196 * sysdeps/arm/unwind.h: ... here.
4198 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
4201 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4204 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4206 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4207 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4208 multiarch strncpy for PPC64.
4209 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4210 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4211 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4212 multiarch optimizations.
4213 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4214 (__libc_ifunc_impl_list): Likewise.
4215 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4216 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4217 multiarch stpncpy for PPC64.
4218 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4219 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4221 2014-05-06 Andreas Schwab <schwab@suse.de>
4224 * gmon/mcount.c (_MCOUNT_DECL): Use
4225 atomic_compare_and_exchange_bool_acq instead of
4226 catomic_compare_and_exchange_bool_acq.
4228 2014-05-05 Roland McGrath <roland@hack.frob.com>
4230 * elf/Makefile (others, install-bin): Remove pldd.
4231 (pldd-modules): Variable removed.
4232 ($(objpfx)pldd): Target removed.
4233 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4234 (others, install-bin): Append pldd here.
4235 ($(objpfx)pldd): New target.
4237 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4238 to 0, so the first #if test emitted later doesn't see it undefined.
4239 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4240 * sysdeps/gnu/errlist.c: Regenerated.
4242 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4244 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4245 [libc_hidden_builtin_def]: Define to empty value.
4246 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4247 [libc_hidden_builtin_def]: Likewise.
4248 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4249 [libc_hidden_builtin_def]: Likewise.
4250 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4251 [libc_hidden_builtin_def]: Likewise.
4252 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4253 __redirect_memcpy and define ifunc as default hidden symbol.
4254 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4255 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4257 2014-05-04 Adam Conrad <adconrad@0c3.net>
4259 * locale/iso-4217.def: Reintroduce XDR currency.
4261 2014-05-04 Allan McRae <allan@archlinux.org>
4263 * po/eo.po: Update Esperanto translation from translation project.
4265 2014-05-02 Carlos O'Donell <carlos@redhat.com>
4267 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4268 and FEATURE_INDEX_MAX to 1.
4269 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4271 2014-05-01 Steve Ellcey <sellcey@mips.com>
4273 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4274 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4275 * iconvdata/big5.c (ONE_DIRECTION): Define.
4276 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4277 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4278 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4279 * iconvdata/cp932.c (ONE_DIRECTION): Define.
4280 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4281 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4282 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4283 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4284 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4285 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4286 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4287 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4288 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4289 * iconvdata/gbk.c (ONE_DIRECTION): Define.
4290 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4291 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4292 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4293 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4294 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4295 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4296 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4297 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4298 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4299 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4300 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4301 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4302 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4303 * iconvdata/iso646.c (ONE_DIRECTION): Define.
4304 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4305 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4306 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4307 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4308 * iconvdata/johab.c (ONE_DIRECTION): Define.
4309 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4310 * iconvdata/sjis.c (ONE_DIRECTION): Define.
4311 * iconvdata/t.61.c (ONE_DIRECTION): Define.
4312 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4313 * iconvdata/tscii.c (ONE_DIRECTION): Define.
4314 * iconvdata/uhc.c (ONE_DIRECTION): Define.
4315 * iconvdata/unicode.c (ONE_DIRECTION): Define.
4316 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4317 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4318 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4320 2014-05-01 Roland McGrath <roland@hack.frob.com>
4322 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4323 (_IO_JUMPS_OFFSET): Define to 0.
4325 * nptl/sysdeps/pthread/bits/libc-lock.h
4326 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4327 (__libc_lock_define_initialized_recursive): Always define using
4328 initializer. Modern compilers treat uninitialized (implicit zero) and
4329 explicit zero initializers the same (i.e. put the datum in bss).
4331 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4333 * nscd/nscd-client.h: Include <string.h>.
4335 2014-05-01 David S. Miller <davem@davemloft.net>
4338 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4339 multiple zero bytes exist at the end of a string.
4340 Reported by Aurelien Jarno <aurelien@aurel32.net>
4342 * string/test-strcmp.c (check): Add explicit test for situations where
4343 there are multiple zero bytes after the first.
4345 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4348 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4349 when compiling wprintf.
4350 * stdio-common/tstdiomisc.c (t3): New function.
4353 2014-05-01 Steve Ellcey <sellcey@mips.com>
4355 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4356 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4357 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4358 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4360 2014-05-01 Steve Ellcey <sellcey@mips.com>
4362 * stdlib/longlong.h: Updated from GCC.
4364 2014-05-01 Will Newton <will.newton@linaro.org>
4365 Bernard Ogden <bernie.ogden@linaro.org>
4367 * NEWS: Update fixed bug list.
4370 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4372 2014-04-30 David S. Miller <davem@davemloft.net>
4374 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4375 (libc_feholdexcept_setround_sparc_ctx): New function.
4376 (libc_fesetenv_sparc_ctx): Likewise.
4377 (libc_feupdateenv_sparc_ctx): Likewise.
4378 (libc_feholdsetround_sparc_ctx): Likewise.
4379 (libc_feholdexcept_setround_ctx): Define.
4380 (libc_feholdexcept_setroundf_ctx): Likewise.
4381 (libc_feholdexcept_setroundl_ctx): Likewise.
4382 (libc_fesetenv_ctx): Likewise.
4383 (libc_fesetenvf_ctx): Likewise.
4384 (libc_fesetenvl_ctx): Likewise.
4385 (libc_feupdateenv_ctx): Likewise.
4386 (libc_feupdateenvf_ctx): Likewise.
4387 (libc_feupdateenvl_ctx): Likewise.
4388 (libc_feresetround_ctx): Likewise.
4389 (libc_feresetroundf_ctx): Likewise.
4390 (libc_feresetroundl_ctx): Likewise.
4391 (libc_feholdsetround_ctx): Likewise.
4392 (libc_feholdsetroundf_ctx): Likewise.
4393 (libc_feholdsetroundl_ctx): Likewise.
4395 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4396 with __USE_GNU instead of XOPEN cpp guards.
4398 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4401 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4402 with XOPEN cpp guards.
4404 2014-04-30 Julian Brown <julian@codesourcery.com>
4407 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4410 2014-04-30 Joseph Myers <joseph@codesourcery.com>
4413 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4415 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4416 * sysdeps/unix/sysv/linux/configure: Regenerated.
4417 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4418 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4419 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4420 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4421 * README: Update reference to required Linux kernel version.
4422 * manual/install.texi (Linux): Update reference to required Linux
4423 kernel headers version.
4424 * INSTALL: Regenerated.
4426 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4428 [POSIX] (limits.h): Likewise.
4429 [POSIX] (math.h): Likewise.
4430 [POSIX] (sys/wait.h): Likewise.
4431 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4433 [POSIX] (stddef.h): Do not allow header inclusion.
4435 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4437 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4439 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
4441 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4442 Return immediately after lll_futex_wake.
4444 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4447 * nscd/nscd-client.h (datahead_init_common): Initialize entire
4449 (datahead_init_pos): Call datahead_init_common early.
4450 (datahead_init_neg): Likewise.
4452 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4453 datahead_init_neg): New functions.
4454 * nscd/aicache.c (addhstaiX): Use them.
4455 * nscd/grpcache.c (cache_addgr): Likewise.
4456 * nscd/hstcache.c (cache_addhst): Likewise.
4457 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4458 * nscd/netgroupcache.c (do_notfound): Likewise.
4459 (addgetnetgrentX): Likewise.
4460 (addinnetgrX): Likewise.
4461 * nscd/pwdcache.c (cache_addpw): Likewise.
4462 * nscd/servicescache.c (cache_addserv): Likewise.
4464 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4465 Atsushi Onoe <atsushi@onoe.org>
4470 * resolv/res_query.c (__libc_res_nsearch): Return if at least
4471 one response is valid.
4472 * resolv/res_send.c (send_dg): Check for validity of other
4473 response if the current response is a referral.
4475 2014-04-29 Steve Ellcey <sellcey@mips.com>
4477 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4479 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
4482 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4483 Always divide by positive zero when computing -Inf result.
4484 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4485 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4487 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4489 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4490 FPSCR if value do not change.
4491 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4492 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4493 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4494 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4495 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4496 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4499 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
4501 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4502 * sysdeps/unix/sysv/linux/hppa: Move directory from
4503 ports/systeps/unix/sysv/linux/hppa.
4504 * README: Update listing for hppa-*-linux-gnu.
4506 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
4509 * manual/stdio.texi (Hook functions): Fix types of stream hook
4512 * socket/sys/socket.h: Fix typo in comment.
4514 2014-04-28 Wilco <wdijkstr@arm.com>
4516 * sysdeps/arm/fenv_private.h: New file.
4517 * sysdeps/arm/math_private.h: New file.
4518 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4520 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
4522 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4524 (La_x86_64_retval): Likewise.
4526 2014-04-24 Ian Bolton <ian.bolton@arm.com>
4528 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4529 fpsr if value didn't change.
4530 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4531 to fpcr if value didn't change.
4532 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4533 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4534 fpsr or fpcr if value didn't change.
4535 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4536 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4537 fpcr if value didn't change.
4538 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4539 to fpsr if value didn't change.
4541 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4543 * nptl/tst-sem3.c: Use test-skeleton.c
4544 (main): Rename to do_test. Use return instead of
4546 * nptl/tst-sem4.c: Use test-skeleton.c
4547 (main): Rename to do_test.
4549 2014-04-22 David S. Miller <davem@davemloft.net>
4551 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4552 (struct sigaction): New struct member __glibc_reserved0, change
4553 type of sa_flags to int.
4555 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
4557 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4558 (COUNT_LEADING_ZEROS_0): Define for AArch64.
4560 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4562 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4563 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4565 2014-04-22 Will Newton <will.newton@linaro.org>
4566 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
4568 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4569 (__longjmp): Add longjmp and longjmp_target SystemTap
4571 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4572 (__sigsetjmp): Add setjmp SystemTap probe.
4574 2014-04-17 Carlos O'Donell <carlos@redhat.com>
4576 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4579 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4581 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4583 * sysdeps/powerpc/fpu/fenv_private.h
4584 (libc_feholdexcept_setroundl_ctx): Define to
4585 libc_feholdexcept_setround_ppc_ctx.
4586 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4587 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4588 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4589 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4591 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4593 * sysdeps/aarch64/math-tests.h: New file.
4595 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
4597 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4600 Check and set bit_AVX2_Usable.
4601 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4603 (bit_AVX2): Likewise.
4604 (index_AVX2_Usable): Likewise.
4605 (CPUID_AVX2): Likewise.
4606 (HAS_AVX2): Likewise.
4608 2014-04-17 Will Newton <will.newton@linaro.org>
4610 * manual/setjmp.texi (System V contexts): Add note that
4611 calling setcontext on a context created by a call to a
4612 signal handler is undefined. Update text to note that
4613 setcontext from a signal handler is possible but not
4617 * stdlib/tst-setcontext.c: Include signal.h.
4618 (main): Check that the signal stack before and
4619 after swapcontext is the same.
4621 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4622 Re-implement to restore registers in user code and avoid
4623 rt_sigreturn system call.
4625 2014-04-17 Wilco <wdijkstr@arm.com>
4627 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4628 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4629 * math/test-fenv.c: Skip exception trap tests on targets which only
4630 support non-stop mode.
4632 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4633 Wilco Dijkstra <wilco.dijkstra@arm.com>
4635 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4636 (libc_feholdsetround_aarch64_ctx)
4637 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4638 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4639 (libc_feresetround_ctx, libc_feresetroundf_ctx)
4640 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4641 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4642 (libc_feresetround_noexl_ctx): Define.
4644 2014-04-16 Richard Henderson <rth@redhat.com>
4646 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4648 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4651 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4652 const from the non-libc, non-ldso copy.
4654 * sysdeps/alpha/libm-test-ulps: Regenerate.
4656 2014-04-16 Ian Bolton <ian.bolton@arm.com>
4657 Wilco Dijkstra <wilco.dijkstra@arm.com>
4659 * sysdeps/aarch64/fpu/math_private.h: New file.
4661 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
4663 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4665 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
4667 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4668 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4669 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4670 Intel MPX bound registers before _dl_profile_fixup.
4671 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4672 registers after _dl_profile_fixup. Save and restore bound
4673 registers bnd0/bnd1 when calling _dl_call_pltexit.
4674 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4675 (LR_BND_OFFSET): Likewise.
4676 (LRV_BND0_OFFSET): Likewise.
4677 (LRV_BND1_OFFSET): Likewise.
4679 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4681 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4683 * sysdeps/mach/hurd/i386/tls.h: ... here.
4684 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4685 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4688 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4690 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4692 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4694 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4696 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4699 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4700 * sysdeps/s390/configure: Regenerate.
4703 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4704 Set round-to-nearest internally to reduce error accumulation.
4706 2014-04-16 Alan Modra <amodra@gmail.com>
4710 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4711 * math/libm-test.inc (frexp_test_data): Add tests.
4712 * NEWS: Update fixed bug list.
4714 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4716 * benchtests/Makefile: Depend on libraries in build directory.
4717 (bench-math): Separate out math tests.
4718 (bench-pthread): Separate out pthread tests.
4719 (bench): Include math and pthread tests.
4721 2014-04-14 Carlos O'Donell <carlos@redhat.com>
4724 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4725 _dl_debug_initialize.
4727 * configure.ac: Remove SELinux header check.
4728 * configure: Regenerate.
4729 * nscd/selinux.c (perms): Array of const char* to permission names.
4730 (nscd_request_avc_has_perm): Call security_deny_unknown to find
4731 default policy. Call string_to_security_class and string_to_av_perm to
4732 translate strings. Enforce default policy and call avs_has_perm with
4733 results of translated strings.
4735 2014-04-13 David S. Miller <davem@davemloft.net>
4737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4739 2014-04-12 Allan McRae <allan@archlinux.org>
4742 * manual/string.texi (Collation Functions): Fix qsort argument
4744 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4746 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
4748 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4749 Make the test a no-op if there are no exceptions defined.
4751 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4753 * elf/Makefile (tests): make tst-dlopen-aout conditional on
4754 enable-hardcoded-path-in-tests
4756 2014-04-11 Will Newton <will.newton@linaro.org>
4758 * benchtests/Makefile (extra-objs): Add json-lib.o.
4759 (bench-func): Tidy up JSON output.
4760 * benchtests/bench-skeleton.c: Include json-lib.h.
4761 (main): Use JSON library functions to do output of
4763 * benchtests/bench-timing-type.c (main): Output the
4764 timing type simply, leaving formatting to the user.
4765 * benchtests/json-lib.c: New file.
4766 * benchtests/json-lib.h: Likewise.
4768 2014-04-11 Torvald Riegel <triegel@redhat.com>
4771 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
4772 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
4773 memory barriers. Add comments.
4774 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
4775 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
4776 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
4777 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
4778 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
4779 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
4781 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4783 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
4784 * sysdeps/s390/s390-64/configure.ac: ... this ...
4785 * sysdeps/s390/configure.ac: ... to here.
4786 * sysdeps/s390/s390-32/configure: Delete file.
4787 * sysdeps/s390/s390-64/configure: Delete file.
4788 * sysdeps/s390/configure: Regenerate.
4790 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
4792 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
4794 2014-04-11 Will Newton <will.newton@linaro.org>
4796 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
4797 to zero if it is not defined elsewhere. (mtrim): Test
4798 the value of MALLOC_DEBUG with #if rather than #ifdef.
4800 2014-04-10 Torvald Riegel <triegel@redhat.com>
4802 * benchtests/pthread_once-inputs: New file.
4803 * benchtests/pthread_once-source.c: New file.
4804 * benchtests/README: Update documentation.
4806 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
4807 H.J. Lu <hongjiu.lu@intel.com>
4809 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
4810 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
4811 * sysdeps/x86_64/configure: Regenerated.
4812 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
4814 (REGISTER_SAVE_RAX): Likewise.
4815 (REGISTER_SAVE_RCX): Likewise.
4816 (REGISTER_SAVE_RDX): Likewise.
4817 (REGISTER_SAVE_RSI): Likewise.
4818 (REGISTER_SAVE_RDI): Likewise.
4819 (REGISTER_SAVE_R8): Likewise.
4820 (REGISTER_SAVE_R9): Likewise.
4821 (REGISTER_SAVE_BND0): Likewise.
4822 (REGISTER_SAVE_BND1): Likewise.
4823 (REGISTER_SAVE_BND2): Likewise.
4824 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
4825 bound registers when calling _dl_fixup.
4827 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4829 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
4830 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
4832 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
4833 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
4834 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
4835 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
4836 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
4837 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
4838 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
4840 2014-04-09 Peter Brett <peter@peter-b.co.uk>
4843 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
4844 pathconf(_PC_NAME_MAX).
4846 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4848 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
4850 (__PTHREAD_SPINS): Move definition to ...
4851 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4852 (__PTHREAD_SPINS): ... here.
4853 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4854 (__PTHREAD_SPIN): Likewise.
4855 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
4856 (__PTHREAD_SPIN): Likewise.
4857 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
4858 (__PTHREAD_SPIN): Likewise.
4859 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
4860 (__PTHREAD_SPIN): Likewise.
4861 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4862 (__PTHREAD_SPIN): Likewise.
4863 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4864 (__PTHREAD_SPIN): Likewise.
4865 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
4866 (__PTHREAD_SPIN): Likewise.
4867 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4868 (__PTHREAD_SPIN): Likewise.
4869 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4870 (__PTHREAD_SPIN): Likewise.
4871 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4872 (__PTHREAD_SPIN): Likewise.
4873 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4874 (__PTHREAD_SPIN): Likewise.
4875 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
4876 (__PTHREAD_SPIN): Likewise.
4878 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
4879 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
4880 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
4881 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
4883 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
4884 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
4885 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
4886 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
4888 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
4889 strlen symbol for non multi-arch builds.
4890 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
4891 missing hidden_def and weak_alias.
4893 2014-04-08 Carlos O'Donell <carlos@redhat.com>
4895 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
4897 2014-04-07 Will Newton <will.newton@linaro.org>
4899 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4900 and contents. [!_LIBC] Remove #ifndef and contents.
4901 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
4902 * string/memccpy.c (__memccpy): Use ANSI prototype.
4903 * string/memfrob.c (memfrob): Likewise.
4904 * string/strcoll.c (STRCOLL): Likewise.
4905 * string/strlen.c (strlen): Likewise.
4906 * string/strtok.c (STRTOK): Likewise.
4907 * string/strcat.c: Remove unused #include of memcopy.h.
4908 (strcat): Use ANSI prototype.
4909 * string/strchr.c: Remove unused #include of memcopy.h.
4910 (strchr): Use ANSI prototype.
4911 * string/strcmp.c: Remove unused #include of memcopy.h.
4912 (strcmp): Use ANSI prototype.
4913 * string/strcpy.c: Remove unused #include of memcopy.h.
4914 (strcpy): Use ANSI prototype.
4916 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4918 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4919 * config.make.in (config-extra-cppflags): Set it from
4920 libc_extra_cppflags.
4921 * configure.ac (libc_extra_cflags): Make it accumulate over
4922 configure fragments.
4923 (libc_extra_cppflags): New flag.
4924 * configure. Regenerate.
4925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4926 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4927 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
4928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4931 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4932 result for FE_DOWNWARD rounding mode.
4933 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4937 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
4939 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4940 in function argument name.
4942 2014-04-03 David Svoboda <svoboda@cert.org>
4945 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4948 2014-04-03 Roland McGrath <roland@hack.frob.com>
4950 * elf/dl-unmap-segments.h: New file.
4951 * sysdeps/generic/ldsodefs.h
4952 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4953 * elf/dl-close.c: Include <dl-unmap-segments.h>.
4954 * elf/dl-fptr.c: Likewise.
4955 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4956 * sysdeps/aarch64/tlsdesc.c: Likewise.
4957 * sysdeps/arm/tlsdesc.c: Likewise.
4958 * sysdeps/i386/tlsdesc.c: Likewise.
4959 * sysdeps/tile/dl-runtime.c: Likewise.
4960 * sysdeps/x86_64/tlsdesc.c: Likewise.
4961 * elf/dl-load.h: New file.
4962 * elf/dl-load.c: Include it.
4963 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4964 Macros moved to dl-load.h.
4965 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4966 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4967 Use _dl_unmap_segments in place of __munmap.
4968 Break out segment-mapping loop into ...
4969 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4971 2014-04-03 Will Newton <will.newton@linaro.org>
4973 * elf/dl-lookup.c (do_lookup_x): Remove comment
4974 referring to nested function and move variable
4975 declarations down to before first use.
4977 2014-04-02 Joseph Myers <joseph@codesourcery.com>
4981 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4983 * math/s_catanf.c (__catanf): Likewise.
4984 * math/s_catanh.c (__catanh): Likewise.
4985 * math/s_catanhf.c (__catanhf): Likewise.
4986 * math/s_catanhl.c (__catanhl): Likewise.
4987 * math/s_catanl.c (__catanl): Likewise.
4988 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4989 by positive zero when computing -Inf result.
4990 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4991 (catanh_test): Likewise.
4992 * sysdeps/i386/fpu/libm-test-ulps: Update.
4993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4996 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4997 instead of using underflowing value in computing result.
4998 * math/s_clog10.c (__clog10): Likewise.
4999 * math/s_clog10f.c (__clog10f): Likewise.
5000 * math/s_clog10l.c (__clog10l): Likewise.
5001 * math/s_clogf.c (__clogf): Likewise.
5002 * math/s_clogl.c (__clogl): Likewise.
5003 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5004 (clog10_test): Likewise.
5005 * sysdeps/i386/fpu/libm-test-ulps: Update.
5006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5008 2014-04-02 Alan Modra <amodra@gmail.com>
5011 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5012 output when value is near a power of two. Use int64_t for lx and
5013 remove casts. Use decimal rather than hex exponent constants.
5014 Don't use long double multiplication when double will suffice.
5015 * math/libm-test.inc (nextafter_test_data): Add tests.
5016 * NEWS: Add 16739 and 16786 to bug list.
5018 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5020 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5022 2014-04-01 Will Newton <will.newton@linaro.org>
5024 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5025 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5027 2014-04-01 Florian Weimer <fweimer@redhat.com>
5030 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5031 * nptl/tst-setuid2.c: New file.
5032 * nptl/Makefile (xtests): Add tst-setuid2.
5034 2014-04-01 Alan Modra <amodra@gmail.com>
5037 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5039 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5043 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5044 set errno as appropriate.
5045 * math/w_scalbf.c (__scalbf): Likewise.
5046 * math/w_scalbl.c (__scalbl): Likewise.
5047 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5048 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5049 * math/libm-test.inc (scalb_test_data): Add errno expectations.
5053 * math/w_atan2.c: Include <errno.h>.
5054 (__atan2): Set errno for result underflowing to zero.
5055 * math/w_atan2f.c: Include <errno.h>.
5056 (__atan2f): Set errno for result underflowing to zero.
5057 * math/w_atan2l.c: Include <errno.h>.
5058 (__atan2l): Set errno for result underflowing to zero.
5059 * math/auto-libm-test-in: Don't allow missing errno for some atan2
5061 * math/auto-libm-test-out: Regenerated.
5063 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5065 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5066 Encode instruction correctly in little endian.
5067 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5069 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5071 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5073 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5076 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5079 * sysdeps/unix/sysv/linux/kernel-features.h
5080 [__sparc__ && !__arch64__ && !__sparc_v9__]
5081 (__ASSUME_SET_ROBUST_LIST): Do not define.
5082 [__sparc__ && !__arch64__ && !__sparc_v9__]
5083 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5084 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5086 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5087 (__ASSUME_FUTEX_LOCK_PI): Undefine.
5088 (__ASSUME_REQUEUE_PI): Likewise.
5089 (__ASSUME_SET_ROBUST_LIST): Likewise.
5090 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5091 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5093 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5094 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5096 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5098 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5100 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5101 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5103 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5104 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5108 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5109 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5110 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5112 2014-03-31 Will Newton <will.newton@linaro.org>
5114 * benchtests/Makefile (bench): Add ffs and ffsll to list
5116 * benchtests/ffs-inputs: New file.
5117 * benchtests/ffsll-inputs: Likewise.
5119 2014-03-29 Joseph Myers <joseph@codesourcery.com>
5122 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5123 too large before casting to int.
5124 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5125 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5126 * math/libm-test.inc (scalb_test_data): Add more tests.
5128 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5130 * benchtests/Makefile (DETAILED_OPT): New make option.
5131 (bench-func): Run benchmark program with -d if DETAILED_OPT is
5133 * benchtests/bench-skeleton.c: Include stdbool.h.
5134 (main): Store and print timings per input.
5135 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5136 member to each argument value.
5137 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5138 (_print_arg_data): Initialize per-input timing to 0.
5140 * benchtests/Makefile (timing-type): New binary.
5141 (bench-clean): Also remove bench-timing-type.
5142 (bench): New target for timing-type.
5143 (bench-func): Print output in JSON format.
5144 * benchtests/bench-skeleton.c (main): Print output in JSON
5146 * benchtests/bench-timing-type.c: New file.
5147 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5148 (TIMING_PRINT_STATS): Remove.
5149 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5152 * benchtests/bench-modf.c: Remove.
5153 * benchtests/modf-inputs: New inputs file.
5155 2014-03-28 Joseph Myers <joseph@codesourcery.com>
5158 * math/s_clog10.c (M_PI_LOG10E): New macro.
5159 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5160 imaginary parts are 0.
5161 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5162 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5163 imaginary parts are 0.
5164 * math/s_clog10l.c (M_PI_LOG10El): New macro.
5165 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5166 imaginary parts are 0.
5167 * math/libm-test.inc (clog10_test_data): Update expected results
5168 for when real and imaginary parts are 0.
5170 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5172 * elf/dl-load.c: Finish conversion of __builtin_expect into
5175 2014-03-27 Joseph Myers <joseph@codesourcery.com>
5178 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5179 1+x for argument with exponent below -67.
5180 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5182 * math/auto-libm-test-in: Add more tests of exp.
5183 * math/auto-libm-test-out: Regenerated.
5185 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5188 * inet/getnetgrent_r.c (get_nonempty_val): New function.
5189 (nscd_getnetgrent): Use it.
5192 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5195 2014-03-27 Andi Kleen <ak@linux.intel.com>
5197 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5198 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5199 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5200 (lll_robust_unlock): Remove out of line section. Use cfi
5202 (LLL_STUB_UNWIND_INFO*): Remove.
5203 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5204 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5205 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5206 (lll_robust_unlock): Remove out of line section. Use cfi
5208 (LLL_STUB_UNWIND_INFO*): Remove.
5210 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5213 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5216 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
5218 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5220 2014-03-26 Joseph Myers <joseph@codesourcery.com>
5223 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5225 * math/test-fenv-preserve.c: New file.
5226 * math/Makefile (tests): Add test-fenv-preserve.
5228 2014-03-26 Will Newton <will.newton@linaro.org>
5230 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5232 2014-03-25 Roland McGrath <roland@hack.frob.com>
5234 * scripts/versionlist.awk: Partition the version sets and emit all
5235 GLIBC_* (sorted) before all others (sorted).
5237 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5239 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5240 GLIBC_2.2.5 version.
5242 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5244 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5247 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5252 2014-03-25 Andreas Schwab <schwab@suse.de>
5254 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5255 label to be used after in6ailist is initialized.
5257 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5259 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5260 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5262 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5266 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5268 (fp_formats): Update initializers.
5269 (init_fp_formats): Initialize new field.
5270 (output_for_one_input_case): Allow underflow for results up to
5272 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5273 * math/auto-libm-test-in: Don't mark some underflows from asin and
5275 * math/auto-libm-test-out: Regenerated.
5276 * sysdeps/i386/fpu/libm-test-ulps: Update.
5277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5279 2014-03-25 Andreas Schwab <schwab@suse.de>
5281 * libio/Makefile (tst-ftell-partial-wide-ENV)
5282 (tst-ftell-active-handler-ENV): Define.
5284 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5286 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5288 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5290 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5292 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5294 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5295 * sysdeps/x86_64/fpu/multiarch/e_exp.c
5296 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5298 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5301 * elf/dl-load.c (open_verify): Add mode parameter.
5302 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5303 (open_path): Change from boolean 'secure' to complete flag 'mode'
5304 (_dl_map_object): Adjust.
5305 * elf/Makefile (tests): Add tst-dlopen-aout.
5306 * elf/tst-dlopen-aout.c: New test.
5308 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5311 * sysdeps/unix/sysv/linux/s390/bits/stat.h
5312 (struct stat): Rename member pad0 to __glibc_reserved0.
5315 * sysdeps/s390/s390-32/bits/wordsize.h
5316 (__WORDSIZE32_SIZE_ULONG): New define.
5317 * sysdeps/s390/s390-64/bits/wordsize.h
5318 (__WORDSIZE32_SIZE_ULONG): Likewise.
5319 * sysdeps/generic/stdint.h (SIZE_MAX):
5320 Define as UL if __WORDSIZE32_SIZE_ULONG.
5323 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5324 (__glibc_reserved0): New variable.
5325 (sa_flags): Change type to int.
5327 * posix/Makefile (before-compile): Use += before-compile instead
5330 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5331 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5333 2014-03-20 Andreas Schwab <schwab@suse.de>
5336 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5337 non-matching result from nscd.
5339 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5341 * scripts/bench.py: Moved to ...
5342 * benchtests/scripts/bench.py: ... here.
5343 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5345 2014-03-24 Andreas Schwab <schwab@suse.de>
5348 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5349 alloca_account and account alloca use for struct in6ailist.
5351 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5354 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5355 rounding mode to recompute results that overflow to infinity or
5357 * math/auto-libm-test-in: Don't mark tests as expected to fail for
5359 * math/auto-libm-test-out: Regenerated.
5360 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5361 (ccosh_test): Likewise.
5362 (csin_test_data): Use plus_oflow.
5363 (csin_test): Use ALL_RM_TEST.
5364 (csinh_test_data): Use plus_oflow.
5365 (csinh_test): Use ALL_RM_TEST.
5366 * sysdeps/i386/fpu/libm-test-ulps: Update.
5367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5369 2014-03-21 Joseph Myers <joseph@codesourcery.com>
5371 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5372 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5373 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5376 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5378 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5379 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5380 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5381 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5383 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5384 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5386 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5387 * sysdeps/i386/fpu/libm-test-ulps: Update.
5388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5390 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5392 * scripts/bench.pl: Remove file.
5393 * scripts/bench.py: New benchmark script.
5394 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5395 * benchtests/README: Mention python dependency.
5396 * scripts/pylintrc: New file.
5397 * scripts/pylint: New file.
5399 * bits/mathdef.h: Use #ifdef instead of #if.
5400 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5401 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5402 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5403 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5404 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5405 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5407 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5408 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5410 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5411 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5412 and strpbrk-ppc64 objects.
5413 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5414 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5415 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5416 multiarch strpbrk for POWER7.
5417 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5418 multiarch strpbrk for PPC64.
5419 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5421 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5424 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5426 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5427 (atan_test): Likewise.
5428 (atanh_test_data): Use NO_TEST_INLINE for two tests.
5429 (atanh_test): Use ALL_RM_TEST.
5430 (atan2_test_data): Likewise.
5431 (cabs_test): Likewise.
5432 (cacosh_test): Likewise.
5433 (carg_test): Likewise.
5434 (casin_test): Likewise.
5435 (casinh_test): Likewise.
5436 (cbrt_test): Likewise.
5437 (csqrt_test): Likewise.
5438 (erf_test): Likewise.
5439 (erfc_test): Likewise.
5440 (pow10_test): Likewise.
5441 (exp2_test): Likewise.
5442 (hypot_test): Likewise.
5443 (j0_test): Likewise.
5444 (j1_test): Likewise.
5445 (lgamma_test): Likewise.
5446 (gamma_test): Likewise.
5447 (sincos_test): Likewise.
5448 (tanh_test): Likewise.
5449 (y0_test): Likewise.
5450 (y1_test): Likewise.
5451 * sysdeps/i386/fpu/libm-test-ulps: Update.
5452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5454 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5456 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5457 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5458 and strcspn-ppc64 objects.
5459 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5460 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5461 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5462 multiarch strcspn for POWER7.
5463 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5464 multiarch strcspn for PPC64.
5465 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5467 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5470 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5472 * math/gen-libm-test.pl (generate_testfile): Expect only function
5473 name as argument to AUTO_TESTS_* and pass results for all rounding
5474 modes to parse_args.
5475 (parse_auto_input): Separate inputs of automatic tests from
5476 outputs before storing in %auto_tests.
5477 * math/libm-test.inc (acos_test_data): Update call to
5479 (acos_test): Use ALL_RM_TEST.
5480 (acos_tonearest_test_data): Remove.
5481 (acos_test_tonearest): Likewise.
5482 (acos_towardzero_test_data): Likewise.
5483 (acos_test_towardzero): Likewise.
5484 (acos_downward_test_data): Likewise.
5485 (acos_test_downward): Likewise.
5486 (acos_upward_test_data): Likewise.
5487 (acos_test_upward): Likewise.
5488 (acosh_test_data): Update call to AUTO_TESTS_f_f.
5489 (asin_test_data): Likewise.
5490 (asin_test): Use ALL_RM_TEST.
5491 (asin_tonearest_test_data): Remove.
5492 (asin_test_tonearest): Likewise.
5493 (asin_towardzero_test_data): Likewise.
5494 (asin_test_towardzero): Likewise.
5495 (asin_downward_test_data): Likewise.
5496 (asin_test_downward): Likewise.
5497 (asin_upward_test_data): Likewise.
5498 (asin_test_upward): Likewise.
5499 (asinh_test_data): Update call to AUTO_TESTS_f_f.
5500 (atan_test_data): Likewise.
5501 (atanh_test_data): Likewise.
5502 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5503 (cabs_test_data): Update call to AUTO_TESTS_c_f.
5504 (carg_test_data): Likewise.
5505 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5506 (ccos_test_data): Update call to AUTO_TESTS_c_c.
5507 (ccosh_test_data): Likewise.
5508 (cexp_test_data): Likewise.
5509 (clog_test_data): Likewise.
5510 (clog10_test_data): Likewise.
5511 (cos_test_data): Update call to AUTO_TESTS_f_f.
5512 (cos_test): Use ALL_RM_TEST.
5513 (cos_tonearest_test_data): Remove.
5514 (cos_test_tonearest): Likewise.
5515 (cos_towardzero_test_data): Likewise.
5516 (cos_test_towardzero): Likewise.
5517 (cos_downward_test_data): Likewise.
5518 (cos_test_downward): Likewise.
5519 (cos_upward_test_data): Likewise.
5520 (cos_test_upward): Likewise.
5521 (cosh_test_data): Update call to AUTO_TESTS_f_f.
5522 (cosh_test): Use ALL_RM_TEST.
5523 (cosh_tonearest_test_data): Remove.
5524 (cosh_test_tonearest): Likewise.
5525 (cosh_towardzero_test_data): Likewise.
5526 (cosh_test_towardzero): Likewise.
5527 (cosh_downward_test_data): Likewise.
5528 (cosh_test_downward): Likewise.
5529 (cosh_upward_test_data): Likewise.
5530 (cosh_test_upward): Likewise.
5531 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5532 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5533 (ctan_test_data): Likewise.
5534 (ctan_test): Use ALL_RM_TEST.
5535 (ctan_tonearest_test_data): Remove.
5536 (ctan_test_tonearest): Likewise.
5537 (ctan_towardzero_test_data): Likewise.
5538 (ctan_test_towardzero): Likewise.
5539 (ctan_downward_test_data): Likewise.
5540 (ctan_test_downward): Likewise.
5541 (ctan_upward_test_data): Likewise.
5542 (ctan_test_upward): Likewise.
5543 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5544 (ctanh_test): Use ALL_RM_TEST.
5545 (ctanh_tonearest_test_data): Remove.
5546 (ctanh_test_tonearest): Likewise.
5547 (ctanh_towardzero_test_data): Likewise.
5548 (ctanh_test_towardzero): Likewise.
5549 (ctanh_downward_test_data): Likewise.
5550 (ctanh_test_downward): Likewise.
5551 (ctanh_upward_test_data): Likewise.
5552 (ctanh_test_upward): Likewise.
5553 (erf_test_data): Update call to AUTO_TESTS_f_f.
5554 (erfc_test_data): Likewise.
5555 (exp_test_data): Likewise.
5556 (exp_test): Use ALL_RM_TEST.
5557 (exp_tonearest_test_data): Remove.
5558 (exp_test_tonearest): Likewise.
5559 (exp_towardzero_test_data): Likewise.
5560 (exp_test_towardzero): Likewise.
5561 (exp_downward_test_data): Likewise.
5562 (exp_test_downward): Likewise.
5563 (exp_upward_test_data): Likewise.
5564 (exp_test_upward): Likewise.
5565 (exp10_test_data): Update call to AUTO_TESTS_f_f.
5566 (exp10_test): Use ALL_RM_TEST.
5567 (exp10_tonearest_test_data): Remove.
5568 (exp10_test_tonearest): Likewise.
5569 (exp10_towardzero_test_data): Likewise.
5570 (exp10_test_towardzero): Likewise.
5571 (exp10_downward_test_data): Likewise.
5572 (exp10_test_downward): Likewise.
5573 (exp10_upward_test_data): Likewise.
5574 (exp10_test_upward): Likewise.
5575 (exp2_test_data): Update call to AUTO_TESTS_f_f.
5576 (expm1_test_data): Likewise.
5577 (expm1_test): Use ALL_RM_TEST.
5578 (expm1_tonearest_test_data): Remove.
5579 (expm1_test_tonearest): Likewise.
5580 (expm1_towardzero_test_data): Likewise.
5581 (expm1_test_towardzero): Likewise.
5582 (expm1_downward_test_data): Likewise.
5583 (expm1_test_downward): Likewise.
5584 (expm1_upward_test_data): Likewise.
5585 (expm1_test_upward): Likewise.
5586 (fma_test_data): Update call to AUTO_TESTS_fff_f.
5587 (fma_test): Use ALL_RM_TEST.
5588 (fma_towardzero_test_data): Remove.
5589 (fma_test_towardzero): Likewise.
5590 (fma_downward_test_data): Likewise.
5591 (fma_test_downward): Likewise.
5592 (fma_upward_test_data): Likewise.
5593 (fma_test_upward): Likewise.
5594 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5595 (j0_test_data): Update call to AUTO_TESTS_f_f.
5596 (j1_test_data): Likewise.
5597 (jn_test_data): Update call to AUTO_TESTS_if_f.
5598 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5599 (log_test_data): Update call to AUTO_TESTS_f_f.
5600 (log10_test_data): Likewise.
5601 (log1p_test_data): Likewise.
5602 (log2_test_data): Likewise.
5603 (pow_test_data): Update call to AUTO_TESTS_ff_f.
5604 (pow_tonearest_test_data): Likewise.
5605 (sin_test_data): Update call to AUTO_TESTS_f_f.
5606 (sin_test): Use ALL_RM_TEST.
5607 (sin_tonearest_test_data): Remove.
5608 (sin_test_tonearest): Likewise.
5609 (sin_towardzero_test_data): Likewise.
5610 (sin_test_towardzero): Likewise.
5611 (sin_downward_test_data): Likewise.
5612 (sin_test_downward): Likewise.
5613 (sin_upward_test_data): Likewise.
5614 (sin_test_upward): Likewise.
5615 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5616 (sinh_test_data): Update call to AUTO_TESTS_f_f.
5617 (sinh_test): Use ALL_RM_TEST.
5618 (sinh_tonearest_test_data): Remove.
5619 (sinh_test_tonearest): Likewise.
5620 (sinh_towardzero_test_data): Likewise.
5621 (sinh_test_towardzero): Likewise.
5622 (sinh_downward_test_data): Likewise.
5623 (sinh_test_downward): Likewise.
5624 (sinh_upward_test_data): Likewise.
5625 (sinh_test_upward): Likewise.
5626 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5627 (sqrt_test): Use ALL_RM_TEST.
5628 (sqrt_tonearest_test_data): Remove.
5629 (sqrt_test_tonearest): Likewise.
5630 (sqrt_towardzero_test_data): Likewise.
5631 (sqrt_test_towardzero): Likewise.
5632 (sqrt_downward_test_data): Likewise.
5633 (sqrt_test_downward): Likewise.
5634 (sqrt_upward_test_data): Likewise.
5635 (sqrt_test_upward): Likewise.
5636 (tan_test_data): Update call to AUTO_TESTS_f_f.
5637 (tan_test): Use ALL_RM_TEST.
5638 (tan_tonearest_test_data): Remove.
5639 (tan_test_tonearest): Likewise.
5640 (tan_towardzero_test_data): Likewise.
5641 (tan_test_towardzero): Likewise.
5642 (tan_downward_test_data): Likewise.
5643 (tan_test_downward): Likewise.
5644 (tan_upward_test_data): Likewise.
5645 (tan_test_upward): Likewise.
5646 (tanh_test_data): Update call to AUTO_TESTS_f_f.
5647 (tgamma_test_data): Likewise.
5648 (y0_test_data): Likewise.
5649 (y1_test_data): Likewise.
5650 (yn_test_data): Update call to AUTO_TESTS_if_f.
5651 (main): Do not call removed functions.
5653 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5655 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5656 (ldexp_test_data): Remove.
5657 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
5659 (scalb_test): Use ALL_RM_TEST.
5661 2014-03-19 Andreas Schwab <schwab@suse.de>
5663 * nscd/nscd.service: Also invalidate netgroup cache on reload.
5665 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5668 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5669 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5670 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5671 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5672 (__ASSUME_PREADV): Undefine.
5673 (__ASSUME_PWRITEV): Likewise.
5675 2014-03-18 Roland McGrath <roland@hack.frob.com>
5677 * bits/mman-linux.h: Add comment about non-Linux use.
5678 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5679 bits/mman-linux.h resting place.
5681 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5682 * bits/mman-linux.h: ... here.
5684 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5686 * conform/conformtest.pl: Add standard definition when calling C
5687 preprocessor on data files.
5688 (checknamespace): Remove unused variable.
5690 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5692 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5693 minus_oflow, plus_uflow and minus_uflow in expected results.
5694 * math/libm-test.inc (scalbn_test_data): Add more tests of
5695 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
5697 (scalbn_test): Use ALL_RM_TEST.
5698 (scalbln_test_data): Add more tests of negative arguments. Use
5699 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5700 (scalbln_test): Use ALL_RM_TEST.
5702 2014-03-18 Roland McGrath <roland@hack.frob.com>
5704 * scripts/abilist.awk: Ignore symbols marked with .hidden.
5706 2014-03-18 Will Newton <will.newton@linaro.org>
5708 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5711 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5713 * Makerules [!subdir] (check-abi): Exit with error status if a
5716 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5718 * math/libm-test.inc (nearbyint_test_data): Include all tests used
5719 for rint. Include results for all rounding modes.
5720 (nearbyint_test): Use ALL_RM_TEST.
5721 (rint_test_data): Include all tests used for nearbyint.
5723 2014-03-17 Will Newton <will.newton@linaro.org>
5725 * nptl/sysdeps/pthread/pthread.h: Revert previous
5728 * sysdeps/generic/ldsodefs.h: Revert previous
5731 * libio/genops.c: Revert previous change.
5732 * libio/libioP.h: Likewise.
5733 * stdio-common/vfprintf.c: Likewise.
5735 * sysdeps/generic/math_private.h: Revert previous
5738 * sysdeps/generic/math_private.h: Check whether
5739 HAVE_RM_CTX is defined with #ifdef rather
5742 * argp/argp-fmtstream.h: Check whether
5743 __STRICT_ANSI__ is defined with #ifdef rather
5745 * argp/argp.h: Likewise.
5747 * libio/genops.c: Check whether
5748 _IO_JUMPS_OFFSET is defined with #ifdef rather
5750 * libio/libioP.h: Likewise.
5751 * stdio-common/vfprintf.c: Likewise.
5753 * sysdeps/generic/ldsodefs.h: Check whether
5754 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
5757 * nptl/sysdeps/pthread/pthread.h: Check
5758 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5761 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5763 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
5765 * libio/tst-ftell-active-handler.c (do_append_test): Add a
5769 * libio/fileops.c (_IO_file_open): Seek to end of file but
5770 don't cache the offset.
5771 (get_file_offset): Remove function.
5772 (do_ftell): Use cached offset when available.
5773 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
5774 don't cache the offset.
5775 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
5777 (do_one_test): Call it.
5778 (do_ftell_test): Fix up expected old offset for a+ mode.
5779 * libio/wfileops.c (do_ftell_wide): Used cached offset when
5782 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
5783 up test status with function return status.
5784 (do_write_test): Likewise.
5785 (do_append_test): Likewise.
5787 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
5788 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
5791 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5793 * math/gen-libm-test.pl (parse_args): Handle results specified for
5794 each rounding mode separately.
5795 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
5796 tests and results from lrint_tonearest_test_data,
5797 lrint_towardzero_test_data, lrint_downward_test_data and
5798 lrint_upward_test_data.
5799 (lrint_test): Use ALL_RM_TEST.
5800 (lrint_tonearest_test_data): Remove.
5801 (lrint_test_tonearest): Likewise.
5802 (lrint_towardzero_test_data): Likewise.
5803 (lrint_test_towardzero): Likewise.
5804 (lrint_downward_test_data): Likewise.
5805 (lrint_test_downward): Likewise.
5806 (lrint_upward_test_data): Likewise.
5807 (lrint_test_upward): Likewise.
5808 (llrint_test_data): Merge in per-rounding-mode tests and results
5809 from llrint_tonearest_test_data, llrint_towardzero_test_data,
5810 llrint_downward_test_data and llrint_upward_test_data.
5811 (llrint_test): Use ALL_RM_TEST.
5812 (llrint_tonearest_test_data): Remove.
5813 (llrint_test_tonearest): Likewise.
5814 (llrint_towardzero_test_data): Likewise.
5815 (llrint_test_towardzero): Likewise.
5816 (llrint_downward_test_data): Likewise.
5817 (llrint_test_downward): Likewise.
5818 (llrint_upward_test_data): Likewise.
5819 (llrint_test_upward): Likewise.
5820 (rint_test_data): Merge in per-rounding-mode tests and results
5821 from rint_tonearest_test_data, rint_towardzero_test_data,
5822 rint_downward_test_data and rint_upward_test_data. Add
5823 per-rounding-mode results for tests not in those arrays.
5824 (rint_test): Use ALL_RM_TEST.
5825 (rint_tonearest_test_data): Remove.
5826 (rint_test_tonearest): Likewise.
5827 (rint_towardzero_test_data): Likewise.
5828 (rint_test_towardzero): Likewise.
5829 (rint_downward_test_data): Likewise.
5830 (rint_test_downward): Likewise.
5831 (rint_upward_test_data): Likewise.
5832 (rint_test_upward): Likewise.
5833 (main): Don't call removed functions.
5835 2014-03-14 Roland McGrath <roland@hack.frob.com>
5837 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
5838 "Compiled on ..." crapola. It is anti-useful.
5840 2014-03-14 Joseph Myers <joseph@codesourcery.com>
5842 * scripts/evaluate-test.sh: Handle fourth argument to determine
5843 whether test run should stop on failure.
5844 * Makeconfig (stop-on-test-failure): New variable.
5845 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
5846 $(stop-on-test-failure).
5847 * Makefile (tests): Give a summary of results from testing and
5848 exit with failure status if they include an ERROR or FAIL.
5850 * manual/install.texi (Configuring and compiling): Mention
5851 stop-on-test-failure=y.
5852 * INSTALL: Regenerated.
5854 2014-03-14 Roland McGrath <roland@hack.frob.com>
5856 * scripts/versionlist.awk: New file.
5857 * Makerules [$(build-shared) = yes]
5858 (postclean-generated): Add Versions.def, not Versions.def.v and
5860 ($(common-objpfx)Versions.def.v.i): Target removed.
5861 ($(common-objpfx)Versions.def): New target.
5862 ($(common-objpfx)Versions.all): Depend on that rather that
5863 $(common-objpfx)Versions.def.v.
5864 * Versions.def: File removed.
5866 * Makeconfig (+gccwarn): Add -Wundef.
5867 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
5868 a dl-sysdep.h breaking its contract.
5869 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
5870 * include/stackinfo.h: New file.
5871 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
5872 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
5873 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
5874 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
5875 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
5876 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
5877 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5878 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5879 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5880 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5881 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5882 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
5883 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5884 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5885 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5887 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5890 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
5892 * math/libm-test.inc (round_test_data): Add more tests.
5895 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5897 * math/libm-test.inc (nearbyint_test_data): Add more tests.
5900 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
5902 * math/libm-test.inc (ceil_test_data): Add more tests.
5904 * math/libm-test.inc (trunc_test_data): Add more tests related to
5907 2014-03-14 Roland McGrath <roland@hack.frob.com>
5909 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
5910 with #if rather than #ifdef.
5911 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5913 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
5915 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
5916 first. Disable AVX-512 GCC support if assembler doesn't support
5918 * sysdeps/x86_64/configure: Regenerated.
5920 2014-03-13 Carlos O'Donell <carlos@redhat.com>
5922 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5923 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5924 (__old_pthread_attr_setstack): Likewise.
5925 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5926 [!_STACK_GROWS_DOWN]: Likewise.
5928 2014-03-13 Mike Frysinger <vapier@gentoo.org>
5930 * config.make.in (have-bash2): Delete.
5931 * configure.ac (libc_cv_have_bash2): Delete.
5932 * configure: Regenerate.
5933 * elf/Makefile (common-ldd-rewrite): Rename to ...
5934 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
5935 (sh-ldd-rewrite): Delete.
5936 (bash-ldd-rewrite): Delete.
5937 (have-bash2): Delete checks.
5938 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5941 * config.make.in (have-ksh): Delete.
5943 * configure.ac (libc_cv_have_ksh): Delete.
5944 * configure: Regenerate.
5946 * elf/Makefile: Delete $(have-ksh) check.
5947 ($(objpfx)sotruss): Change KSH to BASH.
5948 * elf/sotruss.ksh: Rename to ...
5949 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
5950 function style to match POSIX. Drop ksh vim mode setting.
5952 * manual/time.texi (Specifying the Time Zone with TZ): Change
5953 Tuesday to Thursday.
5955 * debug/tst-longjmp_chk2.c: Update header comment.
5956 (stackoverflow_handler): Add comment. Call assert on pass value.
5958 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
5960 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5961 (HAVE_AVX512_ASM_SUPPORT): Likewise.
5962 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5963 (La_x86_64_vector): Add zmm.
5964 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5965 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5966 ($(objpfx)tst-audit10): New target.
5967 ($(objpfx)tst-audit10.out): Likewise.
5968 (tst-audit10-ENV): New.
5969 (AVX512-CFLAGS): Likewise.
5970 (CFLAGS-tst-audit10.c): Likewise.
5971 (CFLAGS-tst-auditmod10a.c): Likewise.
5972 (CFLAGS-tst-auditmod10b.c): Likewise.
5973 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5974 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5975 * sysdeps/x86_64/configure: Regenerated.
5976 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5977 AVX-512 zmm register support.
5978 (_dl_x86_64_save_sse): Likewise.
5979 (_dl_x86_64_restore_sse): Likewise.
5980 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5981 size vector registers.
5982 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5983 (ZMM_SIZE): Likewise.
5984 * sysdeps/x86_64/tst-audit10.c: New file.
5985 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5986 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5988 2014-03-13 Roland McGrath <roland@hack.frob.com>
5990 * configure.ac (HAVE_EHDR_START): New check.
5991 * configure: Regenerated.
5992 * config.h.in (HAVE_EHDR_START): New #undef.
5993 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5994 assuming the lowest-addressed segment maps the start of the file.
5996 2014-03-13 Joseph Myers <joseph@codesourcery.com>
5998 * INSTALL: Regenerated.
6000 2014-03-13 Will Newton <will.newton@linaro.org>
6002 * manual/setjmp.texi (System V contexts): Improve
6003 clarity and grammar of documentation.
6005 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6008 * elf/Makefile (tests): Add tst-pie2.
6009 (tests-pie): Add tst-pie2.
6010 * elf/tst-pie2.c: New file.
6011 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6013 * elf/rtld.c (map_doit): Load executable as lt_executable.
6014 (dl_main): Likewise.
6016 2014-03-12 Joseph Myers <joseph@codesourcery.com>
6019 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6020 (__ASSUME_PSELECT): Undefine.
6022 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6025 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6026 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6028 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6029 selector for static builds.
6031 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6034 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6037 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6039 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6040 IFUNC selector for static builds.
6042 2014-03-11 Joseph Myers <joseph@codesourcery.com>
6044 * sysdeps/mips/math_private.h [__mips_hard_float]
6045 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6046 libc_feresetround_mips_ctx.
6047 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6048 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6049 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6052 * math/s_nextafter.c (__nextafter): Do not return value from
6053 overflowing computation.
6054 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6055 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6056 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6058 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6060 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6061 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6063 2014-03-11 Roland McGrath <roland@hack.frob.com>
6065 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6066 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6067 Move sfi_sp use from the load-multiple (that no longer sets sp) to
6068 the new mov targetting sp.
6070 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6073 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6074 Define it for static builds as well.
6075 (NO_BZERO_IMPL): Likewise.
6077 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6079 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6080 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6081 multiarch strspn for PPC64.
6082 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6083 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6084 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6085 (__libc_ifunc_impl_list): Likewise.
6086 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6087 multiarch optimizations
6088 * string/strspn.c (strspn): Using macro to redefine symbol name.
6090 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6091 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6093 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6094 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6095 multiarch strncat for PPC64.
6096 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6097 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6098 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6099 (__libc_ifunc_impl_list): Likewise.
6100 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6101 multiarch optimizations
6103 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6106 * nscd/nscd.service: Make service type forking.
6108 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6110 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6111 sign in non default rounding modes.
6112 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6114 2014-03-08 Joseph Myers <joseph@codesourcery.com>
6116 * math/libm-test.inc (ALL_RM_TEST): New macro.
6117 (ceil_test): Use ALL_RM_TEST.
6118 (cimag_test): Likewise.
6119 (conj_test): Likewise.
6120 (copysign_test): Likewise.
6121 (cproj_test): Likewise.
6122 (creal_test): Likewise.
6123 (fabs_test): Likewise.
6124 (floor_test): Likewise.
6125 (fmax_test): Likewise.
6126 (fmin_test): Likewise.
6127 (fmod_test): Likewise.
6128 (fpclassify_test): Likewise.
6129 (frexp_test): Likewise.
6130 (ilogb_test): Likewise.
6131 (isfinite_test): Likewise.
6132 (finite_test): Likewise.
6133 (isgreater_test): Likewise.
6134 (isgreaterequal_test): Likewise.
6135 (isinf_test): Likewise.
6136 (isless_test): Likewise.
6137 (islessequal_test): Likewise.
6138 (islessgreater_test): Likewise.
6139 (isnan_test): Likewise.
6140 (isnormal_test): Likewise.
6141 (issignaling_test): Likewise.
6142 (isunordered_test): Likewise.
6143 (logb_test): Likewise.
6144 (logb_downward_test_data): Remove.
6145 (logb_test_downward): Likewise.
6146 (lround_test): Use ALL_RM_TEST.
6147 (llround_test): Likewise.
6148 (modf_test): Likewise.
6149 (nexttoward_test): Likewise.
6150 (remainder_test): Likewise.
6151 (drem_test): Likewise.
6152 (remainder_tonearest_test_data): Likewise.
6153 (remainder_test_tonearest): Likewise.
6154 (drem_test_tonearest): Likewise.
6155 (remainder_towardzero_test_data): Likewise.
6156 (remainder_test_towardzero): Likewise.
6157 (drem_test_towardzero): Likewise.
6158 (remainder_downward_test_data): Likewise.
6159 (remainder_test_downward): Likewise.
6160 (drem_test_downward): Likewise.
6161 (remainder_upward_test_data): Likewise.
6162 (remainder_test_upward): Likewise.
6163 (drem_test_upward): Likewise.
6164 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
6165 (round_test): Use ALL_RM_TEST.
6166 (signbit_test): Likewise.
6167 (trunc_test): Likewise.
6168 (significand_test): Likewise.
6169 (main): Don't call removed functions.
6171 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6174 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6176 (ILL_ILLOPN): Likewise.
6177 (ILL_ILLADR): Likewise.
6178 (ILL_ILLTRP): Likewise.
6179 (ILL_PRVOPC): Likewise.
6180 (ILL_PRVREG): Likewise.
6181 (ILL_COPROC): Likewise.
6182 (ILL_BADSTK): Likewise.
6183 (FPE_INTDIV): Likewise.
6184 (FPE_INTOVF): Likewise.
6185 (FPE_FLTDIV): Likewise.
6186 (FPE_FLTOVF): Likewise.
6187 (FPE_FLTUND): Likewise.
6188 (FPE_FLTRES): Likewise.
6189 (FPE_FLTINV): Likewise.
6190 (FPE_FLTSUB): Likewise.
6191 (SEGV_MAPERR): Likewise.
6192 (SEGV_ACCERR): Likewise.
6193 (BUS_ADRALN): Likewise.
6194 (BUS_ADRERR): Likewise.
6195 (BUS_OBJERR): Likewise.
6196 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6197 (TRAP_TRACE): Likewise.
6198 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6200 (CLD_KILLED): Likewise.
6201 (CLD_DUMPED): Likewise.
6202 (CLD_TRAPPED): Likewise.
6203 (CLD_STOPPED): Likewise.
6204 (CLD_CONTINUED): Likewise.
6205 (POLL_IN): Likewise.
6206 (POLL_OUT): Likewise.
6207 (POLL_MSG): Likewise.
6208 (POLL_ERR): Likewise.
6209 (POLL_PRI): Likewise.
6210 (POLL_HUP): Likewise.
6211 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6213 (ILL_ILLOPN): Likewise.
6214 (ILL_ILLADR): Likewise.
6215 (ILL_ILLTRP): Likewise.
6216 (ILL_PRVOPC): Likewise.
6217 (ILL_PRVREG): Likewise.
6218 (ILL_COPROC): Likewise.
6219 (ILL_BADSTK): Likewise.
6220 (FPE_INTDIV): Likewise.
6221 (FPE_INTOVF): Likewise.
6222 (FPE_FLTDIV): Likewise.
6223 (FPE_FLTOVF): Likewise.
6224 (FPE_FLTUND): Likewise.
6225 (FPE_FLTRES): Likewise.
6226 (FPE_FLTINV): Likewise.
6227 (FPE_FLTSUB): Likewise.
6228 (SEGV_MAPERR): Likewise.
6229 (SEGV_ACCERR): Likewise.
6230 (BUS_ADRALN): Likewise.
6231 (BUS_ADRERR): Likewise.
6232 (BUS_OBJERR): Likewise.
6233 (BUS_MCEERR_AR): Likewise.
6234 (BUS_MCEERR_AO): Likewise.
6235 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6236 (TRAP_TRACE): Likewise.
6237 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6239 (CLD_KILLED): Likewise.
6240 (CLD_DUMPED): Likewise.
6241 (CLD_TRAPPED): Likewise.
6242 (CLD_STOPPED): Likewise.
6243 (CLD_CONTINUED): Likewise.
6244 (POLL_IN): Likewise.
6245 (POLL_OUT): Likewise.
6246 (POLL_MSG): Likewise.
6247 (POLL_ERR): Likewise.
6248 (POLL_PRI): Likewise.
6249 (POLL_HUP): Likewise.
6250 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6251 (ILL_ILLOPN): Likewise.
6252 (ILL_ILLADR): Likewise.
6253 (ILL_ILLTRP): Likewise.
6254 (ILL_PRVOPC): Likewise.
6255 (ILL_PRVREG): Likewise.
6256 (ILL_COPROC): Likewise.
6257 (ILL_BADSTK): Likewise.
6258 (FPE_INTDIV): Likewise.
6259 (FPE_INTOVF): Likewise.
6260 (FPE_FLTDIV): Likewise.
6261 (FPE_FLTOVF): Likewise.
6262 (FPE_FLTUND): Likewise.
6263 (FPE_FLTRES): Likewise.
6264 (FPE_FLTINV): Likewise.
6265 (FPE_FLTSUB): Likewise.
6266 (SEGV_MAPERR): Likewise.
6267 (SEGV_ACCERR): Likewise.
6268 (BUS_ADRALN): Likewise.
6269 (BUS_ADRERR): Likewise.
6270 (BUS_OBJERR): Likewise.
6271 (BUS_MCEERR_AR): Likewise.
6272 (BUS_MCEERR_AO): Likewise.
6273 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6274 (TRAP_TRACE): Likewise.
6275 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6277 (CLD_KILLED): Likewise.
6278 (CLD_DUMPED): Likewise.
6279 (CLD_TRAPPED): Likewise.
6280 (CLD_STOPPED): Likewise.
6281 (CLD_CONTINUED): Likewise.
6282 (POLL_IN): Likewise.
6283 (POLL_OUT): Likewise.
6284 (POLL_MSG): Likewise.
6285 (POLL_ERR): Likewise.
6286 (POLL_PRI): Likewise.
6287 (POLL_HUP): Likewise.
6288 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6290 (ILL_ILLOPN): Likewise.
6291 (ILL_ILLADR): Likewise.
6292 (ILL_ILLTRP): Likewise.
6293 (ILL_PRVOPC): Likewise.
6294 (ILL_PRVREG): Likewise.
6295 (ILL_COPROC): Likewise.
6296 (ILL_BADSTK): Likewise.
6297 (ILL_BADIADDR): Likewise.
6298 (ILL_BREAK): Likewise.
6299 (FPE_INTDIV): Likewise.
6300 (FPE_INTOVF): Likewise.
6301 (FPE_FLTDIV): Likewise.
6302 (FPE_FLTOVF): Likewise.
6303 (FPE_FLTUND): Likewise.
6304 (FPE_FLTRES): Likewise.
6305 (FPE_FLTINV): Likewise.
6306 (FPE_FLTSUB): Likewise.
6307 (FPE_DECOVF): Likewise.
6308 (FPE_DECDIV): Likewise.
6309 (FPE_DECERR): Likewise.
6310 (FPE_INVASC): Likewise.
6311 (FPE_INVDEC): Likewise.
6312 (SEGV_MAPERR): Likewise.
6313 (SEGV_ACCERR): Likewise.
6314 (SEGV_PSTKOVF): 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 (TRAP_BRANCH): Likewise.
6323 (TRAP_HWBKPT): Likewise.
6324 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6326 (CLD_KILLED): Likewise.
6327 (CLD_DUMPED): Likewise.
6328 (CLD_TRAPPED): Likewise.
6329 (CLD_STOPPED): Likewise.
6330 (CLD_CONTINUED): Likewise.
6331 (POLL_IN): Likewise.
6332 (POLL_OUT): Likewise.
6333 (POLL_MSG): Likewise.
6334 (POLL_ERR): Likewise.
6335 (POLL_PRI): Likewise.
6336 (POLL_HUP): Likewise.
6337 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6338 (ILL_ILLOPN): Likewise.
6339 (ILL_ILLADR): Likewise.
6340 (ILL_ILLTRP): Likewise.
6341 (ILL_PRVOPC): Likewise.
6342 (ILL_PRVREG): Likewise.
6343 (ILL_COPROC): Likewise.
6344 (ILL_BADSTK): Likewise.
6345 (FPE_INTDIV): Likewise.
6346 (FPE_INTOVF): Likewise.
6347 (FPE_FLTDIV): Likewise.
6348 (FPE_FLTOVF): Likewise.
6349 (FPE_FLTUND): Likewise.
6350 (FPE_FLTRES): Likewise.
6351 (FPE_FLTINV): Likewise.
6352 (FPE_FLTSUB): Likewise.
6353 (SEGV_MAPERR): Likewise.
6354 (SEGV_ACCERR): Likewise.
6355 (BUS_ADRALN): Likewise.
6356 (BUS_ADRERR): Likewise.
6357 (BUS_OBJERR): Likewise.
6358 (BUS_MCEERR_AR): Likewise.
6359 (BUS_MCEERR_AO): Likewise.
6360 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6361 (TRAP_TRACE): Likewise.
6362 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6364 (CLD_KILLED): Likewise.
6365 (CLD_DUMPED): Likewise.
6366 (CLD_TRAPPED): Likewise.
6367 (CLD_STOPPED): Likewise.
6368 (CLD_CONTINUED): Likewise.
6369 (POLL_IN): Likewise.
6370 (POLL_OUT): Likewise.
6371 (POLL_MSG): Likewise.
6372 (POLL_ERR): Likewise.
6373 (POLL_PRI): Likewise.
6374 (POLL_HUP): Likewise.
6375 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6376 (ILL_ILLOPN): Likewise.
6377 (ILL_ILLADR): Likewise.
6378 (ILL_ILLTRP): Likewise.
6379 (ILL_PRVOPC): Likewise.
6380 (ILL_PRVREG): Likewise.
6381 (ILL_COPROC): Likewise.
6382 (ILL_BADSTK): Likewise.
6383 (FPE_INTDIV): Likewise.
6384 (FPE_INTOVF): Likewise.
6385 (FPE_FLTDIV): Likewise.
6386 (FPE_FLTOVF): Likewise.
6387 (FPE_FLTUND): Likewise.
6388 (FPE_FLTRES): Likewise.
6389 (FPE_FLTINV): Likewise.
6390 (FPE_FLTSUB): Likewise.
6391 (SEGV_MAPERR): Likewise.
6392 (SEGV_ACCERR): Likewise.
6393 (BUS_ADRALN): Likewise.
6394 (BUS_ADRERR): Likewise.
6395 (BUS_OBJERR): Likewise.
6396 (BUS_MCEERR_AR): Likewise.
6397 (BUS_MCEERR_AO): Likewise.
6398 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6399 (TRAP_TRACE): Likewise.
6400 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6402 (CLD_KILLED): Likewise.
6403 (CLD_DUMPED): Likewise.
6404 (CLD_TRAPPED): Likewise.
6405 (CLD_STOPPED): Likewise.
6406 (CLD_CONTINUED): Likewise.
6407 (POLL_IN): Likewise.
6408 (POLL_OUT): Likewise.
6409 (POLL_MSG): Likewise.
6410 (POLL_ERR): Likewise.
6411 (POLL_PRI): Likewise.
6412 (POLL_HUP): Likewise.
6413 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6414 (ILL_ILLOPN): Likewise.
6415 (ILL_ILLADR): Likewise.
6416 (ILL_ILLTRP): Likewise.
6417 (ILL_PRVOPC): Likewise.
6418 (ILL_PRVREG): Likewise.
6419 (ILL_COPROC): Likewise.
6420 (ILL_BADSTK): Likewise.
6421 (FPE_INTDIV): Likewise.
6422 (FPE_INTOVF): Likewise.
6423 (FPE_FLTDIV): Likewise.
6424 (FPE_FLTOVF): Likewise.
6425 (FPE_FLTUND): Likewise.
6426 (FPE_FLTRES): Likewise.
6427 (FPE_FLTINV): Likewise.
6428 (FPE_FLTSUB): Likewise.
6429 (SEGV_MAPERR): Likewise.
6430 (SEGV_ACCERR): Likewise.
6431 (BUS_ADRALN): Likewise.
6432 (BUS_ADRERR): Likewise.
6433 (BUS_OBJERR): Likewise.
6434 (BUS_MCEERR_AR): Likewise.
6435 (BUS_MCEERR_AO): Likewise.
6436 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6437 (TRAP_TRACE): Likewise.
6438 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6440 (CLD_KILLED): Likewise.
6441 (CLD_DUMPED): Likewise.
6442 (CLD_TRAPPED): Likewise.
6443 (CLD_STOPPED): Likewise.
6444 (CLD_CONTINUED): Likewise.
6445 (POLL_IN): Likewise.
6446 (POLL_OUT): Likewise.
6447 (POLL_MSG): Likewise.
6448 (POLL_ERR): Likewise.
6449 (POLL_PRI): Likewise.
6450 (POLL_HUP): Likewise.
6451 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6452 (ILL_ILLOPN): Likewise.
6453 (ILL_ILLADR): Likewise.
6454 (ILL_ILLTRP): Likewise.
6455 (ILL_PRVOPC): Likewise.
6456 (ILL_PRVREG): Likewise.
6457 (ILL_COPROC): Likewise.
6458 (ILL_BADSTK): Likewise.
6459 (ILL_DBLFLT): Likewise.
6460 (ILL_HARDWALL): Likewise.
6461 (FPE_INTDIV): Likewise.
6462 (FPE_INTOVF): Likewise.
6463 (FPE_FLTDIV): Likewise.
6464 (FPE_FLTOVF): Likewise.
6465 (FPE_FLTUND): Likewise.
6466 (FPE_FLTRES): Likewise.
6467 (FPE_FLTINV): Likewise.
6468 (FPE_FLTSUB): Likewise.
6469 (SEGV_MAPERR): Likewise.
6470 (SEGV_ACCERR): Likewise.
6471 (BUS_ADRALN): Likewise.
6472 (BUS_ADRERR): Likewise.
6473 (BUS_OBJERR): Likewise.
6474 (BUS_MCEERR_AR): Likewise.
6475 (BUS_MCEERR_AO): Likewise.
6476 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6477 (TRAP_TRACE): Likewise.
6478 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6480 (CLD_KILLED): Likewise.
6481 (CLD_DUMPED): Likewise.
6482 (CLD_TRAPPED): Likewise.
6483 (CLD_STOPPED): Likewise.
6484 (CLD_CONTINUED): Likewise.
6485 (POLL_IN): Likewise.
6486 (POLL_OUT): Likewise.
6487 (POLL_MSG): Likewise.
6488 (POLL_ERR): Likewise.
6489 (POLL_PRI): Likewise.
6490 (POLL_HUP): Likewise.
6491 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6492 (ILL_ILLOPN): Likewise.
6493 (ILL_ILLADR): Likewise.
6494 (ILL_ILLTRP): Likewise.
6495 (ILL_PRVOPC): Likewise.
6496 (ILL_PRVREG): Likewise.
6497 (ILL_COPROC): Likewise.
6498 (ILL_BADSTK): Likewise.
6499 (FPE_INTDIV): Likewise.
6500 (FPE_INTOVF): Likewise.
6501 (FPE_FLTDIV): Likewise.
6502 (FPE_FLTOVF): Likewise.
6503 (FPE_FLTUND): Likewise.
6504 (FPE_FLTRES): Likewise.
6505 (FPE_FLTINV): Likewise.
6506 (FPE_FLTSUB): Likewise.
6507 (SEGV_MAPERR): Likewise.
6508 (SEGV_ACCERR): Likewise.
6509 (BUS_ADRALN): Likewise.
6510 (BUS_ADRERR): Likewise.
6511 (BUS_OBJERR): Likewise.
6512 (BUS_MCEERR_AR): Likewise.
6513 (BUS_MCEERR_AO): Likewise.
6514 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6515 (TRAP_TRACE): Likewise.
6516 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6518 (CLD_KILLED): Likewise.
6519 (CLD_DUMPED): Likewise.
6520 (CLD_TRAPPED): Likewise.
6521 (CLD_STOPPED): Likewise.
6522 (CLD_CONTINUED): Likewise.
6523 (POLL_IN): Likewise.
6524 (POLL_OUT): Likewise.
6525 (POLL_MSG): Likewise.
6526 (POLL_ERR): Likewise.
6527 (POLL_PRI): Likewise.
6528 (POLL_HUP): Likewise.
6529 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6530 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6533 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6534 before #include of <time.h>.
6535 [!__USE_XOPEN2K] (__need_timespec): Likewise.
6536 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6537 (test-xfail-UNIX98/sched.h/conform): Likewise.
6539 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
6541 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6542 error absence of trapping exception support.
6543 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6545 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6547 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6548 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6549 * timezone/Makefile (testdata): Move definition above include of
6551 (test-zones): New variable.
6552 (tests-special): Add zone files.
6553 (build-testdata): Use $(evaluate-test).
6555 * elf/Makefile (tests-special): Rename tests to end with .out.
6556 ($(objpfx)noload-mem): Likewise.
6557 ($(objpfx)tst-leaks1-mem): Likewise.
6558 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6559 * iconv/Makefile (xtests-special): Change test-iconvconfig to
6560 $(objpfx)test-iconvconfig.out.
6561 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
6562 set -e inside subshell and redirect output to file.
6563 * iconvdata/Makefile (generated): Rename tests to end with .out.
6565 (tests-special): Rename tests to end with .out.
6566 ($(objpfx)mtrace-tst-loading): Likewise.
6567 * intl/Makefile (generated): Likewise.
6568 (tests-special): Likewise.
6569 ($(objpfx)mtrace-tst-gettext): Likewise.
6570 * misc/Makefile (generated): Likewise.
6571 (tests-special): Likewise.
6572 ($(objpfx)tst-error1-mem): Likewise.
6573 * nptl/Makefile (tests-special): Likewise.
6574 ($(objpfx)tst-stack3-mem): Likewise.
6575 (generated): Likewise.
6576 * posix/Makefile (generated): Likewise.
6577 (tests-special): Likewise.
6578 (xtests-special): Likewise.
6579 ($(objpfx)tst-fnmatch-mem): Likewise.
6580 ($(objpfx)bug-regex2-mem): Likewise.
6581 ($(objpfx)bug-regex14-mem): Likewise.
6582 ($(objpfx)bug-regex21-mem): Likewise.
6583 ($(objpfx)bug-regex31-mem): Likewise.
6584 ($(objpfx)tst-vfork3-mem): Likewise.
6585 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6586 ($(objpfx)tst-pcre-mem): Likewise.
6587 ($(objpfx)tst-boost-mem): Likewise.
6588 ($(objpfx)bug-ga2-mem): Likewise.
6589 ($(objpfx)bug-glob2-mem): Likewise.
6590 * resolv/Makefile (generate): Likewise.
6591 (tests-special): Likewise.
6592 (xtests-special): Likewise.
6593 (generated): Likewise.
6594 ($(objpfx)mtrace-tst-leaks): Likewise.
6595 ($(objpfx)mtrace-tst-leaks2): Likewise.
6597 * scripts/merge-test-results.sh: New file.
6598 * Makefile (tests-special-notdir): New variable.
6599 (tests): Run merge-test-results.sh.
6601 * Rules (tests-special-notdir): New variable.
6602 (xtests-special-notdir): Likewise.
6603 (tests): Run merge-test-results.sh
6606 * Makeconfig (test-xfail-name): New variable.
6607 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6608 compute variable name for expected failures.
6609 * conform/Makefile (conformtest-headers-data): New variable.
6610 (conformtest-standards): Likewise.
6611 (conformtest-headers-ISO): Likewise.
6612 (conformtest-headers-ISO99): Likewise.
6613 (conformtest-headers-ISO11): Likewise.
6614 (conformtest-headers-POSIX): Likewise.
6615 (conformtest-headers-XPG3): Likewise.
6616 (conformtest-headers-XPG4): Likewise.
6617 (conformtest-headers-UNIX98): Likewise.
6618 (conformtest-headers-XOPEN2K): Likewise.
6619 (conformtest-headers-POSIX2008): Likewise.
6620 (conformtest-headers-XOPEN2K8): Likewise.
6621 (conformtest-header-list-base): Likewise.
6622 (conformtest-header-list-tests): Likewise.
6623 (conformtest-header-base): Likewise.
6624 (conformtest-header-tests): Likewise.
6625 (tests-special): Add $(conformtest-header-list-tests). If
6626 [$(fast-check) && !$(cross-compiling)], add
6627 $(conformtest-header-tests) instead of
6628 $(objpfx)run-conformtest.out.
6629 (generated): Add $(conformtest-header-list-base). If
6630 [$(fast-check) && !$(cross-compiling)], add
6631 $(conformtest-header-base). Remove previous setting.
6632 ($(conformtest-header-list-tests)): New target.
6633 (test-xfail-run-conformtest): Remove variable.
6634 ($(objpfx)run-conformtest.out): Remove target.
6635 (test-xfail-ISO11/complex.h/conform): New variable.
6636 (test-xfail-ISO11/stdalign.h/conform): Likewise.
6637 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6638 (test-xfail-XPG3/varargs.h/conform): Likewise.
6639 (test-xfail-XPG4/varargs.h/conform): Likewise.
6640 (test-xfail-UNIX98/varargs.h/conform): Likewise.
6641 (test-xfail-XPG4/ndbm.h/conform): Likewise.
6642 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6643 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6644 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6645 (test-xfail-XPG3/fcntl.h/conform): Likewise.
6646 (test-xfail-XPG3/ftw.h/conform): Likewise.
6647 (test-xfail-XPG3/grp.h/conform): Likewise.
6648 (test-xfail-XPG3/langinfo.h/conform): Likewise.
6649 (test-xfail-XPG3/limits.h/conform): Likewise.
6650 (test-xfail-XPG3/pwd.h/conform): Likewise.
6651 (test-xfail-XPG3/search.h/conform): Likewise.
6652 (test-xfail-XPG3/signal.h/conform): Likewise.
6653 (test-xfail-XPG3/stdio.h/conform): Likewise.
6654 (test-xfail-XPG3/stdlib.h/conform): Likewise.
6655 (test-xfail-XPG3/string.h/conform): Likewise.
6656 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6657 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6658 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6659 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6660 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6661 (test-xfail-XPG3/sys/types.h/conform): Likewise.
6662 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6663 (test-xfail-XPG3/termios.h/conform): Likewise.
6664 (test-xfail-XPG3/time.h/conform): Likewise.
6665 (test-xfail-XPG3/unistd.h/conform): Likewise.
6666 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6667 (test-xfail-XPG4/fcntl.h/conform): Likewise.
6668 (test-xfail-XPG4/langinfo.h/conform): Likewise.
6669 (test-xfail-XPG4/netdb.h/conform): Likewise.
6670 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6671 (test-xfail-XPG4/signal.h/conform): Likewise.
6672 (test-xfail-XPG4/stdio.h/conform): Likewise.
6673 (test-xfail-XPG4/stdlib.h/conform): Likewise.
6674 (test-xfail-XPG4/stropts.h/conform): Likewise.
6675 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6676 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6677 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6678 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6679 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6680 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6681 (test-xfail-XPG4/sys/time.h/conform): Likewise.
6682 (test-xfail-XPG4/sys/types.h/conform): Likewise.
6683 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6684 (test-xfail-XPG4/termios.h/conform): Likewise.
6685 (test-xfail-XPG4/ucontext.h/conform): Likewise.
6686 (test-xfail-XPG4/unistd.h/conform): Likewise.
6687 (test-xfail-XPG4/utmpx.h/conform): Likewise.
6688 (test-xfail-POSIX/sched.h/conform): Likewise.
6689 (test-xfail-POSIX/signal.h/conform): Likewise.
6690 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6691 (test-xfail-POSIX/tar.h/conform): Likewise.
6692 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6693 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6694 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6695 (test-xfail-UNIX98/netdb.h/conform): Likewise.
6696 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6697 (test-xfail-UNIX98/sched.h/conform): Likewise.
6698 (test-xfail-UNIX98/signal.h/conform): Likewise.
6699 (test-xfail-UNIX98/stdio.h/conform): Likewise.
6700 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6701 (test-xfail-UNIX98/stropts.h/conform): Likewise.
6702 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6703 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6704 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6705 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6706 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6707 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6708 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6709 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6710 (test-xfail-UNIX98/unistd.h/conform): Likewise.
6711 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6712 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6713 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6714 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6715 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6716 (test-xfail-XOPEN2K/math.h/conform): Likewise.
6717 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6718 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6719 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6720 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6721 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6722 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6723 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6724 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6725 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6726 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6727 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6728 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6729 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6730 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6731 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6732 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6733 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6734 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6735 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
6736 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6737 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6738 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6739 (test-xfail-POSIX2008/signal.h/conform): Likewise.
6740 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6741 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6742 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6743 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6744 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6745 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
6746 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6747 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6748 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6749 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6750 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
6751 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6752 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6753 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6754 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
6755 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6756 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6757 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6758 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6759 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6760 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6761 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6762 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
6763 (conformtest-cc-flags): Likewise.
6764 ($(conformtest-header-tests): New target.
6765 * conform/check-header-lists.sh: New file.
6766 * conform/run-conformtest.sh: Remove.
6768 * conform/conformtest.pl: Allow ' and \ in values given for
6770 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
6772 [POSIX] (sys/types.h): Likewise.
6773 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
6775 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
6777 * conform/data/signal.h-data (SIGIO): Remove expectation.
6778 [XPG3] (SIGBUS): Do not expect.
6779 [POSIX || XPG3] (SIGPOLL): Likewise.
6780 [POSIX || XPG3] (SIGPROF): Likewise.
6781 [POSIX || XPG3] (SIGSYS): Likewise.
6782 [XPG3] (SIGTRAP): Likewise.
6783 [POSIX || XPG3] (SIGURG): Likewise.
6784 [POSIX || XPG3] (SIGVTALRM): Likewise.
6785 [POSIX || XPG3] (SIGXCPU): Likewise.
6786 [POSIX || XPG3] (SIGXFSZ): Likewise.
6787 [POSIX] (SA_SIGINFO): Expect.
6788 [XPG3] (siginfo_t): Do not expect type or contents.
6789 [POSIX] (si_pid): Do not expect element.
6790 [POSIX] (si_uid): Likewise.
6791 [POSIX] (si_addr): Likewise.
6792 [POSIX] (si_status): Likewise.
6793 [POSIX] (si_band): Likewise.
6794 [XPG4] (si_value): Likewise.
6795 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
6796 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
6797 [POSIX || XPG3] (ILL_ILLADR): Likewise.
6798 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
6799 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
6800 [POSIX || XPG3] (ILL_PRVREG): Likewise.
6801 [POSIX || XPG3] (ILL_COPROC): Likewise.
6802 [POSIX || XPG3] (ILL_BADSTK): Likewise.
6803 [POSIX || XPG3] (FPE_INTDIV): Likewise.
6804 [POSIX || XPG3] (FPE_INTOVF): Likewise.
6805 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
6806 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
6807 [POSIX || XPG3] (FPE_FLTUND): Likewise.
6808 [POSIX || XPG3] (FPE_FLTRES): Likewise.
6809 [POSIX || XPG3] (FPE_FLTINV): Likewise.
6810 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
6811 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
6812 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
6813 [POSIX || XPG3] (BUS_ADRALN): Likewise.
6814 [POSIX || XPG3] (BUS_ADRERR): Likewise.
6815 [POSIX || XPG3] (BUS_OBJERR): Likewise.
6816 [POSIX || XPG3] (CLD_EXITED): Likewise.
6817 [POSIX || XPG3] (CLD_KILLED): Likewise.
6818 [POSIX || XPG3] (CLD_DUMPED): Likewise.
6819 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
6820 [POSIX || XPG3] (CLD_STOPPED): Likewise.
6821 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
6822 [POSIX || XPG3] (POLL_IN): Likewise.
6823 [POSIX || XPG3] (POLL_OUT): Likewise.
6824 [POSIX || XPG3] (POLL_MSG): Likewise.
6825 [POSIX || XPG3] (POLL_ERR): Likewise.
6826 [POSIX || XPG3] (POLL_PRI): Likewise.
6827 [POSIX || XPG3] (POLL_HUP): Likewise.
6828 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
6829 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
6830 (SIG*): Do not allow.
6831 [XPG3] (si_*): Likewise.
6832 [XPG3] (SI_*): Likewise.
6833 [XPG3 || XPG4] (sigev_*): Likewise.
6834 [XPG3 || XPG4] (SIGEV_*): Likewise.
6835 [XPG3 || XPG4] (sival_*): Likewise.
6836 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
6837 [POSIX || XPG3] (BUS_*): Likewise.
6838 [POSIX || XPG3] (CLD_*): Likewise.
6839 [POSIX || XPG3] (FPE_*): Likewise.
6840 [POSIX || XPG3] (ILL_*): Likewise.
6841 [POSIX || XPG3] (POLL_*): Likewise.
6842 [POSIX || XPG3] (SEGV_*): Likewise.
6843 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
6844 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
6845 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
6846 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
6847 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
6848 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
6849 Specify type and value.
6850 (TVERSLEN): Likewise.
6851 (REGTYPE): Likewise.
6852 (AREGTYPE): Likewise.
6853 (LNKTYPE): Likewise.
6854 (SYMTYPE): Likewise.
6855 (CHRTYPE): Likewise.
6856 (BLKTYPE): Likewise.
6857 (DIRTYPE): Likewise.
6858 (FIFOTYPE): Likewise.
6859 (CONTTYPE): Likewise.
6864 (TUWRITE): Likewise.
6867 (TGWRITE): Likewise.
6870 (TOWRITE): Likewise.
6872 [POSIX] (TSVTX): Expect constant.
6874 2014-03-06 Joseph Myers <joseph@codesourcery.com>
6876 * Makefile (tests): Change dependencies to ....
6877 (tests-special): ... additions to this variable.
6878 (tests): Depend on $(tests-special).
6879 * Makerules (check-abi-list): New variable.
6880 (check-abi): Depend on $(check-abi-list).
6881 [$(subdir) = elf] (tests-special): Add
6882 $(objpfx)check-abi-libc.out.
6883 [$(build-shared) = yes && subdir] (tests-special): Add
6885 [$(build-shared) = yes && subdir] (tests): Do not depend on
6887 * Rules (tests): Depend on $(tests-special).
6888 (xtests): Depend on $(xtests-special).
6889 * catgets/Makefile (tests): Change dependencies to ....
6890 (tests-special): ... additions to this variable.
6891 * conform/Makefile (tests): Change dependencies to ....
6892 (tests-special): ... additions to this variable.
6893 * elf/Makefile (tests): Change dependencies to ....
6894 (tests-special): ... additions to this variable.
6895 * grp/Makefile (tests): Change dependencies to ....
6896 (tests-special): ... additions to this variable.
6897 * iconv/Makefile (xtests): Change dependencies to ....
6898 (xtests-special): ... additions to this variable.
6899 * iconvdata/Makefile (tests): Change dependencies to ....
6900 (tests-special): ... additions to this variable.
6901 * intl/Makefile (tests): Change dependencies to ....
6902 (tests-special): ... additions to this variable. Also add
6903 $(objpfx)tst-gettext.out.
6904 * io/Makefile (tests): Change dependencies to ....
6905 (tests-special): ... additions to this variable.
6906 * libio/Makefile (tests): Change dependencies to ....
6907 (tests-special): ... additions to this variable.
6908 * malloc/Makefile (tests): Change dependencies to ....
6909 (tests-special): ... additions to this variable.
6910 * misc/Makefile (tests): Change dependencies to ....
6911 (tests-special): ... additions to this variable.
6912 * nptl/Makefile (tests): Change dependencies to ....
6913 (tests-special): ... additions to this variable.
6914 * nptl_db/Makefile (tests): Change dependencies to ....
6915 (tests-special): ... additions to this variable.
6916 * posix/Makefile (tests): Change dependencies to ....
6917 (tests-special): ... additions to this variable.
6918 (xtests): Change dependencies to ....
6919 (xtests-special): ... additions to this variable.
6920 * resolv/Makefile (tests): Change dependencies to ....
6921 (tests-special): ... additions to this variable.
6922 (xtests): Change dependencies to ....
6923 (xtests-special): ... additions to this variable.
6924 * stdio-common/Makefile (tests): Change dependencies to ....
6925 (tests-special): ... additions to this variable.
6926 (do-tst-unbputc): Remove target.
6927 (do-tst-printf): Likewise.
6928 * stdlib/Makefile (tests): Change dependencies to ....
6929 (tests-special): ... additions to this variable.
6930 * string/Makefile (tests): Change dependencies to ....
6931 (tests-special): ... additions to this variable.
6932 * sysdeps/x86/Makefile (tests): Change dependencies to ....
6933 (tests-special): ... additions to this variable.
6935 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6937 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6939 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6940 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6942 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6943 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6944 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6945 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6946 * conform/data/libgen.h-data [XPG3]: Likewise.
6947 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6948 * conform/data/ndbm.h-data [XPG3]: Likewise.
6949 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6950 * conform/data/netdb.h-data [XPG3]: Likewise.
6951 * conform/data/netinet/in.h-data [XPG3]: Likewise.
6952 * conform/data/poll.h-data [XPG3]: Likewise.
6953 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6954 * conform/data/strings.h-data [XPG3]: Likewise.
6955 * conform/data/stropts.h-data [XPG3]: Likewise.
6956 * conform/data/sys/mman.h-data [XPG3]: Likewise.
6957 * conform/data/sys/resource.h-data [XPG3]: Likewise.
6958 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6960 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6961 * conform/data/sys/time.h-data [XPG3]: Likewise.
6962 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6963 * conform/data/sys/uio.h-data [XPG3]: Likewise.
6964 * conform/data/sys/un.h-data [XPG3]: Likewise.
6965 * conform/data/syslog.h-data [XPG3]: Likewise.
6966 * conform/data/ucontext.h-data [XPG3]: Likewise.
6967 * conform/data/utmpx.h-data [XPG3]: Likewise.
6968 * conform/data/varargs.h-data [UNIX98]: Enable file.
6970 * manual/Makefile (INSTALL_INFO): Remove variable setting.
6972 * math/libm-test.inc (struct test_f_f_data): Move expected results
6973 into structure for each rounding mode.
6974 (struct test_ff_f_data): Likewise.
6975 (struct test_ff_f_data_nexttoward): Likewise.
6976 (struct test_fi_f_data): Likewise.
6977 (struct test_fl_f_data): Likewise.
6978 (struct test_if_f_data): Likewise.
6979 (struct test_fff_f_data): Likewise.
6980 (struct test_c_f_data): Likewise.
6981 (struct test_f_f1_data): Likewise.
6982 (struct test_fF_f1_data): Likewise.
6983 (struct test_ffI_f1_data): Likewise.
6984 (struct test_c_c_data): Likewise.
6985 (struct test_cc_c_data): Likewise.
6986 (struct test_f_i_data): Likewise.
6987 (struct test_ff_i_data): Likewise.
6988 (struct test_f_l_data): Likewise.
6989 (struct test_f_L_data): Likewise.
6990 (struct test_fFF_11_data): Likewise.
6992 (RM_FE_DOWNWARD): Likewise.
6993 (RM_FE_TONEAREST): Likewise.
6994 (RM_FE_TOWARDZERO): Likewise.
6995 (RM_FE_UPWARD): Likewise.
6996 (RUN_TEST_LOOP_f_f): Update references to expected results.
6997 (RUN_TEST_LOOP_2_f): Likewise.
6998 (RUN_TEST_LOOP_fff_f): Likewise.
6999 (RUN_TEST_LOOP_c_f): Likewise.
7000 (RUN_TEST_LOOP_f_f1): Likewise.
7001 (RUN_TEST_LOOP_fF_f1): Likewise.
7002 (RUN_TEST_LOOP_fI_f1): Likewise.
7003 (RUN_TEST_LOOP_ffI_f1): Likewise.
7004 (RUN_TEST_LOOP_c_c): Likewise.
7005 (RUN_TEST_LOOP_cc_c): Likewise.
7006 (RUN_TEST_LOOP_f_i): Likewise.
7007 (RUN_TEST_LOOP_f_i_tg): Likewise.
7008 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7009 (RUN_TEST_LOOP_f_b): Likewise.
7010 (RUN_TEST_LOOP_f_b_tg): Likewise.
7011 (RUN_TEST_LOOP_f_l): Likewise.
7012 (RUN_TEST_LOOP_f_L): Likewise.
7013 (RUN_TEST_LOOP_fFF_11): Likewise.
7014 * math/gen-libm-test.pl (parse_args): Output four copies of
7015 expected results for each test.
7017 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7018 (__ASSUME_UTIMES): Remove.
7019 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7020 (__ASSUME_UTIMES): Likewise.
7022 * math/gen-auto-libm-tests.c: Update comment on output format.
7023 (output_for_one_input_case): Generate before-rounding and
7024 after-rounding information as conditions on output flags not
7025 floating-point format.
7026 * math/auto-libm-test-out: Regenerated.
7027 * math/gen-libm-test.pl (cond_value): New function.
7028 (or_cond_value): Use cond_value.
7029 (generate_testfile): Handle conditional exceptions.
7031 2014-03-05 Joseph Myers <joseph@codesourcery.com>
7033 * math/libm-test.inc (max_valid_error): New variable.
7034 (init_max_error): Take new argument specifying whether function
7035 results are exactly determined. Set max_valid_error and bound
7036 other variables for errors based on this argument.
7037 (set_max_error): Do not record results above max_valid_error.
7038 (check_float_internal): Only accept errors of up to 0.5ulps if
7039 also at most max_valid_error.
7040 (START): Take new argument EXACT and pass it to init_max_error.
7041 (acos_test): Update call to START.
7042 (acos_test_tonearest): Likewise.
7043 (acos_test_towardzero): Likewise.
7044 (acos_test_downward): Likewise.
7045 (acos_test_upward): Likewise.
7046 (acosh_test): Likewise.
7047 (asin_test): Likewise.
7048 (asin_test_tonearest): Likewise.
7049 (asin_test_towardzero): Likewise.
7050 (asin_test_downward): Likewise.
7051 (asin_test_upward): Likewise.
7052 (asinh_test): Likewise.
7053 (atan_test): Likewise.
7054 (atanh_test): Likewise.
7055 (atan2_test): Likewise.
7056 (cabs_test): Likewise.
7057 (cacos_test): Likewise.
7058 (cacosh_test): Likewise.
7059 (carg_test): Likewise.
7060 (casin_test): Likewise.
7061 (casinh_test): Likewise.
7062 (catan_test): Likewise.
7063 (catanh_test): Likewise.
7064 (cbrt_test): Likewise.
7065 (ccos_test): Likewise.
7066 (ccosh_test): Likewise.
7067 (ceil_test): Likewise.
7068 (cexp_test): Likewise.
7069 (cimag_test): Likewise.
7070 (clog_test): Likewise.
7071 (clog10_test): Likewise.
7072 (conj_test): Likewise.
7073 (copysign_test): Likewise.
7074 (cos_test): Likewise.
7075 (cos_test_tonearest): Likewise.
7076 (cos_test_towardzero): Likewise.
7077 (cos_test_downward): Likewise.
7078 (cos_test_upward): Likewise.
7079 (cosh_test): Likewise.
7080 (cosh_test_tonearest): Likewise.
7081 (cosh_test_towardzero): Likewise.
7082 (cosh_test_downward): Likewise.
7083 (cosh_test_upward): Likewise.
7084 (cpow_test): Likewise.
7085 (cproj_test): Likewise.
7086 (creal_test): Likewise.
7087 (csin_test): Likewise.
7088 (csinh_test): Likewise.
7089 (csqrt_test): Likewise.
7090 (ctan_test): Likewise.
7091 (ctan_test_tonearest): Likewise.
7092 (ctan_test_towardzero): Likewise.
7093 (ctan_test_downward): Likewise.
7094 (ctan_test_upward): Likewise.
7095 (ctanh_test): Likewise.
7096 (ctanh_test_tonearest): Likewise.
7097 (ctanh_test_towardzero): Likewise.
7098 (ctanh_test_downward): Likewise.
7099 (ctanh_test_upward): Likewise.
7100 (erf_test): Likewise.
7101 (erfc_test): Likewise.
7102 (exp_test): Likewise.
7103 (exp_test_tonearest): Likewise.
7104 (exp_test_towardzero): Likewise.
7105 (exp_test_downward): Likewise.
7106 (exp_test_upward): Likewise.
7107 (exp10_test): Likewise.
7108 (exp10_test_tonearest): Likewise.
7109 (exp10_test_towardzero): Likewise.
7110 (exp10_test_downward): Likewise.
7111 (exp10_test_upward): Likewise.
7112 (pow10_test): Likewise.
7113 (exp2_test): Likewise.
7114 (expm1_test): Likewise.
7115 (expm1_test_tonearest): Likewise.
7116 (expm1_test_towardzero): Likewise.
7117 (expm1_test_downward): Likewise.
7118 (expm1_test_upward): Likewise.
7119 (fabs_test): Likewise.
7120 (fdim_test): Likewise.
7121 (floor_test): Likewise.
7122 (fma_test): Likewise.
7123 (fma_test_towardzero): Likewise.
7124 (fma_test_downward): Likewise.
7125 (fma_test_upward): Likewise.
7126 (fmax_test): Likewise.
7127 (fmin_test): Likewise.
7128 (fmod_test): Likewise.
7129 (fpclassify_test): Likewise.
7130 (frexp_test): Likewise.
7131 (hypot_test): Likewise.
7132 (ilogb_test): Likewise.
7133 (isfinite_test): Likewise.
7134 (finite_test): Likewise.
7135 (isgreater_test): Likewise.
7136 (isgreaterequal_test): Likewise.
7137 (isinf_test): Likewise.
7138 (isless_test): Likewise.
7139 (islessequal_test): Likewise.
7140 (islessgreater_test): Likewise.
7141 (isnan_test): Likewise.
7142 (isnormal_test): Likewise.
7143 (issignaling_test): Likewise.
7144 (isunordered_test): Likewise.
7145 (j0_test): Likewise.
7146 (j1_test): Likewise.
7147 (jn_test): Likewise.
7148 (ldexp_test): Likewise.
7149 (lgamma_test): Likewise.
7150 (gamma_test): Likewise.
7151 (lrint_test): Likewise.
7152 (lrint_test_tonearest): Likewise.
7153 (lrint_test_towardzero): Likewise.
7154 (lrint_test_downward): Likewise.
7155 (lrint_test_upward): Likewise.
7156 (llrint_test): Likewise.
7157 (llrint_test_tonearest): Likewise.
7158 (llrint_test_towardzero): Likewise.
7159 (llrint_test_downward): Likewise.
7160 (llrint_test_upward): Likewise.
7161 (log_test): Likewise.
7162 (log10_test): Likewise.
7163 (log1p_test): Likewise.
7164 (log2_test): Likewise.
7165 (logb_test): Likewise.
7166 (logb_test_downward): Likewise.
7167 (lround_test): Likewise.
7168 (llround_test): Likewise.
7169 (modf_test): Likewise.
7170 (nearbyint_test): Likewise.
7171 (nextafter_test): Likewise.
7172 (nexttoward_test): Likewise.
7173 (pow_test): Likewise.
7174 (pow_test_tonearest): Likewise.
7175 (pow_test_towardzero): Likewise.
7176 (pow_test_downward): Likewise.
7177 (pow_test_upward): Likewise.
7178 (remainder_test): Likewise.
7179 (drem_test): Likewise.
7180 (remainder_test_tonearest): Likewise.
7181 (drem_test_tonearest): Likewise.
7182 (remainder_test_towardzero): Likewise.
7183 (drem_test_towardzero): Likewise.
7184 (remainder_test_downward): Likewise.
7185 (drem_test_downward): Likewise.
7186 (remainder_test_upward): Likewise.
7187 (drem_test_upward): Likewise.
7188 (remquo_test): Likewise.
7189 (rint_test): Likewise.
7190 (rint_test_tonearest): Likewise.
7191 (rint_test_towardzero): Likewise.
7192 (rint_test_downward): Likewise.
7193 (rint_test_upward): Likewise.
7194 (round_test): Likewise.
7195 (scalb_test): Likewise.
7196 (scalbn_test): Likewise.
7197 (scalbln_test): Likewise.
7198 (signbit_test): Likewise.
7199 (sin_test): Likewise.
7200 (sin_test_tonearest): Likewise.
7201 (sin_test_towardzero): Likewise.
7202 (sin_test_downward): Likewise.
7203 (sin_test_upward): Likewise.
7204 (sincos_test): Likewise.
7205 (sinh_test): Likewise.
7206 (sinh_test_tonearest): Likewise.
7207 (sinh_test_towardzero): Likewise.
7208 (sinh_test_downward): Likewise.
7209 (sinh_test_upward): Likewise.
7210 (sqrt_test): Likewise.
7211 (sqrt_test_tonearest): Likewise.
7212 (sqrt_test_towardzero): Likewise.
7213 (sqrt_test_downward): Likewise.
7214 (sqrt_test_upward): Likewise.
7215 (tan_test): Likewise.
7216 (tan_test_tonearest): Likewise.
7217 (tan_test_towardzero): Likewise.
7218 (tan_test_downward): Likewise.
7219 (tan_test_upward): Likewise.
7220 (tanh_test): Likewise.
7221 (tgamma_test): Likewise.
7222 (trunc_test): Likewise.
7223 (y0_test): Likewise.
7224 (y1_test): Likewise.
7225 (yn_test): Likewise.
7226 (significand_test): Likewise.
7228 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7229 individual tests in comment.
7230 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7231 (prev_max_error): New variable.
7232 (prev_real_max_error): Likewise.
7233 (prev_imag_max_error): Likewise.
7234 (compare_ulp_data): Don't refer to test names in comment.
7235 (find_test_ulps): Remove function.
7236 (find_function_ulps): Likewise.
7237 (find_complex_function_ulps): Likewise.
7238 (init_max_error): Take function name as argument. Look up ulps
7240 (print_ulps): Remove function.
7241 (print_max_error): Use prev_max_error instead of calling
7243 (print_complex_max_error): Use prev_real_max_error and
7244 prev_imag_max_error instead of calling find_complex_function_ulps.
7245 (check_float_internal): Take max_ulp parameter instead of calling
7246 find_test_ulps. Don't call print_ulps.
7247 (check_float): Update call to check_float_internal.
7248 (check_complex): Update calls to check_float_internal.
7249 (START): Pass argument to init_max_error.
7250 * math/gen-libm-test.pl (%results): Don't include "kind"
7252 (parse_ulps): Don't handle ulps of individual tests.
7253 (print_ulps_file): Likewise.
7254 (output_ulps): Likewise.
7255 * math/README.libm-test: Update.
7256 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7258 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7259 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7260 * sysdeps/arm/libm-test-ulps: Likewise.
7261 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7262 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7263 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7264 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7265 * sysdeps/microblaze/libm-test-ulps: Likewise.
7266 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7267 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7268 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7269 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7270 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7271 * sysdeps/sh/libm-test-ulps: Likewise.
7272 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7273 * sysdeps/tile/libm-test-ulps: Likewise.
7274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7276 2014-03-04 Joseph Myers <joseph@codesourcery.com>
7278 * math/libm-test.inc (print_complex_max_error): Check separately
7279 whether real and imaginary errors are within allowed range and
7280 pass 0 to print_complex_function_ulps instead of value within
7283 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7285 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7287 (get_handles_fopen): Likewise.
7288 (do_write_test): Likewise.
7290 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7292 * libio/fileops.c (do_ftell): Use cached offset when
7294 * libio/iofwide.c (do_ftell_wide): Likewise.
7295 * libio/iofdopen.c (_IO_new_fdopen): Don't use
7297 * libio/wfileops.c (_IO_fwide): Don't cache offset.
7300 * libio/libioP.h (get_file_offset): New function.
7301 * libio/fileops.c (get_file_offset): Likewise.
7302 (do_ftell): Likewise.
7303 (_IO_new_file_seekoff): Split out ftell logic.
7304 * libio/wfileops.c (do_ftell_wide): Likewise.
7305 (_IO_wfile_seekoff): Split out ftell logic.
7306 * libio/tst-ftell-active-handler.c: New test case.
7307 * libio/Makefile (tests): Add it.
7309 2014-03-03 Roland McGrath <roland@hack.frob.com>
7311 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7312 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7314 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7317 * nscd/connections.c (nscd_init): Call do_exit.
7318 (start_threads): Call do_exit and notify_parent.
7319 (begin_drop_privileges): Call do_exit.
7320 (finish_drop_privileges): Likewise.
7321 * nscd/selinux.c (preserve_capabilities): Likewise.
7322 (install_real_capabilities): Likewise.
7323 (nscd_selinux_enabled): Likewise.
7324 (avc_create_thread): Likewise.
7325 (avc_alloc_lock): Likewise.
7326 (nscd_avc_init): Likewise.
7327 * nscd/nscd.c (parent_fd): New static variable.
7328 (main): Create a pipe between parent and child processes.
7329 Skip closing parent_fd.
7330 (monitor_child): New function.
7331 (do_exit): Likewise.
7332 (notify_parent): Likewise.
7333 * nscd/nscd.h (notify_parent): Likewise.
7334 (do_exit): Likewise.
7336 2014-03-03 Carlos O'Donell <carlos@redhat.com>
7338 * malloc/malloc.c (__libc_calloc): Revert last change.
7340 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7344 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7346 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7347 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7349 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7350 (__libc_ifunc_impl_list): Likewise.
7351 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7352 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7353 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7354 * string/strrchr.c: Define STRRCHR.
7356 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
7358 * benchtest/bench-strtok.c (simple_strtok): Delete.
7359 (strtok_string): Use as benchmark.
7360 * string/strtok (STRTOK): New macro.
7362 2014-02-28 Carlos O'Donell <carlos@redhat.com>
7364 * manual/threads.texi: Add header and standard comments to all
7367 * elf/dl-lookup.c (check_match): New function.
7368 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7369 (do_lookup_x): Remove nested function check_match. Use non-nested
7370 function check_match.
7372 2014-02-28 Roland McGrath <roland@hack.frob.com>
7374 * csu/Makefile (generated, before-compile): Use += rather than =.
7375 * catgets/Makefile (generated, generated-dirs): Likewise.
7376 * debug/Makefile (generated): Likewise.
7377 * dlfcn/Makefile (generated): Likewise.
7378 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7379 * iconvdata/Makefile (before-compile, generated): Likewise.
7380 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7381 * libio/Makefile (generated): Likewise.
7382 * malloc/Makefile (generated): Likewise.
7383 * manual/Makefile (generated, generated-dirs): Likewise.
7384 * misc/Makefile (generated): Likewise.
7385 * posix/Makefile (generated): Likewise.
7386 * resolv/Makefile (generated): Likewise.
7387 * sunrpc/Makefile (generated, generated-dirs): Likewise.
7388 * timezone/Makefile (generated, generated-dirs): Likewise.
7390 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7392 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7394 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7395 power8 implementation.
7396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7397 file: POWER8 llround ifunc implementation.
7398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7399 (__lllround): Add POWER8 implementation.
7400 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7401 POWER8 llround implementation.
7403 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7404 power8 implementation.
7405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7406 file: POWER8 llrint ifunc implementation.
7407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7408 Add POWER8 implementation.
7409 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7410 POWER8 llrint implementation.
7412 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7413 power8 implementation.
7414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7415 file: POWER8 finite ifunc implementation.
7416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7417 Add POWER8 implementation.
7418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7420 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7421 POWER8 finite implementation.
7422 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7424 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7425 power8 implementation.
7426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7427 file: POWER8 isinf ifunc implementation.
7428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7429 POWER8 implementation.
7430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7432 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7433 isinf implementation.
7434 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7436 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7437 (INIT_ARCH): Add hwcap2 initialization.
7438 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7439 power8 implementation.
7440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7441 file: POWER8 isnan ifunc implementation.
7442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7443 POWER8 implementation.
7444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7446 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7447 isnan implementation.
7448 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7450 2014-02-27 Joey Ye <joey.ye@arm.com>
7452 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7453 (_FP_NANFRAC_Q): Set to zero.
7455 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7458 * math/auto-libm-test-in: New test inputs.
7459 * math/auto-libm-test-out: Regenerate.
7460 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7463 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7465 2014-02-27 Joseph Myers <joseph@codesourcery.com>
7467 * scripts/evaluate-test.sh: Take new argument indicating whether
7468 failure is expected.
7469 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7470 indicating whether failure is expected.
7471 * conform/Makefile (test-xfail-run-conformtest): New variable.
7472 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7474 * posix/Makefile (test-xfail-annexc): New variable.
7475 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7477 2014-02-26 Joseph Myers <joseph@codesourcery.com>
7479 * argp/Makefile: Include Makeconfig immediately after defining
7481 * assert/Makefile: Likewise.
7482 * benchtests/Makefile: Likewise.
7483 * catgets/Makefile: Likewise.
7484 * conform/Makefile: Likewise.
7485 * crypt/Makefile: Likewise.
7486 * csu/Makefile: Likewise.
7487 (all): Remove target.
7488 * ctype/Makefile: Include Makeconfig immediately after defining
7490 * debug/Makefile: Likewise.
7491 * dirent/Makefile: Likewise.
7492 * dlfcn/Makefile: Likewise.
7493 * gmon/Makefile: Likewise.
7494 * gnulib/Makefile: Likewise.
7495 * grp/Makefile: Likewise.
7496 * gshadow/Makefile: Likewise.
7497 * hesiod/Makefile: Likewise.
7498 * hurd/Makefile: Likewise.
7499 (all): Remove target.
7500 * iconvdata/Makefile: Include Makeconfig immediately after
7502 * inet/Makefile: Likewise.
7503 * intl/Makefile: Likewise.
7504 * io/Makefile: Likewise.
7505 * libio/Makefile: Likewise.
7506 (all): Remove target.
7507 * locale/Makefile: Include Makeconfig immediately after defining
7509 * login/Makefile: Likewise.
7510 * mach/Makefile: Likewise.
7511 (all): Remove target.
7512 * malloc/Makefile: Include Makeconfig immediately after defining
7514 (all): Remove target.
7515 * manual/Makefile: Include Makeconfig immediately after defining
7517 * math/Makefile: Likewise.
7518 * misc/Makefile: Likewise.
7519 * nis/Makefile: Likewise.
7520 * nss/Makefile: Likewise.
7521 * po/Makefile: Likewise.
7522 (all): Remove target.
7523 * posix/Makefile: Include Makeconfig immediately after defining
7525 * pwd/Makefile: Likewise.
7526 * resolv/Makefile: Likewise.
7527 * resource/Makefile: Likewise.
7528 * rt/Makefile: Likewise.
7529 * setjmp/Makefile: Likewise.
7530 * shadow/Makefile: Likewise.
7531 * signal/Makefile: Likewise.
7532 * socket/Makefile: Likewise.
7533 * soft-fp/Makefile: Likewise.
7534 * stdio-common/Makefile: Likewise.
7535 * stdlib/Makefile: Likewise.
7536 * streams/Makefile: Likewise.
7537 * string/Makefile: Likewise.
7538 * sunrpc/Makefile: Likewise.
7539 (all): Remove target.
7540 * sysvipc/Makefile: Include Makeconfig immediately after defining
7542 * termios/Makefile: Likewise.
7543 * time/Makefile: Likewise.
7544 * timezone/Makefile: Likewise.
7545 (all): Remove target.
7546 * wcsmbs/Makefile: Include Makeconfig immediately after defining
7548 * wctype/Makefile: Likewise.
7550 2014-02-26 Steve Ellcey <sellcey@mips.com>
7552 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7553 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7554 (libc_feholdexcept_setround_mips): Ditto.
7555 (libc_feholdsetround): New.
7556 (libc_feholdsetroundf): New.
7557 (libc_feholdsetroundl): New.
7558 (libc_feupdateenv_test_mips): New.
7559 (libc_feupdateenv_test): New.
7560 (libc_feupdateenv_testf): New.
7561 (libc_feupdateenv_testl): New.
7562 (libc_feresetround): New.
7563 (libc_feresetroundf): New.
7564 (libc_feresetroundl): New.
7565 (libc_fetestexcept_mips): New.
7566 (libc_fetestexcept): New.
7567 (libc_fetestexceptf): New.
7568 (libc_fetestexceptl): New.
7570 (libc_feholdexcept_setround_mips_ctx): New.
7571 (libc_feholdexcept_setround_ctx): New.
7572 (libc_feholdexcept_setroundf_ctx): New.
7573 (libc_feholdexcept_setroundl_ctx): New.
7574 (libc_fesetenv_mips_ctx): New.
7575 (libc_fesetenv_ctx): New.
7576 (libc_fesetenv_ctxf): New.
7577 (libc_fesetenv_ctxl): New.
7578 (libc_feupdateenv_mips_ctx): New.
7579 (libc_feupdateenv_ctx): New.
7580 (libc_feupdateenvf_ctx): New.
7581 (libc_feupdateenvl_ctx): New.
7582 (libc_feholdsetround_mips_ctx): New.
7583 (libc_feholdsetround_ctx): New.
7584 (libc_feholdsetroundf_ctx): New.
7585 (libc_feholdsetroundl_ctx): New.
7586 (libc_feresetround_mips_ctx): New.
7587 (libc_feresetround_ctx): New.
7588 (libc_feresetroundf_ctx): New.
7589 (libc_feresetroundl_ctx): New.
7591 2014-02-26 Carlos O'Donell <carlos@redhat.com>
7593 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7595 * manual/ipc.texi: New file.
7596 * manual/Makefile (chapters): Add ipc.
7597 * manual/job.texi: Add "Inter-Process Communication" to next.
7598 * manual/process.texi: Add "Inter-Process Communication" to prev.
7600 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7604 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
7606 * malloc/malloc.c (__libc_calloc): Simplify implementation.
7608 * manual/arith.texi: Fix spaces after sentences.
7609 * manual/charset.texi: Likewise.
7610 * manual/errno.texi: Likewise.
7611 * manual/install.texi: Likewise.
7612 * manual/llio.texi: Likewise.
7613 * manual/locale.texi: Likewise.
7614 * manual/maint.texi: Likewise.
7615 * manual/math.texi: Likewise.
7616 * manual/memory.texi: Likewise.
7617 * manual/message.texi: Likewise.
7618 * manual/probes.texi: Likewise.
7619 * manual/resource.texi: Likewise.
7620 * manual/signal.texi: Likewise.
7621 * manual/socket.texi: Likewise.
7622 * manual/stdio.texi: Likewise.
7623 * manual/string.texi: Likewise.
7624 * manual/time.texi: Likewise.
7625 * manual/users.texi: Likewise.
7627 2014-02-25 Carlos O'Donell <carlos@redhat.com>
7630 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7631 _DEFAULT_SOURCE is defined.
7633 2014-02-25 Ulrich Drepper <drepper@gmail.com>
7634 Carlos O'Donell <carlos@redhat.com>
7637 * elf/dl-tls.c (_dl_count_modids): New function.
7638 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7639 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7640 audit library and increment generation counter.
7641 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7642 * elf/tst-audit9.c: New file.
7643 * elf/tst-auditmod9a.c: New file.
7644 * elf/tst-auditmod9b.c: New file.
7645 * elf/Makefile: Add rules to build and run tst-audit9.
7647 2014-02-25 Florian Weimer <fweimer@redhat.com>
7650 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7652 2014-02-25 Will Newton <will.newton@linaro.org>
7654 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7655 (__longjmp): Restore sp and lr before restoring callee
7656 saved registers. Add longjmp and longjmp_target
7657 SystemTap probe point.
7658 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7659 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7660 Define to zero to match jmpbuf layout.
7661 * sysdeps/arm/setjmp.S: Include stap-probe.h.
7662 (__sigsetjmp): Save sp and lr before saving callee
7663 saved registers. Add setjmp SystemTap probe point.
7665 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7667 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7669 2014-02-24 Andreas Schwab <schwab@suse.de>
7672 * elf/pldd.c (wait_for_ptrace_stop): New function.
7673 (main): Call it after attaching.
7675 2014-02-22 Roland McGrath <roland@hack.frob.com>
7677 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7678 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7679 Versions files is now verboten.
7680 * hurd/Versions (libc: GLIBC_2.0):
7681 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7682 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7683 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7684 * mach/Versions: Likewise.
7686 * csu/Versions: Remove unused %include.
7687 * resolv/Versions: Likewise.
7689 2014-02-21 Joseph Myers <joseph@codesourcery.com>
7691 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7692 ($(objpfx)check-local-headers.out): Likewise.
7693 ($(objpfx)begin-end-check.out): Likewise.
7694 * Makerules (check-abi-%.out): Likewise.
7695 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7696 ($(objpfx)test2.cat): Likewise.
7697 ($(objpfx)de/libc.cat): Likewise.
7698 ($(objpfx)test-gencat.out): Likewise.
7699 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7700 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7701 ($(objpfx)noload-mem): Likewise.
7702 ($(objpfx)tst-pathopt.out): Likewise.
7703 ($(objpfx)tst-rtld-load-self.out): Likewise.
7704 ($(objpfx)tst-array1-cmp.out): Likewise.
7705 ($(objpfx)tst-array1-static-cmp.out): Likewise.
7706 ($(objpfx)tst-array2-cmp.out): Likewise.
7707 ($(objpfx)tst-array3-cmp.out): Likewise.
7708 ($(objpfx)tst-array4-cmp.out): Likewise.
7709 ($(objpfx)tst-array5-cmp.out): Likewise.
7710 ($(objpfx)tst-array5-static-cmp.out): Likewise.
7711 ($(objpfx)check-textrel.out): Likewise.
7712 ($(objpfx)check-execstack.out): Likewise.
7713 ($(objpfx)check-localplt.out): Likewise.
7714 ($(objpfx)order2-cmp.out): Likewise.
7715 ($(objpfx)tst-leaks1-mem): Likewise.
7716 ($(objpfx)tst-leaks1-static-mem): Likewise.
7717 ($(objpfx)tst-initorder-cmp.out): Likewise.
7718 ($(objpfx)tst-initorder2-cmp.out): Likewise.
7719 ($(objpfx)tst-unused-dep.out): Likewise.
7720 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7721 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7722 * iconv/Makefile (test-iconvconfig): Likewise.
7723 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7724 ($(objpfx)iconv-test.out): Likewise.
7725 ($(objpfx)tst-tables.out): Likewise.
7726 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7727 ($(objpfx)tst-gettext.out): Likewise.
7728 ($(objpfx)tst-translit.out): Likewise.
7729 ($(objpfx)tst-gettext2.out): Likewise.
7730 ($(objpfx)tst-gettext4.out): Likewise.
7731 ($(objpfx)tst-gettext6.out): Likewise.
7732 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7733 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7734 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
7735 ($(objpfx)tst-fopenloc-mem.out): Likewise.
7736 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7737 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
7738 * posix/Makefile ($(objpfx)globtest.out): Likewise.
7739 ($(objpfx)wordexp-tst.out): Likewise.
7740 ($(objpfx)annexc.out): Likewise.
7741 ($(objpfx)tst-fnmatch-mem): Likewise.
7742 ($(objpfx)bug-regex2-mem): Likewise.
7743 ($(objpfx)bug-regex14-mem): Likewise.
7744 ($(objpfx)bug-regex21-mem): Likewise.
7745 ($(objpfx)bug-regex31-mem): Likewise.
7746 ($(objpfx)tst-vfork3-mem): Likewise.
7747 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7748 ($(objpfx)tst-pcre-mem): Likewise.
7749 ($(objpfx)tst-boost-mem): Likewise.
7750 ($(objpfx)tst-getconf.out): Likewise.
7751 ($(objpfx)bug-ga2-mem): Likewise.
7752 ($(objpfx)bug-glob2-mem): Likewise.
7753 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
7754 ($(objpfx)mtrace-tst-leaks2): Likewise.
7755 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
7756 ($(objpfx)tst-printf.out): Likewise.
7757 ($(objpfx)tst-setvbuf1.out): Likewise.
7758 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
7759 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
7760 ($(objpfx)tst-fmtmsg.out): Likewise.
7761 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
7762 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
7764 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
7765 * bits/sigaction.h [__USE_MISC]: Likewise.
7766 * bits/waitstatus.h: Update #endif comments.
7767 * ctype/ctype.h: Likewise.
7768 * dirent/dirent.h: Likewise.
7769 [__USE_MISC]: Remove redundant conditionals.
7770 * grp/grp.h: Update #endif comments.
7771 [__USE_GNU]: Remove redundant conditionals.
7772 [__USE_MISC]: Likewise.
7773 * inet/netinet/in.h [__USE_GNU]: Likewise.
7774 * io/sys/stat.h [__USE_MISC]: Likewise.
7775 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
7776 * libio/bits/stdio.h: Update #endif comments.
7777 [__USE_MISC]: Remove redundant conditionals.
7778 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
7779 * libio/stdio.h: Update #endif comments.
7780 [__USE_MISC]: Remove redundant conditionals.
7781 * math/bits/math-finite.h [__USE_MISC]: Likewise.
7782 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
7783 * math/math.h: Update #else and #endif comments.
7784 [__USE_MISC]: Remove redundant conditionals.
7785 * misc/sys/uio.h: Update #endif comments.
7786 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
7787 * posix/glob.h [__USE_MISC]: Likewise.
7788 * posix/sys/types.h: Update #endif comments.
7789 [__USE_MISC]: Remove redundant conditionals.
7790 * posix/sys/wait.h: Update #endif comments.
7791 [__USE_MISC]: Remove redundant conditionals.
7792 * posix/unistd.h: Update #endif comments.
7793 [__USE_MISC]: Remove redundant conditionals.
7794 * pwd/pwd.h [__USE_GNU]: Likewise.
7795 [__USE_MISC]: Likewise.
7796 * resolv/netdb.h [__USE_GNU]: Likewise.
7797 * signal/signal.h: Update #endif comments.
7798 [__USE_MISC]: Remove redundant conditionals.
7799 * stdlib/stdlib.h: Update #else and #endif comments.
7800 [__USE_MISC]: Remove redundant conditionals.
7801 [__USE_GNU]: Likewise.
7802 * string/bits/string2.h [__USE_MISC]: Likewise.
7803 * string/string.h: Update #endif comments.
7804 [__USE_MISC]: Remove redundant conditionals.
7805 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
7807 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
7808 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
7809 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
7811 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
7813 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
7815 [__USE_MISC]: Remove redundant conditionals.
7816 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
7817 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
7818 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
7819 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
7820 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
7822 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
7823 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
7825 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
7826 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
7828 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
7830 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
7831 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
7833 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
7835 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
7836 * sysdeps/x86/bits/string.h: Update #endif comments.
7837 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
7839 * time/sys/time.h: Update #endif comments.
7840 * time/time.h: Likewise.
7841 [__USE_MISC]: Remove redundant conditionals.
7843 2014-02-21 Yury Gribov <y.gribov@samsung.com>
7846 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
7848 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
7850 * Versions.def (librt): Add GLIBC_2.17.
7852 2014-02-21 Adam Conrad <adconrad@0c3.net>
7854 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
7855 synonym for _SYS_AUXV_H to allow direct inclusion.
7856 * sysdeps/sparc/bits/hwcap.h: Likewise.
7857 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
7858 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
7859 * sysdeps/sparc/sysdep.h: Likewise.
7861 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7863 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
7865 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7867 * benchtests/bench-strrchr.c: Print length instead of position.
7869 2014-02-20 Joseph Myers <joseph@codesourcery.com>
7872 * sysdeps/unix/sysv/linux/kernel-features.h
7873 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
7874 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
7875 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
7876 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
7878 [__i386__ || __powerpc__ || __sh__ || __sparc__]
7879 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7880 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
7881 (__ASSUME_SENDMMSG): Define instead of using previous
7882 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
7883 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7884 (__ASSUME_SENDMMSG_SYSCALL): Define.
7885 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7886 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
7888 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7889 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7891 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7892 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7894 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
7895 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7896 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7897 [__ASSUME_SENDMMSG]: Change conditionals to
7898 [__ASSUME_SENDMMSG_SOCKETCALL].
7899 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7900 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
7902 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7903 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
7905 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
7906 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7907 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7908 [!__ASSUME_SENDMMSG]: Change conditional to
7909 [!__ASSUME_SENDMMSG_SOCKETCALL].
7910 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7911 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7915 * sysdeps/unix/sysv/linux/kernel-features.h
7916 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7917 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7918 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7919 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7920 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7921 [__i386__ || __sparc__]
7922 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7923 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7924 (__ASSUME_RECVMMSG): Define instead of using previous
7925 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7926 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7927 (__ASSUME_RECVMMSG_SYSCALL): Define.
7928 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7929 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7931 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7932 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7934 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7935 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7937 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7938 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7939 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7940 [__ASSUME_RECVMMSG]: Change condition to
7941 [__ASSUME_RECVMMSG_SOCKETCALL].
7942 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7943 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7945 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7946 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7947 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7949 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7950 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7951 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7952 [!__ASSUME_RECVMMSG]: Change condition to
7953 [!__ASSUME_RECVMMSG_SOCKETCALL].
7954 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7955 (__ASSUME_RECVMMSG_SYSCALL): Define.
7958 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7959 __powerpc__ || __s390__ || __sh__ || __sparc__]
7960 (__ASSUME_SOCKETCALL): Define.
7961 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7962 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7963 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7964 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7965 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7966 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7967 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7968 (__ASSUME_ACCEPT4): Define instead of using previous
7969 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7970 __powerpc__ || __sparc__ || __s390__)] condition.
7971 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7972 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7973 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7974 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7975 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7976 [!__ASSUME_ACCEPT4]: Change condition to
7977 [!__ASSUME_ACCEPT4_SOCKETCALL].
7978 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7979 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
7980 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7981 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7982 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7983 __ASSUME_ACCEPT4_SYSCALL.
7984 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7985 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7986 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7987 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7988 __ASSUME_ACCEPT4_SYSCALL.
7989 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7990 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7991 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7992 [__ASSUME_ACCEPT4]: Change condition to
7993 [__ASSUME_ACCEPT4_SOCKETCALL].
7994 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7995 (__ASSUME_SOCKETCALL): Define.
7996 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7997 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7998 (__ASSUME_SOCKETCALL): Define.
7999 (__ASSUME_ACCEPT4): Remove.
8000 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8002 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8003 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8005 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8006 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8008 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8010 (HWCAP_ARM_LPAE): Likewise.
8011 (HWCAP_ARM_EVTSTRM): Likewise.
8012 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8013 Add vpfd32, lpae and evtstrm.
8014 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8017 2014-02-19 Joseph Myers <joseph@codesourcery.com>
8019 * math/auto-libm-test-in: Add tests of clog10.
8020 * math/auto-libm-test-out: Regenerated.
8021 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8022 * sysdeps/i386/fpu/libm-test-ulps: Update.
8023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8025 2014-02-18 Andreas Schwab <schwab@suse.de>
8028 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8029 Store non-zero if the second buffer was newly allocated.
8030 (send_dg): Likewise.
8031 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8032 to send_vc and send_dg.
8033 (res_nsend): Pass NULL for ansp2_malloced.
8034 * resolv/res_query.c (__libc_res_nquery): Add parameter
8035 answerp2_malloced and pass it down to __libc_res_nsend.
8036 (res_nquery): Pass additional NULL to __libc_res_nquery.
8037 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8038 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8039 second answer buffer if answerp2_malloced was set.
8040 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8041 (__libc_res_nquerydomain): Add parameter
8042 answerp2_malloced and pass it down to __libc_res_nquery.
8043 (res_nquerydomain): Pass additional NULL to
8044 __libc_res_nquerydomain.
8045 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8046 additional NULL to __libc_res_nsend and __libc_res_nquery.
8047 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8048 additional NULL to __libc_res_nsearch.
8049 (_nss_dns_gethostbyname4_r): Revert last change. Use new
8050 parameter of __libc_res_nsearch to check for separately allocated
8052 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8054 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8055 additional NULL to __libc_res_nquery.
8056 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8058 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8059 * include/resolv.h: Update prototypes of __libc_res_nquery,
8060 __libc_res_nsearch, __libc_res_nsend.
8062 2014-02-18 Joseph Myers <joseph@codesourcery.com>
8064 * math/auto-libm-test-in: Add tests of fma.
8065 * math/auto-libm-test-out: Regenerated.
8066 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8067 (fma_towardzero_test_data): Likewise.
8068 (fma_downward_test_data): Likewise.
8069 (fma_upward_test_data): Likewise.
8070 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8072 (rounding_modes): Add values for new field.
8073 (func_calc_method): Add value mpfr_fff_f.
8074 (func_calc_desc): Add mpfr_fff_f union field.
8075 (test_function): Add field exact_args.
8076 (FUNC): Add macro argument EXACT_ARGS.
8077 (FUNC_mpfr_f_f): Update call to FUNC.
8078 (FUNC_mpfr_f_f): Likewise.
8079 (FUNC_mpfr_ff_f): Likewise.
8080 (FUNC_mpfr_if_f): Likewise.
8081 (FUNC_mpc_c_f): Likewise.
8082 (FUNC_mpc_c_c): Likewise.
8083 (test_functions): Add fma. Update calls to FUNC.
8084 (handle_input_arg): Add argument exact_args.
8085 (add_test): Update call to handle_input_arg.
8086 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
8087 (output_for_one_input_case): Update call to calc_generic_results.
8088 Recalculate exact zero results in each rounding mode.
8090 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8091 non-negative before setting low bit.
8092 * math/auto-libm-test-in: Mark one asin test possibly having
8094 * math/auto-libm-test-out: Regenerated.
8095 * sysdeps/i386/fpu/libm-test-ulps: Update.
8096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8098 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
8100 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8101 * sysdeps/unix/sysv/linux/microblaze: Move directory from
8102 ports/sysdeps/unix/sysv/linux/microblaze.
8103 * README: Add missing listing for microblaze*-*-linux-gnu.
8105 2014-02-16 Mike Frysinger <vapier@gentoo.org>
8107 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8108 * sysdeps/unix/sysv/linux/ia64: Move directory from
8109 ports/sysdeps/unix/sysv/linux/ia64.
8110 * README: Update listing for ia64-*-linux-gnu.
8112 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
8113 Joseph Myers <joseph@codesourcery.com>
8115 * Makeconfig (test-name): New variable.
8116 (evaluate-test): Likewise.
8117 * Makerules (do-test-clean): Remove .test-result files.
8118 (common-mostlyclean): Likewise.
8119 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8120 * scripts/evaluate-test.sh: New file.
8122 2014-02-14 Joseph Myers <joseph@codesourcery.com>
8124 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8125 separate $(objpfx)tst-fopenloc-cmp.out and
8126 $(objpfx)tst-fopenloc-mem.out targets.
8127 (tests): Update dependencies.
8128 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8129 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8130 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8131 (tst-rxspencer-no-utf8-ARGS): New variable.
8132 (tst-rxspencer-no-utf8-ENV): Likewise.
8133 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8134 instead of $(objpfx)tst-rxspencer-mem.
8135 ($(objpfx)tst-rxspencer-mem): Change target to
8136 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
8137 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8138 * posix/tst-rxspencer-no-utf8.c: New file.
8140 * elf/Makefile ($(objpfx)order.out): Remove rule.
8141 [$(run-built-tests) = yes] (tests): Depend on
8142 $(objpfx)order-cmp.out.
8143 ($(objpfx)order-cmp.out): New rule.
8144 [$(run-built-tests) = yes] (tests): Depend on
8145 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8146 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8147 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8148 $(objpfx)tst-array5-static-cmp.out.
8149 ($(objpfx)tst-array1.out): Remove rule.
8150 ($(objpfx)tst-array1-cmp.out): New rule.
8151 ($(objpfx)tst-array1-static.out): Remove rule.
8152 ($(objpfx)tst-array1-static-cmp.out): New rule.
8153 ($(objpfx)tst-array2.out): Remove rule.
8154 ($(objpfx)tst-array2-cmp.out): New rule.
8155 ($(objpfx)tst-array3.out): Remove rule.
8156 ($(objpfx)tst-array3-cmp.out): New rule.
8157 ($(objpfx)tst-array4.out): Remove rule.
8158 ($(objpfx)tst-array4-cmp.out): New rule.
8159 ($(objpfx)tst-array5.out): Remove rule.
8160 ($(objpfx)tst-array5-cmp.out): New rule.
8161 ($(objpfx)tst-array5-static.out): Remove rule.
8162 ($(objpfx)tst-array5-static-cmp.out): New rule.
8163 [$(run-built-tests) = yes] (tests): Depend on
8164 $(objpfx)order2-cmp.out.
8165 ($(objpfx)order2.out): Remove rule.
8166 ($(objpfx)order2-cmp.out): New rule.
8167 ($(objpfx)tst-initorder.out): Remove rule.
8168 [$(run-built-tests) = yes] (tests): Depend on
8169 $(objpfx)tst-initorder-cmp.out.
8170 ($(objpfx)tst-initorder-cmp.out): New rule.
8171 ($(objpfx)tst-initorder2.out): Remove rule.
8172 [$(run-built-tests) = yes] (tests): Depend on
8173 $(objpfx)tst-initorder2-cmp.out.
8174 ($(objpfx)tst-initorder2-cmp.out): New rule.
8175 [$(run-built-tests) = yes] (tests): Depend on
8176 $(objpfx)tst-unused-dep-cmp.out.
8177 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8178 ($(objpfx)tst-unused-dep-cmp.out): New rule.
8179 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8180 on $(objpfx)tst-setvbuf1-cmp.out.
8181 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8182 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8183 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8184 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8185 ($(objpfx)tst-svc.out): Remove rule.
8186 ($(objpfx)tst-svc-cmp.out): New rule.
8188 2014-02-13 Joseph Myers <joseph@codesourcery.com>
8190 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8191 * ctype/ctype.h [__USE_MISC]: Likewise.
8192 * dirent/dirent.h [__USE_MISC]: Likewise.
8193 * grp/grp.h [__USE_MISC]: Likewise.
8194 * io/fcntl.h [__USE_MISC]: Likewise.
8195 * io/sys/stat.h [__USE_MISC]: Likewise.
8196 * libio/stdio.h [__USE_MISC]: Likewise.
8197 * posix/unistd.h [__USE_MISC]: Likewise.
8198 * pwd/pwd.h [__USE_MISC]: Likewise.
8199 * stdlib.h [__USE_MISC]: Likewise.
8200 * string/bits/string2.h [__USE_MISC]: Likewise.
8201 * string/string.h [__USE_MISC]: Likewise.
8202 * time/time.h [__USE_MISC]: Likewise.
8204 2014-02-13 Andreas Schwab <schwab@suse.de>
8207 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8208 second answer buffer if it was separately allocated.
8210 2014-02-12 Joseph Myers <joseph@codesourcery.com>
8212 * sysdeps/mips/math-tests.h: Include <features.h>.
8213 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8214 (ROUNDING_TESTS_long_double): Do not define.
8215 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8216 (EXCEPTION_TESTS_long_double): Likewise.
8217 * sysdeps/mips/mips64/libm-test-ulps: Update.
8219 * include/features.h (__USE_BSD): Remove macro definitions.
8220 (__USE_SVID): Likewise.
8221 (_BSD_SOURCE): Likewise.
8222 (_SVID_SOURCE): Likewise.
8223 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8224 from definition of _DEFAULT_SOURCE.
8225 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8227 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8228 * bits/mman.h [__USE_BSD]: Likewise.
8229 * bits/termios.h [__USE_BSD]: Likewise.
8230 * bits/waitstatus.h [__USE_BSD]: Likewise.
8231 * ctype/ctype.h [__USE_SVID]: Likewise.
8232 * dirent/dirent.h [__USE_BSD]: Likewise.
8233 * grp/grp.h [__USE_SVID]: Likewise.
8234 [__USE_BSD]: Likewise.
8235 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8236 * io/fcntl.h [__USE_BSD]: Likewise.
8237 * io/ftw.h [__USE_BSD]: Likewise.
8238 * io/sys/stat.h [__USE_BSD]: Likewise.
8239 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8240 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8241 * libio/stdio.h [__USE_SVID]: Likewise.
8242 [__USE_BSD]: Likewise.
8243 * math/math.h [__USE_SVID]: Likewise.
8244 [__USE_BSD]: Likewise.
8245 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8246 * misc/bits/syslog.h [__USE_BSD]: Likewise.
8247 * misc/search.h [__USE_SVID]: Likewise.
8248 * misc/sys/mman.h [__USE_BSD]: Likewise.
8249 * misc/sys/syslog.h [__USE_BSD]: Likewise.
8250 * misc/sys/uio.h [__USE_BSD]: Likewise.
8251 * posix/bits/unistd.h [__USE_BSD]: Likewise.
8252 * posix/glob.h [__USE_BSD]: Likewise.
8253 * posix/regex.h [__USE_BSD]: Likewise.
8254 * posix/sys/types.h [__USE_BSD]: Likewise.
8255 [__USE_SVID]: Likewise.
8256 * posix/sys/utsname.h [__USE_SVID]: Likewise.
8257 * posix/sys/wait.h [__USE_BSD]: Likewise.
8258 [__USE_SVID]: Likewise.
8259 * posix/unistd.h [__USE_BSD]: Likewise.
8260 [__USE_SVID]: Likewise.
8261 * pwd/pwd.h [__USE_SVID]: Likewise.
8262 * resolv/netdb.h [__USE_BSD]: Likewise.
8263 * setjmp/setjmp.h [__USE_BSD]: Likewise.
8264 * signal/signal.h [__USE_BSD]: Likewise.
8265 [__USE_SVID]: Likewise.
8266 * socket/sys/socket.h [__USE_BSD]: Likewise.
8267 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8268 * stdlib/stdlib.h [__USE_BSD]: Likewise.
8269 [__USE_SVID]: Likewise.
8270 * string/bits/string2.h [__USE_BSD]: Likewise.
8271 [__USE_SVID]: Likewise.
8272 * string/bits/string3.h [__USE_BSD]: Likewise.
8273 * string/endian.h [__USE_BSD]: Likewise.
8274 * string/string.h [__USE_SVID]: Likewise.
8275 [__USE_BSD]: Likewise.
8276 * string/strings.h [__USE_BSD]: Likewise.
8277 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8278 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8279 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8280 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8281 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8282 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8284 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8286 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8287 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8289 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8290 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8292 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8294 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8295 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8296 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8298 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8300 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8301 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8302 * termios/termios.h [__USE_BSD]: Likewise.
8303 * time/sys/time.h [__USE_BSD]: Likewise.
8304 * time/time.h [__USE_BSD]: Likewise.
8305 [__USE_SVID]: Likewise.
8307 * Makefile (subdir_targets): Remove subdir_lint.out.
8309 * stdio-common/Makefile (do-tst-unbputc): Remove target.
8310 (do-tst-printf): Likewise.
8311 (tests): Depend directly on $(objpfx)tst-unbputc.out and
8312 $(objpfx)tst-printf.out.
8314 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8316 * Makerules (check-abi-%): Change target to
8317 $(objpfx)check-abi-%.out.
8318 (check-abi target): Update dependencies.
8319 (check-abi-pattern variable): Redirect output of diff to $@.
8320 (check-abi variable): Likewise.
8321 * elf/Makefile (check-abi): Update dependencies.
8323 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8325 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8326 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8328 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8329 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8330 value has largest subnormal exponent.
8331 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8332 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8333 * sysdeps/aarch64/soft-fp/sfp-machine.h
8334 (_FP_TININESS_AFTER_ROUNDING): New macro.
8335 * sysdeps/alpha/soft-fp/sfp-machine.h
8336 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8337 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8339 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8340 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8341 * sysdeps/mips/soft-fp/sfp-machine.h
8342 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8343 * sysdeps/powerpc/soft-fp/sfp-machine.h
8344 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8345 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8347 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8348 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8349 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8350 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8351 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8354 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
8357 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8360 2014-02-12 Richard Henderson <rth@redhat.com>
8362 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8363 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8364 * sysdeps/unix/sysv/linux/alpha: Move directory from
8365 ports/sysdeps/unix/sysv/linux/alpha.
8366 * README: Update listing for alpha-*-linux-gnu.
8368 2014-02-11 Joseph Myers <joseph@codesourcery.com>
8370 * include/features.h: Update comment documenting feature test
8372 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
8374 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8375 (_SVID_SOURCE): Likewise.
8376 (_DEFAULT_SOURCE): Update description of default features.
8377 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8379 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8380 (S_ISVTX): Likewise.
8381 * manual/math.texi (Mathematical Constants): Likewise.
8382 * manual/signal.texi (Interrupted Primitives): Likewise.
8383 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8384 * math/test-matherr.c (_SVID_SOURCE): Do not define.
8385 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8386 Don't refer to _SVID_SOURCE in warning text.
8388 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8390 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8392 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8393 * sysdeps/mips/dl-lookup.c: Remove.
8394 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8396 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8399 * math/auto-libm-test-in: Add testcase for expl.
8400 * math/auto-libm-test-out: Regenerate.
8401 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8402 calculation of unsafe.
8403 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8405 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
8407 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8408 * sysdeps/unix/sysv/linux/aarch64: Move directory from
8409 ports/sysdeps/unix/sysv/linux/aarch64.
8410 * README: Update listing for aarch64*-*-linux-gnu.
8412 2014-02-11 Will Newton <will.newton@linaro.org>
8414 * manual/probes.texi (Mathematical Function Probes): Use
8415 "triggered" instead of "hit".
8417 * manual/probes.texi (Internal Probes): Add documentation
8418 of setjmp, longjmp and longjmp_target probes.
8420 * include/stap-probe.h: Add comment about probe argument
8423 * malloc/mtrace.c (attribute_hidden): Remove unused macro
8424 definition. (tr_where, tr_freehook, tr_mallochook,
8425 tr_reallochook, tr_memalignhook): Use ANSI protoype.
8427 2014-02-11 David S. Miller <davem@davemloft.net>
8429 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8430 processing int_tests.
8432 2014-02-10 Joseph Myers <joseph@codesourcery.com>
8434 * sysdeps/mips: Move directory from ports/sysdeps/mips.
8435 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8436 * sysdeps/unix/sysv/linux/mips: Move directory from
8437 ports/sysdeps/unix/sysv/linux/mips.
8438 * README: Update listing for mips-*-linux-gnu and
8441 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
8443 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8444 * sysdeps/unix/sysv/linux/m68k: Move directory from
8445 ports/sysdeps/unix/sysv/linux/m68k.
8446 * README: Update listing for m68k-*-linux-gnu.
8448 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
8450 * sysdeps/tile: Move directory from ports/sysdeps/tile.
8451 * sysdeps/unix/sysv/linux/generic: Move directory from
8452 ports/sysdeps/unix/sysv/linux/generic.
8453 * sysdeps/unix/sysv/linux/tile: Move directory from
8454 ports/sysdeps/unix/sysv/linux/tile.
8455 * README: Update listing for tile*-*-linux-gnu.
8457 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
8459 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8461 * benchtests/bench-memmem.c (simple_memmem): Likewise.
8462 * catgets/open_catalog.c (__open_catalog): Likewise.
8463 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8464 * debug/confstr_chk.c: Likewise.
8465 * debug/fread_chk.c (__fread_chk): Likewise.
8466 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8467 * debug/getgroups_chk.c: Likewise.
8468 * debug/mbsnrtowcs_chk.c: Likewise.
8469 * debug/mbsrtowcs_chk.c: Likewise.
8470 * debug/mbstowcs_chk.c: Likewise.
8471 * debug/memcpy_chk.c: Likewise.
8472 * debug/memmove_chk.c: Likewise.
8473 * debug/mempcpy_chk.c: Likewise.
8474 * debug/memset_chk.c: Likewise.
8475 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8476 * debug/strcat_chk.c (__strcat_chk): Likewise.
8477 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8478 * debug/strncat_chk.c (__strncat_chk): Likewise.
8479 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8480 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8481 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8482 * debug/wcpncpy_chk.c: Likewise.
8483 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8484 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8485 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8486 * debug/wcsncpy_chk.c: Likewise.
8487 * debug/wcsnrtombs_chk.c: Likewise.
8488 * debug/wcsrtombs_chk.c: Likewise.
8489 * debug/wcstombs_chk.c: Likewise.
8490 * debug/wmemcpy_chk.c: Likewise.
8491 * debug/wmemmove_chk.c: Likewise.
8492 * debug/wmempcpy_chk.c: Likewise.
8493 * debug/wmemset_chk.c: Likewise.
8494 * dirent/scandirat.c (SCANDIRAT): Likewise.
8495 * dlfcn/dladdr1.c (dladdr1): Likewise.
8496 * dlfcn/dladdr.c (dladdr): Likewise.
8497 * dlfcn/dlclose.c (dlclose_doit): Likewise.
8498 * dlfcn/dlerror.c (__dlerror): Likewise.
8499 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8500 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8501 * dlfcn/dlopen.c (dlopen_doit): Likewise.
8502 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8503 * dlfcn/dlsym.c (dlsym_doit): Likewise.
8504 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8505 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8506 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8508 * elf/dl-conflict.c: Likewise.
8509 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8510 * elf/dl-dst.h: Likewise.
8511 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8512 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8513 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8514 * elf/dl-init.c (call_init, _dl_init): Likewise.
8515 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8516 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8517 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8519 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8521 * elf/dl-minimal.c (__libc_memalign): Likewise.
8522 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8523 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8524 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8525 * elf/dl-sym.c (do_sym): Likewise.
8526 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8527 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8528 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8529 * elf/dl-writev.h (_dl_writev): Likewise.
8530 * elf/ldconfig.c (search_dir): Likewise.
8531 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8532 (dl_main): Likewise.
8533 * elf/setup-vdso.h (setup_vdso): Likewise.
8534 * grp/compat-initgroups.c (compat_call): Likewise.
8535 * grp/fgetgrent.c (fgetgrent): Likewise.
8536 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8537 * grp/putgrent.c (putgrent): Likewise.
8538 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8540 * hurd/hurdinit.c: Likewise.
8541 * iconvdata/8bit-gap.c (struct): Likewise.
8542 * iconvdata/ansi_x3.110.c : Likewise.
8543 * iconvdata/big5.c : Likewise.
8544 * iconvdata/big5hkscs.c : Likewise.
8545 * iconvdata/cp1255.c: Likewise.
8546 * iconvdata/cp1258.c : Likewise.
8547 * iconvdata/cp932.c : Likewise.
8548 * iconvdata/euc-cn.c: Likewise.
8549 * iconvdata/euc-jisx0213.c : Likewise.
8550 * iconvdata/euc-jp.c: Likewise.
8551 * iconvdata/euc-jp-ms.c : Likewise.
8552 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8553 * iconvdata/gb18030.c : Likewise.
8554 * iconvdata/gbbig5.c (const): Likewise.
8555 * iconvdata/gbgbk.c: Likewise.
8556 * iconvdata/gbk.c : Likewise.
8557 * iconvdata/ibm1364.c : Likewise.
8558 * iconvdata/ibm930.c : Likewise.
8559 * iconvdata/ibm932.c: Likewise.
8560 * iconvdata/ibm933.c : Likewise.
8561 * iconvdata/ibm935.c : Likewise.
8562 * iconvdata/ibm937.c : Likewise.
8563 * iconvdata/ibm939.c : Likewise.
8564 * iconvdata/ibm943.c: Likewise.
8565 * iconvdata/iso_11548-1.c: Likewise.
8566 * iconvdata/iso-2022-cn.c : Likewise.
8567 * iconvdata/iso-2022-cn-ext.c : Likewise.
8568 * iconvdata/iso-2022-jp-3.c: Likewise.
8569 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8570 * iconvdata/iso-2022-kr.c : Likewise.
8571 * iconvdata/iso646.c (gconv_end): Likewise.
8572 * iconvdata/iso_6937-2.c : Likewise.
8573 * iconvdata/iso_6937.c : Likewise.
8574 * iconvdata/iso8859-1.c: Likewise.
8575 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8576 * iconvdata/shift_jisx0213.c : Likewise.
8577 * iconvdata/sjis.c : Likewise.
8578 * iconvdata/t.61.c : Likewise.
8579 * iconvdata/tcvn5712-1.c : Likewise.
8580 * iconvdata/tscii.c: Likewise.
8581 * iconvdata/uhc.c : Likewise.
8582 * iconvdata/unicode.c (gconv_end): Likewise.
8583 * iconvdata/utf-16.c (gconv_end): Likewise.
8584 * iconvdata/utf-32.c (gconv_end): Likewise.
8585 * iconvdata/utf-7.c (base64): Likewise.
8586 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8587 * iconv/gconv_close.c (__gconv_close): Likewise.
8588 * iconv/gconv_open.c (__gconv_open): Likewise.
8589 * iconv/gconv_simple.c (internal_ucs4_loop_single)
8590 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8591 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8592 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8593 (ucs4le_internal_loop_single): Likewise.
8594 * iconv/iconv.c (iconv): Likewise.
8595 * iconv/iconv_close.c: Likewise.
8596 * iconv/loop.c (SINGLE): Likewise.
8597 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8598 * include/atomic.h: Likewise.
8599 * inet/inet6_option.c (option_alloc): Likewise.
8600 * intl/bindtextdom.c (set_binding_values): Likewise.
8601 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8602 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8603 * intl/localealias.c (read_alias_file): Likewise.
8604 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8605 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8606 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8607 * libio/fmemopen.c (fmemopen): Likewise.
8608 * libio/iofgets.c (_IO_fgets): Likewise.
8609 * libio/iofgets_u.c (fgets_unlocked): Likewise.
8610 * libio/iofgetws.c (fgetws): Likewise.
8611 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8612 * libio/iogetdelim.c (_IO_getdelim): Likewise.
8613 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8614 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8615 * locale/findlocale.c (_nl_find_locale): Likewise.
8616 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8617 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8619 * locale/setlocale.c (setlocale): Likewise.
8620 * login/programs/pt_chown.c (main): Likewise.
8621 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8622 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8623 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8624 (mmap, mmap64, mremap, munmap): Likewise.
8625 * math/e_exp2l.c: Likewise.
8626 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8627 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8628 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8629 * math/s_catan.c (__catan): Likewise.
8630 * math/s_catanf.c (__catanf): Likewise.
8631 * math/s_catanh.c (__catanh): Likewise.
8632 * math/s_catanhf.c (__catanhf): Likewise.
8633 * math/s_catanhl.c (__catanhl): Likewise.
8634 * math/s_catanl.c (__catanl): Likewise.
8635 * math/s_ccosh.c (__ccosh): Likewise.
8636 * math/s_ccoshf.c (__ccoshf): Likewise.
8637 * math/s_ccoshl.c (__ccoshl): Likewise.
8638 * math/s_cexp.c (__cexp): Likewise.
8639 * math/s_cexpf.c (__cexpf): Likewise.
8640 * math/s_cexpl.c (__cexpl): Likewise.
8641 * math/s_clog10.c (__clog10): Likewise.
8642 * math/s_clog10f.c (__clog10f): Likewise.
8643 * math/s_clog10l.c (__clog10l): Likewise.
8644 * math/s_clog.c (__clog): Likewise.
8645 * math/s_clogf.c (__clogf): Likewise.
8646 * math/s_clogl.c (__clogl): Likewise.
8647 * math/s_csin.c (__csin): Likewise.
8648 * math/s_csinf.c (__csinf): Likewise.
8649 * math/s_csinh.c (__csinh): Likewise.
8650 * math/s_csinhf.c (__csinhf): Likewise.
8651 * math/s_csinhl.c (__csinhl): Likewise.
8652 * math/s_csinl.c (__csinl): Likewise.
8653 * math/s_csqrt.c (__csqrt): Likewise.
8654 * math/s_csqrtf.c (__csqrtf): Likewise.
8655 * math/s_csqrtl.c (__csqrtl): Likewise.
8656 * math/s_ctan.c (__ctan): Likewise.
8657 * math/s_ctanf.c (__ctanf): Likewise.
8658 * math/s_ctanh.c (__ctanh): Likewise.
8659 * math/s_ctanhf.c (__ctanhf): Likewise.
8660 * math/s_ctanhl.c (__ctanhl): Likewise.
8661 * math/s_ctanl.c (__ctanl): Likewise.
8662 * math/w_pow.c: Likewise.
8663 * math/w_powf.c: Likewise.
8664 * math/w_powl.c: Likewise.
8665 * math/w_scalb.c (sysv_scalb): Likewise.
8666 * math/w_scalbf.c (sysv_scalbf): Likewise.
8667 * math/w_scalbl.c (sysv_scalbl): Likewise.
8668 * misc/error.c (error_tail): Likewise.
8669 * misc/pselect.c (__pselect): Likewise.
8670 * nis/nis_callback.c (__nis_create_callback): Likewise.
8671 * nis/nis_call.c (__nisfind_server): Likewise.
8672 * nis/nis_creategroup.c (nis_creategroup): Likewise.
8673 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8674 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8675 * nis/nis_getservlist.c (nis_getservlist): Likewise.
8676 * nis/nis_lookup.c (nis_lookup): Likewise.
8677 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
8678 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8679 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
8680 * nis/nis_xdr.c (xdr_endpoint): Likewise.
8681 * nis/nss_compat/compat-grp.c (getgrent_next_file)
8682 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8683 * nis/nss_compat/compat-initgroups.c (add_group)
8684 (internal_getgrent_r): Likewise.
8685 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8686 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8687 * nis/nss_compat/compat-spwd.c (getspent_next_file)
8688 (internal_getspnam_r): Likewise.
8689 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8690 (_nss_nis_getaliasbyname_r): Likewise.
8691 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8692 (_nss_nis_getntohost_r): Likewise.
8693 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8694 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8695 (_nss_nis_getgrgid_r): Likewise.
8696 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8697 (internal_nis_gethostent_r, internal_gethostbyname2_r)
8698 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8699 (_nss_nis_gethostbyname4_r): Likewise.
8700 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8701 (initgroups_netid): Likewise.
8702 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8703 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8704 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8705 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8706 (_nss_nis_getprotobynumber_r): Likewise.
8707 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8708 (_nss_nis_getsecretkey): Likewise.
8709 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8710 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8711 (_nss_nis_getpwuid_r): Likewise.
8712 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8713 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8714 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8715 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8716 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8717 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
8718 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8720 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8721 (_nss_nisplus_getntohost_r): Likewise.
8722 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8723 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8724 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8725 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
8727 * nis/nss_nisplus/nisplus-initgroups.c
8728 (_nss_nisplus_initgroups_dyn): Likewise.
8729 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8730 (_nss_nisplus_getnetbyaddr_r): Likewise.
8731 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8732 (_nss_nisplus_getprotobynumber_r): Likewise.
8733 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8734 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
8735 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
8737 * nis/nss_nisplus/nisplus-service.c
8738 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
8739 (_nss_nisplus_getservbyport_r): Likewise.
8740 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
8741 (_nss_nisplus_getspnam_r): Likewise.
8742 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
8744 * nscd/aicache.c (addhstaiX): Likewise.
8745 * nscd/cache.c (cache_search, prune_cache): Likewise.
8746 * nscd/connections.c (register_traced_file, send_ro_fd)
8747 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
8748 (main_loop_epoll): Likewise.
8749 * nscd/grpcache.c (addgrbyX): Likewise.
8750 * nscd/hstcache.c (addhstbyX): Likewise.
8751 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8752 * nscd/mem.c (gc, mempool_alloc): Likewise.
8753 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
8754 (addinnetgrX): Likewise.
8755 * nscd/nscd-client.h (__nscd_acquire_maplock)
8756 (__nscd_drop_map_ref): Likewise.
8757 * nscd/nscd_getai.c (__nscd_getai): Likewise.
8758 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8759 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
8761 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8762 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8763 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
8764 (__nscd_get_map_ref): Likewise.
8765 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
8766 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
8768 * nscd/pwdcache.c (addpwbyX): Likewise.
8769 * nscd/selinux.c (preserve_capabilities): Likewise.
8770 * nscd/servicescache.c (addservbyX): Likewise.
8771 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
8772 * posix/fnmatch.c (fnmatch): Likewise.
8773 * posix/getopt.c (_getopt_internal_r): Likewise.
8774 * posix/glob.c (glob, glob_in_dir): Likewise.
8775 * posix/wordexp.c (exec_comm_child): Likewise.
8776 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
8777 (getanswer_r, gaih_getanswer_slice): Likewise.
8778 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
8779 * resolv/res_init.c: Likewise.
8780 * resolv/res_mkquery.c (res_nmkquery): Likewise.
8781 * resolv/res_query.c (__libc_res_nquery): Likewise.
8782 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
8784 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
8785 * stdio-common/perror.c (perror): Likewise.
8786 * stdio-common/printf_fp.c (___printf_fp): Likewise.
8787 * stdio-common/tmpnam.c (tmpnam): Likewise.
8788 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8789 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
8790 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8792 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8793 * stdlib/putenv.c (putenv): Likewise.
8794 * stdlib/setenv.c (__add_to_environ): Likewise.
8795 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8796 * stdlib/strtol_l.c (INTERNAL): Likewise.
8797 * string/memmem.c (memmem): Likewise.
8798 * string/strerror.c (strerror): Likewise.
8799 * string/strnlen.c (__strnlen): Likewise.
8800 * string/test-memmem.c (simple_memmem): Likewise.
8801 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
8802 * sunrpc/pm_getport.c (__get_socket): Likewise.
8803 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
8804 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8805 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
8806 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
8808 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8809 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8810 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8811 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
8812 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
8813 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
8815 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
8817 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8818 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8819 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8820 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8821 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8822 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
8823 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8824 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
8825 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8826 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8827 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8828 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
8830 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
8832 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
8834 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
8835 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8836 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
8837 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
8838 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8839 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
8840 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8841 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
8842 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
8843 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
8844 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
8845 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8846 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8847 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
8848 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8849 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8851 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
8853 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
8855 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
8857 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8858 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8859 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
8861 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
8862 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
8863 * sysdeps/posix/opendir.c (__opendirat): Likewise.
8864 * sysdeps/posix/sleep.c: Likewise.
8865 * sysdeps/posix/tempname.c: Likewise.
8866 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
8867 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8869 * sysdeps/powerpc/powerpc32/dl-machine.h
8870 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
8871 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8872 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8873 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
8874 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
8876 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
8877 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
8878 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8879 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
8880 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8881 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
8882 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
8883 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
8884 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8885 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
8886 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
8887 (elf_machine_lazy_rel): Likewise.
8888 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8889 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
8890 (elf_machine_lazy_rel): Likewise.
8891 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
8892 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
8893 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
8894 * sysdeps/unix/grantpt.c (grantpt): Likewise.
8895 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
8896 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
8897 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8898 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8900 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8901 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8902 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
8903 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
8904 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8905 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8906 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
8907 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
8908 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
8909 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8910 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8912 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8913 (__posix_fallocate64_l64): Likewise.
8914 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
8915 (posix_fallocate): Likewise.
8916 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8918 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8919 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8920 (getifaddrs_internal): Likewise.
8921 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8922 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8923 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8924 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8925 * sysdeps/unix/sysv/linux/posix_fallocate64.c
8926 (__posix_fallocate64_l64): Likewise.
8927 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8929 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
8930 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8931 (__get_clockfreq): Likewise.
8932 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8933 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8934 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8935 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8936 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8937 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8938 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8939 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8941 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8942 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8943 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8944 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8945 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8946 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8947 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8949 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8950 (posix_fallocate): Likewise.
8951 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8952 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8953 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
8954 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8955 (elf_machine_rela, elf_machine_rela_relative)
8956 (elf_machine_lazy_rel): Likewise.
8957 * time/asctime.c (asctime_internal): Likewise.
8958 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8959 * time/tzset.c (__tzset_parse_tz): Likewise.
8960 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8961 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8962 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8963 * wcsmbs/wcsmbsload.h: Likewise.
8966 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8968 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8969 (arena_get2): Remove THREAD_STATS conditionals.
8970 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8971 (__malloc_stats, int): Likewise.
8973 2014-02-08 Mike Frysinger <vapier@gentoo.org>
8975 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8976 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
8978 * manual/setjmp.texi: Fix typos/grammar errors.
8980 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8981 Only return early when n is <= 0. Delete unused return statement.
8983 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8984 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8985 * debug/tst-longjmp_chk3.c: New file.
8987 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8988 (test_main): Replace code with set_fortify_handler call.
8989 * debug/test-strcpy_chk.c: Likewise.
8990 * debug/tst-chk1.c: Likewise.
8991 * debug/tst-longjmp_chk.c: Likewise.
8992 * test-skeleton.c: Include fcntl.h & paths.h
8993 (set_fortify_handler): Define.
8995 * debug/tst-longjmp_chk.c: Add header comment and include
8997 (do_test): Mark static.
8998 (TEST_FUNCTION): Define.
9000 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9001 (IP_PMTUDISC_INTERFACE): Likewise.
9002 (IP_MULTICAST_IF): Likewise.
9003 (IP_MULTICAST_TTL): Likewise.
9004 (IP_MULTICAST_LOOP): Likewise.
9005 (IP_ADD_MEMBERSHIP): Likewise.
9006 (IP_DROP_MEMBERSHIP): Likewise.
9007 (IP_UNBLOCK_SOURCE): Likewise.
9008 (IP_BLOCK_SOURCE): Likewise.
9009 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9010 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9011 (IP_MSFILTER): Likewise.
9012 (MCAST_JOIN_GROUP): Likewise.
9013 (MCAST_BLOCK_SOURCE): Likewise.
9014 (MCAST_UNBLOCK_SOURCE): Likewise.
9015 (MCAST_LEAVE_GROUP): Likewise.
9016 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9017 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9018 (MCAST_MSFILTER): Likewise.
9019 (IP_MULTICAST_ALL): Likewise.
9020 (IP_UNICAST_IF): Likewise.
9022 * timezone/Makefile: Delete $(have-ksh) check.
9023 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9024 * timezone/tzselect.ksh: Add +x mode bits.
9026 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9027 (ANON_INODE_FS_MAGIC): Likewise.
9028 (BDEVFS_MAGIC): Likewise.
9029 (BINFMTFS_MAGIC): Likewise.
9030 (BTRFS_TEST_MAGIC): Likewise.
9031 (CRAMFS_MAGIC_WEND): Likewise.
9032 (DEBUGFS_MAGIC): Likewise.
9033 (ECRYPTFS_SUPER_MAGIC): Likewise.
9034 (EXT3_SUPER_MAGIC): Likewise.
9035 (EXT4_SUPER_MAGIC): Likewise.
9036 (FUTEXFS_SUPER_MAGIC): Likewise.
9037 (HOSTFS_SUPER_MAGIC): Likewise.
9038 (HUGETLBFS_MAGIC): Likewise.
9039 (MINIX3_SUPER_MAGIC): Likewise.
9040 (MTD_INODE_FS_MAGIC): Likewise.
9041 (NILFS_SUPER_MAGIC): Likewise.
9042 (OPENPROM_SUPER_MAGIC): Likewise.
9043 (PIPEFS_MAGIC): Likewise.
9044 (PSTOREFS_MAGIC): Likewise.
9045 (QNX6_SUPER_MAGIC): Likewise.
9046 (RAMFS_MAGIC): Likewise.
9047 (REISERFS_SUPER_MAGIC_STRING): Likewise.
9048 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9049 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9050 (SECURITYFS_MAGIC): Likewise.
9051 (SELINUX_MAGIC): Likewise.
9052 (SMACK_MAGIC): Likewise.
9053 (SOCKFS_MAGIC): Likewise.
9054 (SQUASHFS_MAGIC): Likewise.
9055 (STACK_END_MAGIC): Likewise.
9056 (TMPFS_MAGIC): Likewise.
9057 (USBDEVICE_SUPER_MAGIC): Likewise.
9058 (V9FS_MAGIC): Likewise.
9059 (XENFS_SUPER_MAGIC): Likewise.
9060 (CRAMFS_MAGIC): Fix typo in comment.
9061 (EXT2_SUPER_MAGIC): Update comment.
9062 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9064 2014-02-08 Joseph Myers <joseph@codesourcery.com>
9066 * sysdeps/arm: Move directory from ports/sysdeps/arm.
9067 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9068 * sysdeps/unix/sysv/linux/arm: Move directory from
9069 ports/sysdeps/unix/sysv/linux/arm.
9070 * README: Update listing for arm-*-linux-gnueabi.
9072 * README: Remove mention of am33.
9074 2014-02-07 Roland McGrath <roland@hack.frob.com>
9076 * bits/sigset.h (__sigemptyset): Use a statement expression rather
9077 than the comma operator, to avoid "rhs of comma has no effect"
9079 (__sigfillset, __sigandset, __sigorset): Likewise.
9080 * include/signal.h (__sigemptyset): Likewise.
9081 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9083 2014-02-07 Allan McRae <allan@archlinux.org>
9085 * version.h (RELEASE): Set to "development".
9086 (VERSION): Set to "2.19.90"
9087 * NEWS: Add 2.20 section.
9089 2014-02-06 Carlos O'Donell <carlos@redhat.com>
9092 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9094 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9096 * manual/contrib.texi: Update entry for Carlos O'Donell,
9097 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9099 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
9101 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9103 * sysdeps/unix/sysv/linux/kernel-features.h
9104 [__LINUX_KERNEL_VERSION >= 0x020621]
9105 (__ASSUME_PROC_PID_TASK_COMM): Define.
9107 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9110 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9111 conversion when destination buffer does not have enough space.
9112 * libio/tst-ftell-partial-wide.c: New test case.
9113 * libio/Makefile (tests): Add tst-ftell-partial-wide.
9115 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9116 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
9117 Leonard and Allan McRae.
9119 2014-02-04 David S. Miller <davem@davemloft.net>
9121 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9124 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9153 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9155 * nptl/shlib-versions: Change powerpc*le start to 2.17.
9156 * shlib-versions: Likewise.
9158 2014-02-04 Roland McGrath <roland@hack.frob.com>
9159 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9161 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9162 (abilist-pattern): New variable, set to %-le.abilist.
9164 * Makerules (abilist-pattern): New variable.
9165 (vpath): Use $(abilist-pattern) in place of %.abilist.
9166 (check-abi-% pattern rule): Likewise.
9167 (check-abi, update-abi): Likewise.
9169 2014-02-04 Eric Wong <normalperson@yhbt.net>
9171 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9173 2014-02-03 Carlos O'Donell <carlos@redhat.com>
9175 * manual/startup.texi: Add next, previous, and top entries for
9176 the `Program Arguments' and `Environment Variables' nodes.
9178 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
9180 * manual/macros.texi: Add comments before MTASC-safety macros.
9182 * manual/users.texi: Document MTASC-safety properties.
9184 * manual/threads.texi (pthread_key_create, pthread_key_delete)
9185 (pthread_getspecific, pthread_setspecific): Format with
9186 @deftypefun, and add @safety note.
9187 * manual/signal.texi: Move comments that analyze the above
9188 functions to their home place.
9190 2014-02-03 Allan McRae <allan@archlinux.org>
9192 * po/sl.po: Update Slovenian translation from translation project.
9194 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
9196 * manual/time.texi (timegm): Add missing blank after @c.
9197 Reported by Joseph Myers <joseph@codesourcery.com>.
9199 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
9201 * manual/check-safety.sh: New.
9202 * manual/Makefile ($(objpfx)stamp-summary): Run it.
9204 * manual/terminal.texi: Document MTASC-safety properties.
9206 * manual/filesys.texi: Document MTASC-safety properties.
9208 * manual/errno.texi: Document MTASC-safety properties.
9210 * manual/intro.texi: Document safety identifiers and
9213 * manual/string.texi (wcstok): Fix prototype.
9214 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9216 * manual/time.texi: Document MTASC-safety properties.
9218 * manual/string.texi: Document MTASC-safety properties.
9220 * manual/threads.texi: Document MTASC-safety properties.
9222 * manual/stdio.texi: Document MTASC-safety properties.
9224 * manual/syslog.texi: Document MTASC-safety properties.
9226 * manual/sysinfo.texi: Document MTASC-safety properties.
9228 * manual/startup.texi: Document MTASC-safety properties.
9230 * manual/socket.texi: Document MTASC-safety properties.
9232 * manual/signal.texi: Document MTASC-safety properties.
9234 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
9236 * manual/setjmp.texi: Document MTASC-safety properties.
9238 * manual/search.texi: Document MTASC-safety properties.
9240 * manual/resource.texi: Document MTASC-safety properties.
9242 * manual/process.texi: Document MTASC-safety properties.
9244 * manual/platform.texi: Document MTASC-safety properties.
9246 * manual/pipe.texi: Document MTASC-safety properties.
9248 * manual/pattern.texi: Document MTASC-safety properties.
9250 * manual/message.texi: Document MTASC-safety properties.
9253 * manual/memory.texi: Document MTASC-safety properties.
9255 * manual/math.texi: Document MTASC-safety properties.
9257 * manual/locale.texi: Document MTASC-safety properties.
9259 * manual/llio.texi: Document MTASC-safety properties.
9261 * manual/libdl.texi: New.
9263 * manual/lang.texi: Document MTASC-safety properties.
9265 * manual/job.texi: Document MTASC-safety properties.
9267 * manual/getopt.texi: Document MTASC-safety properties.
9269 * manual/ctype.texi: Document MTASC-safety properties.
9271 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
9274 * csu/libc-tls.c (static_map): Remove variable.
9275 (__libc_setup_tls): Use main executable's link map for TLS data.
9276 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9277 casing for LM_ID_BASE and GL(dl_nns).
9278 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9279 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
9280 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9281 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9282 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9284 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9287 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
9289 * manual/debug.texi: Document MTASC-safety properties.
9291 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
9294 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9295 of __x86_64__ when disabling x87 inline functions.
9297 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
9299 * manual/charset.texi: Document MTASC-safety properties.
9301 * manual/crypt.texi: Document MTASC-safety properties.
9303 * manual/conf.texi: Document MTASC-safety properties.
9305 * manual/arith.texi: Document MTASC-safety properties.
9307 * manual/argp.texi: Document MTASC-safety properties.
9309 * manual/macros.texi: Introduce macros to document multi
9310 thread, asynchronous signal and asynchronous cancellation
9312 * manual/intro.texi: Introduce the properties themselves.
9314 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9316 * sysdeps/sh/sh4/Makefile: New file.
9318 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
9320 * math/gen-libm-test.pl ($srcdir): New variable.
9321 ($auto_input): Use it.
9323 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9326 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9327 access beyond array bounds when parsing netgroups file.
9329 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9330 the old buffer before realloc.
9332 2014-01-27 Allan McRae <allan@archlinux.org>
9334 * po/fr.po: Update French translation from translation project.
9336 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9338 * sysdeps/sh/libm-test-ulps: Regenerate.
9340 2014-01-24 David S. Miller <davem@davemloft.net>
9342 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9344 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9346 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9347 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9349 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9352 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9353 string pointers after reallocation.
9355 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9357 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9358 __SH4A__ instead of __SH_FPU_ANY__.
9360 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9362 * sysdeps/sh/fpu_control.h: New file.
9363 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9364 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9365 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9366 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9367 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9368 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9369 * sysdeps/sh/sys/ucontext.h: Remove.
9370 * sysdeps/sh/sys: Remove directory.
9372 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9374 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9375 s390/sys/ucontext.h.
9376 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9377 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9379 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
9382 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9384 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9387 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9388 Adjust the vDSO correctly for internal calls.
9389 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9391 2014-01-20 Allan McRae <allan@archlinux.org>
9393 * po/ca.po: Update Catalan translation from translation project.
9395 2014-01-16 Mike Frysinger <vapier@gentoo.org>
9397 * sysdeps/s390/sotruss-lib.c: New file.
9399 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9402 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
9403 (__GI___gettimeofday): Alias for a different internal symbol to avoid
9404 local calls issues by not having a PLT stub required for IFUNC calls.
9405 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9407 2014-01-16 Joseph Myers <joseph@codesourcery.com>
9409 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9410 * math/test-fpucw-static.c: Likewise.
9412 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9415 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9417 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9419 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9420 implementation for powerpc.
9422 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
9425 * sysdeps/posix/system.c (__libc_system): Do not enable
9426 asynchronous cancellation.
9428 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9431 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9432 handling only for numbers special also in the IEEE case.
9434 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9436 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9438 2014-01-11 Allan McRae <allan@archlinux.org>
9440 * po/bg.po: Update Bulgarian translation from translation project.
9442 * po/de.po: Update German translation from translation project.
9444 2014-01-10 Roland McGrath <roland@hack.frob.com>
9446 * sysdeps/generic/gcc-compat.h: New file.
9448 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9450 * benchtests/asin-inputs: Correct slow inputs.
9451 * benchtests/acos-inputs: Likewise.
9453 2014-01-10 Allan McRae <allan@archlinux.org>
9455 * po:sv.po: Update Swedish translation from translation project.
9457 * po/vi.po: Update Vietnamese translation from translation project.
9459 * po/eo.po: Update Esperanto translation from translation project.
9461 * po/cs.po: Update Czech translation from translation project.
9463 * po/nl.po: Update Dutch translation from translation project.
9465 * po/pl.po: Update Polish translation from translation project.
9467 * po/ru.po: Update Russian translation from translation project.
9469 * po/uk.po: Update Ukrainian translation from translation project.
9471 2014-01-08 Brooks Moses <bmoses@google.com>
9473 * elf/dl-load.c: Fix comment typo.
9475 2014-01-08 Carlos O'Donell <carlos@redhat.com>
9477 * po/header.pot: Rename to...
9478 * po/pot.header: ... this.
9479 * po/Makefile: Use pot.header.
9481 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
9482 Maxim Kuvyrkov <maxim@kugelworks.com>
9485 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9486 SRC and DEST against LEN.
9488 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9491 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9493 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9495 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9499 2014-01-08 Joseph Myers <joseph@codesourcery.com>
9502 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9503 for large positive arguments.
9505 2014-01-07 Joseph Myers <joseph@codesourcery.com>
9507 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9509 * math/auto-libm-test-in: Mark various tests with
9510 xfail-rounding:ldbl-128ibm.
9511 * math/auto-libm-test-out: Regenerated.
9514 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9515 Increase overflow threshold.
9517 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
9520 * stdio-common/vfprintf.c: Check for integer overflow.
9522 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9524 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9525 the first argument and return value of __tls_get_addr_internal.
9527 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9529 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9530 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9532 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9534 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9535 * sysdeps/s390/rtld-global-offsets.sym: New file.
9536 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9538 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9539 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9540 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9542 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9543 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9549 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9550 halfs of GPRs for high_gprs contexts.
9551 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9552 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
9554 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9556 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9558 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9559 for high GPRs (uc_high_gprs) and for future extensions
9561 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9562 for future extensions (__reserved).
9563 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9565 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9566 SC_HIGHGPRS offset definition.
9567 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9568 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9570 * Versions.def: Add GLIBC_2.19 for libpthread.
9571 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9572 siglongjmp for libpthread with GLIBC_2.19 symver.
9573 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9574 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9575 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9576 * sysdeps/s390/__longjmp.c: New file.
9577 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9578 * sysdeps/s390/longjmp.c: New file.
9579 * sysdeps/s390/setjmp.S: New file.
9580 * sysdeps/s390/sigjmp.S: New file.
9581 * sysdeps/s390/v1-longjmp.c: New file.
9582 * sysdeps/s390/v1-setjmp.h: New file.
9583 * sysdeps/s390/v1-sigjmp.c: New file.
9584 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9585 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9587 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9588 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9589 versioned symbols for ____longjmp_chk.
9590 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9598 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9600 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9601 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9602 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9603 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9604 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9605 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9606 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9607 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9608 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9609 * sysdeps/s390/rtld-__longjmp.c: New file.
9610 * sysdeps/s390/rtld-setjmp.S: New file.
9612 2014-01-06 Joseph Myers <joseph@codesourcery.com>
9615 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9616 Return -__logl (x) for small positive arguments without evaluating
9619 2014-01-06 Mike Frysinger <vapier@gentoo.org>
9621 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9623 (__ptrace_peeksiginfo_args): ... this.
9624 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9625 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9626 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9628 2014-01-06 Allan McRae <allan@archlinux.org>
9630 * inet/netinet/in.h: Fix typo in comment.
9632 2014-01-05 Andreas Jaeger <aj@suse.de>
9634 * sysdeps/i386/fpu/libm-test-ulps: Update.
9636 2014-01-05 Allan McRae <allan@archlinux.org>
9638 * po/libc.pot: Regenerated.
9640 * malloc/memusagestat.c: Fix gettext call formatting.
9642 2014-01-04 Sami Kerola <kerolasa@iki.fi>
9644 * nscd/nscd.c: Improve usage() output.
9646 2014-01-04 Mike Frysinger <vapier@gentoo.org>
9648 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9649 * sysdeps/unix/sysv/linux/configure: Regenerated.
9650 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9651 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9653 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9656 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9657 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9659 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9661 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9662 extra tokens at end of #undef directive.
9663 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9664 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9665 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9667 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9669 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9671 * math/auto-libm-test-in: Mark various tests with
9672 xfail-rounding:ldbl-128ibm.
9673 * math/auto-libm-test-out: Regenerated.
9675 2014-01-02 Joseph Myers <joseph@codesourcery.com>
9678 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9679 numbers with subnormal high part when calculating exponent.
9682 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9686 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9688 (__ieee754_acoshl): Use __log1pl not __log1p.
9690 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
9692 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9693 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9694 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9695 (grow_heap, heap_trim, _int_new_arena, get_free_list)
9696 (reused_arena, arena_get2): Convert to GNU style.
9697 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9698 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9699 (memalign_check, __malloc_set_state): Likewise.
9700 * malloc/mallocbug.c (main): Likewise.
9701 * malloc/malloc.c (__malloc_assert, malloc_init_state)
9702 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9703 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9704 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9705 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9706 (__posix_memalign, malloc_info): Likewise.
9707 * malloc/malloc.h: Likewise.
9708 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9709 (mallochook, memalignhook, reallochook, mabort): Likewise.
9710 * malloc/mcheck.h: Likewise.
9711 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9712 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
9713 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9714 * malloc/morecore.c (__default_morecore): Likewise.
9715 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
9716 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9717 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9718 (print_and_abort): Likewise.
9719 * malloc/obstack.h: Likewise.
9720 * malloc/set-freeres.c (__libc_freeres): Likewise.
9721 * malloc/tst-mallocstate.c (main): Likewise.
9722 * malloc/tst-mtrace.c (main): Likewise.
9723 * malloc/tst-realloc.c (do_test): Likewise.
9725 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9728 * nscd/netgroupcache.c (do_notfound): New function.
9729 (addgetnetgrentX): Use it.
9732 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9733 NSS_STATUS_NOTFOUND.
9735 2014-01-01 Joseph Myers <joseph@codesourcery.com>
9737 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9740 2014-01-01 Allan McRae <allan@archlinux.org>
9742 * scripts/update-copyrights: Update configure input file suffix.
9744 * NEWS: Update copyright year.
9745 * catgets/gencat.c: Likewise.
9746 * csu/version.c: Likewise.
9747 * debug/catchsegv.sh: Likewise.
9748 * debug/pcprofiledump.c: Likewise.
9749 * debug/xtrace.sh: Likewise.
9750 * elf/ldconfig.c: Likewise.
9751 * elf/ldd.bash.in: Likewise.
9752 * elf/pldd.c: Likewise.
9753 * elf/sotruss.ksh: Likewise.
9754 * elf/sprof.c: Likewise.
9755 * iconv/iconv_prog.c: Likewise.
9756 * iconv/iconvconfig.c: Likewise.
9757 * locale/programs/locale.c: Likewise.
9758 * locale/programs/localedef.c: Likewise.
9759 * login/programs/pt_chown.c: Likewise.
9760 * malloc/memusage.sh: Likewise.
9761 * malloc/memusagestat.c: Likewise.
9762 * malloc/mtrace.pl: Likewise.
9763 * manual/libc.texinfo: Likewise.
9764 * nscd/nscd.c: Likewise.
9765 * nss/getent.c: Likewise.
9766 * nss/makedb.c: Likewise.
9767 * posix/getconf.c: Likewise.
9768 * scripts/test-installation.pl: Likewise.
9770 * All files with FSF copyright notices: Update copyright dates
9771 using scripts/update-copyrights.
9772 * intl/plural.c: Regenerated.
9773 * locale/programs/charmap-kw.h: Likewise.
9774 * locale/programs/locfile-kw.h: Likewise.
9776 2013-12-31 Mike Frysinger <vapier@gentoo.org>
9778 * sysdeps/unix/sysv/linux/configure: Regenerated.
9779 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
9780 the linux/fanotify.h header.
9781 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
9782 HAVE_LINUX_FANOTIFY_H is defined.
9784 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9786 * benchtests/cos-inputs: New inputs.
9787 * benchtests/sin-inputs: Likewise.
9789 * benchtests/atan-inputs: New inputs. Fix name of multiple
9790 precision fallback inputs.
9792 * benchtests/atanh-inputs: New inputs.
9793 * benchtests/tanh-inputs: Likewise.
9795 * benchtests/acosh-inputs: New inputs.
9796 * benchtests/asinh-inputs: Likewise.
9798 * benchtests/cosh-inputs: New inputs.
9799 * benchtests/sinh-inputs: Likewise.
9801 * benchtests/acos-inputs: Add more inputs.
9802 * benchtests/asin-inputs: Likewise.
9804 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
9807 * manual/arith.texi: Fix spelling.
9808 * manual/charset.texi: Likewise.
9809 * manual/errno.texi: Likewise.
9810 * manual/filesys.texi: Likewise.
9811 * manual/lang.texi: Likewise.
9812 * manual/llio.texi: Likewise.
9813 * manual/locale.texi: Likewise.
9814 * manual/message.texi: Likewise.
9815 * manual/resource.texi: Likewise.
9816 * manual/search.texi: Likewise.
9817 * manual/setjmp.texi: Likewise.
9818 * manual/stdio.texi: Likewise.
9819 * manual/string.texi: Likewise.
9820 * manual/sysinfo.texi: Likewise.
9821 * manual/time.texi: Likewise.
9823 2013-12-27 Carlos O'Donell <carlos@redhat.com>
9825 * po/sl.po: New file.
9827 2013-12-27 Mike Frysinger <vapier@gentoo.org>
9829 * .gitignore: Add core/.gdbinit/.gdb_history.
9831 2013-12-27 Allan McRae <allan@archlinux.org>
9834 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
9835 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
9837 2013-12-24 Brooks Moses <bmoses@google.com>
9839 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
9840 all compilers that claim C++98 compliance, not just GCC.
9841 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9844 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9846 * NEWS: Restore accidentally deleted bug-fix entries.
9848 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9849 Ondřej Bílka <neleai@seznam.cz>
9852 * malloc/malloc.c (_int_free): Perform sanity check only if we
9855 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
9858 * manual/stdio.texi (String Input Conversions): Clarify that character
9859 classes are not supported.
9861 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9865 2013-12-22 Joseph Myers <joseph@codesourcery.com>
9868 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9869 Calculate results for small negative arguments directly rather
9870 than using reflection formula with special underflow handling.
9872 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
9873 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
9874 sysdeps/unix/bsd/bsd4.4/syscalls.list.
9875 (fchflags): Likewise.
9877 (setlogin): Likewise.
9878 (sigaltstack): Likewise.
9881 (sigsetmask): Likewise.
9883 (waitpid): Likewise.
9884 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
9885 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
9887 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
9888 * sysdeps/unix/bsd/Makefile: ... here.
9889 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
9890 * sysdeps/unix/bsd/Versions: ... here.
9891 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
9892 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
9893 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
9894 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
9895 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
9896 * sysdeps/unix/bsd/sigblock.c: ... here.
9897 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
9898 * sysdeps/unix/bsd/sigsetmask.c: ... here.
9899 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
9900 * sysdeps/unix/bsd/sigvec.c: ... here.
9901 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
9902 * sysdeps/unix/bsd/tcdrain.c: ... here.
9903 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
9904 * sysdeps/unix/bsd/tcgetattr.c: ... here.
9905 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
9906 * sysdeps/unix/bsd/tcsetattr.c: ... here.
9907 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
9908 * sysdeps/unix/bsd/wait.c: ... here.
9909 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
9910 * sysdeps/unix/bsd/wait3.c: ... here.
9911 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9912 * sysdeps/unix/bsd/waitpid.c: ... here.
9914 2013-12-21 Joseph Myers <joseph@codesourcery.com>
9917 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9918 round-to-nearest for [!USE_AS_EXPM1L].
9919 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9920 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
9921 more tests of exp and exp10. Expect some exp10 tests to miss
9922 exceptions or fail in directed rounding modes.
9923 * math/auto-libm-test-out: Regenerated.
9924 * math/libm-test.inc (exp10_tonearest_test_data): New array.
9925 (exp10_test_tonearest): New function.
9926 (exp10_towardzero_test_data): New array.
9927 (exp10_test_towardzero): New function.
9928 (exp10_downward_test_data): New array.
9929 (exp10_test_downward): New function.
9930 (exp10_upward_test_data): New array.
9931 (exp10_test_upward): New function.
9932 (main): Call the new functions.
9933 * sysdeps/i386/fpu/libm-test-ulps: Update.
9934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9936 2013-12-20 Joseph Myers <joseph@codesourcery.com>
9938 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9939 asinh, atan, atan2, atanh, cbrt, cos and cosh.
9940 * math/auto-libm-test-out: Regenerated.
9941 * math/libm-test.inc (acosh_test_data): Add more tests.
9942 (atanh_test_data): Likewise.
9943 (ceil_test_data): Likewise.
9944 (copysign_test_data): Likewise.
9945 * sysdeps/i386/fpu/libm-test-ulps: Update.
9946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9948 * timezone/checktab.awk: Update from tzcode 2013i.
9949 * timezone/private.h: Likewise.
9950 * timezone/scheck.c: Likewise.
9951 * timezone/tzfile.h: Likewise.
9952 * timezone/tzselect.ksh: Likewise.
9953 * timezone/zdump.c: Likewise.
9954 * timezone/zic.c: Likewise.
9956 * math/auto-libm-test-in: Add tests of cpow.
9957 * math/auto-libm-test-out: Regenerated.
9958 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9959 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9961 (func_calc_desc): Add mpc_cc_c union field.
9962 (test_functions): Add cpow.
9963 (special_fill_2pi): New function.
9964 (special_real_inputs): Add 2pi.
9965 (calc_generic_results): Handle mpc_cc_c.
9966 * sysdeps/i386/fpu/libm-test-ulps: Update.
9967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9969 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9970 csqrt, ctan and ctanh.
9971 * math/auto-libm-test-out: Regenerated.
9972 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9973 (TEST_COND_x86): Likewise.
9974 (ccos_test_data): Use AUTO_TESTS_c_c.
9975 (ccosh_test_data): Likewise.
9976 (cexp_test_data): Likewise.
9977 (clog_test_data): Likewise.
9978 (csqrt_test_data): Likewise.
9979 (ctan_test_data): Likewise.
9980 (ctan_tonearest_test_data): Likewise.
9981 (ctan_towardzero_test_data): Likewise.
9982 (ctan_downward_test_data): Likewise.
9983 (ctan_upward_test_data): Likewise.
9984 (ctanh_test_data): Likewise.
9985 (ctanh_tonearest_test_data): Likewise.
9986 (ctanh_towardzero_test_data): Likewise.
9987 (ctanh_downward_test_data): Likewise.
9988 (ctanh_upward_test_data): Likewise.
9989 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9991 (func_calc_desc): Add mpc_c_c union field.
9992 (FUNC_mpc_c_c): New macro.
9993 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9994 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9996 (special_fill_min_subnorm_p120): New function.
9997 (special_real_inputs): Add min_subnorm_p120.
9998 (calc_generic_results): Handle mpc_c_c.
9999 * sysdeps/i386/fpu/libm-test-ulps: Update.
10000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10002 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10004 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10005 (do_sin_slow): New functions.
10006 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10007 (cslow2, csloww1, csloww2): Use the new functions.
10009 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10010 Use M to change sign of result instead of X. Assume X is
10012 (csloww1): Likewise.
10016 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10017 arguments A and DA.
10021 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10023 (sloww1): Don't adjust sign of DX.
10024 (csloww1): Likewise.
10025 (sloww2): Use X directly and don't adjust sign of DX.
10026 (csloww2): Likewise.
10028 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10030 * math/auto-libm-test-in: Add tests of cabs and carg.
10031 * math/auto-libm-test-out: Regenerated.
10032 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10033 (carg_test_data): Likewise.
10034 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10036 (func_calc_desc): Add mpc_c_f union field.
10037 (test_functions): Add cabs and carg.
10038 (calc_generic_results): Handle mpc_c_f.
10040 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10041 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10042 as a macro and a compat symbol.
10043 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10044 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10045 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10046 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10047 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10048 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10050 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10052 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10054 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10056 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10058 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10060 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10061 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10064 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10068 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10070 * manual/texinfo.tex: Update to version 2013-11-26.10 with
10071 trailing whitespace removed.
10072 * scripts/config.guess: Update to version 2013-11-29.
10073 * scripts/config.sub: Update to version 2013-10-01.
10075 * math/auto-libm-test-in: Add tests of sincos.
10076 * math/auto-libm-test-out: Regenerated.
10077 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10078 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10080 (func_calc_desc): Add mpfr_f_11 union field.
10081 (test_functions): Add sincos.
10082 (calc_generic_results): Handle mpfr_f_11.
10083 * sysdeps/i386/fpu/libm-test-ulps: Update.
10084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10086 2013-12-19 Andreas Schwab <schwab@suse.de>
10088 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10090 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10091 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10092 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10094 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10096 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10097 * sysdeps/i386/fpu/libm-test-ulps: Update.
10098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10101 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10102 round-to-nearest mode when using frndint.
10103 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10104 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10105 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10107 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
10109 * math/auto-libm-test-out: Regenerated.
10110 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10111 (TEST_COND_x86): Likewise.
10112 (expm1_tonearest_test_data): New array.
10113 (expm1_test_tonearest): New function.
10114 (expm1_towardzero_test_data): New array.
10115 (expm1_test_towardzero): New function.
10116 (expm1_downward_test_data): New array.
10117 (expm1_test_downward): New function.
10118 (expm1_upward_test_data): New array.
10119 (expm1_test_upward): New function.
10120 (main): Run the new test functions.
10121 * sysdeps/i386/fpu/libm-test-ulps: Update.
10122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10124 * include/features.h: Update comment documenting feature test
10125 macros. Mention _DEFAULT_SOURCE in comment.
10126 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10127 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10128 _BSD_SOURCE and _SVID_SOURCE.
10129 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10130 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10131 !_SVID_SOURCE]: Likewise.
10132 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10133 (__USE_POSIX_IMPLICITLY): Define.
10134 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10135 (_POSIX_SOURCE): Undefine and redefine.
10136 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10137 (_POSIX_C_SOURCE): Likewise.
10138 * manual/creature.texi (_DEFAULT_SOURCE): Document.
10139 (Feature Test Macros): Update documentation of default features.
10141 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10143 * benchtests/Makefile: Add bench-strtok.
10144 * benchtests/bench-strtok.c: New file: strtok benchtest.
10146 2013-12-19 Allan McRae <allan@archlinux.org>
10148 * manual/install.texi: Suppress menu for plain text output.
10149 * INSTALL: Regenerated.
10151 2013-12-18 Brooks Moses <bmoses@google.com>
10154 * misc/getauxval.c: Include errno.h.
10155 (__getauxval): Set errno to ENOENT if the requested type is not
10157 * misc/sys/auxv.h (getauxval): Document that it may set errno;
10158 don't declare with __attribute_const__.
10159 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10160 * manual/startup.texi: Document that getauxval sets errno.
10162 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10164 * math/auto-libm-test-in: Add tests of jn and yn.
10165 * math/auto-libm-test-out: Regenerated.
10166 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10167 (yn_test_data): Likewise.
10168 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10170 (func_calc_desc): Add mpfr_if_f union field.
10171 (FUNC_mpfr_if_f): New macro.
10172 (test_functions): Add jn and yn.
10173 (calc_generic_results): Assert type of second input for
10174 mpfr_ff_f. Handle mpfr_if_f.
10175 (output_for_one_input_case): Disable all checking for arguments
10176 fitting floating-point types in case of an integer argument.
10177 * sysdeps/i386/fpu/libm-test-ulps: Update.
10178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10181 Don't expect fegetround reference in libm.so.
10183 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10185 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10186 $(config-cflags-nofma).
10188 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10190 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10191 * math/auto-libm-test-out: Regenerated.
10194 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10195 to determine exponent and adjust argument to have exponent of -1.
10196 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10198 * math/auto-libm-test-out: Regenerated.
10199 * sysdeps/i386/fpu/libm-test-ulps: Update.
10200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10202 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
10204 * manual/probes.texi: Remove cases when per-thread arenas are
10207 2013-12-18 Andreas Schwab <schwab@suse.de>
10209 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10210 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10211 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10212 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10213 * sysdeps/i386/i686/multiarch/Makefile: Update.
10214 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10216 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10218 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10219 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10221 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
10224 Support TZ transition times < 00:00:00.
10225 This is needed for version-3 tz-format files; it supports time
10226 stamps past 2037 for America/Godthab (the only entry in the tz
10227 database for which this change is relevant).
10228 * manual/time.texi (TZ Variable): Document transition times
10229 from -167:59:59 through -00:00:01.
10230 * time/tzset.c (tz_rule): Time of day is now signed.
10231 (__tzset_parse_tz): Parse negative time of day.
10233 Document TZ transition times >= 25:00:00.
10234 * manual/time.texi (TZ Variable): Document transition times from
10235 25:00:00 through 167:59:59. These are already supported, and this
10236 support will help with version-3 tz-format files.
10238 * manual/time.texi (TZ Variable): Modernize North America example
10239 to reflect current (i.e., 2007-and-later) daylight saving rules.
10241 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10243 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10245 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10246 * sysdeps/unix/bsd/bits/stat.h: Likewise.
10247 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10248 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10249 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10250 * sysdeps/unix/bsd/bsdstat.h: Likewise.
10251 * sysdeps/unix/bsd/clock.c: Likewise.
10252 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10253 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10254 * sysdeps/unix/bsd/init-posix.c: Likewise.
10255 * sysdeps/unix/bsd/poll.c: Likewise.
10256 * sysdeps/unix/bsd/ptsname.c: Likewise.
10257 * sysdeps/unix/bsd/seekdir.c: Likewise.
10258 * sysdeps/unix/bsd/setegid.c: Likewise.
10259 * sysdeps/unix/bsd/seteuid.c: Likewise.
10260 * sysdeps/unix/bsd/setgid.c: Likewise.
10261 * sysdeps/unix/bsd/setrgid.c: Likewise.
10262 * sysdeps/unix/bsd/setruid.c: Likewise.
10263 * sysdeps/unix/bsd/setsid.c: Likewise.
10264 * sysdeps/unix/bsd/setuid.c: Likewise.
10265 * sysdeps/unix/bsd/sigaction.c: Likewise.
10266 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10267 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10268 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10269 * sysdeps/unix/bsd/telldir.c: Likewise.
10270 * sysdeps/unix/bsd/times.c: Likewise.
10271 * sysdeps/unix/bsd/usleep.c: Likewise.
10273 * misc/Makefile (install-lib): Remove libbsd-compat.a.
10274 ($(objpfx)libbsd-compat.a): Remove rule.
10276 * include/features.h (__FAVOR_BSD): Do not define.
10277 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10278 features conflicting with POSIX.
10279 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10280 (_BSD_SOURCE): Remove description of not being a subset of other
10281 feature test macros.
10282 * manual/job.texi (getpgrp): Do not document BSD version.
10283 (getpgid): Do not document by reference to BSD getpgrp.
10284 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10285 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10286 * signal/signal.h [__FAVOR_BSD]: Likewise.
10287 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10288 instead of making contents conditional on [__FAVOR_BSD].
10289 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10291 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10295 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10298 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10299 values below 2**-450, not 2**-500.
10300 * math/auto-libm-test-in: Don't allow spurious underflow from
10302 * math/auto-libm-test-out: Regenerated.
10306 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10307 values of ha and hb and sort them after adjusting subnormal
10309 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10311 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10312 values of ea and eb and sort them after adjusting subnormal
10314 * math/auto-libm-test-in: Do not expect some hypot tests of
10315 subnormals to fail. Add more hypot tests.
10316 * math/auto-libm-test-out: Regenerated.
10318 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10321 * sysdeps/sh/s_fma.c: New file.
10322 * sysdeps/sh/s_fmaf.c: New file.
10323 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
10325 * sysdeps/sh/Implies: Add sh/soft-fp.
10327 2013-12-16 Roland McGrath <roland@hack.frob.com>
10329 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
10330 level of indirection to members `objname', `errstring', `malloced'.
10331 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10332 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
10333 it as the __longjmp argument (just pass 1 instead).
10334 (_dl_catch_error): Initialize C with argument pointers and address of
10335 volatile local ERRCODE rather than copying values out of C at return.
10337 2013-12-16 Joseph Myers <joseph@codesourcery.com>
10339 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10340 * math/auto-libm-test-out: Regenerated.
10341 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10342 (hypot_test_data): Likewise.
10343 (pow_test_data): Likewise.
10344 (pow_tonearest_test_data): Likewise.
10345 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10347 (func_calc_desc): Add mpfr_ff_f union field.
10348 (FUNC_mpfr_ff_f): New macro.
10349 (test_functions): Add atan2, hypot and pow.
10350 (special_fill_min): New function.
10351 (special_fill_minus_min): Likewise.
10352 (special_fill_min_subnorm): Likewise.
10353 (special_fill_minus_min_subnorm): Likewise.
10354 (special_real_inputs): Add min, -min, min_subnorm and
10356 (calc_generic_results): Handle mpfr_ff_f.
10357 * sysdeps/i386/fpu/libm-test-ulps: Update.
10358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10360 2013-12-16 Will Newton <will.newton@linaro.org>
10362 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10363 (Aligned Memory Blocks): Add documentation for aligned_alloc
10364 and suggest it as an alternative to posix_memalign.
10365 (Hooks for Malloc): Document __memalign_hook is also called
10366 for aligned_alloc. (Summary of Malloc): Add summary for
10367 aligned alloc. Document __memalign_hook is also called
10370 2013-12-16 Will Newton <will.newton@linaro.org>
10372 * manual/memory.texi (Malloc Examples): Clarify default
10373 alignment documentation. Suggest posix_memalign rather
10374 than memalign or valloc.
10375 (Aligned Memory Blocks): Remove suggestion to use memalign
10376 or valloc. Remove obsolete comment about BSD.
10377 Document memalign errno values and mark the function obsolete.
10378 Document posix_memalign returned error codes. Mark valloc
10379 as obsolete. (Hooks for Malloc): __memalign_hook is also
10380 called for posix_memalign and valloc.
10381 (Summary of Malloc): Add posix_memalign to function summary.
10382 __memalign_hook is also called for posix_memalign and valloc.
10384 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10386 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10390 (sloww): Use mynumber union. Expand ternary operator into
10391 if-else statements.
10392 (cslow): use mynumber union.
10394 2013-12-16 Allan McRae <allan@archlinux.org>
10396 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10397 * configure: Regenerated.
10399 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10402 * configure.ac: Added --enable-maintainer-mode. Check for
10403 autoconf when enabled.
10404 * configure: Regenerated.
10406 * nscd/nscd.service: New file.
10407 * nscd/nscd.tmpfiles: New file.
10409 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
10412 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10413 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10414 * sysdeps/x86_64/multiarch/strstr.c: ... here.
10415 (strstr): Add __strstr_sse2_unaligned ifunc.
10416 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10417 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10418 (strcasestr): Remove __strcasestr_sse42 ifunc.
10419 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10420 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10421 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10423 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10425 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10426 * sysdeps/sh/bits/fenv.h: ... here.
10427 * sysdeps/sh/sh4/fpu/bits: Remove directory.
10429 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10431 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10433 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10434 hypotf multiarch implementations.
10435 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10436 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10437 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10438 multiarch hypot for PPC64.
10439 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10440 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10441 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10442 multiarch hypotf for PPC64.
10444 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10445 modff multiarch implementations.
10446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10449 multiarch modf for PPC64.
10450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10453 multiarch modff for PPC64.
10455 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10456 and logl multiarch implementations.
10457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10460 multiarch logb for PPC64.
10461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10464 multiarch logb for PPC64.
10465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10468 multiarch logb for PPC64.
10470 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10471 isinff multiarch implementation.
10472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10476 multiarch isinf for PPC64.
10477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10480 multiarch isinff for PPC64.
10482 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10483 finitef multiarch implementation.
10484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10488 multiarch finite for PPC64.
10489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10492 multiarch finitef for PPC64.
10494 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10495 lrint multiarch implementation.
10496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10500 multiarch llrint for PPC64.
10501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10502 multiarch lrint for PPC64.
10504 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10505 copysignf multiarch implementation.
10506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10511 multiarch copysign for PPC64.
10512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10513 multiarch copysignf for PPC64.
10515 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10516 multiarch implementation.
10517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10525 multiarch llround for PPC64.
10526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10527 multiarch trunc for PPC64.
10528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10529 multiarch truncf for PPC64.
10531 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10532 multiarch implementation.
10533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10541 multiarch llround for PPC64.
10542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10543 multiarch round for PPC64.
10544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10545 multiarch roundf for PPC64.
10547 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10548 multiarch implementation.
10549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10557 multiarch llround for PPC64.
10558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10559 multiarch floor for PPC64.
10560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10561 multiarch floorf for PPC64.
10563 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10564 multiarch implementation.
10565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10573 multiarch llround for PPC64.
10574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10575 multiarch ceil for PPC64.
10576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10577 multiarch ceilf for PPC64.
10579 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10580 multiarch implementation.
10581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10588 multiarch llround for PPC64.
10589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10590 multiarch lround for PPC64.
10592 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10593 multiarch implementation.
10594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10601 multiarch isnan for PPC64.
10602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10603 multiarch isnanf for PPC64.
10605 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10606 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10607 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10608 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10609 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10612 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10613 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10614 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10615 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10617 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10618 multiarch implementations.
10619 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10620 (__libc_ifunc_impl_list): Likewise.
10621 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10622 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10623 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10624 multiarch stpcpy for PPC64.
10626 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10627 multiarch implementations.
10628 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10629 (__libc_ifunc_impl_list): Likewise.
10630 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10631 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10632 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10633 multiarch strcpy for PPC64.
10635 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10636 redefine function name.
10637 (_wordcopy_fwd_dest_aligned): Likewise.
10638 (_wordcopy_bwd_aligned): Likewise.
10639 (_wordcopy_bwd_dest_aligned): Likewise.
10640 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10641 multiarch implementations.
10642 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10643 (__libc_ifunc_impl_list): Likewise.
10644 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10645 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10646 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10647 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10648 multiarch wcscpy for PPC64.
10650 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10651 multiarch implementations.
10652 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10653 (__libc_ifunc_impl_list): Likewise.
10654 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10655 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10656 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10657 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10658 multiarch wcscpy for PPC64.
10660 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10661 multiarch implementations.
10662 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10663 (__libc_ifunc_impl_list): Likewise.
10664 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10665 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10666 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10667 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10668 multiarch wcsrchr for PPC64.
10670 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10671 multiarch implementations.
10672 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10673 (__libc_ifunc_impl_list): Likewise.
10674 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10675 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10676 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10677 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10678 multiarch wcschr for PPC64.
10680 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10681 multiarch implementations.
10682 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10683 (__libc_ifunc_impl_list): Likewise.
10684 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10685 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10686 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10687 multiarch strchrnul for PPC64.
10689 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10691 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10692 (__libc_ifunc_impl_list): Likewise.
10693 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10694 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10695 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10696 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10699 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10701 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10702 (__libc_ifunc_impl_list): Likewise.
10703 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10704 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10705 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10706 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10709 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10710 multiarch implementations.
10711 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10712 (__libc_ifunc_impl_list): Likewise.
10713 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10714 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10715 strncasecmp for PPC64.
10716 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10717 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10718 multiarch strncasecmp_l for PPC64.
10720 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10721 multiarch implementations.
10722 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10723 (__libc_ifunc_impl_list): Likewise.
10724 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10725 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10726 multiarch strcasecmp for PPC64.
10727 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10729 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10730 multiarch strcasecmp_l for PPC64.
10732 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10734 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10735 (__libc_ifunc_impl_list): Likewise.
10736 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
10737 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
10738 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
10741 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
10743 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10744 (__libc_ifunc_impl_list): Likewise.
10745 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
10746 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
10747 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10750 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
10752 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10753 (__libc_ifunc_impl_list): Likewise.
10754 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
10755 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
10756 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
10757 rawmemrchr for PPC64.
10759 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
10761 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10762 (__libc_ifunc_impl_list): Likewise.
10763 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
10764 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
10765 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
10768 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
10770 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10771 (__libc_ifunc_impl_list): Likewise.
10772 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
10773 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
10774 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
10777 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
10779 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10780 (__libc_ifunc_impl_list): Likewise.
10781 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
10782 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
10783 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
10786 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
10787 avoid cretion of __bzero symbol.
10788 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
10790 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
10792 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
10794 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
10795 multiarch implementations.
10796 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10797 (__libc_ifunc_impl_list): Likewise.
10798 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
10799 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
10800 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
10801 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
10803 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
10804 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
10805 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
10806 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
10807 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
10809 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
10811 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
10812 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
10814 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10815 (__libc_ifunc_impl_list): Likewise.
10816 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
10817 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
10818 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
10819 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
10822 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
10823 multiarch for POWER/PPC64.
10824 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10825 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
10826 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
10827 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
10828 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
10829 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
10830 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
10831 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
10832 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
10835 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
10836 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
10837 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
10838 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
10839 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
10840 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
10841 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
10842 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
10843 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
10844 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
10845 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
10846 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
10847 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
10848 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
10849 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
10850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
10851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
10852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
10853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
10854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
10855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
10856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
10858 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10860 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
10862 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10864 * benchtests/Makefile (bench): Add exp2 and log2.
10865 (LDLIBS-bench-exp2): Add -lm.
10866 (LDLIBS-bench-log2): Likewise.
10867 * benchtests/exp2-inputs: New inputs file.
10868 * benchtests/log2-inputs: New inputs file.
10869 * benchtests/log-inputs: Add new inputs.
10870 * benchtests/tan-inputs: Likewise.
10872 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10874 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
10876 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
10877 (csloww2): ... from here.
10879 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
10880 instead of structures.
10881 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
10882 (POLYNOMIAL): Likewise.
10883 (TAYLOR_SLOW): Likewise.
10889 (sloww1); Likewise.
10890 (sloww2): Likewise.
10891 (bsloww1): Likewise.
10892 (bsloww2): Likewise.
10893 (cslow2): Likewise.
10894 (csloww): Likewise.
10895 (csloww1): Likewise.
10896 (csloww2): Likewise.
10898 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
10900 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
10901 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
10902 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
10903 * malloc/hooks.c (realloc_check): Likewise.
10905 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
10906 * malloc/arena.c: Remove PER_THREAD conditional.
10907 [!PER_THREAD]: Remove code.
10908 (ptmalloc_unlock_all2): Likewise.
10909 (ptmalloc_init): Likewise.
10910 (_int_new_arena): Likewise.
10911 (arena_get2): Likewise.
10912 * malloc/hooks.c (__malloc_get_state): Likewise.
10913 (__malloc_set_state): Likewise.
10914 * malloc/malloc.c: Likewise.
10915 (struct malloc_state): Likewise.
10916 (struct malloc_par): Likewise.
10917 (__libc_realloc): Likewise.
10918 (__libc_mallopt): Likewise.
10920 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10922 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10924 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
10926 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10927 macro to a function. Check for zero perturb_byte.
10928 (_int_malloc, _int_free): Remove zero perturb_byte checks.
10930 * malloc/malloc.c: (force_reg): Remove.
10931 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10932 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
10933 force_reg by atomic_forced_read.
10934 * malloc/arena.c (ptmalloc_init): Likewise.
10935 * malloc/hooks.c (top_check): Likewise.
10937 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10941 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
10943 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10945 2013-12-08 Joseph Myers <joseph@codesourcery.com>
10947 * math/auto-libm-test-in: Add tests of lgamma.
10948 * math/auto-libm-test-out: Regenerated.
10949 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10950 (M_LOG_2_SQRT_PIl): Likewise.
10951 (lgamma_test_data): Use AUTO_TESTS_f_f1.
10952 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10954 (func_calc_desc): Add mpfr_f_f1 union field.
10955 (ARGS1): New macro.
10963 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10964 (test_functions): Add lgamma.
10965 (calc_generic_results): Handle mpfr_f_f1.
10966 * sysdeps/i386/fpu/libm-test-ulps: Update.
10967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10969 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10971 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10972 __mpn_add_n for PowerPC64/POWER7.
10973 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10974 __mpn_sub_n for PowerPC64/POWER7.
10976 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10977 __mpn_addmul_1 for PowerPC64.
10978 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10979 __mpn_submul_1 for PowerPC64.
10980 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10982 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10985 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
10988 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10990 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10992 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10994 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10995 add multiarch folders.
10996 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10997 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10998 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10999 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11000 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11001 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11002 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11003 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11004 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11005 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11006 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11015 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11021 multiarch __ieee754_hypot for PowerPC32.
11022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11027 multiarch __ieee754_hypotf for PowerPC32.
11029 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11030 long_double_symbol only if __logbl is defined.
11031 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11032 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11033 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11034 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11035 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11036 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11037 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11038 path for implementation.
11039 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11040 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11042 logb, and logbl multiarch implementations for PowerPC32.
11043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11048 multiarch logb for PowerPC32.
11049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11054 multiarch logbf for PowerPC32.
11055 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11059 multiarch logbl implementation for PowerPC32.
11061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11062 and modff multiarch implementations.
11063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11068 multiarch modf for PowerPC32.
11069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11074 multiarch modff for PowerPC32.
11076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11077 and lrintf multiarch implementations.
11078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11083 multiarch lrint for PowerPC32.
11084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11085 file: multiarch lrintf for PowerPC32.
11087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11088 and lroundf multiarch implementations.
11089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11096 multiarch lround for PowerPC32.
11097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11098 file: multiarch lroundf for PowerPC32.
11100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11101 copysign and copysignf multiarch implementations.
11102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11107 file: multiarch copysign for PowerPC32.
11108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11109 file: multiarch copysignf for PowerPC32.
11111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11112 and truncf multiarch implementations.
11113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11118 multiarch trunc for PowerPC32.
11119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11124 multiarch truncf for PowerPC32.
11126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11127 and roundf multiarch implementations.
11128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11133 multiarch round for PowerPC32.
11134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11139 multiarch roundf for PowerPC32.
11141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11142 and floorf multiarch implementations.
11143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11148 multiarch floor for PowerPC32.
11149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11154 multiarch floorf for PowerPC32.
11156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11157 and ceilf multiarch implementations.
11158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11163 multiarch ceil for PowerPC32.
11164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11169 multiarch ceilf for PowerPC32.
11171 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11173 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11174 FINITEF is defined.
11175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11176 and finitef multiarch implementations.
11177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11182 multiarch finite for PowerPC32.
11183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11186 file: multiarch finitef for PowerPC32.
11188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11189 and isinff multiarch implementations.
11190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11195 multiarch isinf for PowerPC32.
11196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11199 multiarch isinff for PowerPC32.
11201 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11202 alias when __isnan is defined.
11203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11204 and isnanf multiarch implementations.
11205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11214 multiarch isnan for PowerPC32.
11215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11220 multiarch isnanf for PowerPC32.
11222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11223 and sqrtf multiarch implementations.
11224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11229 multiarch sqrt for PowerPC32.
11230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11235 multiarch sqrtf for PowerPC32.
11237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11238 and llroundf multiarch implementations.
11239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11246 file: multiarch llround for PowerPC32.
11247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11248 file: multiarch llroundf for PowerPC32.
11250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11251 multiarch PowerPC32 fpu implementations.
11252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11257 multiarch llrint for PowerPC32.
11258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11267 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11269 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11271 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11273 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11274 multiarch wordcopy for PPC32.
11275 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11277 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11278 (__libc_ifunc_impl_list): Likewise.
11279 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11280 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11281 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11282 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11283 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11284 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11286 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11287 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11289 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11291 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11293 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11294 multiarch wcscpy for PPC32.
11295 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11297 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11298 (__libc_ifunc_impl_list): Likewise.
11299 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11300 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11301 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11302 sysdeps/powerpc/power6/wcscpy.c.
11304 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11305 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11307 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11309 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11311 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11312 multiarch wcsrchr for PPC32.
11313 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11315 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11316 (__libc_ifunc_impl_list): Likewise.
11317 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11318 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11319 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11320 sysdeps/powerpc/power6/wcsrchr.c.
11322 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11324 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11326 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11327 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11328 multiarch wcschr for PPc32.
11329 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11331 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11332 (__libc_ifunc_impl_list): Likewise.
11333 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11334 * sysdeps/powerpc/power6/wcschr.c: ... to here.
11335 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11336 sysdeps/powerpc/power6/wcschr.c.
11338 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11339 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11341 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11342 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11343 file: multiarch strchr for PPC32.
11344 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11346 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11347 (__libc_ifunc_impl_list): Likewise.
11349 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11351 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11353 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11355 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11356 multiarch strchrnul for PPC32.
11357 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11359 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11360 (__libc_ifunc_impl_list): Likewise.
11362 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11364 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11365 multiarch strncasecmp for PPC32.
11366 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11368 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11369 multiarch strncasecmp_l for PPC32.
11370 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11371 strncasecmp multiarch objects.
11372 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11373 (__libc_ifunc_impl_list): Likewise.
11375 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11377 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11378 multiarch strncasecmp for PPC32.
11379 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11381 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11382 multiarch strcasecmp_l for PPC32.
11383 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11385 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11386 (__libc_ifunc_impl_list): Likewise.
11388 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11390 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11392 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11393 multiarch strncmp for PPC32.
11394 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11396 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11397 (__libc_ifunc_impl_list): Likewise.
11399 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11400 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11402 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11403 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11404 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11406 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11407 (__libc_ifunc_impl_list): Likewise.
11409 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11411 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11413 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11414 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11416 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11417 (__libc_ifunc_impl_list): Likewise.
11419 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11421 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11423 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11424 multiarch rawmemchr for PPC32.
11425 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11427 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11428 (__libc_ifunc_impl_list): Likewise.
11430 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11432 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11434 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11435 file: memrchr multiarch for PPC32.
11436 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11438 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11439 (__libc_ifunc_impl_list): Likewise.
11441 * string/memchr.c (__memchr): Using macro to redefine symbol name.
11442 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11444 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11445 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11446 multiarch memchr for PPC32.
11447 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11449 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11450 (__libc_ifunc_impl_list): Likewise.
11452 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11453 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11455 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11457 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11458 file: multiarch mempcpy for PPC32.
11459 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11461 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11462 (__libc_ifunc_impl_list): Likewise.
11464 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11465 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11466 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11467 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11468 multiarch bzero for PPC32.
11469 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11471 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11473 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11474 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11475 file: multiarch memset for PPC32.
11476 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11477 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11478 memset multiarch objects.
11479 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11480 (__libc_ifunc_impl_list): Likewise.
11482 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11484 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11485 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11487 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11488 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11490 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11491 (__libc_ifunc_impl_list): Likewise.
11493 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11494 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11495 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11497 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11499 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11501 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11502 multiarch memcpy for PPC32.
11503 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11505 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11506 (__libc_ifunc_impl_list): Likewise.
11508 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11509 support multiarch for POWER/PPC32.
11510 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11512 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11514 Implies file to make multiarch folder appers before the fpu and
11515 default folder for power4 configuration.
11517 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11519 * scripts/bench.pl: Append volatile keyword to type.
11521 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11523 * sysdeps/sh/sotruss-lib.c: New file.
11524 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11526 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11530 2013-12-05 Joseph Myers <joseph@codesourcery.com>
11533 * math/w_tgamma.c: Include <errno.h>.
11534 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
11535 * math/w_tgammaf.c: Include <errno.h>.
11536 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
11537 * math/w_tgammal.c: Include <errno.h>.
11538 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
11539 * math/auto-libm-test-in: Do not allow missing errno on tgamma
11540 underflow. Add more tgamma tests.
11541 * math/auto-libm-test-out: Regenerated.
11542 * sysdeps/i386/fpu/libm-test-ulps: Update.
11543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11545 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11546 sin, sinh, tan, tanh, tgamma, y0 and y1.
11547 * math/auto-libm-test-out: Regenerated.
11548 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11549 (TEST_COND_x86): Likewise.
11550 (M_E2l): Remove macro.
11552 (M_2_SQRT_PIl): Likewise.
11553 (M_SQRT_PIl): Likewise.
11554 (M_1_DIV_El): Likewise.
11555 (log_test_data): Use AUTO_TESTS_f_f.
11556 (log10_test_data): Likewise.
11557 (log1p_test_data): Likewise.
11558 (log2_test_data): Likewise.
11559 (sin_test_data): Likewise.
11560 (sin_tonearest_test_data): Likewise.
11561 (sin_towardzero_test_data): Likewise.
11562 (sin_downward_test_data): Likewise.
11563 (sin_upward_test_data): Likewise.
11564 (sinh_test_data): Likewise.
11565 (sinh_tonearest_test_data): Likewise.
11566 (sinh_towardzero_test_data): Likewise.
11567 (sinh_downward_test_data): Likewise.
11568 (sinh_upward_test_data): Likewise.
11569 (tan_test_data): Likewise.
11570 (tan_tonearest_test_data): Likewise.
11571 (tan_towardzero_test_data): Likewise.
11572 (tan_downward_test_data): Likewise.
11573 (tan_upward_test_data): Likewise.
11574 (tanh_test_data): Likewise.
11575 (tgamma_test_data): Likewise.
11576 (y0_test_data): Likewise.
11577 (y1_test_data): Likewise.
11578 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11579 (special_real_inputs): Add pi/4.
11580 * sysdeps/i386/fpu/libm-test-ulps: Update.
11581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11583 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11585 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11586 "longjmp_target" static probes.
11587 (__longjmp): Rename to __longjmp_symbol.
11588 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11589 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11590 on which longjmp to generate.
11591 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11592 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11594 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11595 (__sigjmp_save): Rename to __sigjmp_save_symbol.
11596 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11597 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11598 and __sigjmp_save_symbol based on which sigsetjmp to generated.
11599 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11601 __longjmp_symbol based on which __longjmp to generate.
11602 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11604 (setjmp): Rename to setjmp_symbol.
11605 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11606 (_setjmp): Rename to _setjmp_symbol.
11607 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11608 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11609 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11610 which setjmp to generate.
11611 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11612 "longjmp_target" static probes.
11614 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11616 * benchtests/README: Add note about output arguments.
11617 * benchtests/bench-sincos.c: Remove file.
11618 * benchtests/sincos-inputs: New file.
11619 * scripts/bench.pl: Identify output arguments and define
11620 static variables for them.
11622 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11625 * Makefile (INSTALL): Add install-plain.texi as the primary
11627 * manual/install-plain.texi: New file.
11628 * manual/install.texi: Include node directive only for
11629 non-plaintext output.
11631 2013-12-04 Joseph Myers <joseph@codesourcery.com>
11633 * stdlib/longlong.h: Update from GCC.
11637 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11638 * math/w_j0f.c (y0f): Likewise.
11639 * math/w_j0l.c (__y0l): Likewise.
11640 * math/w_j1.c (y1): Likewise.
11641 * math/w_j1f.c (y1f): Likewise.
11642 * math/w_j1l.c (__y1l): Likewise
11643 * math/w_jn.c (yn): Likewise.
11644 * math/w_jnf.c (ynf): Likewise.
11645 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11646 Bessel function pole errors in _POSIX_ mode. Use NAN as return
11647 value for Bessel function domain errors outside _SVID_ mode.
11648 Adjust sign of return value for yn (negative integer, 0).
11649 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11650 by zero in return for negative x and set sign appropriately for
11652 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11653 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11654 * math/libm-test.inc (y0_test_data): Add more tests and adjust
11655 expectations in error cases.
11656 (y1_test_data): Likewise.
11657 (yn_test_data): Likewise.
11658 * sysdeps/i386/fpu/libm-test-ulps: Update.
11659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11661 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11663 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11664 "64" to "64-v1". Add "64-v2".
11665 (abi-64-options): Rename to ...
11666 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
11667 (abi-64-condition): Rename to ...
11668 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
11669 (abi-64-ld-soname): Rename to ...
11670 (abi-64-v1-ld-soname): ... this.
11671 (abi-64-v2-options): Define.
11672 (abi-64-v2-condition): Likewise.
11673 (abi-64-v2-ld-soname): Likewise.
11674 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11675 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11680 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11681 Alan Modra <amodra@gmail.com>
11683 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11684 New versions for use with the ELFv2 ABI.
11685 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11686 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11688 (struct La_ppc64v2_retval): Likewise.
11689 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11690 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11691 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11692 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11693 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11694 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11695 Do not save or restore CR.
11696 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11697 (_dl_profile_resolve): Do no save or restore CR. Support extended
11698 return values for ELFv2 ABI. Fix location of FPR return registers.
11699 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11700 updated values for _CALL_ELF == 2.
11701 (La_regs, La_retval, int_retval): Likewise.
11703 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11705 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11706 (FRAME_MIN_SIZE_PARM): Likewise.
11707 (FRAME_BACKCHAIN): Likewise.
11708 (FRAME_CR_SAVE): Likewise.
11709 (FRAME_LR_SAVE): Likewise.
11710 (FRAME_TOC_SAVE): Likewise.
11711 (FRAME_PARM_SAVE): Likewise.
11712 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11713 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11714 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11715 (call_mcount_parm_offset): New macro.
11716 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11717 (PROF): Use symbolic stack frame offsets.
11718 (TAIL_CALL_SYSCALL_ERROR): Likewise.
11719 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11720 Redefine in terms of FRAME_MIN_SIZE.
11721 (_dl_runtime_resolve): Use symbolic stack frame offsets.
11722 (_dl_profile_resolve): Likewise. Update comment.
11723 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11724 symbols stack frame offsets.
11725 (__sigsetjmp): Likewise.
11726 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11727 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11728 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11729 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11732 (FRAME_BACKCHAIN): Remove.
11733 (FRAME_CR_SAVE): Likewise.
11734 (FRAME_LR_SAVE): Likewise.
11735 (FRAME_COMPILER_DW): Likewise.
11736 (FRAME_LINKER_DW): Likewise.
11737 (FRAME_TOC_SAVE): Likewise.
11738 (FRAME_PARM_SAVE): Likewise.
11739 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
11740 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
11741 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
11743 (CHECK_SP): Use symbolic stack frame offsets.
11744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
11745 zone" instead of caller's parameter save area for temp storage.
11746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11747 Likewise. Also, use symbolic stack frame offsets.
11748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
11749 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
11750 our own stack frame instead of the caller's.
11751 (__socket): Use symbolic stack frame offsets.
11753 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11754 Alan Modra <amodra@gmail.com>
11756 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
11758 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
11759 (PPC64_LOCAL_ENTRY_OFFSET): Define.
11760 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
11762 (elf_machine_fixup_plt): Call it.
11763 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
11765 (elf_machine_rela): Update call to elf_machine_plt_conflict.
11766 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11767 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
11768 r2 before calling target.
11770 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11771 Alan Modra <amodra@gmail.com>
11773 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
11774 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
11775 versions of macros to support ELFv2 ABI.
11776 (LOCALENTRY): New macro.
11777 (ENTRY, EALIGN): Use it.
11778 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
11779 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
11780 fall through into ENTRY entry point.
11781 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
11782 Only define if _CALL_ELF != 2.
11784 (elf_machine_matches_host): Verify ABI version matches.
11785 (RTLD_START): Use LOCALENTRY.
11786 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
11787 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
11788 (PLT_ENTRY_WORDS): New macro.
11789 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
11790 (elf_machine_runtime_setup): Support ELFv2 ABI.
11791 (elf_machine_fixup_plt): Likewise.
11792 (elf_machine_plt_conflict): Likewise.
11793 (resolve_ifunc): Likewise.
11794 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11795 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
11798 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
11799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11800 (makecontext): Support ELFv2 ABI.
11801 * elf/elf.h (EF_PPC64_ABI): Define.
11803 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11805 * sysdeps/powerpc/powerpc64/sysdep.h
11806 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
11807 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
11808 (ENTRY) [ASSEMBLER]: ... but instead here ...
11809 (EALIGN) [ASSEMBLER]: ... and here.
11810 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
11811 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
11812 (ENTRY_2) [!ASSEMBLER]: Use it.
11813 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
11814 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
11815 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11816 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
11817 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
11818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
11819 Use PPC64_LOAD_FUNCPTR.
11821 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
11823 2013-12-04 Alan Modra <amodra@gmail.com>
11825 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
11826 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
11827 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
11828 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
11830 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
11831 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
11832 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
11833 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
11834 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
11835 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
11837 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11840 (__makecontext): Fix incorrect CFI when backtracing out of
11841 context created via makecontext.
11842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
11843 (__setcontext): Fix incorrect CFI during switch to new context.
11844 (__novec_setcontext): Likewise.
11846 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11849 * time/strptime_l.c (__strptime_internal): Allow modifiers
11851 * time/tst-strptime.c (day_tests): Add testcase.
11853 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11855 * scripts/bench.pl: Skip over blank lines.
11857 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
11860 * manual/time.texi (Calendar Time): Clarify what timezone functions
11863 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11865 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11867 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11869 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
11871 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11872 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11873 * debug/memset_chk.c (__memset_chk): Likewise.
11874 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
11875 * debug/strncpy_chk.c: Likewise.
11877 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11881 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
11882 (__ieee754_exp): For possibly underflowing results, check size of
11883 result and force underflow exception if required.
11884 * math/auto-libm-test-in: Add more tests of exp.
11885 * math/auto-libm-test-out: Regenerated.
11886 * sysdeps/i386/fpu/libm-test-ulps: Update.
11887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11890 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
11891 * math/w_exp2f.c (__exp2f): Likewise.
11892 * math/w_exp2l.c (__exp2l): Likewise.
11893 * math/auto-libm-test-in: Do not allow missing errno on exp2
11895 * math/auto-libm-test-out: Regenerated.
11897 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
11900 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
11901 handle filename validation.
11902 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
11905 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11908 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
11909 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
11910 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11912 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11913 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11914 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11915 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
11916 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11917 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11918 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11919 * math/auto-libm-test-in: Don't allow missing errno from erfc.
11920 Add more erfc tests.
11921 * math/auto-libm-test-out: Regenerated.
11922 * sysdeps/i386/fpu/libm-test-ulps: Update.
11923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11925 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11926 exp2, expm1, j0 and j1.
11927 * math/auto-libm-test-out: Regenerated.
11928 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11929 (erfc_test_data): Likewise.
11930 (exp_test_data): Likewise.
11931 (exp_tonearest_test_data): Likewise.
11932 (exp_towardzero_test_data): Likewise.
11933 (exp_downward_test_data): Likewise.
11934 (exp_upward_test_data): Likewise.
11935 (exp10_test_data): Likewise.
11936 (exp2_test_data): Likewise.
11937 (expm1_test_data): Likewise.
11938 (j0_test_data): Likewise.
11939 (j1_test_data): Likewise.
11940 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11941 (input_flag_type): Add flag_xfail_rounding.
11942 (input_flags): Add xfail-rounding.
11943 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11944 (output_for_one_input_case): Handle flag_xfail_rounding.
11945 * sysdeps/i386/fpu/libm-test-ulps: Update.
11946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11948 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
11951 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11954 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11957 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11958 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11959 (STAP_PROBE0): New macro.
11960 (STAP_PROBE1): Likewise.
11961 (STAP_PROBE2): Likewise.
11962 (STAP_PROBE3): Likewise.
11963 (STAP_PROBE4): Likewise.
11965 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
11967 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11969 2013-12-02 Steve Ellcey <sellcey@mips.com>
11971 * benchtests/Makefile (bench): Add sqrt.
11972 (LDLIBS-bench-sqrt): New.
11973 * benchtests/sqrt-input: New.
11975 2013-12-02 Pavel Simerda <psimerda@redhat.com>
11977 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11978 (GAIH_EAI): Likewise.
11979 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11980 (gaih_inet): Likewise.
11981 (getaddrinfo): Don't use GAIH_EAI.
11983 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11984 (struct gaih): Remove definition.
11986 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11988 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11989 Use HERRNOP directly.
11991 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11995 2013-11-30 Joseph Myers <joseph@codesourcery.com>
11997 * math/gen-auto-libm-tests.c (test_functions): Add more
11998 single-argument functions.
11999 (special_fill_pi_2): New function.
12000 (special_fill_minus_pi_2): Likewise.
12001 (special_fill_pi_6): Likewise.
12002 (special_fill_minus_pi_6): Likewise.
12003 (special_fill_pi_3): Likewise.
12004 (special_fill_2pi_3): Likewise.
12005 (special_fill_e): Likewise.
12006 (special_fill_1_e): Likewise.
12007 (special_fill_e_minus_1): Likewise.
12008 (special_real_inputs): Add more special inputs.
12009 (output_for_one_input_case): Do not require ERANGE on underflow to
12010 zero if round-to-nearest result does not underflow to zero, unless
12011 exact results required.
12012 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12013 atan, atanh, cbrt, cos and cosh.
12014 * math/auto-libm-test-out: Regenerated.
12015 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12016 (acos_tonearest_test_data): Likewise.
12017 (acos_towardzero_test_data): Likewise.
12018 (acos_downward_test_data): Likewise.
12019 (acos_upward_test_data): Likewise.
12020 (acosh_test_data): Likewise.
12021 (asin_test_data): Likewise.
12022 (asin_tonearest_test_data): Likewise.
12023 (asin_towardzero_test_data): Likewise.
12024 (asin_upward_test_data): Likewise.
12025 (asinh_test_data): Likewise.
12026 (atan_test_data): Likewise.
12027 (atanh_test_data): Likewise.
12028 (cbrt_test_data): Likewise.
12029 (cos_test_data): Likewise.
12030 (cos_tonearest_test_data): Likewise.
12031 (cos_towardzero_test_data): Likewise.
12032 (cos_downward_test_data): Likewise.
12033 (cos_upward_test_data): Likewise.
12034 (cosh_test_data): Likewise.
12035 (cosh_tonearest_test_data): Likewise.
12036 (cosh_towardzero_test_data): Likewise.
12037 (cosh_downward_test_data): Likewise.
12038 (cosh_upward_test_data): Likewise.
12039 * sysdeps/i386/fpu/libm-test-ulps: Update.
12040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12042 2013-11-29 Joseph Myers <joseph@codesourcery.com>
12045 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12046 * math/w_exp10f.c (__exp10f): Likewise.
12047 * math/w_exp10l.c (__exp10l): Likewise.
12048 * math/libm-test.inc (exp10_test_data): Add more tests and expect
12049 errno settings in existing tests.
12052 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12053 precision control set to double precision.
12054 * sysdeps/i386/fpu/w_sqrt.c: New file.
12055 * math/auto-libm-test-in: Add more tests.
12056 * math/auto-libm-test-out: Update.
12058 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12059 (sqrt_test_tonearest): New function.
12060 (sqrt_towardzero_test_data): New variable.
12061 (sqrt_test_towardzero): New function.
12062 (sqrt_downward_test_data): New variable.
12063 (sqrt_test_downward): New function.
12064 (sqrt_upward_test_data): New variable.
12065 (sqrt_test_upward): New function.
12066 (main): Call the new functions.
12068 * math/gen-auto-libm-tests.c: New file.
12069 * math/auto-libm-test-in: Likewise.
12070 * math/auto-libm-test-out: New generated file.
12071 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12073 (%beautify): Add generated representations of zero.
12074 (top level): Set $auto_input and call parse_auto_input.
12075 (beautify): Remove trailing "f" from hex float constants.
12076 (parse_args): Handle XFAIL_TEST.
12077 (convert_condition): New function.
12078 (or_value): Likewise.
12079 (or_cond_value): Likewise.
12080 (generate_testfile): Handle AUTO_TESTS_* lines.
12081 (parse_auto_input): New function.
12082 * math/libm-test.inc (XFAIL_TEST): New macro.
12083 (ERRNO_UNCHANGED): Update value.
12084 (ERRNO_EDOM): Likewise.
12085 (ERRNO_ERANGE): Likewise.
12086 (IGNORE_RESULT): Likewise.
12087 (TEST_COND_flt_32): New macro.
12088 (TEST_COND_dbl_64): Likewise.
12089 (TEST_COND_ldbl_96_intel): Likewise.
12090 (TEST_COND_ldbl_96_m68k): Likewise.
12091 (TEST_COND_ldbl_128): Likewise.
12092 (TEST_COND_ldbl_128ibm): Likewise.
12093 (TEST_COND_long32): Likewise.
12094 (TEST_COND_long64): Likewise.
12095 (TEST_COND_before_rounding): Likewise.
12096 (TEST_COND_after_rounding): Likewise.
12097 (enable_test): Handle XFAIL_TEST flag.
12098 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12099 with finite results.
12100 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12101 auto-libm-test-out.
12103 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12104 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12107 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12108 __tls_get_addr_internal instead of __tls_get_offset in order to
12109 avoid GOT pointer dependency. Make rtld export
12110 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12111 __tls_get_addr since we are a __tls_get_offset platform.
12112 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12113 GOT pointer being set up before.
12114 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12116 2013-11-28 Joseph Myers <joseph@codesourcery.com>
12118 * manual/math.texi (Errors in Math Functions): Document accuracy
12122 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12123 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12124 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12125 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12126 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12127 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12128 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12129 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12130 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12131 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12132 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12133 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12134 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12135 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12136 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12137 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12139 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12140 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12141 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12142 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12143 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12145 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12147 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12149 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12150 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12151 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12152 atomic-feupdateenv and flt-rounds.
12153 * sysdeps/powerpc/nofpu/Versions (libc): Add
12154 __atomic_feholdexcept, __atomic_feclearexcept,
12155 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12156 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12157 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12158 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12159 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12164 * manual/arith.texi (FP Exceptions): Document that exceptions may
12165 not be raised when matherr is used.
12166 (Math Error Reporting): Document overflow in directed rounding
12167 modes. Document that errno may not be set when finite values are
12168 returned on overflow. Document intent to set errno on underflow
12169 only for underflow to zero.
12172 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12173 round-to-nearest then adjust result for other rounding modes.
12174 * include/fenv.h (fegetround): Use libm_hidden_proto.
12175 * math/fegetround.c (fegetround): Use libm_hidden_def.
12176 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12177 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12178 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12179 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12181 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12182 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12183 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12184 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12186 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12189 * nss/Versions (libnss_files): Add
12190 _nss_files_gethostbyname3_r.
12191 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12193 (HOST_DB_LOOKUP): Remove macro.
12194 (_nss_files_gethostbyname_r): Implement function without the
12195 HOST_DB_LOOKUP macro.
12196 (_nss_files_gethostbyname2_r): Likewise.
12198 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
12200 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12202 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
12204 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12205 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12208 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12210 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12211 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12212 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12213 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12214 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12215 __fe_nomask_env_priv and attribute_hidden.
12216 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12217 (libc_feupdateenv_test_ppc): Likewise.
12218 (libc_feresetround_ppc): Likewise.
12219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12220 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12221 compat_symbol macro.
12222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12223 (__fe_nomask_env): Likewise.
12224 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12226 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12228 * string/Makefile: Remove ifunc tests.
12229 * string/test-string.h: Define TEST_IFUNC.
12230 * string/test-bcopy-ifunc.c: Remove.
12231 * string/test-bzero-ifunc.c: Likewise.
12232 * string/test-memccpy-ifunc.c: Likewise.
12233 * string/test-memchr-ifunc.c: Likewise.
12234 * string/test-memcmp-ifunc.c: Likewise.
12235 * string/test-memcpy-ifunc.c: Likewise.
12236 * string/test-memmem-ifunc.c: Likewise.
12237 * string/test-memmove-ifunc.c: Likewise.
12238 * string/test-mempcpy-ifunc.c: Likewise.
12239 * string/test-memrchr-ifunc.c: Likewise.
12240 * string/test-memset-ifunc.c: Likewise.
12241 * string/test-rawmemchr-ifunc.c: Likewise.
12242 * string/test-stpcpy-ifunc.c: Likewise.
12243 * string/test-stpncpy-ifunc.c: Likewise.
12244 * string/test-strcasecmp-ifunc.c: Likewise.
12245 * string/test-strcasestr-ifunc.c: Likewise.
12246 * string/test-strcat-ifunc.c: Likewise.
12247 * string/test-strchr-ifunc.c: Likewise.
12248 * string/test-strchrnul-ifunc.c: Likewise.
12249 * string/test-strcmp-ifunc.c: Likewise.
12250 * string/test-strcpy-ifunc.c: Likewise.
12251 * string/test-strcspn-ifunc.c: Likewise.
12252 * string/test-strlen-ifunc.c: Likewise.
12253 * string/test-strncasecmp-ifunc.c: Likewise.
12254 * string/test-strncat-ifunc.c: Likewise.
12255 * string/test-strncmp-ifunc.c: Likewise.
12256 * string/test-strncpy-ifunc.c: Likewise.
12257 * string/test-strnlen-ifunc.c: Likewise.
12258 * string/test-strpbrk-ifunc.c: Likewise.
12259 * string/test-strrchr-ifunc.c: Likewise.
12260 * string/test-strspn-ifunc.c: Likewise.
12261 * string/test-strstr-ifunc.c: Likewise.
12263 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12265 * benchtests/Makefile: Remove ifunc tests.
12266 * benchtests/bench-string.h: Define TEST_IFUNC.
12267 * benchtests/bench-bcopy-ifunc.c: Remove.
12268 * benchtests/bench-bzero-ifunc.c: Likewise.
12269 * benchtests/bench-memccpy-ifunc.c: Likewise.
12270 * benchtests/bench-memchr-ifunc.c: Likewise.
12271 * benchtests/bench-memcmp-ifunc.c: Likewise.
12272 * benchtests/bench-memcpy-ifunc.c: Likewise.
12273 * benchtests/bench-memmem-ifunc.c: Likewise.
12274 * benchtests/bench-memmove-ifunc.c: Likewise.
12275 * benchtests/bench-mempcpy-ifunc.c: Likewise.
12276 * benchtests/bench-memrchr-ifunc.c: Likewise.
12277 * benchtests/bench-memset-ifunc.c: Likewise.
12278 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12279 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12280 * benchtests/bench-stpcpy-ifunc.c: Likewise.
12281 * benchtests/bench-stpncpy-ifunc.c: Likewise.
12282 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12283 * benchtests/bench-strcasestr-ifunc.c: Likewise.
12284 * benchtests/bench-strcat-ifunc.c: Likewise.
12285 * benchtests/bench-strchr-ifunc.c: Likewise.
12286 * benchtests/bench-strchrnul-ifunc.c: Likewise.
12287 * benchtests/bench-strcmp-ifunc.c: Likewise.
12288 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12289 * benchtests/bench-strcpy-ifunc.c: Likewise.
12290 * benchtests/bench-strcspn-ifunc.c: Likewise.
12291 * benchtests/bench-strlen-ifunc.c: Likewise.
12292 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12293 * benchtests/bench-strncat-ifunc.c: Likewise.
12294 * benchtests/bench-strncmp-ifunc.c: Likewise.
12295 * benchtests/bench-strncpy-ifunc.c: Likewise.
12296 * benchtests/bench-strnlen-ifunc.c: Likewise.
12297 * benchtests/bench-strpbrk-ifunc.c: Likewise.
12298 * benchtests/bench-strrchr-ifunc.c: Likewise.
12299 * benchtests/bench-strsep-ifunc.c: Likewise.
12300 * benchtests/bench-strspn-ifunc.c: Likewise.
12301 * benchtests/bench-strstr-ifunc.c: Likewise.
12303 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12305 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12307 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12309 * resolv/netdb.h: Use __glibc_reserved instead __unused.
12310 * rt/aio.h: Likewise.
12311 * sysdeps/gnu/bits/utmp.h: Likewise.
12312 * sysdeps/gnu/bits/utmpx.h: Likewise.
12313 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12314 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12315 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12316 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12317 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12318 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12319 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12320 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12321 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12322 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12323 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12324 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12325 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12327 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12328 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12329 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12330 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12331 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12332 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12333 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12334 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12335 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12336 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12337 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12338 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12339 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12340 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12341 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12342 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12343 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12344 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12345 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12346 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12347 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12348 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12349 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12350 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12351 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12352 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12353 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12354 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12356 2013-11-25 Carlos O'Donell <carlos@redhat.com>
12359 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12360 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12362 2013-11-25 Joseph Myers <joseph@codesourcery.com>
12364 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12365 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12368 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12370 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12371 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12372 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12373 (__fesetround): Remove define.
12374 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12375 rounding and exceptions handling.
12376 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12377 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12378 (__fe_nomask_env): Likewise.
12379 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12380 __fegetround instead of fegetround.
12381 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12382 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12384 2013-11-21 Roland McGrath <roland@hack.frob.com>
12386 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12389 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12391 2013-11-21 Meador Inge <meadori@codesourcery.com>
12394 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12395 (encrypt_r): Likewise.
12396 * malloc/obstack.h (obstack_free): Likewise.
12397 * posix/unistd.h (encrypt): Likewise.
12399 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
12401 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12402 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12403 DL_CALL_DT_FINI() that call the functions directly.
12404 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12405 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12406 * elf/dl-fini.c: Likewise.
12408 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
12410 * malloc/hooks.c (memalign_check): Add alignment rounding.
12411 * malloc/malloc.c (_mid_memalign): New function.
12412 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12413 Implement by calling _mid_memalign.
12414 * manual/probes.texi (Memory Allocation Probes): Remove
12415 memory_valloc_retry and memory_pvalloc_retry.
12417 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12419 * locale/programs/locarchive.c (open_archive): Add const
12420 qualifier to ARCHIVEFNAME and copy default fname to
12424 * libio/tst-widetext.input: Rename Oriya to Odia.
12425 * locale/iso-639.def: Likewise.
12427 * manual/probes.texi (Mathematical Function Probes): Add
12428 documentation for sin, cos, asin and acos probes.
12429 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12430 (__sin32): Add slowasin probe.
12431 (__cos32): Add slowacos probe.
12432 (__mpsin): Add slowsin probe.
12433 (__mpcos): Add slowcos probe.
12435 2013-11-19 Joseph Myers <joseph@codesourcery.com>
12438 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12439 thread-local __sim_exceptions_thread and global
12440 __sim_exceptions_global.
12441 (__sim_disabled_exceptions): Change to thread-local
12442 __sim_disabled_exceptions_thread and global
12443 __sim_disabled_exceptions_global.
12444 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12445 and global __sim_round_mode_global.
12446 (__simulate_exceptions): Use thread-local floating-point state and
12447 set global state from it as needed.
12448 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12449 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12450 __sim_round_mode_thread.
12451 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12452 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12453 and global __sim_exceptions_global.
12454 (__sim_disabled_exceptions): Change to thread-local
12455 __sim_disabled_exceptions_thread and global
12456 __sim_disabled_exceptions_global.
12457 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12458 and global __sim_round_mode_global.
12459 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12460 (SIM_SET_GLOBAL): Likewise.
12461 * sysdeps/powerpc/soft-fp/sfp-machine.h
12462 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12463 __sim_round_mode_thread.
12464 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12465 __sim_disabled_exceptions_thread.
12466 (__sim_exceptions): Change to __sim_exceptions_thread.
12467 (__sim_disabled_exceptions): Change to
12468 __sim_disabled_exceptions_thread.
12469 (__sim_round_mode): Change to __sim_round_mode_thread.
12470 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12471 thread-local floating-point state and set global state from it as
12473 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12474 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12475 (__sim_disabled_exceptions): Remove extern declaration.
12476 (feenableexcept): Use thread-local floating-point state and set
12477 global state from it as needed.
12478 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12479 extern declaration.
12480 (__sim_disabled_exceptions): Likewise.
12481 (__sim_round_mode): Likewise.
12482 (__fegetenv): Use thread-local floating-point state.
12483 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12484 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12485 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12486 floating-point state and set global state from it as needed.
12487 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12488 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12489 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12491 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12492 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12494 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12495 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12496 Use __sim_round_mode_thread.
12497 * math/test-fenv-tls.c: New file.
12498 * math/Makefile (tests): Add test-fenv-tls.
12499 ($(objpfx)test-fenv-tls): Depend on
12500 $(common-objpfx)nptl/libpthread.so.
12502 2013-11-19 Andreas Schwab <schwab@suse.de>
12504 * locale/programs/locale.c (show_info): Decode wordarray elements.
12505 * locale/categories.def (LC_MONETARY): Add element for
12506 _NL_MONETARY_CRNCYSTR.
12507 * locale/C-monetary.c (conversion_rate): New variable.
12508 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12511 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
12513 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12514 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12516 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12518 * elf/Makefile (tst-auxv): New test.
12519 * elf/tst-auxv.c: New
12520 * elf/rtld.c (dl_main): Adjust AT_EXECFN
12522 2013-11-18 Joseph Myers <joseph@codesourcery.com>
12524 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12525 (hidden_proto): Caller changed.
12526 (hidden_tls_proto): New macro.
12527 (libc_hidden_tls_proto): Likewise.
12528 (rtld_hidden_tls_proto): Likewise.
12529 (libm_hidden_tls_proto): Likewise.
12530 (libresolv_hidden_tls_proto): Likewise.
12531 (librt_hidden_tls_proto): Likewise.
12532 (libdl_hidden_tls_proto): Likewise.
12533 (libnss_files_hidden_tls_proto): Likewise.
12534 (libnsl_hidden_tls_proto): Likewise.
12535 (libnss_nisplus_hidden_tls_proto): Likewise.
12536 (libutil_hidden_tls_proto): Likewise.
12538 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
12541 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12542 (decompose_rpath): Defer expansion to fillin_rpath.
12543 (_dl_init_paths): Pass linkmap to fillin_rpath.
12545 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12547 * benchtests/Makefile: Add strsep.
12548 * benchtests/bench-strsep.c: New file: strsep benchtest.
12549 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12551 2013-11-18 Andreas Schwab <schwab@suse.de>
12553 * locale/programs/locale.c (show_info) [case byte]: Check for
12554 '\377' instead of '\177'.
12555 * locale/C-monetary.c (not_available): Always use "\377".
12556 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12557 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
12558 detect unavailable sign_posn locale elements.
12559 * locale/localeconv.c (__localeconv): For grouping and
12560 mon_grouping handle "\177" and "\377" like no grouping.
12561 (INT_ELEM): New macro. Use it to set all numeric members.
12562 * locale/programs/ld-monetary.c (monetary_read)
12563 <tok_mon_grouping>: Normalize single -1 to the empty string.
12564 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12567 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12570 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12571 when we match (nil).
12572 * stdio-common/tst-sscanf.c (struct test): Add testcase.
12574 2013-11-16 Joseph Myers <joseph@codesourcery.com>
12576 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12577 (NO_TEST_INLINE): Update value.
12578 (ERRNO_UNCHANGED): Likewise.
12579 (ERRNO_EDOM): Likewise.
12580 (ERRNO_ERANGE): Likewise.
12581 (IGNORE_RESULT): Likewise.
12582 (check_float_internal): Check signs of NaN results if
12583 TEST_NAN_SIGN used.
12584 (check_complex): Pass TEST_NAN_SIGN flag through to second
12585 check_float_internal call.
12586 (copysign_test_data): Add tests with quiet NaNs as second
12587 argument. Use TEST_NAN_SIGN.
12588 (fabs_test_data): Add test of negative quiet NaN argument. Use
12590 (signbit_test_data): Add tests of quiet NaN argument.
12591 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12593 * math/gen-libm-test.pl (show_exceptions): Take extra argument
12595 (parse_args): Handle function results specified as IGNORE.
12596 * math/libm-test.inc (IGNORE_RESULT): New macro.
12597 (check_float_internal): Do not check numerical result if flag
12599 (check_complex): Pass through IGNORE_RESULT to second
12600 check_float_internal call.
12601 (check_int): Do not check numerical result if flag IGNORE_RESULT
12603 (check_long): Likewise.
12604 (check_bool): Likewise.
12605 (check_longlong): Likewise.
12606 (lrint_test_data): Add tests of infinite and NaN arguments.
12607 (lrint_tonearest_test_data): Likewise.
12608 (lrint_towardzero_test_data): Likewise.
12609 (lrint_downward_test_data): Likewise.
12610 (lrint_upward_test_data): Likewise.
12611 (llrint_test_data): Likewise.
12612 (llrint_tonearest_test_data): Likewise.
12613 (llrint_towardzero_test_data): Likewise.
12614 (llrint_downward_test_data): Likewise.
12615 (llrint_upward_test_data): Likewise.
12616 (lround_test_data): Likewise.
12617 (llround_test_data): Likewise.
12619 * math/libm-test.inc (NO_TEST_INLINE): New macro.
12620 (ERRNO_UNCHANGED): Update value.
12621 (ERRNO_EDOM): Likewise.
12622 (ERRNO_ERANGE): Likewise.
12623 (NO_TEST_INLINE_FLOAT): New macro.
12624 (NO_TEST_INLINE_DOUBLE): Likewise.
12625 (enable_test): New function.
12626 (RUN_TEST_f_f): Check enable_test before running test.
12627 (RUN_TEST_2_f): Likewise.
12628 (RUN_TEST_fff_f): Likewise.
12629 (RUN_TEST_c_f): Likewise.
12630 (RUN_TEST_f_f1): Likewise.
12631 (RUN_TEST_fF_f1): Likewise.
12632 (RUN_TEST_fI_f1): Likewise.
12633 (RUN_TEST_ffI_f1): Likewise.
12634 (RUN_TEST_c_c): Likewise.
12635 (RUN_TEST_cc_c): Likewise.
12636 (RUN_TEST_f_i): Likewise.
12637 (RUN_TEST_f_i_tg): Likewise.
12638 (RUN_TEST_ff_i_tg): Likewise.
12639 (RUN_TEST_f_b): Likewise.
12640 (RUN_TEST_f_b_tg): Likewise.
12641 (RUN_TEST_f_l): Likewise.
12642 (RUN_TEST_f_L): Likewise.
12643 (RUN_TEST_fFF_11): Likewise.
12644 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12646 (cosh_test_data): Likewise.
12647 (exp_test_data): Likewise.
12648 (expm1_test_data): Likewise.
12649 (hypot_test_data): Likewise.
12650 (pow_test_data): Likewise.
12651 (sinh_test_data): Likewise.
12652 (tanh_test_data): Likewise.
12653 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12656 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12657 tests with quiet NaN input and output.
12658 (acosh_test_data): Likewise.
12659 (asin_test_data): Likewise.
12660 (asinh_test_data): Likewise.
12661 (atan_test_data): Likewise.
12662 (atanh_test_data): Likewise.
12663 (atan2_test_data): Likewise.
12664 (cbrt_test_data): Likewise.
12665 (cos_test_data): Likewise.
12666 (cosh_test_data): Likewise.
12667 (erf_test_data): Likewise.
12668 (erfc_test_data): Likewise.
12669 (exp_test_data): Likewise.
12670 (exp10_test_data): Likewise.
12671 (exp2_test_data): Likewise.
12672 (expm1_test_data): Likewise.
12673 (hypot_test_data): Likewise.
12674 (j0_test_data): Likewise.
12675 (j1_test_data): Likewise.
12676 (jn_test_data): Likewise.
12677 (lgamma_test_data): Likewise.
12678 (log_test_data): Likewise.
12679 (log10_test_data): Likewise.
12680 (log1p_test_data): Likewise.
12681 (log2_test_data): Likewise.
12682 (pow_test_data): Likewise.
12683 (scalb_test_data): Likewise.
12684 (sin_test_data): Likewise.
12685 (sincos_test_data): Likewise.
12686 (sinh_test_data): Likewise.
12687 (tan_test_data): Likewise.
12688 (tanh_test_data): Likewise.
12689 (tgamma_test_data): Likewise.
12690 (y0_test_data): Likewise.
12691 (y1_test_data): Likewise.
12692 (yn_test_data): Likewise.
12695 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12696 argument being NaN and avoid computations with second argument in
12698 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12699 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12700 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12702 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
12704 * locale/iso-639.def: Add Chitwani Tharu (the).
12706 2013-11-14 Andreas Schwab <schwab@suse.de>
12708 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12709 word instead of empty string.
12711 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12714 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12716 (__fe_nomask_env): Likewise.
12718 2013-11-13 Steve Ellcey <sellcey@mips.com>
12720 * benchtests/bench-timing.h: Include time.h.
12722 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
12725 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12727 * sysdeps/unix/sysv/linux/configure: Regenerated.
12729 2013-11-13 Joseph Myers <joseph@codesourcery.com>
12732 * stdlib/strtod_l.c (round_and_return): Do not consider
12733 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12734 exponent one less than half the least subnormal exponent.
12735 * stdlib/test-strtod-round-data: Add more tests.
12736 * stdlib/tst-strtod-round.c (tests): Regenerated.
12738 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12741 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
12742 (__fe_mask_env): Likewise.
12743 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
12744 libm_hidden_proto and add function prototype.
12745 (__fe_mask_env): Add function prototype.
12746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12747 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
12748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12749 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
12750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12751 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
12753 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12755 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
12756 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
12758 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12760 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
12761 of htab_find_slot().
12763 2013-11-11 David S. Miller <davem@davemloft.net>
12766 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
12767 symbol in the non-vis3 case in static builds.
12768 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
12769 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
12770 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
12771 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
12773 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12776 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
12779 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12781 * benchtests/Makefile: Add bench-strtod.
12782 * benchtests/bench-strtod.c: New file: strtod benchtest
12784 2013-11-11 Andreas Schwab <schwab@suse.de>
12787 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
12788 terminating NUL in key length.
12790 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12792 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12793 Add artificial ODP entry for vDSO symbol for PPC64.
12794 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
12795 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12797 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12800 * nss/getent.c (services_keys): Recognize services starting with digit.
12802 2013-11-06 David S. Miller <davem@davemloft.net>
12805 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
12806 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
12808 2013-11-06 Will Newton <will.newton@linaro.org>
12810 * manual/memory.texi (Malloc Examples): Remove register
12811 keyword from examples.
12813 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
12815 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
12817 2013-11-04 Joseph Myers <joseph@codesourcery.com>
12820 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
12821 depending on [__GCC_IEC_559 > 0].
12822 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
12823 depending on [__GCC_IEC_559_COMPLEX > 0].
12825 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
12827 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
12830 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
12832 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
12834 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
12837 * malloc/malloc (malloc_info): Do not handle first bin as
12840 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
12842 * locale/iso-639.def: Add Central Nahuatl (nhn).
12844 2013-11-01 Bruno Haible <bruno@clisp.org>
12847 * manual/math.texi (BSD Random): Specify range upper bound as
12850 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
12852 * locale/iso-639.def: Add Meadow Mari (mhr).
12854 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
12856 [BZ #14752], [BZ #15763]
12857 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
12859 * rt/tst_shm.c: Add test for escaping directory.
12861 2013-10-31 Andreas Schwab <schwab@suse.de>
12864 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
12865 followed by 'x' as part of digit sequence.
12866 * stdio-common/tst-sscanf.c (double_tests2): New tests.
12868 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
12871 * configure.ac: allow GNU Make 4.0 and greater.
12872 * configure: Regenerated.
12874 2013-10-30 Will Newton <will.newton@linaro.org>
12877 * malloc/hooks.c (memalign_check): Limit alignment to the
12878 maximum representable power of two.
12879 * malloc/malloc.c (__libc_memalign): Likewise.
12880 * malloc/tst-memalign.c (do_test): Add test for very
12881 large alignment values.
12882 * malloc/tst-posix_memalign.c (do_test): Likewise.
12884 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12887 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
12888 (munmap_chunk): Likewise.
12889 (mremap_chunk): Likewise.
12891 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12894 * stdlib/div.c (div): Remove obsolete code.
12895 * stdlib/ldiv.c (ldiv): Likewise.
12896 * stdlib/lldiv.c (lldiv): Likewise.
12898 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12901 * nss/nss_files/files-XXX.c (get_contents_ret): New
12903 (get_contents): New function.
12904 (internal_getent): Use it. Expand size of LINEBUFLEN.
12906 2013-10-30 Mike Frysinger <vapier@gentoo.org>
12908 * configure.in: Moved to ...
12909 * configure.ac: ... here. Change reference to configure.in
12911 * sysdeps/arm/preconfigure.ac: ... here.
12912 configure.in to configure.ac.
12913 * sysdeps/gnu/configure.in: Moved to ...
12914 * sysdeps/gnu/configure.ac: ... here.
12915 * sysdeps/i386/configure.in: Moved to ...
12916 * sysdeps/i386/configure.ac: ... here.
12917 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12918 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12919 * sysdeps/mach/configure.in: Moved to ...
12920 * sysdeps/mach/configure.ac: ... here.
12921 * sysdeps/mach/hurd/configure.in: Moved to ...
12922 * sysdeps/mach/hurd/configure.ac: ... here.
12923 * sysdeps/powerpc/configure.in: Moved to ...
12924 * sysdeps/powerpc/configure.ac: ... here.
12925 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12926 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12927 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12928 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12929 * sysdeps/s390/s390-32/configure.in: Moved to ...
12930 * sysdeps/s390/s390-32/configure.ac: ... here.
12931 * sysdeps/s390/s390-64/configure.in: Moved to ...
12932 * sysdeps/s390/s390-64/configure.ac: ... here.
12933 * sysdeps/sh/configure.in: Moved to ...
12934 * sysdeps/sh/configure.ac: ... here.
12935 * sysdeps/sparc/configure.in: Moved to ...
12936 * sysdeps/sparc/configure.ac: ... here.
12937 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12938 * sysdeps/unix/sysv/linux/configure.ac: ... here.
12939 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12940 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12941 * sysdeps/x86_64/configure.in: Moved to ...
12942 * sysdeps/x86_64/configure.ac: ... here.
12943 * sysdeps/x86_64/preconfigure.in: Moved to ...
12944 * sysdeps/x86_64/preconfigure.ac: ... here.
12945 * aclocal.m4: Change reference to configure.in to configure.ac.
12946 * config.h.in: Likewise.
12947 * manual/install.texi: Likewise.
12948 * manual/maint.texi: Likewise.
12949 * Makefile: Likewise.
12950 * malloc/Makefile: Likewise.
12951 * nscd/Makefile: Likewise.
12952 * Makeconfig: Change reference to configure.in and
12953 preconfigure.in to configure.ac and preconfigure.ac
12955 * INSTALL: Regenerated.
12956 * configure: Likewise.
12957 * sysdeps/gnu/configure: Likewise.
12958 * sysdeps/i386/configure: Likewise.
12959 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12960 * sysdeps/mach/configure: Likewise.
12961 * sysdeps/mach/hurd/configure: Likewise.
12962 * sysdeps/powerpc/configure: Likewise.
12963 * sysdeps/powerpc/powerpc32/configure: Likewise.
12964 * sysdeps/powerpc/powerpc64/configure: Likewise.
12965 * sysdeps/s390/s390-32/configure: Likewise.
12966 * sysdeps/s390/s390-64/configure: Likewise.
12967 * sysdeps/sh/configure: Likewise.
12968 * sysdeps/sparc/configure: Likewise.
12969 * sysdeps/unix/sysv/linux/configure: Likewise.
12970 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12971 * sysdeps/x86_64/configure: Likewise.
12972 * sysdeps/x86_64/preconfigure: Likewise.
12974 2013-10-29 Andreas Schwab <schwab@suse.de>
12976 * stdio-common/Makefile (tst-swscanf-ENV): Define.
12978 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12980 * benchtests/pow-inputs: Add new inputs.
12982 * benchtests/exp-inputs: Add new inputs.
12984 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12985 conditional check for return value.
12986 (__cos32): Likewise.
12988 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12990 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12991 to provide a boost for large inputs with word alignment.
12992 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12993 implementation based on optimized PPC64 strcpy.
12994 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12995 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12996 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12997 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12999 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13002 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13004 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13007 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13008 * time/tst-strptime.c (day_tests): Add testcase.
13010 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13013 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13015 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13018 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13019 MAP_FAILED on error.
13021 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13024 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13025 heap for large requests.
13027 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13030 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13031 result if the result has no associated interface.
13032 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13033 interface for all 127.X.Y.Z addresses.
13035 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
13037 * locale/iso-639.def: Add Ligurian (lij)
13039 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
13042 * sunrpc/rpc_main.c: Document rpcgen -5.
13044 2013-10-19 Michael Stahl <mstahl@redhat.com>
13046 * elf/rtld.c (do_preload): Print the reason why preloading failed.
13048 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13051 * posix/glob.c: Match only directories when trailing slash is present.
13052 * posix/tst-gnuglob.c (my_opendir): Do not open files.
13053 (main): Add testcase.
13055 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13058 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13060 2013-10-18 Carlos O'Donell <carlos@redhat.com>
13062 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13063 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13064 AUTH_DES and cindex for FIPS 140-2.
13065 (DES Encryption): Add cindex FIPS 46-3.
13067 * locale/locarchive.h (struct locarhandle): Add fname.
13068 * locale/programs/localedef.c (main): Pass ARGV[remaining]
13069 if an optional argument was specified to --list-archive,
13071 * locale/programs/locarchive.c (show_archive_content): Take new
13072 argument fname and pass it via ah.fname to open_archive.
13073 * locale/programs/localedef.h: Update decl.
13074 (open_archive): If AH->fname is non-null, open that file
13075 rather than the default file name, and don't ignore ENOENT.
13076 (create_archive): Set AH.fname to NULL.
13077 (delete_locales_from_archive): Likewise.
13078 (add_locales_to_archive): Likewise.
13079 * locale/programs/locfile.c (write_all_categories): Likewise.
13081 2013-10-18 Joseph Myers <joseph@codesourcery.com>
13082 Aldy Hernandez <aldyh@redhat.com>
13084 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13085 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13086 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13087 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13088 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13089 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13090 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13091 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13092 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13093 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13094 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13095 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13096 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13097 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13098 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13100 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13102 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13104 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13106 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13107 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13109 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13110 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13111 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13112 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13114 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13115 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13116 * sysdeps/powerpc/preconfigure: Likewise.
13117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13119 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13120 Replace contents of file by #include of <fenv_libc.h>.
13121 * sysdeps/powerpc/soft-fp/sfp-machine.h
13122 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13124 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13125 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13126 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13127 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13128 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13129 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13130 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13131 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13132 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13133 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13134 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13135 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13137 Allow copysignl PLT reference to be missing.
13139 2013-10-18 Richard Sandiford <richard@codesourcery.com>
13140 Joseph Myers <joseph@codesourcery.com
13143 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13145 (add_to_tablewc): Assert sequence of wide characters is nonempty.
13147 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13149 * elf/tst-tls-dlinfo.c: Don't include tls.h.
13150 * elf/tst-tls1.c: Likewise.
13151 * elf/tst-tls10.h: Likewise.
13152 * elf/tst-tls14.c: Likewise.
13153 * elf/tst-tls2.c: Likewise.
13154 * elf/tst-tls3.c: Likewise.
13155 * elf/tst-tls4.c: Likewise.
13156 * elf/tst-tls5.c: Likewise.
13157 * elf/tst-tls6.c: Likewise.
13158 * elf/tst-tls7.c: Likewise.
13159 * elf/tst-tls8.c: Likewise.
13160 * elf/tst-tls9.c: Likewise.
13161 * elf/tst-tlsmod1.c: Likewise.
13162 * elf/tst-tlsmod13.c: Likewise.
13163 * elf/tst-tlsmod13a.c: Likewise.
13164 * elf/tst-tlsmod14a.c: Likewise.
13165 * elf/tst-tlsmod16a.c: Likewise.
13166 * elf/tst-tlsmod16b.c: Likewise.
13167 * elf/tst-tlsmod2.c: Likewise.
13168 * elf/tst-tlsmod3.c: Likewise.
13169 * elf/tst-tlsmod4.c: Likewise.
13170 * elf/tst-tlsmod5.c: Likewise.
13171 * elf/tst-tlsmod6.c: Likewise.
13173 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
13176 * malloc/malloc.c: remove checks for statistics.
13178 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13181 * inet/inet_net.c (inet_network): Detect additional invalid strings.
13182 * inet/tst-network.c: Add testcase.
13184 2013-10-17 Andreas Schwab <schwab@suse.de>
13187 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13188 to determine canonical name.
13190 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13192 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13193 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13194 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13195 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13196 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13197 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13198 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13199 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13200 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13201 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13202 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13203 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13204 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13205 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13206 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13207 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13208 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13209 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13210 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13211 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13212 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13213 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13214 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13215 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13216 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13217 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13218 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13219 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13220 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13221 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13222 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13223 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13224 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13225 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13226 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13227 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13228 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13229 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13230 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13231 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13232 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13233 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13234 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13235 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13236 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13237 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13238 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13239 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13240 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13241 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13242 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13243 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13244 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13245 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13246 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13247 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13248 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13249 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13251 2013-10-17 Joseph Myers <joseph@codesourcery.com>
13254 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13255 make result into a quiet NaN.
13257 2013-10-16 Joseph Myers <joseph@codesourcery.com>
13259 * soft-fp/adddf3.c: Fix horizontal whitespace.
13260 * soft-fp/addsf3.c: Likewise.
13261 * soft-fp/addtf3.c: Likewise.
13262 * soft-fp/divdf3.c: Likewise.
13263 * soft-fp/divsf3.c: Likewise.
13264 * soft-fp/divtf3.c: Likewise.
13265 * soft-fp/double.h: Likewise.
13266 * soft-fp/eqdf2.c: Likewise.
13267 * soft-fp/eqsf2.c: Likewise.
13268 * soft-fp/eqtf2.c: Likewise.
13269 * soft-fp/extenddftf2.c: Likewise.
13270 * soft-fp/extended.h: Likewise.
13271 * soft-fp/extendsfdf2.c: Likewise.
13272 * soft-fp/extendsftf2.c: Likewise.
13273 * soft-fp/extendxftf2.c: Likewise.
13274 * soft-fp/fixdfdi.c: Likewise.
13275 * soft-fp/fixdfsi.c: Likewise.
13276 * soft-fp/fixdfti.c: Likewise.
13277 * soft-fp/fixsfdi.c: Likewise.
13278 * soft-fp/fixsfsi.c: Likewise.
13279 * soft-fp/fixsfti.c: Likewise.
13280 * soft-fp/fixtfdi.c: Likewise.
13281 * soft-fp/fixtfsi.c: Likewise.
13282 * soft-fp/fixtfti.c: Likewise.
13283 * soft-fp/fixunsdfdi.c: Likewise.
13284 * soft-fp/fixunsdfsi.c: Likewise.
13285 * soft-fp/fixunsdfti.c: Likewise.
13286 * soft-fp/fixunssfdi.c: Likewise.
13287 * soft-fp/fixunssfsi.c: Likewise.
13288 * soft-fp/fixunssfti.c: Likewise.
13289 * soft-fp/fixunstfdi.c: Likewise.
13290 * soft-fp/fixunstfsi.c: Likewise.
13291 * soft-fp/fixunstfti.c: Likewise.
13292 * soft-fp/floatdidf.c: Likewise.
13293 * soft-fp/floatdisf.c: Likewise.
13294 * soft-fp/floatditf.c: Likewise.
13295 * soft-fp/floatsidf.c: Likewise.
13296 * soft-fp/floatsisf.c: Likewise.
13297 * soft-fp/floatsitf.c: Likewise.
13298 * soft-fp/floattidf.c: Likewise.
13299 * soft-fp/floattisf.c: Likewise.
13300 * soft-fp/floattitf.c: Likewise.
13301 * soft-fp/floatundidf.c: Likewise.
13302 * soft-fp/floatundisf.c: Likewise.
13303 * soft-fp/floatunditf.c: Likewise.
13304 * soft-fp/floatunsidf.c: Likewise.
13305 * soft-fp/floatunsisf.c: Likewise.
13306 * soft-fp/floatunsitf.c: Likewise.
13307 * soft-fp/floatuntidf.c: Likewise.
13308 * soft-fp/floatuntisf.c: Likewise.
13309 * soft-fp/floatuntitf.c: Likewise.
13310 * soft-fp/fmadf4.c: Likewise.
13311 * soft-fp/fmasf4.c: Likewise.
13312 * soft-fp/fmatf4.c: Likewise.
13313 * soft-fp/gedf2.c: Likewise.
13314 * soft-fp/gesf2.c: Likewise.
13315 * soft-fp/getf2.c: Likewise.
13316 * soft-fp/ledf2.c: Likewise.
13317 * soft-fp/lesf2.c: Likewise.
13318 * soft-fp/letf2.c: Likewise.
13319 * soft-fp/muldf3.c: Likewise.
13320 * soft-fp/mulsf3.c: Likewise.
13321 * soft-fp/multf3.c: Likewise.
13322 * soft-fp/negdf2.c: Likewise.
13323 * soft-fp/negsf2.c: Likewise.
13324 * soft-fp/negtf2.c: Likewise.
13325 * soft-fp/op-1.h: Likewise.
13326 * soft-fp/op-2.h: Likewise.
13327 * soft-fp/op-4.h: Likewise.
13328 * soft-fp/op-8.h: Likewise.
13329 * soft-fp/op-common.h: Likewise.
13330 * soft-fp/quad.h: Likewise.
13331 * soft-fp/single.h: Likewise.
13332 * soft-fp/soft-fp.h: Likewise.
13333 * soft-fp/sqrtdf2.c: Likewise.
13334 * soft-fp/sqrtsf2.c: Likewise.
13335 * soft-fp/sqrttf2.c: Likewise.
13336 * soft-fp/subdf3.c: Likewise.
13337 * soft-fp/subsf3.c: Likewise.
13338 * soft-fp/subtf3.c: Likewise.
13339 * soft-fp/truncdfsf2.c: Likewise.
13340 * soft-fp/trunctfdf2.c: Likewise.
13341 * soft-fp/trunctfsf2.c: Likewise.
13342 * soft-fp/trunctfxf2.c: Likewise.
13343 * soft-fp/unorddf2.c: Likewise.
13344 * soft-fp/unordsf2.c: Likewise.
13345 * soft-fp/unordtf2.c: Likewise.
13347 2013-10-15 Joseph Myers <joseph@codesourcery.com>
13349 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13350 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13352 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
13354 * elf/dl-libc.c: Clear initfini list after freeing.
13356 2013-10-14 Joseph Myers <joseph@codesourcery.com>
13358 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13359 * soft-fp/addsf3.c: Likewise.
13360 * soft-fp/addtf3.c: Likewise.
13361 * soft-fp/divdf3.c: Likewise.
13362 * soft-fp/divsf3.c: Likewise.
13363 * soft-fp/divtf3.c: Likewise.
13364 * soft-fp/double.h: Likewise.
13365 * soft-fp/eqdf2.c: Likewise.
13366 * soft-fp/eqsf2.c: Likewise.
13367 * soft-fp/eqtf2.c: Likewise.
13368 * soft-fp/extenddftf2.c: Likewise.
13369 * soft-fp/extended.h: Likewise.
13370 * soft-fp/extendsfdf2.c: Likewise.
13371 * soft-fp/extendsftf2.c: Likewise.
13372 * soft-fp/extendxftf2.c: Likewise.
13373 * soft-fp/fixdfdi.c: Likewise.
13374 * soft-fp/fixdfsi.c: Likewise.
13375 * soft-fp/fixdfti.c: Likewise.
13376 * soft-fp/fixsfdi.c: Likewise.
13377 * soft-fp/fixsfsi.c: Likewise.
13378 * soft-fp/fixsfti.c: Likewise.
13379 * soft-fp/fixtfdi.c: Likewise.
13380 * soft-fp/fixtfsi.c: Likewise.
13381 * soft-fp/fixtfti.c: Likewise.
13382 * soft-fp/fixunsdfdi.c: Likewise.
13383 * soft-fp/fixunsdfsi.c: Likewise.
13384 * soft-fp/fixunsdfti.c: Likewise.
13385 * soft-fp/fixunssfdi.c: Likewise.
13386 * soft-fp/fixunssfsi.c: Likewise.
13387 * soft-fp/fixunssfti.c: Likewise.
13388 * soft-fp/fixunstfdi.c: Likewise.
13389 * soft-fp/fixunstfsi.c: Likewise.
13390 * soft-fp/fixunstfti.c: Likewise.
13391 * soft-fp/floatdidf.c: Likewise.
13392 * soft-fp/floatdisf.c: Likewise.
13393 * soft-fp/floatditf.c: Likewise.
13394 * soft-fp/floatsidf.c: Likewise.
13395 * soft-fp/floatsisf.c: Likewise.
13396 * soft-fp/floatsitf.c: Likewise.
13397 * soft-fp/floattidf.c: Likewise.
13398 * soft-fp/floattisf.c: Likewise.
13399 * soft-fp/floattitf.c: Likewise.
13400 * soft-fp/floatundidf.c: Likewise.
13401 * soft-fp/floatundisf.c: Likewise.
13402 * soft-fp/floatunsidf.c: Likewise.
13403 * soft-fp/floatunsisf.c: Likewise.
13404 * soft-fp/floatuntidf.c: Likewise.
13405 * soft-fp/floatuntisf.c: Likewise.
13406 * soft-fp/floatuntitf.c: Likewise.
13407 * soft-fp/fmadf4.c: Likewise.
13408 * soft-fp/fmasf4.c: Likewise.
13409 * soft-fp/fmatf4.c: Likewise.
13410 * soft-fp/gedf2.c: Likewise.
13411 * soft-fp/gesf2.c: Likewise.
13412 * soft-fp/getf2.c: Likewise.
13413 * soft-fp/ledf2.c: Likewise.
13414 * soft-fp/lesf2.c: Likewise.
13415 * soft-fp/letf2.c: Likewise.
13416 * soft-fp/muldf3.c: Likewise.
13417 * soft-fp/mulsf3.c: Likewise.
13418 * soft-fp/multf3.c: Likewise.
13419 * soft-fp/negdf2.c: Likewise.
13420 * soft-fp/negsf2.c: Likewise.
13421 * soft-fp/negtf2.c: Likewise.
13422 * soft-fp/op-1.h: Likewise.
13423 * soft-fp/op-2.h: Likewise.
13424 * soft-fp/op-4.h: Likewise.
13425 * soft-fp/op-8.h: Likewise.
13426 * soft-fp/op-common.h: Likewise.
13427 * soft-fp/quad.h: Likewise.
13428 * soft-fp/single.h: Likewise.
13429 * soft-fp/soft-fp.h: Likewise.
13430 * soft-fp/sqrtdf2.c: Likewise.
13431 * soft-fp/sqrtsf2.c: Likewise.
13432 * soft-fp/sqrttf2.c: Likewise.
13433 * soft-fp/subdf3.c: Likewise.
13434 * soft-fp/subsf3.c: Likewise.
13435 * soft-fp/subtf3.c: Likewise.
13436 * soft-fp/truncdfsf2.c: Likewise.
13437 * soft-fp/trunctfdf2.c: Likewise.
13438 * soft-fp/trunctfsf2.c: Likewise.
13439 * soft-fp/trunctfxf2.c: Likewise.
13440 * soft-fp/unorddf2.c: Likewise.
13441 * soft-fp/unordsf2.c: Likewise.
13442 * soft-fp/unordtf2.c: Likewise.
13444 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
13447 * misc/error.c (error_tail): Fix possible buffer overflow.
13449 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
13452 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13455 2013-10-14 P. J. McDermott <pj@pehjota.net>
13458 * elf/ldd.bash.in (try_trace): New function. Delete previous code
13459 testing pipefail option.
13461 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13463 * soft-fp/double.h: Indent preprocessor directives inside #if.
13464 * soft-fp/extended.h: Likewise.
13465 * soft-fp/op-2.h: Likewise.
13466 * soft-fp/op-4.h: Likewise.
13467 * soft-fp/op-common.h: Likewise.
13468 * soft-fp/quad.h: Likewise.
13469 * soft-fp/single.h: Likewise.
13470 * soft-fp/soft-fp.h: Likewise.
13472 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
13474 * iconv/iconv_prog.c: Fix typos.
13475 * stdio-common/psiginfo-data.h: Likewise.
13477 2013-10-12 Reuben Thomas <rrt@sc3d.org>
13480 * locale/setlocale.c: Fix typo.
13482 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13485 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13486 signaling NaN arguments.
13487 * soft-fp/unordsf2.c (__unordsf2): Likewise.
13488 * soft-fp/unordtf2.c (__unordtf2): Likewise.
13491 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13492 unordered operands.
13493 * soft-fp/gesf2.c (__gesf2): Likewise.
13494 * soft-fp/getf2.c (__getf2): Likewise.
13495 * soft-fp/ledf2.c (__ledf2): Likewise.
13496 * soft-fp/lesf2.c (__lesf2): Likewise.
13497 * soft-fp/letf2.c (__letf2): Likewise.
13499 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13500 * soft-fp/eqsf2.c (__eqsf2): Likewise.
13501 * soft-fp/eqtf2.c (__eqtf2): Likewise.
13502 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13503 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13504 * soft-fp/fixdfti.c (__fixdfti): Likewise.
13505 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13506 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13507 * soft-fp/fixsfti.c (__fixsfti): Likewise.
13508 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13509 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13510 * soft-fp/fixtfti.c (__fixtfti): Likewise.
13511 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13512 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13513 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13514 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13515 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13516 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13517 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13518 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13519 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13520 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13521 * soft-fp/floatdisf.c (__floatdisf): Likewise.
13522 * soft-fp/floatsisf.c (__floatsisf): Likewise.
13523 * soft-fp/floattidf.c (__floattidf): Likewise.
13524 * soft-fp/floattisf.c (__floattisf): Likewise.
13525 * soft-fp/floattitf.c (__floattitf): Likewise.
13526 * soft-fp/floatundidf.c (__floatundidf): Likewise.
13527 * soft-fp/floatundisf.c (__floatundisf): Likewise.
13528 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13529 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13530 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13531 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13532 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13533 * soft-fp/gesf2.c (__gesf2): Likewise.
13534 * soft-fp/getf2.c (__getf2): Likewise.
13535 * soft-fp/ledf2.c (__ledf2): Likewise.
13536 * soft-fp/lesf2.c (__lesf2): Likewise.
13537 * soft-fp/letf2.c (__letf2): Likewise.
13539 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13540 Undefine and redefine.
13541 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13542 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13543 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13544 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13545 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13546 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13547 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13548 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13549 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13550 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13551 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13552 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13553 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13554 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13555 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13558 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13559 without decrementing exponent if mantissa >= that for the
13560 denominator, not >.
13561 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13562 denominator, not >. Decrement exponent in < case instead of
13563 incrementing in >= case.
13564 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13565 without decrementing exponent if mantissa >= that for the
13566 denominator, not >.
13568 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13569 computing saturated result for unsigned overflow.
13571 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13572 Jeff Law <law@redhat.com>
13574 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13575 (atan2Mp): Add systemtap probe marker.
13576 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13577 (__ieee754_log): Add systemtap probe marker.
13578 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13579 (atanMp): Add systemtap probe marker.
13580 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13581 (tanMp): Add systemtap probe marker.
13582 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13583 (__slowexp): Add systemtap probe marker.
13584 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13585 (__slowpow): Add systemtap probe marker.
13586 * manual/probes.texi: Document probes.
13588 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
13591 * libio/fileops.c (_IO_new_file_write): Return count of bytes
13593 (_IO_new_file_xsputn): Don't return EOF if nothing has been
13595 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13596 written to buffer but not flushed.
13597 * libio/iofwrite_u.c: Likewise.
13598 * libio/iopadn.c: Return bytes returned even if EOF was
13600 * libio/iowpadn.c: Likewise.
13601 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13602 if _IO_padn does not write the whole buffer.
13603 [!COMPILE_WPRINTF] (PAD): Likewise.
13605 2013-10-10 David S. Miller <davem@davemloft.net>
13607 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13610 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13612 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
13613 instead of FSF address.
13614 * soft-fp/fixdfti.c: Likewise.
13615 * soft-fp/fixsfti.c: Likewise.
13616 * soft-fp/fixtfti.c: Likewise.
13617 * soft-fp/fixunsdfti.c: Likewise.
13618 * soft-fp/fixunssfti.c: Likewise.
13619 * soft-fp/fixunstfti.c: Likewise.
13620 * soft-fp/floattidf.c: Likewise.
13621 * soft-fp/floattisf.c: Likewise.
13622 * soft-fp/floattitf.c: Likewise.
13623 * soft-fp/floatuntidf.c: Likewise.
13624 * soft-fp/floatuntisf.c: Likewise.
13625 * soft-fp/floatuntitf.c: Likewise.
13626 * soft-fp/trunctfxf2.c: Likewise.
13628 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
13629 * soft-fp/fixdfti.c: Likewise.
13630 * soft-fp/fixsfti.c: Likewise.
13631 * soft-fp/fixtfti.c: Likewise.
13632 * soft-fp/fixunsdfti.c: Likewise.
13633 * soft-fp/fixunssfti.c: Likewise.
13634 * soft-fp/fixunstfti.c: Likewise.
13635 * soft-fp/floattidf.c: Likewise.
13636 * soft-fp/floattisf.c: Likewise.
13637 * soft-fp/floattitf.c: Likewise.
13638 * soft-fp/floatuntidf.c: Likewise.
13639 * soft-fp/floatuntisf.c: Likewise.
13640 * soft-fp/floatuntitf.c: Likewise.
13641 * soft-fp/trunctfxf2.c: Likewise.
13643 2013-10-10 David S. Miller <davem@davemloft.net>
13645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13647 2013-10-10 Joseph Myers <joseph@codsourcery.com>
13649 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13650 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13651 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13652 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13653 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13654 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13655 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13657 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13658 for NaNs before doing comparisons on argument.
13659 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13662 2013-10-10 Will Newton <will.newton@linaro.org>
13664 * malloc/hooks.c (memalign_check): Ensure the value of bytes
13665 passed to _int_memalign does not overflow.
13667 2013-10-10 Torvald Riegel <triegel@redhat.com>
13669 * scripts/bench.pl: Add include-sources directive.
13670 * benchtests/README: Update documentation.
13672 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13674 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13675 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13676 instead of FP_INIT_ROUNDMODE.
13677 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13678 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13681 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
13682 copy class of input value.
13683 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
13684 not handle exceptions.
13685 * soft-fp/negsf2.c (__negsf2): Likewise.
13686 * soft-fp/negtf2.c (__negtf2): Likewise.
13687 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13689 2013-10-09 Joseph Myers <joseph@codesourcery.com>
13691 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13692 semicolon. From Linux kernel.
13694 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
13696 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13698 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
13701 * manual/socket.texi: Added statement about buffer
13702 for gethostbyname2_r.
13704 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
13706 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13707 Use .p2align directive instead, throughout.
13708 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13709 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13710 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13711 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13712 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13713 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13714 * sysdeps/x86_64/strchr.S: Likewise.
13715 * sysdeps/x86_64/strrchr.S: Likewise.
13717 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13719 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13721 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13723 * sysdeps/generic/math_private.h (__mpsin1): Remove
13725 (__mpcos1): Likewise.
13726 (__mpsin): New argument __range_reduce.
13727 (__mpcos): Likewise.
13728 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13729 (slow): Use __mpsin and __mpcos.
13733 (sloww1): Likewise.
13734 (sloww2): Likewise.
13735 (bsloww): Likewise.
13736 (bsloww1): Likewise.
13737 (bsloww2): Likewise.
13738 (cslow2): Likewise.
13739 (csloww): Likewise.
13740 (csloww1): Likewise.
13741 (csloww2): Likewise.
13742 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
13743 range_reduce. Merge in __mpsin1.
13744 (__mpcos): Likewise.
13745 (__mpsin1): Remove.
13746 (__mpcos1): Likewise.
13748 2013-10-07 Joseph Myers <joseph@codesourcery.com>
13750 * locale/loadlocale.c (_nl_intern_locale_data): Use
13752 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
13753 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
13754 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
13755 obstack data is appropriately aligned.
13756 (obstack_int32_grow_fast): Likewise.
13757 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
13758 * locale/programs/locfile.c (add_locale_uint32): Likewise.
13759 (add_locale_uint32_array): Likewise.
13761 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13763 * benchtests/Makefile: Remove ARGLIST and RET variables.
13764 ($(objpfx)bench-%.c): Pass only function name to the script.
13765 * benchtests/README: Update documentation.
13766 * benchtests/acos-inputs: Add new directives.
13767 * benchtests/acosh-inputs: Likewise.
13768 * benchtests/asin-inputs: Likewise.
13769 * benchtests/asinh-inputs: Likewise.
13770 * benchtests/atan-inputs: Likewise.
13771 * benchtests/atanh-inputs: Likewise.
13772 * benchtests/cos-inputs: Likewise.
13773 * benchtests/cosh-inputs: Likewise.
13774 * benchtests/exp-inputs: Likewise.
13775 * benchtests/log-inputs: Likewise.
13776 * benchtests/pow-inputs: Likewise.
13777 * benchtests/rint-inputs: Likewise.
13778 * benchtests/sin-inputs: Likewise.
13779 * benchtests/sinh-inputs: Likewise.
13780 * benchtests/tan-inputs: Likewise.
13781 * benchtests/tanh-inputs: Likewise.
13782 * scripts/bench.pl: Add support for new directives.
13784 2013-10-07 Alan Modra <amodra@gmail.com>
13786 * README: Fix careless merge.
13788 2013-10-05 Alan Modra <amodra@gmail.com>
13790 * NEWS: Mention powerpc64le support and bugs fixed.
13791 * README: Both big-endian and little-endian powerpc64 supported.
13793 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13795 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
13796 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
13797 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
13798 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
13800 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
13802 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
13805 2013-10-04 Joseph Myers <joseph@codesourcery.com>
13807 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
13808 Move -mhard-float appending from
13809 ports/sysdeps/powerpc/powerpc32/Makefile.
13810 [$(with-fp) = yes] (ASFLAGS): Likewise.
13811 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
13812 * sysdeps/powerpc/nofpu: Move directory from
13813 ports/sysdeps/powerpc/nofpu.
13814 * sysdeps/powerpc/soft-fp: Move directory from
13815 ports/sysdeps/powerpc/soft-fp.
13816 * sysdeps/powerpc/powerpc32/405: Move directory from
13817 ports/sysdeps/powerpc/powerpc32/405.
13818 * sysdeps/powerpc/powerpc32/440: Move directory from
13819 ports/sysdeps/powerpc/powerpc32/440.
13820 * sysdeps/powerpc/powerpc32/464: Move directory from
13821 ports/sysdeps/powerpc/powerpc32/464.
13822 * sysdeps/powerpc/powerpc32/476: Move directory from
13823 ports/sysdeps/powerpc/powerpc32/476.
13824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
13825 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
13826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
13827 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
13828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
13829 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
13830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
13831 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
13832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
13833 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
13834 * README: Update for powerpc-*-linux-gnu software floating point
13837 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
13838 case to powerpc/powerpc32*.
13839 * sysdeps/unix/sysv/linux/configure: Regenerated.
13841 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
13842 (_FPU_MASK_OM): Define as 0x04.
13843 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
13844 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
13846 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
13848 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
13850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
13851 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
13854 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
13857 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
13858 and setcontext_e500.
13860 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
13862 * locale/iso-3166.def: Update iso-1366.def and related occurrences
13864 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13866 * manual/threads.texi (Default Thread Attributes): Fix typo.
13868 2013-10-04 Will Newton <will.newton@linaro.org>
13870 * malloc/Makefile: Add tst-memalign.
13871 * malloc/tst-memalign.c: New file.
13873 * malloc/tst-posix_memalign.c: Add comments.
13874 (do_test): Add comments and call free on all potentially
13875 allocated pointers. Add space after cast.
13877 * malloc/tst-pvalloc.c: Add comments.
13878 (do_test): Add comments and call free on all potentially
13879 allocated pointers. Remove duplicate check for NULL pointer.
13880 Add space after cast.
13882 * malloc/tst-valloc.c: Add comments.
13883 (do_test): Add comments and call free on all potentially
13884 allocated pointers. Remove duplicate check for NULL pointer.
13885 Add space after cast.
13887 2013-10-04 Alan Modra <amodra@gmail.com>
13889 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13890 Use stdint types in rather than __attribute__((mode())).
13891 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13893 2013-10-04 Alan Modra <amodra@gmail.com>
13895 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13896 Correct handling of unaligned relocs for little-endian.
13897 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13899 2013-10-04 Alan Modra <amodra@gmail.com>
13901 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
13902 * configure: Regenerate.
13903 * nptl/shlib-versions: Powerpc*le starts at 2.18.
13904 * shlib-versions: Likewise.
13906 2013-10-04 Alan Modra <amodra@gmail.com>
13908 * string/tester.c (test_memrchr): Increment reported test cycle.
13910 2013-10-04 Alan Modra <amodra@gmail.com>
13912 * string/test-memcpy.c (do_one_test): When reporting errors, print
13913 string address and don't overrun end of string.
13915 2013-10-04 Alan Modra <amodra@gmail.com>
13917 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13918 insrdi. Make better use of reg selection to speed exit slightly.
13919 Schedule entry path a little better. Remove useless "are we done"
13920 checks on entry to main loop. Handle wrapping around zero address.
13921 Correct main loop count. Handle single left-over word from main
13922 loop inline rather than by using loop_small. Remove extra word
13923 case in loop_small caused by wrong loop count. Add little-endian
13925 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13926 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
13928 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13929 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13930 support. Avoid rlwimi.
13931 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13933 2013-10-04 Alan Modra <amodra@gmail.com>
13935 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
13936 insrdi. Formatting.
13937 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13938 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13939 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13940 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13941 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13942 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13944 2013-10-04 Alan Modra <amodra@gmail.com>
13946 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13947 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13948 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13949 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13950 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13951 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13952 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13953 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13954 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
13955 use of regs. Use power7 mtocrf. Tidy function tails.
13957 2013-10-04 Alan Modra <amodra@gmail.com>
13959 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13960 Formatting. Consistently use rXXX register defines or rN defines.
13961 Use early exit labels that avoid restoring unused non-volatile regs.
13962 Make cr field use more consistent with rWORDn compares. Rename
13963 regs used as shift registers for unaligned loop, using rN defines
13964 for short lifetime/multiple use regs.
13965 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13966 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
13967 addi 1,1,64 to pop stack frame. Simplify return value code.
13968 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13970 2013-10-04 Alan Modra <amodra@gmail.com>
13972 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13973 support. Correct typos, formatting. Optimize tail. Use insrdi
13974 rather than rlwimi.
13975 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13976 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13977 little-endian support. Correct typos.
13978 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
13979 rather than rlwimi.
13980 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
13981 in loop and entry code to keep "and." results.
13982 (strchr): Add little-endian support. Comment. Move cntlzd
13984 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13986 2013-10-04 Alan Modra <amodra@gmail.com>
13988 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13989 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13990 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13991 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13993 2013-10-04 Alan Modra <amodra@gmail.com>
13995 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13996 (rTMP): Define as r11.
13997 (strcmp): Add little-endian support. Optimise tail.
13998 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13999 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14000 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14001 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14002 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14003 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14004 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14006 2013-10-04 Alan Modra <amodra@gmail.com>
14008 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14009 little-endian support. Remove unnecessary "are we done" tests.
14010 Handle "s" wrapping around zero and extremely large "size".
14011 Correct main loop count. Handle single left-over word from main
14012 loop inline rather than by using small_loop. Correct comments.
14013 Delete "zero" tail, use "end_max" instead.
14014 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14016 2013-10-04 Alan Modra <amodra@gmail.com>
14018 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14019 support. Don't branch over align.
14020 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14021 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14022 support. Rearrange tmp reg use to suit. Comment.
14023 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14025 2013-10-04 Alan Modra <amodra@gmail.com>
14027 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14029 2013-10-04 Alan Modra <amodra@gmail.com>
14031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14032 conditional form of branch and link when obtaining pc.
14033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14035 2013-10-04 Alan Modra <amodra@gmail.com>
14037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14042 2013-10-04 Alan Modra <amodra@gmail.com>
14044 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14045 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14046 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14047 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14048 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14049 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14050 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14051 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14052 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14053 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14055 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14056 Alistair Popple <alistair@ozlabs.au.ibm.com>
14057 Alan Modra <amodra@gmail.com>
14060 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14061 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14062 _dl_hwcap access for little-endian.
14063 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
14064 destroy vmx regs when saving unaligned.
14065 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14066 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
14067 destroy vmx regs when saving unaligned.
14069 2013-10-04 Alan Modra <amodra@gmail.com>
14071 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14072 Don't use a union to pack hi/low value.
14074 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14076 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14078 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14079 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14080 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14081 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14082 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14084 2013-10-04 Alan Modra <amodra@gmail.com>
14086 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14087 constants to usual value for .cst8 section, and remove redundant
14089 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14090 constant for 0x1p52. Load little-endian words of double from
14091 correct stack offsets.
14093 2013-10-04 Alan Modra <amodra@gmail.com>
14095 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14096 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14097 words of double from correct stack offsets.
14098 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14099 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14100 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14101 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14102 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14103 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14104 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14105 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14106 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14107 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14108 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14109 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14110 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14111 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14112 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14113 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14114 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14116 2013-10-04 Alan Modra <amodra@gmail.com>
14118 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14119 64-bit int/double union.
14120 (_FPU_SETCW): Likewise.
14121 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14122 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14124 2013-10-04 Alan Modra <amodra@gmail.com>
14126 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14127 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14129 2013-10-04 Alan Modra <amodra@gmail.com>
14131 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14132 use vector int constants.
14133 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14135 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14137 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14138 array with long long.
14139 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14140 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14141 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14142 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14143 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14144 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14145 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14146 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14147 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14148 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14149 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14150 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14151 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14153 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14155 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14156 (__signbit): Likewise. Correct for little-endian.
14157 (__signbitl): Call __signbit.
14158 (lrint): Correct for little-endian.
14159 (lrintf): Call lrint.
14161 2013-10-04 Alan Modra <amodra@gmail.com>
14163 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14164 union 32-bit int array member with 64-bit int array.
14165 (t515, tm256): Double rather than long double.
14166 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14168 2013-10-04 Alan Modra <amodra@gmail.com>
14170 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14172 (IEEE854_LONG_DOUBLE_BIAS): Delete.
14173 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14174 version of math_ldbl.h.
14176 2013-10-04 Alan Modra <amodra@gmail.com>
14178 [BZ #15734], [BZ #15735]
14179 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14180 all uses of ieee875 long double macros and unions. Simplify test
14181 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
14182 ldbl_extract_mantissa value for ix,iy exponents. Properly
14183 normalize after ldbl_extract_mantissa, and don't add hidden bit
14184 already handled. Don't treat low word of ieee854 mantissa like
14185 low word of IBM long double and mask off bit when testing for
14187 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14188 all uses of ieee875 long double macros and unions. Simplify tests
14189 for 0.0L and inf. Correct double adjustment of k. Delete dead code
14190 adjusting ha,hb. Simplify code setting kld. Delete two600 and
14191 two1022, instead use their values. Recognise that tests for large
14192 "a" and small "b" are mutually exclusive. Rename vars. Comment.
14193 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14194 Rewrite all uses of ieee875 long double macros and unions. Simplify
14195 test for 0.0L and nan. Correct negation.
14196 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14197 ieee875 long double macros and unions. Correct output for large
14198 magnitude x. Correct absolute value calculation.
14199 (__erfcl): Likewise.
14200 * math/libm-test.inc: Add tests for errors discovered in IBM long
14201 double versions of fmodl, remainderl, erfl and erfcl.
14203 2013-10-04 Alan Modra <amodra@gmail.com>
14205 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14206 all uses of ieee854 long double macros and unions. Simplify tests
14207 for long doubles that are fully specified by the high double.
14208 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14210 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14211 Remove dead code too.
14212 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14213 (__ieee754_ynl): Likewise.
14214 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14215 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14216 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14217 Remove dead code too.
14218 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14219 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14220 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14221 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14223 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14225 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14226 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14227 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14228 Comment on variable precision.
14229 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14230 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14232 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14233 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14234 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14235 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14236 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14238 2013-10-04 Alan Modra <amodra@gmail.com>
14240 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14241 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14242 all uses of ieee854 long double macros and unions.
14243 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14244 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14245 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14246 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14247 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14248 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14250 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14251 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14252 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14253 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14254 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14255 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14256 Simplify sign and nan test too.
14257 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14258 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14259 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14260 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14262 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14263 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14265 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14266 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14267 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14268 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14269 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14270 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14272 2013-10-04 Alan Modra <amodra@gmail.com>
14274 * stdio-common/printf_size.c (__printf_size): Don't use
14275 union ieee854_long_double in fpnum union.
14276 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
14277 signbit macro to retrieve sign from long double.
14278 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14279 retrieve sign from long double.
14280 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14281 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14282 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14283 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14284 * math/test-misc.c (main): Don't use union ieee854_long_double.
14286 2013-10-04 Alan Modra <amodra@gmail.com>
14289 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14290 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14291 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14292 calculation. Remove unnecessary test for denormal exponent.
14293 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14294 Correct handling of denormals. Avoid undefined shift behaviour.
14295 Correct normalisation of low mantissa when low double is denormal.
14296 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14297 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
14298 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14299 Correct normalisation of low mantissa. Test for overflow of high
14300 mantissa and normalise.
14301 (ldbl_nearbyint): Use more readable constant for two52.
14302 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14303 (__mpn_construct_long_double): Fix test for overflow of high
14304 mantissa and correct normalisation. Avoid undefined shift.
14306 2013-10-04 Alan Modra <amodra@gmail.com>
14308 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14309 (union ibm_extended_long_double): Define as an array of ieee754_double.
14310 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14311 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14312 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14313 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14314 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14315 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14316 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14317 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14318 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14319 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14320 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14322 2013-10-03 Joseph Myers <joseph@codesourcery.com>
14324 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14325 page size instead of calling getpagesize.
14327 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14328 (LOCFILE_ALIGN_MASK): Likewise.
14329 (LOCFILE_ALIGN_UP): Likewise.
14330 (LOCFILE_ALIGNED_P): Likewise.
14331 * locale/programs/ld-collate.c (collate_output): Use the new
14332 macros instead of __alignof__ (int32_t).
14333 * locale/weight.h (findidx): Likewise.
14335 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
14338 * manual/string.texi: Fix strncat and wcsncat.
14340 2013-10-03 Brooks Moses <bmoses@google.com>
14343 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14344 * Makerules: ...here, and adjust associated comments.
14346 2013-10-02 Will Newton <will.newton@linaro.org>
14348 * malloc/Makefile: Add tst-pvalloc.
14349 * malloc/tst-pvalloc.c: New file.
14351 2013-10-02 Will Newton <will.newton@linaro.org>
14353 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14354 improve test coverage.
14356 2013-10-02 Will Newton <will.newton@linaro.org>
14358 * malloc/Makefile: Add tst-posix_memalign.
14359 * malloc/tst-posix_memalign.c: New file.
14361 2013-10-01 Eric Blake <eblake@redhat.com>
14363 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14364 Use __THROWNL rather than __THROW on static functions.
14366 2013-09-30 Petr Machata <pmachata@redhat.com>
14368 * elf/elf.h (R_AARCH64_ABS16): New macro.
14369 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14370 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14371 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14372 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14373 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14374 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14375 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14376 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14377 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14378 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14379 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14380 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14381 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14382 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14383 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14384 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14385 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14386 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14387 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14388 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14389 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14390 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14391 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14392 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14393 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14394 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14395 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14396 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14397 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14398 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14399 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14400 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14401 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14402 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14403 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14404 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14405 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14406 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14407 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14408 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14409 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14410 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14411 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14412 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14413 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14414 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14415 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14416 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14417 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14418 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14419 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14420 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14421 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14422 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14423 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14424 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14425 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14426 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14427 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14428 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14429 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14430 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14431 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14432 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14433 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14434 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14435 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14436 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14437 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14438 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14439 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14440 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14441 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14442 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14443 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14444 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14445 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14446 (R_AARCH64_TLSDESC_LDR): Likewise.
14447 (R_AARCH64_TLSDESC_ADD): Likewise.
14448 (R_AARCH64_TLSDESC_CALL): Likewise.
14450 2013-09-30 Andreas Schwab <schwab@suse.de>
14453 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14454 the nss database lookup.
14455 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14456 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14458 2013-09-28 Mike Frysinger <vapier@gentoo.org>
14460 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14462 2013-09-28 P. J. McDermott <pj@pehjota.net>
14464 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14465 ${Bash-specific parameter/pattern/string} parameter expansion.
14466 * sysdeps/unix/make-syscalls.sh: Likewise.
14468 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14470 * sysdeps/sh/stackguard-macros.h: New file.
14472 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
14474 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14475 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14476 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14477 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14478 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14479 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14481 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14483 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14484 Fix thread ID register.
14486 2013-09-25 Joseph Myers <joseph@codesourcery.com>
14488 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14489 [POSIX || UNIX98]: Require rather than permitting all symbols from
14491 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14492 element of struct sched_param.
14493 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14494 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14495 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14496 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14499 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
14501 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14502 argument calculation.
14504 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14506 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14508 [POSIX] (pthread_attr_t): Do not require type.
14509 [POSIX] (pthread_cond_t): Likewise.
14510 [POSIX] (pthread_condattr_t): Likewise.
14511 [POSIX] (pthread_key_t): Likewise.
14512 [POSIX] (pthread_mutex_t): Likewise.
14513 [POSIX] (pthread_mutexattr_t): Likewise.
14514 [POSIX] (pthread_once_t): Likewise.
14515 [POSIX] (pthread_t): Likewise.
14516 [POSIX-based standards] (pthread_atfork): Expect function.
14518 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14519 Richard Sandiford <richard@codesourcery.com>
14521 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14522 (swap_endianness_p): New extern variable.
14523 (set_big_endian): New inline function.
14524 (maybe_swap_uint32): Likewise.
14525 (maybe_swap_uint32_array): Likewise.
14526 (maybe_swap_uint32_obstack): Likewise.
14527 * locale/programs/locfile.c: Include <stdbool.h>.
14528 (swap_endianness_p): New variable.
14529 (add_locale_uint32): Call maybe_swap_uint32.
14530 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14531 (write_locale_data): Call maybe_swap_uint32_array.
14532 * locale/programs/ld-collate.c (obstack_int32_grow): Call
14534 (obstack_int32_grow_fast): Likewise.
14535 (output_weightwc): Call maybe_swap_uint32_obstack.
14536 (collate_output): Likewise.
14537 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14538 (OPT_LITTLE_ENDIAN): Likewise.
14539 (options): Add --little-endian and --big-endian options.
14540 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14541 * locale/programs/locarchive.c: Include "locfile.h".
14545 (create_archive): Use the new macros to access fields of
14546 structures directly mapped from or written to locale archives.
14547 (oldlocrecentcmp): Likewise.
14548 (enlarge_archive): Likewise.
14549 (insert_name): Likewise.
14550 (add_alias): Likewise.
14551 (add_locale): Likewise.
14552 (delete_locales_from_archive): Likewise.
14553 (show_archive_content): Likewise.
14554 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
14557 2013-09-24 Roland McGrath <roland@hack.frob.com>
14559 * manual/freemanuals.texi: Updated from (newly) canonical copy at
14560 http://www.gnu.org/doc/freemanuals.texi.
14561 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14563 2013-09-24 Will Newton <will.newton@linaro.org>
14565 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14568 2013-09-23 Joseph Myers <joseph@codesourcery.com>
14570 * locale/hashval.h (compute_hashval): Interpret bytes of key as
14573 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
14575 * manual/threads.texi (POSIX Threads): Fix a typo.
14577 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14580 * string/tst-strcoll-overflow.c: New test case.
14581 * string/Makefile (xtests): Add tst-strcoll-overflow.
14582 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14583 cache if string sizes may cause integer overflow.
14586 * string/strcoll_l.c (coll_seq): New members rule, idx,
14587 save_idx and back_us.
14588 (get_next_seq_nocache): New function.
14589 (do_compare_nocache): New function.
14590 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14593 2013-09-23 Carlos O'Donell <carlos@redhat.com>
14596 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14597 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14598 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14601 * elf/Makefile (tests): Add tst-ptrguard1.
14602 (tests-static): Add tst-ptrguard1-static.
14603 (tst-ptrguard1-ARGS): Define.
14604 (tst-ptrguard1-static-ARGS): Define.
14605 * elf/tst-ptrguard1.c: New file.
14606 * elf/tst-ptrguard1-static.c: New file.
14607 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14608 * sysdeps/i386/stackguard-macros.h: Likewise.
14609 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14610 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14611 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14612 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14613 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14614 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14616 2013-09-23 Hector Marco <hecmargi@upv.es>
14617 Ismael Ripoll <iripoll@disca.upv.es>
14618 Carlos O'Donell <carlos@redhat.com>
14621 * sysdeps/generic/stackguard-macros.h: Define
14622 __pointer_chk_guard_local and POINTER_CHK_GUARD.
14623 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14624 Define __pointer_chk_guard_local.
14625 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14626 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14628 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
14631 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14633 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
14635 * include/string.h (__ffs): Declare as hidden.
14636 * string/ffs.c (__ffs): Define as hidden.
14637 * sysdeps/i386/ffs.c (__ffs): Likewise.
14638 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14639 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14640 * sysdeps/s390/ffs.c (__ffs): Likewise.
14641 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14643 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
14645 * NEWS: Mention malloc probes.
14647 * malloc/arena.c (new_heap): New memory_heap_new probe.
14648 (grow_heap): New memory_heap_more probe.
14649 (shrink_heap): New memory_heap_less probe.
14650 (heap_trim): New memory_heap_free probe.
14651 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14652 (systrim): New memory_sbrk_less probe.
14653 * manual/probes.texi: Document them.
14655 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14656 * manual/probes.texi: Document it.
14658 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14659 (__libc_realloc): Add memory_realloc_retry probe.
14660 (__libc_memalign): Add memory_memalign_retry probe.
14661 (__libc_valloc): Add memory_valloc_retry probe.
14662 (__libc_pvalloc): Add memory_pvalloc_retry probe.
14663 (__libc_calloc): Add memory_calloc_retry probe.
14664 * manual/probes.texi: Document them.
14666 * malloc/arena.c (get_free_list): Add probe
14667 memory_arena_reuse_free_list.
14668 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14669 and memory_arena_reuse.
14670 (arena_get2) [!PER_THREAD]: Likewise.
14671 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14672 memory_arena_reuse_realloc.
14673 * manual/probes.texi: Document them.
14675 * malloc/malloc.c (__libc_free): Add
14676 memory_mallopt_free_dyn_thresholds probe.
14677 (__libc_mallopt): Add multiple memory_mallopt probes.
14678 * manual/probes.texi: Document them.
14680 * malloc/malloc.c: Include stap-probe.h.
14681 (__libc_mallopt): Add memory_mallopt probe.
14682 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14683 * manual/probes.texi: New.
14684 * manual/Makefile (chapters): Add probes.
14685 * manual/threads.texi: Set next node.
14687 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
14689 [BZ #15963, #13985]
14690 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14691 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14692 Add `Chinese' to `nan' entry name.
14694 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14696 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14697 (POLYNOMIAL): Likewise.
14698 (TAYLOR_SINCOS): Likewise.
14699 (TAYLOR_SLOW): Likewise.
14700 (__sin): Use TAYLOR_SINCOS.
14702 (slow): Use TAYLOR_SLOW.
14704 (bsloww): Likewise.
14705 (csloww): Likewise.
14707 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14709 * stdlib/strtod_l.c: Fix buffer overrun.
14711 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14713 * benchtests/Makefile (bench): Add sincos.
14714 * benchtests/bench-sincos.c: New file.
14716 * math/libm-test.inc (cos_test_data): New test inputs.
14717 (sin_test_data): Likewise.
14719 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14725 (sloww1): Likewise.
14726 (sloww2): Likewise.
14727 (bsloww1): Likewise.
14728 (bsloww2): Likewise.
14729 (cslow2): Likewise.
14730 (csloww1): Likewise.
14731 (csloww2): Likewise.
14733 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
14738 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
14742 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
14744 * config.h.in (HAVE_MIPS_NAN2008): New macro.
14745 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
14746 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
14747 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
14748 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14749 * elf/cache.c (print_entry): Handle the new cache flags.
14751 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14752 Aldy Hernandez <aldyh@redhat.com>
14754 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
14755 Change condition to [_SOFT_FLOAT].
14756 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
14757 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
14758 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
14759 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
14760 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
14761 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
14762 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
14763 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
14764 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
14765 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
14766 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
14767 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
14768 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
14769 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
14770 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
14771 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
14774 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14776 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
14777 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14778 (__longjmp): Use LOAD_GP to load saved GPRs.
14779 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
14780 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14781 (__sigsetjmp): Use SAVE_GP to save GPRs.
14783 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
14784 Do not append -msoft-float.
14785 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
14787 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14789 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
14791 2013-09-17 Joseph Myers <joseph@codesourcery.com>
14794 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
14795 (_FPU_GETCW): Use initial "__" on variable and field names but not
14796 on macro parameter name.
14797 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
14798 parentheses around reference to macro parameter.
14800 2013-09-13 Richard Sandiford <richard@codesourcery.com>
14802 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
14804 (ctype_startup): Use uint32_t in cast and sizeof for
14807 2013-09-11 Jia Liu <proljc@gmail.com>
14809 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
14811 [__FreeBSD__]: Likewise.
14813 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
14815 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14816 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
14817 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
14818 (strchr): Remove __strchr_sse42 ifunc selection.
14819 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
14820 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
14822 2013-09-11 Will Newton <will.newton@linaro.org>
14824 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
14825 parameter to RES. Remove hardcoded 1000 value.
14826 * benchtests/bench-skeleton.c (main): Pass RES parameter
14827 to TIMING_INIT and multiply result by 1000.
14829 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14833 2013-09-11 Andreas Schwab <schwab@suse.de>
14835 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14837 (O_TMPFILE) [__USE_GNU]: Define.
14838 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
14841 2013-09-11 Will Newton <will.newton@linaro.org>
14844 * malloc/malloc.c (__libc_memalign): Check the value of bytes
14847 2013-09-11 Will Newton <will.newton@linaro.org>
14850 * malloc/malloc.c (__libc_valloc): Check the value of bytes
14853 2013-09-11 Will Newton <will.newton@linaro.org>
14856 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
14859 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
14861 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
14862 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14863 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14864 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14865 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14867 2013-09-10 Allan McRae <allan@archlinux.org>
14870 * manual/arith.texi (Parsing of Floats): Clarify
14874 * manual/install.texi (Running make install): Mention
14876 * INSTALL: Regenerated.
14878 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14880 * csu/init-first.c (_init): Remove the !SHARED condition around
14881 FPU control word initialization.
14882 * elf/dl-support.c (_dl_fpu_control): New variable.
14883 (_dl_aux_init) <AT_FPUCW>: Initialize it.
14884 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
14885 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
14886 * math/test-fpucw-static.c: New file.
14887 * math/test-fpucw-ieee.c: New file.
14888 * math/test-fpucw-ieee-static.c: New file.
14889 * math/Makefile (tests): Add `test-fpucw-ieee' and
14891 (tests-static): New variable.
14892 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
14894 [($(build-shared),yes)]
14895 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14897 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
14900 2013-09-09 Allan McRae <allan@archlinux.org>
14903 * manual/string.texi (Collation Functions): Fix typo in
14905 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
14908 * stdlib/isomac.c (get_null_defines): Fix memory leak.
14911 * libio/memstream.c (open_memstream): Fix memory leak.
14912 * libio/wmemstream.c (open_wmemstream): Likewise.
14915 * nscd/netgroupcache.c: Fix nesting of ifdefs.
14917 2013-09-09 Will Newton <will.newton@linaro.org>
14919 * malloc/Makefile: Add tst-realloc to tests.
14920 * malloc/tst-realloc.c: New file.
14922 2013-09-09 Allan McRae <allan@archlinux.org>
14925 * COPYING: Update from GNU website to fix FSF address.
14926 * COPYING.LIB: Likewise.
14928 2013-09-06 David S. Miller <davem@davemloft.net>
14930 * po/zh_TW.po: Update Chinese (traditional) translation from
14931 translation project.
14933 2013-09-06 Richard Sandiford <richard@codesourcery.com>
14934 Joseph Myers <joseph@codesourcery.com>
14936 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14938 (obstack_chunk_alloc): New macro.
14939 (obstack_chunk_free): Likewise.
14940 (record_offset): New function.
14941 (init_locale_data): Likewise.
14942 (align_locale_data): Likewise.
14943 (add_locale_empty): Likewise.
14944 (add_locale_raw_data): Likewise.
14945 (add_locale_raw_obstack): Likewise.
14946 (add_locale_string): Likewise.
14947 (add_locale_wstring): Likewise.
14948 (add_locale_uint32): Likewise.
14949 (add_locale_uint32_array): Likewise.
14950 (add_locale_char): Likewise.
14951 (start_locale_structure): Likewise.
14952 (end_locale_structure): Likewise.
14953 (start_locale_prelude): Likewise.
14954 (end_locale_prelude): Likewise.
14955 (write_locale_data): Take locale_file structure rather than an
14957 * locale/programs/locfile.h: Include "obstack.h".
14958 (struct locale_file): Change to store locale file contents instead
14960 (init_locale_data): New prototype.
14961 (align_locale_data): Likewise.
14962 (add_locale_empty): Likewise.
14963 (add_locale_raw_data): Likewise.
14964 (add_locale_raw_obstack): Likewise.
14965 (add_locale_string): Likewise.
14966 (add_locale_wstring): Likewise.
14967 (add_locale_uint32): Likewise.
14968 (add_locale_uint32_array): Likewise.
14969 (add_locale_char): Likewise.
14970 (start_locale_structure): Likewise.
14971 (end_locale_structure): Likewise.
14972 (start_locale_prelude): Likewise.
14973 (end_locale_prelude): Likewise.
14974 (write_locale_data): Update prototype.
14975 * locale/programs/3level.h (struct TABLE): Remove result field.
14976 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14977 Use new locale_file interface.
14978 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14979 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14980 * locale/programs/ld-address.c (address_output): Use new
14981 locale_file interface.
14982 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14984 (collate_finish): Don't call collseq_table_finalize.
14985 (collate_output): Use new locale_file interface.
14986 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14988 (NO_FINALIZE): Change to NO_ADD_LOCALE.
14989 (TABLE): Move defines earlier in file.
14990 (ELEMENT): Likewise.
14991 (DEFAULT): Likewise.
14992 (wctrans_table_add): Move macro and inline function earlier in
14994 (struct wctype_table): Move type earlier in file.
14995 (add_locale_wctype_table): New static prototype.
14996 (struct locale_ctype_t): Use logical types instead of struct iovec
14997 pointers for members.
14998 (ctype_output): Use new locale_file interface.
14999 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15000 new locale_file interface.
15001 (allocate_arrays): Update for use of new locale_file interface.
15002 * locale/programs/ld-identification.c (identification_output): Use
15003 new locale_file interface.
15004 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15005 * locale/programs/ld-messages.c (messages_output): Likewise.
15006 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15007 * locale/programs/ld-name.c (name_output): Likewise.
15008 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15009 * locale/programs/ld-paper.c (paper_output): Likewise.
15010 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15011 * locale/programs/ld-time.c (time_output): Likewise.
15013 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15015 * benchtests/Makefile: Add memrchr benchmark.
15016 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15017 benchmark as memrchr.
15018 * benchtests/bench-memrchr-ifunc.c: New file.
15019 * benchtests/bench-memrchr.c: New file.
15021 2013-09-06 Will Newton <will.newton@linaro.org>
15023 * benchtests/Makefile (string-bench): Add memcpy.
15025 2013-09-05 Carlos O'Donell <carlos@redhat.com>
15026 Cong Wang <amwang@redhat.com>
15029 * sysdeps/unix/sysv/linux/bits/in.h
15030 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15031 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15032 before __USE_KERNEL_IPV6_DEFS uses.
15033 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15035 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15036 sockaddr_in6, or ipv6_mreq.
15038 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15040 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15041 memory access for final bytes in some large inputs.
15042 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15044 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15046 * string/test-memrchr.c: New file.
15047 * string/test-memrchr-ifunc.c: New file.
15048 * string/Makefile: Add new memrchr testcase.
15050 2013-09-05 Mike Frysinger <vapier@gentoo.org>
15052 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15053 fanotify_init returns EPERM.
15055 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15057 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15059 (top level): Treat second token from macro or constant entries for
15060 allowed headers as allowed.
15061 * include/complex.h: Condition internal declarations on
15063 * include/fenv.h: Condition include of <stdbool.h> and internal
15064 declarations on [!_ISOMAC].
15066 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
15069 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15071 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15073 * configure.in (--enable-versioning): Remove configure option.
15074 (libc_cv_asm_symver_directive): Remove configure test.
15075 (libc_cv_ld_version_script_option): Likewise.
15076 (VERSIONING): Remove variable and AC_SUBST.
15077 (DO_VERSIONING): Remove AC_DEFINE.
15078 * configure: Regenerated.
15079 * config.h.in (DO_VERSIONING): Remove macro.
15080 * Makerules [$(versioning) = yes]: Change conditionals to
15081 [$(build-shared) = yes].
15082 * config.make.in (versioning): Remove variable.
15083 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15084 [$(build-shared) = yes].
15085 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15086 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15087 * elf/Makefile [$(versioning) = yes]: Change conditionals to
15088 [$(build-shared) = yes].
15089 * extra-lib.mk [$(versioning) = yes]: Likewise.
15090 * hurd/Makefile [$(versioning) = yes]: Likewise.
15091 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15093 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15095 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15096 [SHARED && !NO_HIDDEN].
15097 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15099 [SHARED && DO_VERSIONING]: Likewise..
15100 * libio/Makefile [$(versioning) = yes]: Change conditionals to
15101 [$(build-shared) = yes].
15102 * manual/install.texi (--disable-versioning): Remove
15104 * INSTALL: Regenerated.
15105 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15107 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15108 [$(build-shared) = yes].
15109 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15110 * sysdeps/i386/i686/multiarch/strstr-c.c
15111 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15112 [SHARED && !NO_HIDDEN].
15113 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15114 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15115 * sysdeps/powerpc/powerpc32/dl-machine.c
15116 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15117 * sysdeps/powerpc/powerpc32/sysdep.h
15118 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15119 to [SHARED && PIC && !NO_HIDDEN].
15120 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15121 conditional to [SHARED].
15123 2013-09-04 Will Newton <will.newton@linaro.org>
15125 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15126 * benchtests/bench-string.h: Include bench-timing.h instead
15127 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15128 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15129 call to HP_TIMING_DIFF_INIT.
15130 * benchtests/bench-memccpy.c: Use bench-timing.h macros
15131 instead of hp-timing.h macros.
15132 * benchtests/bench-memchr.c: Likewise.
15133 * benchtests/bench-memcmp.c: Likewise.
15134 * benchtests/bench-memcpy.c: Likewise.
15135 * benchtests/bench-memmem.c: Likewise.
15136 * benchtests/bench-memmove.c: Likewise.
15137 * benchtests/bench-memset.c: Likewise.
15138 * benchtests/bench-rawmemchr.c: Likewise.
15139 * benchtests/bench-strcasecmp.c: Likewise.
15140 * benchtests/bench-strcasestr.c: Likewise.
15141 * benchtests/bench-strcat.c: Likewise.
15142 * benchtests/bench-strchr.c: Likewise.
15143 * benchtests/bench-strcmp.c: Likewise.
15144 * benchtests/bench-strcpy.c: Likewise.
15145 * benchtests/bench-strcpy_chk.c: Likewise.
15146 * benchtests/bench-strlen.c: Likewise.
15147 * benchtests/bench-strncasecmp.c: Likewise.
15148 * benchtests/bench-strncat.c: Likewise.
15149 * benchtests/bench-strncmp.c: Likewise.
15150 * benchtests/bench-strncpy.c: Likewise.
15151 * benchtests/bench-strnlen.c: Likewise.
15152 * benchtests/bench-strpbrk.c: Likewise.
15153 * benchtests/bench-strrchr.c: Likewise.
15154 * benchtests/bench-strspn.c: Likewise.
15155 * benchtests/bench-strstr.c: Likewise.
15157 2013-09-04 Will Newton <will.newton@linaro.org>
15159 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15161 2013-09-03 Joseph Myers <joseph@codesourcery.com>
15164 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15165 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15166 * math/libm-test.inc (lgamma_test_data): Add more tests.
15167 * sysdeps/i386/fpu/libm-test-ulps: Update.
15168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15170 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
15172 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15173 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15175 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15176 Add strcmp-sse2-unaligned
15177 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15179 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15181 * Versions.def (libc): Add GLIBC_2.19.
15183 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15185 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15186 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15188 2013-09-02 Joseph Myers <joseph@codesourcery.com>
15191 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15192 intermediate calculations in recurrence.
15193 (__ieee754_ynf): Likewise.
15194 * math/libm-test.inc (jn_test_data): Do not allow spurious
15195 underflow exception. Add more tests.
15196 (yn_test_data): Add more tests.
15197 * sysdeps/i386/fpu/libm-test-ulps: Update.
15198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15200 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
15202 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15204 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15206 * csu/init-first.c: Fix then/than typos.
15207 * locale/programs/ld-collate.c: Likewise.
15208 * locale/programs/linereader.h: Likewise.
15209 * manual/charset.texi: Likewise.
15210 * manual/filesys.texi: Likewise.
15211 * manual/stdio.texi: Likewise.
15212 * manual/string.texi: Likewise.
15213 * stdlib/fmtmsg.c: Likewise.
15214 * sysdeps/i386/stpncpy.S: Likewise.
15215 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15216 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15217 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15218 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15220 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15222 * elf/dl-open.c: Fix typos.
15223 * iconvdata/gbbig5.c: Likewise.
15224 * iconvdata/iso-2022-jp.c: Likewise.
15225 * iconv/gconv_int.h: Likewise.
15226 * iconv/loop.c: Likewise.
15227 * nis/rpcsvc/nis.h: Likewise.
15228 * resolv/ns_name.c: Likewise.
15229 * stdio-common/vfscanf.c: Likewise.
15230 * streams/stropts.h: Likewise.
15231 * sunrpc/rpc_thread.c: Likewise.
15232 * sysdeps/i386/strpbrk.S: Likewise.
15233 * sysdeps/ieee754/k_standard.c: Likewise.
15234 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15235 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15236 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15237 * sysdeps/mach/hurd/profil.c: Likewise.
15238 * sysdeps/s390/dl-procinfo.h: Likewise.
15239 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15240 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15241 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15242 * sysdeps/x86_64/dl-trampoline.S: Likewise.
15243 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15245 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15247 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15248 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15250 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15252 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15253 aix specific files.
15254 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15255 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15256 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15257 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15258 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15259 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15260 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15261 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15263 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15264 Roland McGrath <roland@hack.frob.com>
15266 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15267 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15269 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15271 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15272 __executable_start symbol instead of _start.
15274 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15276 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15277 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15279 * sysdeps/gnu/ldsodefs.h: ... this new file.
15281 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15282 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15283 instead of ELFOSABI_LINUX.
15285 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15286 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15287 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15288 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15290 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15291 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15292 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15294 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15295 (ibm_extended_long_double): Add ieee_nan member.
15296 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15297 (do_test): New function.
15299 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15301 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15302 functions, renamed from truncdfsf_test, trunctfsf_test,
15304 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15306 (do_test): Run all these.
15308 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15310 * argp/argp-help.c: Fix typos.
15311 * argp/argp-parse.c: Likewise.
15312 * debug/backtracesyms.c: Likewise.
15313 * elf/elf.h: Likewise.
15314 * malloc/malloc.c: Likewise.
15315 * nis/nis_print.c: Likewise.
15316 * resolv/res_comp.c: Likewise.
15317 * stdlib/stdlib.h: Likewise.
15318 * sunrpc/clnt_tcp.c: Likewise.
15319 * sunrpc/clnt_udp.c: Likewise.
15320 * sunrpc/clnt_unix.c: Likewise.
15321 * sysdeps/unix/bsd/ptsname.c: Likewise.
15322 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15323 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15330 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15332 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15334 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15335 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15337 2013-08-27 Mike Frysinger <vapier@gentoo.org>
15340 * dlfcn/Makefile (tests): Add bug-dl-leaf.
15341 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15342 ($(objpfx)bug-dl-leaf): New rule.
15343 ($(objpfx)bug-dl-leaf.so): Likewise.
15344 ($(objpfx)bug-dl-leaf.out): Likewise.
15345 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15346 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15347 * dlfcn/bug-dl-leaf.c: New test.
15348 * dlfcn/bug-dl-leaf-lib.c: Likewise.
15349 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15350 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15351 (dlclose): Likewise.
15352 (dlmopen): Likewise.
15354 2013-08-27 Roland McGrath <roland@hack.frob.com>
15356 * include/netdb.h [!_ISOMAC]:
15357 Don't include <tls.h>.
15358 (h_errno, __libc_h_errno): Move declaration and macros out of
15361 * include/resolv.h [_RESOLV_H_]:
15362 Don't include <tls.h>.
15363 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15364 * resolv/res_libc.c: Don't include <tls.h>.
15365 (_res): Use __attribute__ ((nocommon)) in place of
15366 __attribute__ ((section (".bss"))).
15368 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15369 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15371 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15373 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15374 only under [SIOCGIFCONF && SIOCGIFNETMASK].
15376 * resolv/res_mkquery.c: Include <sys/time.h>.
15378 * inet/ifreq.c: Moved to ...
15379 * sysdeps/unix/ifreq.c: ... here.
15380 * inet/ifreq.c: New file, true stub version.
15382 * socket/sa_len.c: New file.
15383 * socket/Makefile (aux): Add it.
15384 * sysdeps/unix/sysv/linux/Makefile
15385 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15386 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15387 and #include <socket/sa_len.c>.
15388 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15389 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15391 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15392 * bits/socket.h: ... here.
15394 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15395 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15396 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15398 2013-08-27 Andreas Schwab <schwab@suse.de>
15401 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15402 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15403 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15404 * string/test-strcasecmp.c (test_main): Run tests in several
15406 * string/test-strncasecmp.c (test_main): Likewise.
15408 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15409 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15410 to __strcasecmp_nonascii and __strncasecmp_nonascii.
15411 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15412 (__strncasecmp_ssse3) [PIC]: Likewise.
15414 2013-08-26 Roland McGrath <roland@hack.frob.com>
15416 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15418 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15419 instead of explicitly declaring xdecrypt.
15420 * nis/nss_nis/nis-publickey.c: Likewise.
15422 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15425 * nscd/aicache.c: Include res_hconf.h.
15426 (addhstaiX): Initialize res_hconf.
15428 2013-08-26 Andreas Schwab <schwab@suse.de>
15430 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15431 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15433 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15435 * nscd/aicache.c (addhstaiX): Fix indentation.
15437 2013-08-25 Mike Frysinger <vapier@gentoo.org>
15439 * configure.ac: Quote $build_pt_chown test.
15440 * configure: Regenerated.
15442 2013-08-23 Joseph Myers <joseph@codesourcery.com>
15445 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15446 * math/s_cexpf.c (__cexpf): Likewise.
15447 * math/s_cexpl.c (__cexpl): Likewise.
15448 * math/libm-test.inc (cexp_test_data): Correct expected return
15449 value for NaN + i0. Add another test.
15451 2013-08-22 David S. Miller <davem@davemloft.net>
15453 * po/ca.po: Update Catalan translation from translation project.
15454 * po/uk.po: Add Ukrainian translations from translation project.
15456 2013-08-21 Joseph Myers <joseph@codesourcery.com>
15459 * math/s_fdim.c (__fdim): Check for infinite arguments if result
15460 is infinite, not alongside NaN test.
15461 * math/s_fdimf.c (__fdimf): Likewise.
15462 * math/s_fdiml.c (__fdiml): Likewise.
15463 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
15464 errno is unchanged.
15466 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
15468 * argp/argp-help.c: Fix typos.
15469 * crypt/speeds.c: Likewise.
15470 * csu/check_fds.c: Likewise.
15471 * elf/dl-load.c: Likewise.
15472 * elf/dl-open.c: Likewise.
15473 * elf/reldep3.c: Likewise.
15474 * elf/reldep.c: Likewise.
15475 * elf/sprof.c: Likewise.
15476 * iconv/iconv_charmap.c: Likewise.
15477 * iconv/skeleton.c: Likewise.
15478 * iconv/strtab.c: Likewise.
15479 * io/lockf64.c: Likewise.
15480 * libio/libioP.h: Likewise.
15481 * resolv/gai_notify.c: Likewise.
15482 * resolv/ns_name.c: Likewise.
15483 * resolv/ns_samedomain.c: Likewise.
15484 * resolv/res_send.c: Likewise.
15485 * stdlib/random.c: Likewise.
15486 * sunrpc/rpc/xdr.h: Likewise.
15487 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15488 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15489 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15490 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15491 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15492 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15493 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15494 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15495 * sysdeps/mach/hurd/check_fds.c: Likewise.
15496 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15497 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15498 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15499 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15500 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15501 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15502 * sysdeps/pthread/aio_notify.c: Likewise.
15503 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15504 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15505 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15506 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15507 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15509 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15511 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15512 version if bit_Slow_SSE4_2 is set.
15513 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15514 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15516 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15519 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15520 trampoline stack frame information.
15521 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15522 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15523 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15524 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15525 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15526 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15527 (_libc_vdso_platform_setup): Initialize the signal trampolines.
15528 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15530 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15531 interrupting a syscall and set with option SA_SIGINFO.
15533 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15536 * math/s_cproj.c (__cproj): Only return an infinity if one part of
15537 argument is infinite.
15538 * math/s_cprojf.c (__cprojf): Likewise.
15539 * math/s_cprojl.c (__cprojl): Likewise.
15540 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15541 * math/libm-test.inc (cproj_test_data): Add more tests.
15543 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15545 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15546 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15547 size. Use __ffs to determine corresponding shift.
15549 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15550 Roland McGrath <roland@hack.frob.com>
15552 * Makefile (INSTALL): Remove trailing blank lines from output of
15555 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15557 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15558 Align 32 bit compat elf_greg to 8 bytes.
15560 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15562 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15564 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15566 * string/strcoll_l.c (coll_seq): New structure.
15567 (get_next_seq_cached): New function.
15568 (get_next_seq): New function.
15569 (do_compare): New function.
15570 (STRCOLL): Use GNU style definition. Simplify implementation
15571 by using get_next_seq, get_next_seq_cached and do_compare.
15573 2013-08-16 Florian Weimer <fweimer@redhat.com>
15577 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15579 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15581 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15582 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15583 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
15585 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15586 GETDENTS_64BIT_ALIGNED.
15587 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15588 * manual/filesys.texi (Reading/Closing Directory): Document
15589 ENAMETOOLONG return value of readdir_r. Recommend readdir more
15591 * manual/conf.texi (Limits for Files): Add portability note to
15592 NAME_MAX, PATH_MAX.
15593 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15595 2013-08-13 Andreas Schwab <schwab@suse.de>
15598 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15600 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15601 LDBL_MAX_EXP >= 16384]: Add tests for it.
15603 2013-08-12 David S. Miller <davem@davemloft.net>
15605 * version.h (RELEASE): Set to "development".
15606 (VERSION): Set to "2.18.90".
15607 * NEWS: Add 2.19 section.
15609 2013-08-03 David S. Miller <davem@davemloft.net>
15611 * po/ko.po: Update Korean translation from translation project.
15613 2013-08-01 David S. Miller <davem@davemloft.net>
15615 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
15616 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15619 2013-07-30 David S. Miller <davem@davemloft.net>
15621 * po/fr.po: Update French translation from translation project.
15623 2013-07-28 David S. Miller <davem@davemloft.net>
15625 * po/cs.po: Update Czech translation from translation project.
15627 * po/sv.po: Update Swedish translation from translation project.
15629 2013-07-27 David S. Miller <davem@davemloft.net>
15631 * po/eo.po: Update Esperanto translation from translation project.
15633 * po/vi.po: Update Vietnamese translation from translation project.
15635 * po/de.po: Update German translation from translation project.
15637 2013-07-26 David S. Miller <davem@davemloft.net>
15639 * po/bg.po: Update Bulgarian translation from translation project.
15641 * po/nl.po: Update Dutch translation from translation project.
15642 * po/pl.po: Update Polish translation from translation project.
15643 * po/ru.po: Update Russian translation from translation project.
15645 2013-07-24 David S. Miller <davem@davemloft.net>
15647 * po/libc.pot: Update.
15649 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15651 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15652 variable page size.
15653 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15654 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15655 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15657 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15659 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15661 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15662 Andreas Schwab <schwab@suse.de>
15663 Roland McGrath <roland@hack.frob.com>
15664 Joseph Myers <joseph@codesourcery.com>
15665 Carlos O'Donell <carlos@redhat.com>
15668 * config.h.in: Define HAVE_PT_CHOWN.
15669 * config.make.in (build-pt-chown): New variable.
15670 * configure.in (--enable-pt_chown): New configure option.
15671 * configure: Regenerate.
15672 * login/Makefile: Include Makeconfig. Build pt_chown only if
15673 build-pt-chown is enabled.
15674 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15675 pt_chown to fix pty ownership.
15676 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15678 * manual/install.texi (Configuring and compiling): Mention
15679 --enable-pt_chown. Add @findex for grantpt.
15680 * INSTALL: Regenerate.
15682 2013-07-20 David S. Miller <davem@davemloft.net>
15684 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15685 difference between 32-bit and 64-bit.
15687 2013-07-15 Carlos O'Donell <carlos@redhat.com>
15690 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15691 Avoid system header dependency with -ffreestanding.
15692 ($(objpfx)bits/syscall%d): Likewise.
15694 2013-07-13 David S. Miller <davem@davemloft.net>
15696 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15697 underflows from atanl/atan2l due to bug 15319.
15698 (casinh_test_data): Likewise.
15700 2013-07-07 David S. Miller <davem@davemloft.net>
15702 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15704 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
15706 * sysdeps/i386/fpu/libm-test-ulps: Update.
15707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15709 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15711 * configure.in (--enable-lock-elision): Fix message text.
15712 * INSTALL: Regenerate.
15713 * configure: Regenerate.
15715 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15719 2013-07-03 Andreas Jaeger <aj@suse.de>
15721 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15723 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15724 (ptrace_peeksiginfo_args): Add.
15725 (__ptrace_peeksiginfo_flags): Add.
15726 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15727 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15728 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15730 2013-07-03 Allan McRae <allan@archlinux.org>
15732 * sysdeps/i386/fpu/libm-test-ulps: Update.
15734 2013-07-02 David S. Miller <davem@davemloft.net>
15736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15738 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
15740 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15742 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15744 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15747 2013-07-02 Andi Kleen <ak@linux.intel.com>
15749 * config.h.in (ENABLE_LOCK_ELISION): Add.
15750 * configure.in (--enable-lock-elision): Add option.
15751 * manual/install.texi: Document --enable lock elision.
15752 * configure: Regenerate
15753 * INSTALL: Regenerate.
15755 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
15757 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
15758 SSE4.2 strcasecmp for libc.a.
15759 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15761 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15764 * soft-fp/op-common.h (_FP_FMA): New macro.
15765 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
15766 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
15767 (_FP_MUL_MEAT_1_imm): ... here.
15768 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
15769 (_FP_MUL_MEAT_1_wide): ... here.
15770 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
15771 (_FP_MUL_MEAT_1_hard): ... here.
15772 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
15773 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
15774 (_FP_MUL_MEAT_2_wide): ... here.
15775 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
15776 (_FP_MUL_MEAT_2_wide_3mul): ... here.
15777 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
15778 (_FP_MUL_MEAT_2_gmp): ... here.
15779 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
15780 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
15781 (_FP_MUL_MEAT_4_wide): ... here.
15782 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
15783 (_FP_MUL_MEAT_4_gmp): ... here.
15784 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
15785 (_FP_WFRACBITS_DW_S): Likewise.
15786 (_FP_WFRACXBITS_DW_S): Likewise.
15787 (_FP_HIGHBIT_DW_S): Likewise.
15788 (FP_FMA_S): Likewise.
15789 (_FP_FRAC_HIGH_DW_S): Likewise.
15790 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
15791 (_FP_WFRACBITS_DW_D): Likewise.
15792 (_FP_WFRACXBITS_DW_D): Likewise.
15793 (_FP_HIGHBIT_DW_D): Likewise.
15794 (FP_FMA_D): Likewise.
15795 (_FP_FRAC_HIGH_DW_D): Likewise.
15796 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
15797 (_FP_WFRACBITS_DW_E): Likewise.
15798 (_FP_WFRACXBITS_DW_E): Likewise.
15799 (_FP_HIGHBIT_DW_E): Likewise.
15800 (FP_FMA_E): Likewise.
15801 (_FP_FRAC_HIGH_DW_E): Likewise.
15802 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
15803 (_FP_WFRACBITS_DW_Q): Likewise.
15804 (_FP_WFRACXBITS_DW_Q): Likewise.
15805 (_FP_HIGHBIT_DW_Q): Likewise.
15806 (FP_FMA_Q): Likewise.
15807 (_FP_FRAC_HIGH_DW_Q): Likewise.
15808 * soft-fp/fmasf4.c: New file.
15809 * soft-fp/fmadf4.c: Likewise.
15810 * soft-fp/fmatf4.c: Likewise.
15812 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15814 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15815 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
15817 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
15819 (index_Slow_SSE4_2): Likewise.
15820 (index_Prefer_PMINUB_for_stringop): Likewise.
15821 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
15822 bit_Slow_SSE4_2 is set.
15823 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15824 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15826 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15828 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
15829 rtld_global._dl_hwcap2.
15830 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
15832 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
15833 POWER8 feature descriptions defined in _dl_hwcap2.
15834 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
15835 string handling for POWER8 feature bits.
15836 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
15837 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
15838 _dl_powerpc_cap_flags.
15839 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
15840 * sysdeps/powerpc/rtld-global-offsets.sym
15841 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
15842 _dl_hwcap2 in the rtld_global_ro structure.
15844 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15846 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
15847 hardware capabilities in support of AT_HWCAP2.
15848 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
15849 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
15851 (_dl_show_auxv): Add support for calling _dl_procinfo to display
15852 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
15853 explicitly the unknown a_type display mechanism is used.
15854 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
15855 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
15857 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
15858 to macro prototype for AT_HWCAP2 support.
15859 * sysdeps/i386/dl-procinfo.h: Likewise.
15860 * sysdeps/s390/dl-procinfo.h: Likewise.
15861 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
15862 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
15863 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
15864 return -1 for unknown a_type display fallback.
15865 * sysdeps/sparc/dl-procinfo.h: Likewise.
15866 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
15867 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
15869 2013-06-28 Joseph Myers <joseph@codesourcery.com>
15871 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
15872 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
15874 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
15877 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
15878 mprotect making __stack_prot writable.
15880 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
15881 Joseph Myers <joseph@codesourcery.com>
15883 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
15884 as being properly aligned.
15886 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
15888 * dlfcn/modstatic5.c: New file.
15889 * dlfcn/tststatic5.c: New file.
15890 * dlfcn/Makefile (tests): Add tststatic5.
15891 (tests-static): Likewise.
15892 (modules-names): Add modstatic5.
15893 (tststatic5-ENV): New variable.
15894 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
15897 * elf/dl-support.c (_dl_main_map): New variable.
15898 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
15899 (_dl_nns, _dl_load_adds): Set to 1.
15900 (_dl_initial_searchlist): Refer to _dl_main_map.
15901 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
15902 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
15903 call to _dl_get_origin.
15904 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
15906 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
15907 * dlfcn/modstatic3.c: New file.
15908 * dlfcn/tststatic3.c: New file.
15909 * dlfcn/tststatic4.c: New file.
15910 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
15911 (tests-static): Likewise.
15912 (modules-names): Add modstatic3.
15913 (tststatic3-ENV, tststatic4-ENV): New variables.
15914 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
15915 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15917 2013-06-26 Joseph Myers <joseph@codesourcery.com>
15919 * configure.in (CC): Require GCC version 4.4 or later.
15920 * configure: Regenerated.
15921 * manual/install.texi (Tools for Compilation): Update GCC version
15923 * INSTALL: Regenerated.
15925 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15928 * string/test-memcmp.c (check2): New.
15929 (main): Call check2.
15931 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15933 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
15936 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15938 (dl_open_worker) [!SHARED]: ... here.
15940 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15942 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15944 2013-06-25 Richard Henderson <rth@redhat.com>
15946 * locale/programs/locarchive.c: Include <libc-internal.h>
15948 2013-06-25 Joseph Myers <joseph@codesourcery.com>
15950 * manual/texinfo.tex: Update to version 2013-06-21.17, with
15951 trailing whitespace removed.
15953 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15956 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15957 * locale/programs/locarchive.c: Include libc-mmap.h.
15958 (prepare_address_space): Take two new outputs (the mmap base and len).
15959 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
15961 (create_archive): Declare new mmap base and len values for
15962 prepare_address_space, and store the result in ah.
15963 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15964 (enlarge_archive): If ah->mmap_base is not NULL, use that and
15965 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15966 Declare new mmap base and len values for
15967 prepare_address_space, and store the result in new_ah.
15968 (open_archive): Declare new mmap base and len values for
15969 prepare_address_space, and store the result in ah.
15970 (close_archive): If ah->mmap_base is not NULL, use that and
15971 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15972 * sysdeps/generic/libc-mmap.h: New file.
15974 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15976 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15977 (ALIGN_UP): Likewise.
15978 (PTR_ALIGN_DOWN): Likewise.
15979 (PTR_ALIGN_UP): Likewise.
15981 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15983 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15984 entry mapped to PPC_PLATFORM_POWER8.
15985 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15987 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15988 (_dl_string_platform): Add case for exporting platform position for
15990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15991 search path to sysdeps/powerpc/powerpc32/power8 directory.
15992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15993 search path to sysdeps/powerpc/powerpc64/power8 directory.
15994 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15995 power7 directories.
15996 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15997 power7 directories.
15999 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16001 * INSTALL: Regenerate.
16003 * nscd/connections.c (nscd_init): Fix comment.
16005 2013-06-22 Joseph Myers <joseph@codesourcery.com>
16007 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16010 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16011 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16013 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16015 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16017 (DL_DST_REQ_STATIC): Remove macro.
16019 2013-06-21 Joseph Myers <joseph@codesourcery.com>
16022 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16023 with a shift of 0 bits.
16025 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16027 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16030 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16033 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16035 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16037 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16038 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16039 accepts -fno-tree-loop-distribute-patterns.
16040 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16041 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16043 * string/memset.c (memset): Likewise.
16044 * string/test-memmove.c (simple_memmove): Disable loop transformation
16046 * string/test-memset.c (simple_memset): Likewise.
16047 * benchtests/bench-memmove.c (simple_memmove): Likewise.
16048 * benchtests/bench-memset.c (simple_memset): Likewise.
16049 * configure: Regenerated.
16051 2013-06-20 Joseph Myers <joseph@codesourcery.com>
16053 * math/test-misc.c (main): Ignore fesetround failure when failures
16054 of subsequent rounding tests would be ignored.
16057 * math/fedisblxcpt.c (fedisableexcept): Return 0.
16058 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16059 * math/fegetenv.c (__fegetenv): Return 0.
16060 * math/fegetexcept.c (fegetexcept): Return 0.
16061 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16063 * math/feholdexcpt.c (feholdexcept): Return 0.
16064 * math/fesetenv.c (__fesetenv): Return 0.
16065 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16066 argument FE_TONEAREST.
16067 * math/feupdateenv.c (__feupdateenv): Return 0.
16068 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16070 2013-06-18 Roland McGrath <roland@hack.frob.com>
16072 * elf/rtld-Rules (rtld-compile-command.S): New variable.
16073 (rtld-compile-command.s, rtld-compile-command.c): New variables.
16074 ($(objpfx)rtld-%.os rules): Use them.
16076 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16078 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16081 2013-06-17 Roland McGrath <roland@hack.frob.com>
16083 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16084 length of target pattern, then descending length of dependency pattern.
16085 * configure.in (AWK): Require gawk 3.1.2 or newer.
16086 * manual/install.texi (Tools for Compilation): Say that we do.
16087 * configure: Regenerated.
16089 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16090 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16091 * scripts/sysd-rules.awk: ... this new script.
16092 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16093 than a glob-style pattern.
16095 2013-06-17 Joseph Myers <joseph@codesourcery.com>
16097 * math/test-misc.c (main): Do not treat incorrectly rounded
16098 conversions as failure unless ROUNDING_TESTS passes.
16100 2013-06-15 Joseph Myers <joseph@codesourcery.com>
16103 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16104 restore exception state around main square root computation, then
16105 check for inexactness explicitly.
16107 * math/libm-test.inc (fma_test_data): Add another test.
16109 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16111 * manual/threads.texi (Non-POSIX Extensions): New document
16112 node. Document pthread_getattr_default_np and
16113 pthread_setattr_default_np.
16115 * Versions.def (libpthread): Add GLIBC_2.18.
16116 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16125 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16133 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16136 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16138 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16139 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16141 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16142 H.J. Lu <hjl.tools@gmail.com>
16145 * sysdeps/x86_64/rtld-memset.c: Remove file.
16146 * sysdeps/x86_64/rtld-memset.S: New file.
16148 2013-06-14 Joseph Myers <joseph@codesourcery.com>
16150 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16151 (test_in_one_mode): Take arguments for whether the rounding mode
16152 is supported for each floating-point type.
16153 (do_test): Pass new arguments to test_in_one_mode using
16156 2013-06-13 Roland McGrath <roland@hack.frob.com>
16158 * posix/tst-waitid.c (do_test): Distinguish different instances of
16159 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
16160 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16161 before entering the kernel for waitpid.
16163 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16165 * NEWS: Fix note on clock function precision. Text by Roland
16168 2013-06-13 Roland McGrath <roland@hack.frob.com>
16170 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16171 it into place only when and if the sanity check passes.
16173 2013-06-13 Joseph Myers <joseph@codesourcery.com>
16175 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16176 output for whether conversion result is exact. Take argument
16177 indicating whether type is IBM long double.
16178 (round_for_all): Change need_exact field to ibm_ld.
16179 * stdlib/tst-strtod-round.c (struct exactness): New type.
16180 (struct test): Change bool ld_ok field to struct exactness exact.
16181 (TEST): Update all definitions for change to field.
16182 (tests): Regenerate array contents.
16183 (test_in_one_mode): Take pointer to new field instead of old ld_ok
16184 field value. Check for IBM long double here.
16185 (do_test): Update calls to test_in_one_mode.
16187 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16190 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16191 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16193 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16196 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16197 generated by the compiler on loop optimizations.
16198 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16199 general definitions.
16201 2013-06-12 Joseph Myers <joseph@codesourcery.com>
16203 * math/bug-nextafter.c: Include <math-tests.h>.
16204 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16206 * math/bug-nexttoward.c: Include <math-tests.h>.
16207 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16209 * math/test-misc.c: Include <math-tests.h>.
16210 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16213 2013-06-12 Andreas Jaeger <aj@suse.de>
16215 * po/ia.po: Update Interlingua translation from translation
16218 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16220 * include/fenv.h: Include stdbool.h.
16221 (struct rm_ctx): New structure.
16222 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16224 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16225 (SET_RESTORE_ROUNDF): Likewise.
16226 (SET_RESTORE_ROUNDL): Likewise.
16227 (SET_RESTORE_ROUND_NOEX): Likewise.
16228 (SET_RESTORE_ROUND_NOEXF): Likewise.
16229 (SET_RESTORE_ROUND_NOEXL): Likewise.
16230 (SET_RESTORE_ROUND_53BIT): Likewise.
16231 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16232 (libc_feresetround_noexf_ctx): Likewise.
16233 (libc_feresetround_noexl_ctx): Likewise.
16234 (libc_feholdsetround_53bit_ctx): Likewise.
16235 (libc_feresetround_53bit_ctx): Likewise.
16236 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16237 (libc_feholdexcept_setround_sse_ctx): New function.
16238 (libc_fesetenv_sse_ctx): Likewise.
16239 (libc_feupdateenv_sse_ctx): Likewise.
16240 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16241 (libc_feholdexcept_setround_387_ctx): Likewise.
16242 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16243 (libc_feholdsetround_387_prec_ctx): Likewise.
16244 (libc_feholdsetround_387_ctx): Likewise.
16245 (libc_feholdsetround_387_53bit_ctx): Likewise.
16246 (libc_feholdsetround_sse_ctx): Likewise.
16247 (libc_feresetround_sse_ctx): Likewise.
16248 (libc_feresetround_387_ctx): Likewise.
16249 (libc_feupdateenv_387_ctx): Likewise.
16250 (libc_feholdexcept_setroundf_ctx): Define macro.
16251 (libc_fesetenvf_ctx): Likewise.
16252 (libc_feupdateenvf_ctx): Likewise.
16253 (libc_feholdsetroundf_ctx): Likewise.
16254 (libc_feresetroundf_ctx): Likewise.
16255 (libc_feholdexcept_setround_ctx): Likewise.
16256 (libc_fesetenv_ctx): Likewise.
16257 (libc_feupdateenv_ctx): Likewise.
16258 (libc_feholdsetround_ctx): Likewise.
16259 (libc_feresetround_ctx): Likewise.
16260 (libc_feholdexcept_setroundl_ctx): Likewise.
16261 (libc_feupdateenvl_ctx): Likewise.
16262 (libc_feholdsetroundl_ctx): Likewise.
16263 (libc_feresetroundl_ctx): Likewise.
16264 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16265 (libc_feresetround_53bit_ctx): Likewise.
16267 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16269 * locale/iso-639.def: Convert to UTF-8.
16271 2013-06-11 Joseph Myers <joseph@codesourcery.com>
16273 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16274 (EXCEPTION_TESTS_double): Likewise.
16275 (EXCEPTION_TESTS_long_double): Likewise.
16276 (EXCEPTION_TESTS): Likewise.
16277 * math/libm-test.inc (test_exceptions): Only test exceptions if
16278 EXCEPTION_TESTS (FLOAT).
16280 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16282 * benchtests/Makefile (string-bench): Add strcpy_chk and
16284 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16285 * benchtests/bench-stpcpy_chk.c: New file.
16286 * benchtests/bench-strcpy_chk-ifunc.c: New file.
16287 * benchtests/bench-strcpy_chk.c: New file.
16288 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16290 (do_test): Likewise.
16292 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16294 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16295 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16296 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16297 with tabs where appropriate.
16298 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16300 [PPC_PLATFORM_PPC440]: Likewise.
16301 [PPC_PLATFORM_PPC464]: Likewise.
16302 [PPC_PLATFORM_PPC476]: Likewise.
16303 (_dl_string_platform): Add support for detecting ppc405, ppc440,
16304 ppc464, and ppc476 platform strings merging from ports/
16307 2013-06-11 Andreas Schwab <schwab@suse.de>
16310 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16311 (from_ucs4_idx): Regenerate.
16312 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16313 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16314 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16315 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16316 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16317 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16318 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16319 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16320 from FROM_LOOP and TO_LOOP specific macros.
16321 (BODY): Handle combining characters.
16322 * iconvdata/BIG5HKSCS.irreversible: Update.
16323 * iconvdata/BIG5HKSCS.precomposed: New file.
16324 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16326 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16328 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16330 * include/sys/time.h: Fix indentation and add copyright header.
16332 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16333 (do_test): Likewise.
16334 * string/test-memchr.c (do_one_test): Likewise.
16335 (do_test): Likewise.
16336 * string/test-memcmp.c (do_one_test): Likewise.
16337 (do_test): Likewise.
16338 * string/test-memcpy.c (do_one_test): Likewise.
16339 (do_test): Likewise.
16340 * string/test-memmem.c (do_one_test): Likewise.
16341 (do_test): Likewise.
16342 (do_random_tests): Likewise.
16343 * string/test-memmove.c (do_one_test): Likewise.
16344 (do_test): Likewise.
16345 * string/test-memset.c (do_one_test): Likewise.
16346 (do_test): Likewise.
16347 * string/test-rawmemchr.c (do_one_test): Likewise.
16348 (do_test): Likewise.
16349 * string/test-strcasecmp.c (do_one_test): Likewise.
16350 (do_test): Likewise.
16351 * string/test-strcasestr.c (do_one_test): Likewise.
16352 (do_test): Likewise.
16353 * string/test-strcat.c (do_one_test): Likewise.
16354 (do_test): Likewise.
16355 * string/test-strchr.c (do_one_test): Likewise.
16356 (do_test): Likewise.
16357 * string/test-strcmp.c (do_one_test): Likewise.
16358 (do_test): Likewise.
16359 * string/test-strcpy.c (do_one_test): Likewise.
16360 (do_test): Likewise.
16361 * string/test-string.h: Likewise.
16362 (test_init): Likewise.
16363 * string/test-strlen.c (do_one_test): Likewise.
16364 (do_test): Likewise.
16365 * string/test-strncasecmp.c (do_one_test): Likewise.
16366 (do_test): Likewise.
16367 * string/test-strncat.c (do_one_test): Likewise.
16368 (do_test): Likewise.
16369 * string/test-strncmp.c (do_one_test): Likewise.
16370 (do_test_limit): Likewise.
16371 (do_test): Likewise.
16372 * string/test-strncpy.c (do_one_test): Likewise.
16373 (do_test): Likewise.
16374 * string/test-strnlen.c (do_one_test): Likewise.
16375 (do_test): Likewise.
16376 * string/test-strpbrk.c (do_one_test): Likewise.
16377 (do_test): Likewise.
16378 * string/test-strrchr.c (do_one_test): Likewise.
16379 (do_test): Likewise.
16380 * string/test-strspn.c (do_one_test): Likewise.
16381 (do_test): Likewise.
16382 * string/test-strstr.c (do_one_test): Likewise.
16383 (do_test): Likewise.
16385 * benchtests/Makefile (string-bench): Add string benchmarks.
16386 * benchtests/bench-bcopy-ifunc.c: New file.
16387 * benchtests/bench-bcopy.c: New file.
16388 * benchtests/bench-bzero-ifunc.c: New file.
16389 * benchtests/bench-bzero.c: New file.
16390 * benchtests/bench-memccpy-ifunc.c: New file.
16391 * benchtests/bench-memccpy.c: New file.
16392 * benchtests/bench-memchr-ifunc.c: New file.
16393 * benchtests/bench-memchr.c: New file.
16394 * benchtests/bench-memcmp-ifunc.c: New file.
16395 * benchtests/bench-memcmp.c: New file.
16396 * benchtests/bench-memmem-ifunc.c: New file.
16397 * benchtests/bench-memmem.c: New file.
16398 * benchtests/bench-memmove-ifunc.c: New file.
16399 * benchtests/bench-memmove.c: New file.
16400 * benchtests/bench-mempcpy-ifunc.c: New file.
16401 * benchtests/bench-mempcpy.c: New file.
16402 * benchtests/bench-memset-ifunc.c: New file.
16403 * benchtests/bench-memset.c: New file.
16404 * benchtests/bench-rawmemchr-ifunc.c: New file.
16405 * benchtests/bench-rawmemchr.c: New file.
16406 * benchtests/bench-stpcpy-ifunc.c: New file.
16407 * benchtests/bench-stpcpy.c: New file.
16408 * benchtests/bench-stpncpy-ifunc.c: New file.
16409 * benchtests/bench-stpncpy.c: New file.
16410 * benchtests/bench-strcasecmp-ifunc.c: New file.
16411 * benchtests/bench-strcasecmp.c: New file.
16412 * benchtests/bench-strcasestr-ifunc.c: New file.
16413 * benchtests/bench-strcasestr.c: New file.
16414 * benchtests/bench-strcat-ifunc.c: New file.
16415 * benchtests/bench-strcat.c: New file.
16416 * benchtests/bench-strchr-ifunc.c: New file.
16417 * benchtests/bench-strchr.c: New file.
16418 * benchtests/bench-strchrnul-ifunc.c: New file.
16419 * benchtests/bench-strchrnul.c: New file.
16420 * benchtests/bench-strcmp-ifunc.c: New file.
16421 * benchtests/bench-strcmp.c: New file.
16422 * benchtests/bench-strcpy-ifunc.c: New file.
16423 * benchtests/bench-strcpy.c: New file.
16424 * benchtests/bench-strcspn-ifunc.c: New file.
16425 * benchtests/bench-strcspn.c: New file.
16426 * benchtests/bench-strlen-ifunc.c: New file.
16427 * benchtests/bench-strlen.c: New file.
16428 * benchtests/bench-strncasecmp-ifunc.c: New file.
16429 * benchtests/bench-strncasecmp.c: New file.
16430 * benchtests/bench-strncat-ifunc.c: New file.
16431 * benchtests/bench-strncat.c: New file.
16432 * benchtests/bench-strncmp-ifunc.c: New file.
16433 * benchtests/bench-strncmp.c: New file.
16434 * benchtests/bench-strncpy-ifunc.c: New file.
16435 * benchtests/bench-strncpy.c: New file.
16436 * benchtests/bench-strnlen-ifunc.c: New file.
16437 * benchtests/bench-strnlen.c: New file.
16438 * benchtests/bench-strpbrk-ifunc.c: New file.
16439 * benchtests/bench-strpbrk.c: New file.
16440 * benchtests/bench-strrchr-ifunc.c: New file.
16441 * benchtests/bench-strrchr.c: New file.
16442 * benchtests/bench-strspn-ifunc.c: New file.
16443 * benchtests/bench-strspn.c: New file.
16444 * benchtests/bench-strstr-ifunc.c: New file.
16445 * benchtests/bench-strstr.c: New file.
16447 * benchtests/Makefile: Disable parallel execution of targets.
16448 (string-bench): Add memcpy.
16449 (benchset): New variable to store a list of benchmark sets.
16450 (bench-func): Renamed from bench.
16451 (bench-set): New target.
16452 (bench): Depend on bench-func and bench-set.
16453 * benchtests/README: Add section on benchmark sets.
16454 * benchtests/bench-memcpy-ifunc.c: New file.
16455 * benchtests/bench-memcpy.c: New file.
16456 * benchtests/bench-string.h: New file.
16458 2013-06-11 Andreas Schwab <schwab@suse.de>
16461 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16462 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16463 values in the triple.
16464 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16465 terminator in the group key.
16467 2013-06-11 Andreas Jaeger <aj@suse.de>
16469 * po/zh_TW.po: Update Chinese (traditional) translation from
16470 translation project.
16472 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16474 * include/time.h (__clock_gettime): Add libc_hidden_proto.
16475 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16476 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
16477 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16478 (clock_getcpuclockid): Likewise.
16479 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16480 Add weak_alias and libc_hidden_def.
16481 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16482 * rt/clock_gettime.c (clock_gettime): Rename to
16483 __clock_gettime. Add weak_alias and libc_hidden_def.
16484 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16485 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16486 __clock_nanosleep. Add weak_alias and libc_hidden_def.
16487 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16488 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16490 * rt/clock_settime.c (clock_settime): Rename to
16491 __clock_settime. Add weak_alias and libc_hidden_def.
16492 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16494 2013-06-10 Joseph Myers <joseph@codesourcery.com>
16496 * mach/err_boot.sub: Remove trailing whitespace.
16497 * mach/err_ipc.sub: Likewise.
16498 * mach/err_mach.sub: Likewise.
16500 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16501 (ROUNDING_TESTS_double): Likewise.
16502 (ROUNDING_TESTS_long_double): Likewise.
16503 (ROUNDING_TESTS): Likewise.
16504 * math/libm-test.inc: Include <math-tests.h>.
16505 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16506 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16507 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16508 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16510 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16512 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16515 2013-06-08 Joseph Myers <joseph@codesourcery.com>
16517 * sysdeps/gnu/errlist.awk: Do not generate space at end of
16518 otherwise empty TRANS lines.
16519 * sysdeps/gnu/errlist.c: Regenerated.
16521 * catgets/gencat.c (error_print): Use (void) in function
16523 * crypt/crypt_util.c (__init_des): Likewise.
16524 * crypt/speeds.c (Stop): Likewise.
16526 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16527 * inet/ruserpass.c (token): Likewise.
16528 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16529 * intl/localealias.c (extend_alias_table): Likewise.
16530 * intl/plural-exp.c (init_germanic_plural): Likewise.
16531 * libio/fcloseall.c (__fcloseall): Likewise.
16532 * libio/genops.c (_IO_flush_all): Likewise.
16533 (_IO_flush_all_linebuffered): Likewise.
16534 (_IO_cleanup): Likewise.
16535 (_IO_iter_begin): Likewise.
16536 (_IO_iter_end): Likewise.
16537 (_IO_list_lock): Likewise.
16538 (_IO_list_unlock): Likewise.
16539 (_IO_list_resetlock): Likewise.
16540 * libio/getchar.c (getchar): Likewise.
16541 * libio/getchar_u.c (getchar_unlocked): Likewise.
16542 * libio/getwchar.c (getwchar): Likewise.
16543 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16544 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16545 * login/getpt.c (__getpt): Likewise.
16546 * login/tst-utmp.c (main): Likewise.
16547 * malloc/hooks.c (__malloc_check_init): Likewise.
16548 * malloc/malloc.c (__malloc_stats): Likewise.
16549 * malloc/mtrace.c (tr_break): Likewise.
16550 (mtrace): Likewise.
16551 (muntrace): Likewise.
16552 * misc/fstab.c (endfsent): Likewise.
16553 * misc/getclktck.c (__getclktck): Likewise.
16554 * misc/getdtsz.c (__getdtablesize): Likewise.
16555 * misc/gethostid.c (gethostid): Likewise.
16556 * misc/getpagesize.c (__getpagesize): Likewise.
16557 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16558 (__get_nprocs): Likewise.
16559 (__get_phys_pages): Likewise.
16560 (__get_avphys_pages): Likewise.
16561 * misc/getttyent.c (getttyent): Likewise.
16562 (setttyent): Likewise.
16563 (endttyent): Likewise.
16564 * misc/getusershell.c (getusershell): Likewise.
16565 (endusershell): Likewise.
16566 (setusershell): Likewise.
16567 (initshells): Likewise.
16568 * misc/hsearch.c (__hdestroy): Likewise.
16569 * misc/sync.c (sync): Likewise.
16570 * misc/syslog.c (closelog_internal): Likewise.
16571 (closelog): Likewise.
16572 * misc/ttyslot.c (ttyslot): Likewise.
16573 * misc/vhangup.c (vhangup): Likewise.
16574 * posix/fork.c (__fork): Likewise.
16575 * posix/getegid.c (__getegid): Likewise.
16576 * posix/geteuid.c (__geteuid): Likewise.
16577 * posix/getgid.c (__getgid): Likewise.
16578 * posix/getpid.c (__getpid): Likewise.
16579 * posix/getppid.c (__getppid): Likewise.
16580 * posix/getuid.c (__getuid): Likewise.
16581 * posix/pause.c (pause): Likewise.
16582 * posix/setpgrp.c (setpgrp): Likewise.
16583 * posix/setsid.c (__setsid): Likewise.
16584 * posix/test-vfork.c (noop): Likewise.
16585 * resolv/gethnamaddr.c (_endhtent): Likewise.
16586 (_gethtent): Likewise.
16587 (ht_endhostent): Likewise.
16588 (gethostent): Likewise.
16589 (dns_service): Likewise.
16590 * stdlib/drand48.c (drand48): Likewise.
16591 * stdlib/lrand48.c (lrand48): Likewise.
16592 * stdlib/mrand48.c (mrand48): Likewise.
16593 * stdlib/rand.c (rand): Likewise.
16594 * stdlib/random.c (__random): Likewise.
16595 * stdlib/setenv.c (clearenv): Likewise.
16596 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16597 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16598 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16599 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16600 (__get_nprocs): Likewise.
16601 (__get_phys_pages): Likewise.
16602 (__get_avphys_pages): Likewise.
16603 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16604 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16605 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16606 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16607 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16608 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16609 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16610 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16611 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16612 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16613 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16614 * sysdeps/mach/hurd/sync.c (sync): Likewise.
16615 * sysdeps/posix/clock.c (clock): Likewise.
16616 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16617 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16618 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16619 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16620 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16621 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16622 (__get_nprocs_conf): Likewise.
16623 (__get_phys_pages): Likewise.
16624 (__get_avphys_pages): Likewise.
16625 * time/clock.c (clock): Likewise.
16626 * time/tzset.c (__tzname_max): Likewise.
16628 2013-06-07 Joseph Myers <joseph@codesourcery.com>
16630 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16631 (__bswap_32): Do not use "register".
16632 * crypt/crypt.c (_ufc_doit_r): Likewise.
16633 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16634 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16635 * gmon/gmon.c (__monstartup): Likewise.
16636 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16637 * hurd/hurdmalloc.c (more_memory): Likewise.
16638 (malloc): Likewise.
16640 (realloc): Likewise.
16641 (malloc_fork_prepare): Likewise.
16642 (malloc_fork_parent): Likewise.
16643 (malloc_fork_child): Likewise.
16644 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16645 (_svcauth_des): Likewise.
16646 * inet/inet_lnaof.c (inet_lnaof): Likewise.
16647 * inet/inet_net.c (inet_network): Likewise.
16648 * inet/inet_netof.c (inet_netof): Likewise.
16649 * inet/rcmd.c (__validuser2_sa): Likewise.
16650 * io/fts.c (fts_open): Likewise.
16651 (fts_load): Likewise.
16652 (fts_close): Likewise.
16653 (fts_read): Likewise.
16654 (fts_children): Likewise.
16655 (fts_build): Likewise.
16656 (fts_stat): Likewise.
16657 (fts_sort): Likewise.
16658 (fts_alloc): Likewise.
16659 (fts_lfree): Likewise.
16660 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16661 (_IO_file_xsgetn): Likewise.
16662 (_IO_file_xsgetn_mmap): Likewise.
16663 * libio/iofopncook.c (_IO_cookie_read): Likewise.
16664 (_IO_cookie_write): Likewise.
16665 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16666 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16667 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16668 * malloc/obstack.c (_obstack_begin): Likewise.
16669 (_obstack_begin_1): Likewise.
16670 (_obstack_newchunk): Likewise.
16671 (_obstack_allocated_p): Likewise.
16672 (obstack_free): Likewise.
16673 (_obstack_memory_used): Likewise.
16674 * misc/getttyent.c (getttynam): Likewise.
16675 (getttyent): Likewise.
16678 * misc/getusershell.c (initshells): Likewise.
16679 * misc/syslog.c (__vsyslog_chk): Likewise.
16680 * misc/ttyslot.c (ttyslot): Likewise.
16681 * nis/nis_hash.c (__nis_hash): Likewise.
16682 * posix/fnmatch_loop.c (FCT): Likewise.
16683 * posix/getconf.c (print_all): Likewise.
16685 * posix/getopt.c (exchange): Likewise.
16686 * posix/glob.c (globfree): Likewise.
16687 (prefix_array): Likewise.
16688 (__glob_pattern_type): Likewise.
16689 * resolv/arpa/nameser.h (NS_GET16): Likewise.
16690 (NS_GET32): Likewise.
16691 (NS_PUT16): Likewise.
16692 (NS_PUT32): Likewise.
16693 * resolv/gethnamaddr.c (getanswer): Likewise.
16694 (gethostbyname2): Likewise.
16695 (gethostbyaddr): Likewise.
16696 (_gethtent): Likewise.
16697 (_gethtbyname2): Likewise.
16698 (_gethtbyaddr): Likewise.
16699 * resolv/ns_print.c (dst_s_get_int16): Likewise.
16700 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16701 * resolv/res_init.c (__res_vinit): Likewise.
16702 (net_mask): Likewise.
16703 * resolv/res_mkquery.c (outchar): Likewise.
16705 * stdio-common/printf_fp.c (outchar): Likewise.
16707 * stdio-common/printf_fphex.c (outchar): Likewise.
16709 * stdio-common/printf_size.c (outchar): Likewise.
16711 * stdio-common/test_rdwr.c (main): Likewise.
16712 * stdio-common/tfformat.c (matches): Likewise.
16713 * stdio-common/vfprintf.c (outchar): Likewise.
16714 (printf_unknown): Likewise.
16715 (buffered_vfprintf): Likewise.
16716 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16717 * stdio-common/xbug.c (AppendToBuffer): Likewise.
16718 (ReadFile): Likewise.
16719 * stdlib/qsort.c (SWAP): Likewise.
16720 (_quicksort): Likewise.
16721 * stdlib/setenv.c (__add_to_environ): Likewise.
16722 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16723 * stdlib/strtol_l.c (__strtol_l): Likewise.
16724 * stdlib/tst-strtod.c (main): Likewise.
16725 * stdlib/tst-strtol.c (main): Likewise.
16726 * stdlib/tst-strtoll.c (main): Likewise.
16727 * string/bits/string2.h (__strcmp_cc): Likewise.
16728 (__strcmp_cg): Likewise.
16729 (__strcspn_c1): Likewise.
16730 (__strcspn_c2): Likewise.
16731 (__strcspn_c3): Likewise.
16732 (__strspn_c1): Likewise.
16733 (__strspn_c2): Likewise.
16734 (__strspn_c3): Likewise.
16735 (__strsep_1c): Likewise.
16736 (__strsep_2c): Likewise.
16737 (__strsep_3c): Likewise.
16738 * string/memccpy.c (__memccpy): Likewise.
16739 * string/stpcpy.c (__stpcpy): Likewise.
16740 * string/strcmp.c (strcmp): Likewise.
16741 * string/strrchr.c (strrchr): Likewise.
16742 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
16744 * sysdeps/mach/hurd/getcwd.c
16745 (_hurd_canonicalize_directory_name_internal): Likewise.
16746 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
16747 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
16748 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
16749 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
16750 Likewise, in both definitions.
16751 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
16753 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
16754 64] (__bswap_64): Likewise.
16755 * time/test_time.c (main): Likewise.
16756 * time/tzfile.c (__tzfile_read): Likewise.
16757 (__tzfile_compute): Likewise.
16758 * time/tzset.c (__tzset_parse_tz): Likewise.
16759 (tzset_internal): Likewise.
16760 (compute_change): Likewise.
16761 * wcsmbs/wcscat.c (__wcscat): Likewise.
16762 * wcsmbs/wcschr.c (wcschr): Likewise.
16763 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16764 * wcsmbs/wcscspn.c (wcscspn): Likewise.
16765 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16766 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
16767 * wcsmbs/wcsspn.c (wcsspn): Likewise.
16768 * wcsmbs/wcsstr.c (wcsstr): Likewise.
16769 * wcsmbs/wmemchr.c (wmemchr): Likewise.
16770 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16771 * wcsmbs/wmemset.c (wmemset): Likewise.
16773 2013-06-06 Joseph Myers <joseph@codesourcery.com>
16775 * scripts/config.guess: Update to version 2013-05-16.
16776 * scripts/config.sub: Update to version 2013-04-24.
16777 * scripts/install-sh: Update to version 2011-11-20.07.
16778 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
16779 * scripts/move-if-change: Update to version 2012-01-06 07:23.
16781 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
16783 * debug/fgetws_u_chk.c: Fix leading whitespaces.
16784 * elf/sln.c: Likewise.
16785 * hurd/hurd/ioctl.h: Likewise.
16786 * hurd/hurdmalloc.c: Likewise.
16787 * hurd/xattr.c: Likewise.
16788 * include/shlib-compat.h: Likewise.
16789 * inet/ruserpass.c: Likewise.
16790 * libio/iofgets_u.c: Likewise.
16791 * libio/iofgetws_u.c: Likewise.
16792 * locale/programs/ld-identification.c: Likewise.
16793 * locale/programs/ld-time.c: Likewise.
16794 * mach/msg-destroy.c: Likewise.
16795 * nss/nss_files/files-netgrp.c: Likewise.
16796 * resolv/res_data.c: Likewise.
16797 * soft-fp/op-1.h: Likewise.
16798 * soft-fp/op-2.h: Likewise.
16799 * soft-fp/op-4.h: Likewise.
16800 * soft-fp/op-common.h: Likewise.
16801 * stdio-common/printf_fphex.c: Likewise.
16802 * stdlib/strtod_l.c: Likewise.
16803 * sunrpc/rpc/clnt.h: Likewise.
16804 * sysdeps/generic/framestate.c: Likewise.
16805 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16806 * sysdeps/i386/bsd-setjmp.S: Likewise.
16807 * sysdeps/i386/__longjmp.S: Likewise.
16808 * sysdeps/i386/setjmp.S: Likewise.
16809 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16810 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16811 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16812 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16813 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16814 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16815 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16816 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16817 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16818 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16819 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16820 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16821 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16822 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16823 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16824 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16825 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16826 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
16827 * sysdeps/ieee754/support.c: Likewise.
16828 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16829 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
16830 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
16831 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
16832 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
16833 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
16834 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
16835 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
16836 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
16837 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
16838 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
16839 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
16840 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
16841 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
16842 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
16843 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
16844 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16847 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
16849 * posix/transbug.c: Remove executable mode.
16851 2013-06-05 Joseph Myers <joseph@codesourcery.com>
16853 * crypt/speeds.c: Remove trailing whitespace.
16854 * dlfcn/default.c: Likewise.
16855 * elf/ifuncdep2.c: Likewise.
16856 * elf/ifuncmain1.c: Likewise.
16857 * elf/ifuncmain1vis.c: Likewise.
16858 * elf/testobj.h: Likewise.
16859 * elf/tst-stackguard1.c: Likewise.
16860 * gmon/sys/gmon.h: Likewise.
16861 * hurd/hurdmsg.c: Likewise.
16862 * hurd/new-fd.c: Likewise.
16863 * hurd/ports-get.c: Likewise.
16864 * iconvdata/ibm1008_420.c: Likewise.
16865 * inet/tst-getni1.c: Likewise.
16866 * inet/tst-getni2.c: Likewise.
16867 * libio/ioungetc.c: Likewise.
16868 * libio/wfiledoalloc.c: Likewise.
16869 * manual/libm-err-tab.pl: Likewise.
16870 * math/w_dremf.c: Likewise.
16871 * misc/ftruncate.c: Likewise.
16872 * posix/bug-glob2.c: Likewise.
16873 * posix/tst-pcre.c: Likewise.
16874 * posix/wait4.c: Likewise.
16875 * resolv/README: Likewise.
16876 * resolv/res_debug.h: Likewise.
16877 * resolv/tst-inet_ntop.c: Likewise.
16878 * setjmp/bug269-setjmp.c: Likewise.
16879 * soft-fp/extended.h: Likewise.
16880 * soft-fp/op-1.h: Likewise.
16881 * soft-fp/op-2.h: Likewise.
16882 * soft-fp/op-4.h: Likewise.
16883 * soft-fp/op-8.h: Likewise.
16884 * soft-fp/testit.c: Likewise.
16885 * stdio-common/bug16.c: Likewise.
16886 * stdlib/random.c: Likewise.
16887 * sunrpc/rpcsvc/rquota.x: Likewise.
16888 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
16889 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16890 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16891 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16892 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16893 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16894 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16895 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16896 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16897 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16898 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16899 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16900 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16901 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16902 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16903 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16904 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16905 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16906 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16907 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16908 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16909 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16910 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16911 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16912 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16913 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16914 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16915 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16916 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16917 * sysdeps/ieee754/s_lib_version.c: Likewise.
16918 * sysdeps/mach/hurd/check_fds.c: Likewise.
16919 * sysdeps/mach/hurd/getsockname.c: Likewise.
16920 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16921 * sysdeps/mach/hurd/recvfrom.c: Likewise.
16922 * sysdeps/powerpc/bits/link.h: Likewise.
16923 * sysdeps/powerpc/dl-procinfo.c: Likewise.
16924 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16925 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16926 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16927 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16928 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16929 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16930 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16931 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16932 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16933 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16934 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16935 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16936 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16937 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16938 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16939 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16940 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16941 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16942 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16943 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16944 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16945 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16946 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16947 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16948 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16949 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16950 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16951 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16952 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16953 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16954 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16955 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16956 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16957 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16958 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16959 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16960 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16961 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16962 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16963 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16964 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16965 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16966 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16967 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16968 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16969 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16970 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16971 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16972 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16973 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16974 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16975 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16976 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16977 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16978 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16979 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16980 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16981 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16982 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16983 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16984 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16985 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16986 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16987 * sysdeps/powerpc/sysdep.h: Likewise.
16988 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16989 * sysdeps/s390/s390-64/sub_n.S: Likewise.
16990 * sysdeps/sh/dl-trampoline.S: Likewise.
16991 * sysdeps/sh/memset.S: Likewise.
16992 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16993 * sysdeps/sh/strlen.S: Likewise.
16994 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16995 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16996 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16997 * sysdeps/sparc/sparc32/rem.S: Likewise.
16998 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16999 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17000 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17001 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17002 * sysdeps/sparc/sparc32/urem.S: Likewise.
17003 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17004 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17005 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17006 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17007 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17008 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17009 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17010 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17011 * sysdeps/unix/bsd/times.c: Likewise.
17012 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17013 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17017 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17018 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17019 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17020 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17021 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17022 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17023 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17024 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17025 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17026 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17027 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17028 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17029 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17030 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17031 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17032 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17033 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17034 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17035 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17036 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17037 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17038 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17039 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17040 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17041 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17042 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17043 * sysdeps/x86_64/strcspn.S: Likewise.
17045 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17047 * locale/C-translit.h: Revert #include <stdint.h> because this is a
17048 generated file. Regenerate properly from gen-translit.pl.
17049 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
17050 locale/C-translit.h.
17052 2013-06-05 Andreas Schwab <schwab@suse.de>
17055 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17056 week as 6 instead of -1.
17057 * time/tst-strptime.c (day_tests): Add test case.
17059 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17061 * sysdeps/generic/math_private.h
17062 (libc_feholdexcept_setround_53bit): Replace with
17063 libc_feholdsetround_53bit.
17064 (libc_feupdateenv_53bit): Replace with
17065 libc_feresetround_53bit.
17066 (SET_RESTORE_ROUND_53BIT): Adjust.
17068 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17070 * string/test-strchrnul.c: Add copyright header.
17072 * posix/tst-getaddrinfo4.c: Increase test timeout.
17074 2013-06-03 Carlos O'Donell <carlos@redhat.com>
17077 * math/libm-test.inc (MAX_EXP): Remove
17079 (ulp): Use MIN_EXP - MANT_DIG.
17080 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17082 2013-05-31 Carlos O'Donell <carlos@redhat.com>
17084 * po/be.po: Revert last change.
17085 * po/zh_CN.po: Likewise.
17086 * po/header.pot: Likewise.
17088 2013-05-31 Joseph Myers <joseph@codesourcery.com>
17090 * Makefile ($(common-objpfx)linkobj/libc.so): Define
17091 link-libc-deps to empty as target-specific variable.
17092 * Makerules (link-libc-args): New variable.
17093 (libc-for-link): Likewise.
17094 (link-libc-deps): Likewise.
17095 (lib%.so): Depend on $(link-libc-deps). Link with
17097 (build-module): Link with $(link-libc-args).
17098 (build-module-asneeded): Likewise.
17099 (build-module-helper-objlist): Filter out $(link-libc-deps) from
17101 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17102 target-specific variable.
17103 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17104 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17105 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17107 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17109 ($(objpfx)libpcprofile.so): Likewise.
17110 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17112 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17113 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17114 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17116 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17117 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17118 * login/Makefile ($(objpfx)libutil.so): Likewise.
17119 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17120 * math/Makefile ($(objpfx)libm.so): Likewise.
17121 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17122 $(objpfx)libnsl.so): Define libc-for-link as target-specific
17123 variable instead of depending directly on libc.
17124 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17125 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17127 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17129 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17130 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17131 ($(objpfx)libanl.so): Likewise.
17132 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17134 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17136 * sysdeps/i386/fpu/Makefile: Remove file.
17137 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17138 ($(objpfx)libm.so): Remove dependency on ld.so.
17140 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
17143 * nis/yp_xdr.c (XDRMAXNAME): Define.
17144 (XDRMAXRECORD): Define.
17145 (xdr_domainname): Use XDRMAXNAME.
17146 (xdr_mapname): Likewise.
17147 (xdr_peername): Likewise.
17148 (xdr_keydat): Use XDRMAXRECORD.
17149 (xdr_valdat): Likewise.
17151 2013-05-30 Jeff Law <law@redhat.com>
17154 * manual/errno.texi (ESTALE): Update to account for more than
17155 just NFS file systems.
17156 * sysdeps/gnu/errlist.c: Regenerated.
17158 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17161 * elf/Makefile (tests): Add tst-null-argv.
17162 (modules-names): Add tst-null-argv-lib.
17163 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17164 (tst-null-argv-ENV): Set environment for tst-null-argv.
17165 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17166 (RTLD_PROGNAME): New macro.
17167 * elf/tst-null-argv.c: New test case.
17168 * elf/tst-null-argv-lib.c: Library for test case.
17169 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17170 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17171 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17172 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17173 * elf/dl-init.c (call_init): Likewise.
17174 (_dl_init): Likewise.
17175 * elf/dl-load.c (print_search_path): Likewise.
17176 (_dl_map_object): Likewise.
17177 * elf/dl-lookup.c (do_lookup_x): Likewise.
17178 (add_dependency): Likewise.
17179 (_dl_lookup_symbol_x): Likewise.
17180 (_dl_debug_bindings): Likewise.
17181 * elf/dl-open.c (_dl_show_scope): Likewise.
17182 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17183 * elf/dl-version.c (match_symbol): Likewise.
17184 (_dl_check_map_versions): Likewise.
17185 * elf/rtld.c (dl_main): Likewise.
17186 (print_unresolved): Use RTLD_PROGNAME.
17187 (print_missing_version): Likewise.
17188 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17189 (elf_machine_rela): Likewise.
17190 * sysdeps/powerpc/powerpc32/dl-machine.c
17191 (__process_machine_rela): Likewise.
17192 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17194 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17196 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17198 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17199 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17201 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17203 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17205 2013-05-28 Carlos O'Donell <carlos@redhat.com>
17207 * po/be.po: Add descriptive title.
17208 * po/zh_CN.po: Likewise.
17209 * po/header.pot: Likewise.
17211 2013-05-28 Mike Frysinger <vapier@gentoo.org>
17213 * locale/programs/locarchive.c (create_archive): Inlucde fname in
17215 (enlarge_archive): Likewise.
17217 2013-05-28 Ben North <ben@redfrontdoor.org>
17219 * manual/arith.texi (frexp): It is the magnitude of the return
17220 value which lies in [0.5, 1), not the return value itself.
17222 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17226 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
17228 * stdio-common/bug26.c (main): Correct fscanf template.
17230 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17231 declare _dl_skip_args.
17233 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17236 * manual/platform.texi: Add missing @end deftypefun.
17238 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17241 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17242 bit of mantissa of 2^16382.
17243 * math/libm-test.inc (hypot_test_data): Add more tests.
17245 * math/libm-test.inc: Add drem and pow10 to list of tested
17247 (pow10_test): New function.
17248 (drem_test): Likewise.
17249 (drem_test_tonearest): Likewise.
17250 (drem_test_towardzero): Likewise.
17251 (drem_test_downward): Likewise.
17252 (drem_test_upward): Likewise.
17253 (main): Call the new functions.
17255 * math/libm-test.inc (finite_test_data): Remove.
17256 (finite_test): Run tests from isfinite_test_data.
17257 (gamma_test_data): Remove.
17258 (gamma_test): Run tests from lgamma_test_data.
17259 * sysdeps/i386/fpu/libm-test-ulps: Update.
17260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17262 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17264 * manual/platform.texi: Add PowerPC PPR function set documentation.
17265 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17268 2013-05-24 Carlos O'Donell <carlos@redhat.com>
17270 * math/libm-test.inc (MAX_EXP): Define.
17272 (ulp): New function.
17273 (check_float_internal): Use ULPDIFF.
17274 (cpow_test): Disable failing test.
17275 (check_ulp): Test ulp() implemetnation.
17276 (main): Call check_ulp before starting tests.
17278 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17280 * math/gen-libm-test.pl (generate_testfile): Do not handle
17281 START_DATA and END_DATA.
17282 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17284 (acos_tonearest_test_data): Likewise.
17285 (acos_towardzero_test_data): Likewise.
17286 (acos_downward_test_data): Likewise.
17287 (acos_upward_test_data): Likewise.
17288 (acosh_test_data): Likewise.
17289 (asin_test_data): Likewise.
17290 (asin_tonearest_test_data): Likewise.
17291 (asin_towardzero_test_data): Likewise.
17292 (asin_downward_test_data): Likewise.
17293 (asin_upward_test_data): Likewise.
17294 (asinh_test_data): Likewise.
17295 (atan_test_data): Likewise.
17296 (atanh_test_data): Likewise.
17297 (atan2_test_data): Likewise.
17298 (cabs_test_data): Likewise.
17299 (cacos_test_data): Likewise.
17300 (cacosh_test_data): Likewise.
17301 (carg_test_data): Likewise.
17302 (casin_test_data): Likewise.
17303 (casinh_test_data): Likewise.
17304 (catan_test_data): Likewise.
17305 (catanh_test_data): Likewise.
17306 (cbrt_test_data): Likewise.
17307 (ccos_test_data): Likewise.
17308 (ccosh_test_data): Likewise.
17309 (ceil_test_data): Likewise.
17310 (cexp_test_data): Likewise.
17311 (cimag_test_data): Likewise.
17312 (clog_test_data): Likewise.
17313 (clog10_test_data): Likewise.
17314 (conj_test_data): Likewise.
17315 (copysign_test_data): Likewise.
17316 (cos_test_data): Likewise.
17317 (cos_tonearest_test_data): Likewise.
17318 (cos_towardzero_test_data): Likewise.
17319 (cos_downward_test_data): Likewise.
17320 (cos_upward_test_data): Likewise.
17321 (cosh_test_data): Likewise.
17322 (cosh_tonearest_test_data): Likewise.
17323 (cosh_towardzero_test_data): Likewise.
17324 (cosh_downward_test_data): Likewise.
17325 (cosh_upward_test_data): Likewise.
17326 (cpow_test_data): Likewise.
17327 (cproj_test_data): Likewise.
17328 (creal_test_data): Likewise.
17329 (csin_test_data): Likewise.
17330 (csinh_test_data): Likewise.
17331 (csqrt_test_data): Likewise.
17332 (ctan_test_data): Likewise.
17333 (ctan_tonearest_test_data): Likewise.
17334 (ctan_towardzero_test_data): Likewise.
17335 (ctan_downward_test_data): Likewise.
17336 (ctan_upward_test_data): Likewise.
17337 (ctanh_test_data): Likewise.
17338 (ctanh_tonearest_test_data): Likewise.
17339 (ctanh_towardzero_test_data): Likewise.
17340 (ctanh_downward_test_data): Likewise.
17341 (ctanh_upward_test_data): Likewise.
17342 (erf_test_data): Likewise.
17343 (erfc_test_data): Likewise.
17344 (exp_test_data): Likewise.
17345 (exp_tonearest_test_data): Likewise.
17346 (exp_towardzero_test_data): Likewise.
17347 (exp_downward_test_data): Likewise.
17348 (exp_upward_test_data): Likewise.
17349 (exp10_test_data): Likewise.
17350 (exp2_test_data): Likewise.
17351 (expm1_test_data): Likewise.
17352 (fabs_test_data): Likewise.
17353 (fdim_test_data): Likewise.
17354 (finite_test_data): Likewise.
17355 (floor_test_data): Likewise.
17356 (fma_test_data): Likewise.
17357 (fma_towardzero_test_data): Likewise.
17358 (fma_downward_test_data): Likewise.
17359 (fma_upward_test_data): Likewise.
17360 (fmax_test_data): Likewise.
17361 (fmin_test_data): Likewise.
17362 (fmod_test_data): Likewise.
17363 (fpclassify_test_data): Likewise.
17364 (frexp_test_data): Likewise.
17365 (gamma_test_data): Likewise.
17366 (hypot_test_data): Likewise.
17367 (ilogb_test_data): Likewise.
17368 (isfinite_test_data): Likewise.
17369 (isgreater_test_data): Likewise.
17370 (isgreaterequal_test_data): Likewise.
17371 (isinf_test_data): Likewise.
17372 (isless_test_data): Likewise.
17373 (islessequal_test_data): Likewise.
17374 (islessgreater_test_data): Likewise.
17375 (isnan_test_data): Likewise.
17376 (isnormal_test_data): Likewise.
17377 (issignaling_test_data): Likewise.
17378 (isunordered_test_data): Likewise.
17379 (j0_test_data): Likewise.
17380 (j1_test_data): Likewise.
17381 (jn_test_data): Likewise.
17382 (ldexp_test_data): Likewise.
17383 (lgamma_test_data): Likewise.
17384 (lrint_test_data): Likewise.
17385 (lrint_tonearest_test_data): Likewise.
17386 (lrint_towardzero_test_data): Likewise.
17387 (lrint_downward_test_data): Likewise.
17388 (lrint_upward_test_data): Likewise.
17389 (llrint_test_data): Likewise.
17390 (llrint_tonearest_test_data): Likewise.
17391 (llrint_towardzero_test_data): Likewise.
17392 (llrint_downward_test_data): Likewise.
17393 (llrint_upward_test_data): Likewise.
17394 (log_test_data): Likewise.
17395 (log10_test_data): Likewise.
17396 (log1p_test_data): Likewise.
17397 (log2_test_data): Likewise.
17398 (logb_test_data): Likewise.
17399 (logb_downward_test_data): Likewise.
17400 (lround_test_data): Likewise.
17401 (llround_test_data): Likewise.
17402 (modf_test_data): Likewise.
17403 (nearbyint_test_data): Likewise.
17404 (nextafter_test_data): Likewise.
17405 (nexttoward_test_data): Likewise.
17406 (pow_test_data): Likewise.
17407 (pow_tonearest_test_data): Likewise.
17408 (pow_towardzero_test_data): Likewise.
17409 (pow_downward_test_data): Likewise.
17410 (pow_upward_test_data): Likewise.
17411 (remainder_test_data): Likewise.
17412 (remainder_tonearest_test_data): Likewise.
17413 (remainder_towardzero_test_data): Likewise.
17414 (remainder_downward_test_data): Likewise.
17415 (remainder_upward_test_data): Likewise.
17416 (remquo_test_data): Likewise.
17417 (rint_test_data): Likewise.
17418 (rint_tonearest_test_data): Likewise.
17419 (rint_towardzero_test_data): Likewise.
17420 (rint_downward_test_data): Likewise.
17421 (rint_upward_test_data): Likewise.
17422 (round_test_data): Likewise.
17423 (scalb_test_data): Likewise.
17424 (scalbn_test_data): Likewise.
17425 (scalbln_test_data): Likewise.
17426 (signbit_test_data): Likewise.
17427 (sin_test_data): Likewise.
17428 (sin_tonearest_test_data): Likewise.
17429 (sin_towardzero_test_data): Likewise.
17430 (sin_downward_test_data): Likewise.
17431 (sin_upward_test_data): Likewise.
17432 (sincos_test_data): Likewise.
17433 (sinh_test_data): Likewise.
17434 (sinh_tonearest_test_data): Likewise.
17435 (sinh_towardzero_test_data): Likewise.
17436 (sinh_downward_test_data): Likewise.
17437 (sinh_upward_test_data): Likewise.
17438 (sqrt_test_data): Likewise.
17439 (tan_test_data): Likewise.
17440 (tan_tonearest_test_data): Likewise.
17441 (tan_towardzero_test_data): Likewise.
17442 (tan_downward_test_data): Likewise.
17443 (tan_upward_test_data): Likewise.
17444 (tanh_test_data): Likewise.
17445 (tgamma_test_data): Likewise.
17446 (trunc_test_data): Likewise.
17447 (y0_test_data): Likewise.
17448 (y1_test_data): Likewise.
17449 (yn_test_data): Likewise.
17450 (significand_test_data): Likewise.
17452 * math/gen-libm-test.pl (@functions): Remove variable.
17453 (generate_testfile): Don't handle START and END lines.
17454 * math/libm-test.inc (START): New macro.
17456 (END_COMPLEX): Likewise.
17457 (acos_test): Use END macro without arguments.
17458 (acos_test_tonearest): Likewise.
17459 (acos_test_towardzero): Likewise.
17460 (acos_test_downward): Likewise.
17461 (acos_test_upward): Likewise.
17462 (acosh_test): Likewise.
17463 (asin_test): Likewise.
17464 (asin_test_tonearest): Likewise.
17465 (asin_test_towardzero): Likewise.
17466 (asin_test_downward): Likewise.
17467 (asin_test_upward): Likewise.
17468 (asinh_test): Likewise.
17469 (atan_test): Likewise.
17470 (atanh_test): Likewise.
17471 (atan2_test): Likewise.
17472 (cabs_test): Likewise.
17473 (cacos_test): Use END_COMPLEX macro without arguments.
17474 (cacosh_test): Likewise.
17475 (carg_test): Use END macro without arguments.
17476 (casin_test): Use END_COMPLEX macro without arguments.
17477 (casinh_test): Likewise.
17478 (catan_test): Likewise.
17479 (catanh_test): Likewise.
17480 (cbrt_test): Use END macro without arguments.
17481 (ccos_test): Use END_COMPLEX macro without arguments.
17482 (ccosh_test): Likewise.
17483 (ceil_test): Use END macro without arguments.
17484 (cexp_test): Use END_COMPLEX macro without arguments.
17485 (cimag_test): Use END macro without arguments.
17486 (clog_test): Use END_COMPLEX macro without arguments.
17487 (clog10_test): Likewise.
17488 (conj_test): Likewise.
17489 (copysign_test): Use END macro without arguments.
17490 (cos_test): Likewise.
17491 (cos_test_tonearest): Likewise.
17492 (cos_test_towardzero): Likewise.
17493 (cos_test_downward): Likewise.
17494 (cos_test_upward): Likewise.
17495 (cosh_test): Likewise.
17496 (cosh_test_tonearest): Likewise.
17497 (cosh_test_towardzero): Likewise.
17498 (cosh_test_downward): Likewise.
17499 (cosh_test_upward): Likewise.
17500 (cpow_test): Use END_COMPLEX macro without arguments.
17501 (cproj_test): Likewise.
17502 (creal_test): Use END macro without arguments.
17503 (csin_test): Use END_COMPLEX macro without arguments.
17504 (csinh_test): Likewise.
17505 (csqrt_test): Likewise.
17506 (ctan_test): Likewise.
17507 (ctan_test_tonearest): Likewise.
17508 (ctan_test_towardzero): Likewise.
17509 (ctan_test_downward): Likewise.
17510 (ctan_test_upward): Likewise.
17511 (ctanh_test): Likewise.
17512 (ctanh_test_tonearest): Likewise.
17513 (ctanh_test_towardzero): Likewise.
17514 (ctanh_test_downward): Likewise.
17515 (ctanh_test_upward): Likewise.
17516 (erf_test): Use END macro without arguments.
17517 (erfc_test): Likewise.
17518 (exp_test): Likewise.
17519 (exp_test_tonearest): Likewise.
17520 (exp_test_towardzero): Likewise.
17521 (exp_test_downward): Likewise.
17522 (exp_test_upward): Likewise.
17523 (exp10_test): Likewise.
17524 (exp2_test): Likewise.
17525 (expm1_test): Likewise.
17526 (fabs_test): Likewise.
17527 (fdim_test): Likewise.
17528 (finite_test): Likewise.
17529 (floor_test): Likewise.
17530 (fma_test): Likewise.
17531 (fma_test_towardzero): Likewise.
17532 (fma_test_downward): Likewise.
17533 (fma_test_upward): Likewise.
17534 (fmax_test): Likewise.
17535 (fmin_test): Likewise.
17536 (fmod_test): Likewise.
17537 (fpclassify_test): Likewise.
17538 (frexp_test): Likewise.
17539 (gamma_test): Likewise.
17540 (hypot_test): Likewise.
17541 (ilogb_test): Likewise.
17542 (isfinite_test): Likewise.
17543 (isgreater_test): Likewise.
17544 (isgreaterequal_test): Likewise.
17545 (isinf_test): Likewise.
17546 (isless_test): Likewise.
17547 (islessequal_test): Likewise.
17548 (islessgreater_test): Likewise.
17549 (isnan_test): Likewise.
17550 (isnormal_test): Likewise.
17551 (issignaling_test): Likewise.
17552 (isunordered_test): Likewise.
17553 (j0_test): Likewise.
17554 (j1_test): Likewise.
17555 (jn_test): Likewise.
17556 (ldexp_test): Likewise.
17557 (lgamma_test): Likewise.
17558 (lrint_test): Likewise.
17559 (lrint_test_tonearest): Likewise.
17560 (lrint_test_towardzero): Likewise.
17561 (lrint_test_downward): Likewise.
17562 (lrint_test_upward): Likewise.
17563 (llrint_test): Likewise.
17564 (llrint_test_tonearest): Likewise.
17565 (llrint_test_towardzero): Likewise.
17566 (llrint_test_downward): Likewise.
17567 (llrint_test_upward): Likewise.
17568 (log_test): Likewise.
17569 (log10_test): Likewise.
17570 (log1p_test): Likewise.
17571 (log2_test): Likewise.
17572 (logb_test): Likewise.
17573 (logb_test_downward): Likewise.
17574 (lround_test): Likewise.
17575 (llround_test): Likewise.
17576 (modf_test): Likewise.
17577 (nearbyint_test): Likewise.
17578 (nextafter_test): Likewise.
17579 (nexttoward_test): Likewise.
17580 (pow_test): Likewise.
17581 (pow_test_tonearest): Likewise.
17582 (pow_test_towardzero): Likewise.
17583 (pow_test_downward): Likewise.
17584 (pow_test_upward): Likewise.
17585 (remainder_test): Likewise.
17586 (remainder_test_tonearest): Likewise.
17587 (remainder_test_towardzero): Likewise.
17588 (remainder_test_downward): Likewise.
17589 (remainder_test_upward): Likewise.
17590 (remquo_test): Likewise.
17591 (rint_test): Likewise.
17592 (rint_test_tonearest): Likewise.
17593 (rint_test_towardzero): Likewise.
17594 (rint_test_downward): Likewise.
17595 (rint_test_upward): Likewise.
17596 (round_test): Likewise.
17597 (scalb_test): Likewise.
17598 (scalbn_test): Likewise.
17599 (scalbln_test): Likewise.
17600 (signbit_test): Likewise.
17601 (sin_test): Likewise.
17602 (sin_test_tonearest): Likewise.
17603 (sin_test_towardzero): Likewise.
17604 (sin_test_downward): Likewise.
17605 (sin_test_upward): Likewise.
17606 (sincos_test): Likewise.
17607 (sinh_test): Likewise.
17608 (sinh_test_tonearest): Likewise.
17609 (sinh_test_towardzero): Likewise.
17610 (sinh_test_downward): Likewise.
17611 (sinh_test_upward): Likewise.
17612 (sqrt_test): Likewise.
17613 (tan_test): Likewise.
17614 (tan_test_tonearest): Likewise.
17615 (tan_test_towardzero): Likewise.
17616 (tan_test_downward): Likewise.
17617 (tan_test_upward): Likewise.
17618 (tanh_test): Likewise.
17619 (tgamma_test): Likewise.
17620 (trunc_test): Likewise.
17621 (y0_test): Likewise.
17622 (y1_test): Likewise.
17623 (yn_test): Likewise.
17624 (significand_test): Likewise.
17626 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
17629 * libio/genops.c (_IO_no_init): Initialize wide struct info.
17631 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
17634 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17635 __ppc_mdoio and __ppc_mdoom.
17636 * manual/platform.texi: Document new functions __ppc_yield,
17637 __ppc_mdoio and __ppc_mdoom.
17639 2013-05-22 Carlos O'Donell <carlos@redhat.com>
17641 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17642 (main): Mention "tls" pseudo-hwcap is legacy.
17643 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17645 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17647 * math/gen-libm-test.pl (parse_args): Output only string of
17648 arguments as text for test name, not full call or descriptions of
17649 tests for extra outputs.
17650 (generate_testfile): Do not pass function name to parse_args.
17651 Generate this_func variable from START.
17652 * math/libm-test.inc (struct test_f_f_data): Rename test_name
17654 (struct test_ff_f_data): Likewise.
17655 (test_ff_f_data_nexttoward): Likewise.
17656 (struct test_fi_f_data): Likewise.
17657 (struct test_fl_f_data): Likewise.
17658 (struct test_if_f_data): Likewise.
17659 (struct test_fff_f_data): Likewise.
17660 (struct test_c_f_data): Likewise.
17661 (struct test_f_f1_data): Likewise. Remove field extra_name.
17662 (struct test_fF_f1_data): Likewise.
17663 (struct test_ffI_f1_data): Likewise.
17664 (struct test_c_c_data): Rename test_name field to arg_str.
17665 (struct test_cc_c_data): Likewise.
17666 (struct test_f_i_data): Likewise.
17667 (struct test_ff_i_data): Likewise.
17668 (struct test_f_l_data): Likewise.
17669 (struct test_f_L_data): Likewise.
17670 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
17672 (COMMON_TEST_SETUP): New macro.
17673 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17674 (COMMON_TEST_CLEANUP): Likewise.
17675 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17676 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
17678 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17679 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
17681 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17682 (RUN_TEST_fff_f): Take argument string. Call new setup and
17684 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17685 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
17687 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17688 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
17690 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17691 (RUN_TEST_fF_f1): Take argument string. Call new setup and
17693 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17694 (RUN_TEST_fI_f1): Take argument string. Call new setup and
17696 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17697 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
17699 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17700 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
17702 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17703 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
17705 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17706 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
17708 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17709 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
17711 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17712 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
17714 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17715 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
17717 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17718 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
17720 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17721 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
17723 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17724 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
17726 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17727 (RUN_TEST_fFF_11): Take argument string. Call new setup and
17729 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17731 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17733 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17734 to _sifields.sigfault.
17735 (si_addr_lsb): Define new macro.
17736 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17737 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17738 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
17740 2013-05-03 Carlos O'Donell <carlos at redhat.com>
17743 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
17745 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
17747 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
17748 loading the domain.
17750 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17752 * math/gen-libm-test.pl (parse_args): Do not include expected
17753 result in test name.
17754 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
17755 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17756 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17757 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17758 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17761 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17763 * benchtests/Makefile: Sort function entries.
17765 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
17766 tanh, asinh, acosh, atanh.
17767 * benchtests/acos-inputs: New file.
17768 * benchtests/acosh-inputs: New file.
17769 * benchtests/asin-inputs: New file.
17770 * benchtests/asinh-inputs: New file.
17771 * benchtests/atanh-inputs: New file.
17772 * benchtests/cosh-inputs: New file.
17773 * benchtests/log-inputs: New file.
17774 * benchtests/sinh-inputs: New file.
17775 * benchtests/tanh-inputs: New file.
17777 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
17780 * posix/tst-getaddrinfo4.c: New test.
17781 * posix/Makefile (tests): Add it.
17783 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17786 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
17787 when no services were used.
17788 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
17789 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
17791 2013-05-21 Andreas Schwab <schwab@suse.de>
17794 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
17795 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
17797 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
17798 redundant variable declarations and reallocation of buffer when
17799 parsing as IPv6 address. Always set NSS status when called from
17800 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
17801 buffer too small. Correct computation of needed size.
17802 * nss/Makefile (tests): Add test-digits-dots.
17803 * nss/test-digits-dots.c: New test.
17805 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17807 * benchtests/Makefile: Remove instructions for adding
17809 * benchtests/README: New file to explain how to execute and
17810 enhance the benchmark tests.
17812 2013-05-21 Andreas Schwab <schwab@suse.de>
17815 * setjmp/Makefile (tests): Add tst-sigsetjmp.
17816 * setjmp/tst-sigsetjmp.c: New test.
17818 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17820 * sysdeps/x86_64/memset.S (memset): New implementation.
17821 (__bzero): Likewise.
17822 (__memset_tail): New function.
17824 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17826 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
17827 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
17828 __memcpy_sse2_unaligned ifunc selection.
17829 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17830 Add memcpy-sse2-unaligned.S.
17831 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17832 Add: __memcpy_sse2_unaligned.
17834 2013-05-19 Joseph Myers <joseph@codesourcery.com>
17837 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17838 math_force_eval before restoring floating-point envrionment.
17839 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
17840 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17842 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
17844 (__nearbyintl): Use math_force_eval before restoring
17845 floating-point environment.
17846 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
17848 * math/gen-libm-test.pl (special_functions): Remove.
17849 (parse_args): Don't handle TEST_extra. Handle functions with no
17851 * math/libm-test.inc (struct test_sincos_data): Replace with
17852 struct test_fFF_11_data.
17853 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
17854 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
17855 (sincos_test_data): Change element type to struct
17856 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
17857 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
17858 RUN_TEST_LOOP_sincos.
17859 * math/README.libm-test: Don't mention special handling of
17860 individual functions.
17861 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
17862 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17863 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17864 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17865 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17868 * math/gen-libm-test.pl (get_variable): Remove function.
17869 (parse_args): Don't show pointer parameters to call in test
17870 names. Use "extra output N" in test names for extra outputs
17871 rather than naming variables.
17873 2013-05-18 Joseph Myers <joseph@codesourcery.com>
17876 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
17877 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
17878 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
17880 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
17882 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
17885 * math/gen-libm-test.pl (@tests): Remove variable.
17886 ($count): Likewise.
17887 (new_test): Remove function.
17888 (show_exceptions): New function.
17889 (special_functions): Use show_exceptions instead of new_test.
17890 (parse_args): Likewise.
17891 (generate_testfile): Pass only function name in generated call to
17892 print_max_error or print_complex_max_error.
17893 (get_ulps): Do not handle complex tests specially.
17894 (output_test): Rename to ...
17895 (get_all_ulps_for_test): ... this. Return a string rather than
17896 printing to a file. Require ulps to be present.
17897 (output_ulps): Generate arrays rather than #defines.
17898 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
17899 (struct ulp_data): New type.
17900 (BUILD_COMPLEX_ULP): Remove macro.
17901 (compare_ulp_data): New function.
17902 (find_ulps): Likewise.
17903 (find_test_ulps): Likewise.
17904 (find_function_ulps): Likewise.
17905 (find_complex_function_ulps): Likewise.
17906 (print_max_error): Determine allowed ulps using
17907 find_function_ulps.
17908 (print_complex_max_error): Determine allowed ulps using
17909 find_complex_function_ulps.
17910 (check_float_internal): Determine max ulps using find_test_ulps.
17911 (check_float): Do not take max_ulp parameter. Update call to
17912 check_float_internal.
17913 (check_complex): Likewise.
17914 (check_int): Do not take max_ulp parameter.
17915 (check_long): Likewise.
17916 (check_bool): Likewise.
17917 (check_longlong): Likewise.
17918 (struct test_f_f_data): Remove max_ulp field.
17919 (struct test_ff_f_data): Likewise.
17920 (struct test_ff_f_data_nexttoward): Likewise.
17921 (struct test_fi_f_data): Likewise.
17922 (struct test_fl_f_data): Likewise.
17923 (struct test_if_f_data): Likewise.
17924 (struct test_fff_f_data): Likewise.
17925 (struct test_c_f_data): Likewise.
17926 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17927 (struct test_fF_f1_data): Likewise.
17928 (struct test_ffI_f1_data): Likewise.
17929 (struct test_c_c_data): Remove max_ulp field.
17930 (struct test_cc_c_data): Likewise.
17931 (struct test_f_i_data): Likewise.
17932 (struct test_ff_i_data): Likewise.
17933 (struct test_f_l_data): Likewise.
17934 (struct test_f_L_data): Likewise.
17935 (struct test_sincos_data): Likewise.
17936 (RUN_TEST_f_f): Do not handle ulps.
17937 (RUN_TEST_LOOP_f_f): Likewise.
17938 (RUN_TEST_2_f): Likewise.
17939 (RUN_TEST_LOOP_2_f): Likewise.
17940 (RUN_TEST_fff_f): Likewise.
17941 (RUN_TEST_LOOP_fff_f): Likewise.
17942 (RUN_TEST_c_f): Likewise.
17943 (RUN_TEST_LOOP_c_f): Likewise.
17944 (RUN_TEST_f_f1): Likewise.
17945 (RUN_TEST_LOOP_f_f1): Likewise.
17946 (RUN_TEST_fF_f1): Likewise.
17947 (RUN_TEST_LOOP_fF_f1): Likewise.
17948 (RUN_TEST_fI_f1): Likewise.
17949 (RUN_TEST_LOOP_fI_f1): Likewise.
17950 (RUN_TEST_ffI_f1): Likewise.
17951 (RUN_TEST_LOOP_ffI_f1): Likewise.
17952 (RUN_TEST_c_c): Likewise.
17953 (RUN_TEST_LOOP_c_c): Likewise.
17954 (RUN_TEST_cc_c): Likewise.
17955 (RUN_TEST_LOOP_cc_c): Likewise.
17956 (RUN_TEST_f_i): Likewise.
17957 (RUN_TEST_LOOP_f_i): Likewise.
17958 (RUN_TEST_f_i_tg): Likewise.
17959 (RUN_TEST_LOOP_f_i_tg): Likewise.
17960 (RUN_TEST_ff_i_tg): Likewise.
17961 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17962 (RUN_TEST_f_b): Likewise.
17963 (RUN_TEST_LOOP_f_b): Likewise.
17964 (RUN_TEST_f_b_tg): Likewise.
17965 (RUN_TEST_LOOP_f_b_tg): Likewise.
17966 (RUN_TEST_f_l): Likewise.
17967 (RUN_TEST_LOOP_f_l): Likewise.
17968 (RUN_TEST_f_L): Likewise.
17969 (RUN_TEST_LOOP_f_L): Likewise.
17970 (RUN_TEST_sincos): Likewise.
17971 (RUN_TEST_LOOP_sincos): Likewise.
17973 2013-05-17 Joseph Myers <joseph@codesourcery.com>
17977 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17978 main case of finite arguments, set rounding mode to FE_TONEAREST
17979 and discard exceptions.
17980 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17982 (remainder_tonearest_test_data): New variable.
17983 (remainder_test_tonearest): New function.
17984 (remainder_towardzero_test_data): New variable.
17985 (remainder_test_towardzero): New function.
17986 (remainder_downward_test_data): New variable.
17987 (remainder_test_downward): New function.
17988 (remainder_upward_test_data): New variable.
17989 (remainder_test_upward): New function.
17990 (main): Call the new test functions.
17992 * math/libm-test.inc (struct test_f_f1_data): Remove field
17994 (struct test_fF_f1_data): Likewise.
17995 (struct test_ffI_f1_data): Likewise.
17996 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
17997 based on value of EXTRA_EXPECTED.
17998 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17999 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18000 EXTRA_VAR based on value of EXTRA_EXPECTED.
18001 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18002 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18003 EXTRA_VAR based on value of EXTRA_EXPECTED.
18004 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18005 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18006 EXTRA_VAR based on value of EXTRA_EXPECTED.
18007 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18008 * math/gen-libm-test.pl (parse_args): Don't output initializers
18009 for extra output values.
18011 * math/libm-test.inc (check_int): Expect result to be exactly
18012 equal to expected value and do not handle ulps.
18013 (check_long): Likewise.
18014 (check_longlong): Likewise.
18016 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18018 (cimag_test_data): Likewise.
18019 (conj_test_data): Likewise.
18020 (copysign_test_data): Likewise.
18021 (cproj_test_data): Likewise.
18022 (creal_test_data): Likewise.
18023 (fabs_test_data): Likewise.
18024 (fdim_test_data): Likewise.
18025 (finite_test_data): Likewise.
18026 (floor_test_data): Likewise.
18027 (fmax_test_data): Likewise.
18028 (fmin_test_data): Likewise.
18029 (fmod_test_data): Likewise.
18030 (fpclassify_test_data): Likewise.
18031 (frexp_test_data): Likewise.
18032 (ilogb_test_data): Likewise.
18033 (isfinite_test_data): Likewise.
18034 (isgreater_test_data): Likewise.
18035 (isgreaterequal_test_data): Likewise.
18036 (isinf_test_data): Likewise.
18037 (isless_test_data): Likewise.
18038 (islessequal_test_data): Likewise.
18039 (islessgreater_test_data): Likewise.
18040 (isnan_test_data): Likewise.
18041 (isnormal_test_data): Likewise.
18042 (issignaling_test_data): Likewise.
18043 (isunordered_test_data): Likewise.
18044 (ldexp_test_data): Likewise.
18045 (lrint_test_data): Likewise.
18046 (lrint_test_data) [TEST_FLOAT]: Disable one test.
18047 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18048 (lrint_tonearest_test_data): Test for "inexact" exceptions.
18049 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18050 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18051 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18053 (lrint_towardzero_test_data): Test for "inexact" exceptions.
18054 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18055 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18056 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18058 (lrint_downward_test_data): Test for "inexact" exceptions.
18059 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18060 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18061 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18063 (lrint_upward_test_data): Test for "inexact" exceptions.
18064 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18066 (llrint_test_data): Test for "inexact" exceptions.
18067 (llrint_test_data) [TEST_FLOAT]: Disable one test.
18068 (llrint_tonearest_test_data): Test for "inexact" exceptions.
18069 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18070 (llrint_towardzero_test_data): Test for "inexact" exceptions.
18071 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18072 (llrint_downward_test_data): Test for "inexact" exceptions.
18073 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18074 (llrint_upward_test_data): Test for "inexact" exceptions.
18075 (logb_test_data): Likewise.
18076 (logb_downward_test_data): Likewise.
18077 (nextafter_test_data): Likewise.
18078 (nexttoward_test_data): Likewise.
18079 (remainder_test_data): Likewise.
18080 (remquo_test_data): Likewise.
18081 (scalbn_test_data): Likewise.
18082 (scalbln_test_data): Likewise.
18083 (signbit_test_data): Likewise.
18084 (sqrt_test_data): Likewise.
18085 (significand_test_data): Likewise.
18087 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18090 * benchtests/bench-modf.c (struct args): Mark arg0 as
18092 * scripts/bench.pl: Mark members of struct args as volatile.
18094 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18097 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18098 negative infinity on POWER6 or lower.
18099 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18101 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18104 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18105 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18106 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18107 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18108 (_FP_SETQNAN): New macro.
18109 (_FP_SETQNAN_SEMIRAW): Likewise.
18110 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18111 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18112 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18113 (FP_EXTEND): Use _FP_FRAC_SNANP.
18114 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18115 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18117 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18119 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18122 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18124 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18125 with DIVIDE_BY_ZERO_EXCEPTION.
18126 (gamma_test_data): Likewise.
18127 (lgamma_test_data): Likewise.
18128 (log_test_data): Likewise.
18129 (log10_test_data): Likewise.
18130 (log2_test_data): Likewise.
18131 (tgamma_test_data): Likewise.
18133 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18134 (acos_test_tonearest): Likewise.
18135 (acos_test_towardzero): Likewise.
18136 (acos_test_downward): Likewise.
18137 (acos_test_upward): Likewise.
18138 (acosh_test): Likewise.
18139 (asin_test): Likewise.
18140 (asin_test_tonearest): Likewise.
18141 (asin_test_towardzero): Likewise.
18142 (asin_test_downward): Likewise.
18143 (asin_test_upward): Likewise.
18144 (asinh_test): Likewise.
18145 (atan_test): Likewise.
18146 (atanh_test): Likewise.
18147 (atan2_test): Likewise.
18148 (cabs_test): Likewise.
18149 (cacos_test): Likewise.
18150 (cacosh_test): Likewise.
18151 (casin_test): Likewise.
18152 (casinh_test): Likewise.
18153 (catan_test): Likewise.
18154 (catanh_test): Likewise.
18155 (cbrt_test): Likewise.
18156 (ccos_test): Likewise.
18157 (ccosh_test): Likewise.
18158 (cexp_test): Likewise.
18159 (clog_test): Likewise.
18160 (clog10_test): Likewise.
18161 (cos_test): Likewise.
18162 (cos_test_tonearest): Likewise.
18163 (cos_test_towardzero): Likewise.
18164 (cos_test_downward): Likewise.
18165 (cos_test_upward): Likewise.
18166 (cosh_test): Likewise.
18167 (cosh_test_tonearest): Likewise.
18168 (cosh_test_towardzero): Likewise.
18169 (cosh_test_downward): Likewise.
18170 (cosh_test_upward): Likewise.
18171 (cpow_test): Likewise.
18172 (csin_test): Likewise.
18173 (csinh_test): Likewise.
18174 (csqrt_test): Likewise.
18175 (ctan_test): Likewise.
18176 (ctan_test_tonearest): Likewise.
18177 (ctan_test_towardzero): Likewise.
18178 (ctan_test_downward): Likewise.
18179 (ctan_test_upward): Likewise.
18180 (ctanh_test): Likewise.
18181 (ctanh_test_tonearest): Likewise.
18182 (ctanh_test_towardzero): Likewise.
18183 (ctanh_test_downward): Likewise.
18184 (ctanh_test_upward): Likewise.
18185 (erf_test): Likewise.
18186 (erfc_test): Likewise.
18187 (exp_test): Likewise.
18188 (exp_test_tonearest): Likewise.
18189 (exp_test_towardzero): Likewise.
18190 (exp_test_downward): Likewise.
18191 (exp_test_upward): Likewise.
18192 (exp10_test): Likewise.
18193 (exp2_test): Likewise.
18194 (expm1_test): Likewise.
18195 (fmod_test): Likewise.
18196 (gamma_test): Likewise.
18197 (hypot_test): Likewise.
18198 (j0_test): Likewise.
18199 (j1_test): Likewise.
18200 (jn_test): Likewise.
18201 (lgamma_test): Likewise.
18202 (log_test): Likewise.
18203 (log10_test): Likewise.
18204 (log1p_test): Likewise.
18205 (log2_test): Likewise.
18206 (logb_test_downward): Likewise.
18207 (pow_test): Likewise.
18208 (pow_test_tonearest): Likewise.
18209 (pow_test_towardzero): Likewise.
18210 (pow_test_downward): Likewise.
18211 (pow_test_upward): Likewise.
18212 (remainder_test): Likewise.
18213 (remquo_test): Likewise.
18214 (sin_test): Likewise.
18215 (sin_test_tonearest): Likewise.
18216 (sin_test_towardzero): Likewise.
18217 (sin_test_downward): Likewise.
18218 (sin_test_upward): Likewise.
18219 (sincos_test): Likewise.
18220 (sinh_test): Likewise.
18221 (sinh_test_tonearest): Likewise.
18222 (sinh_test_towardzero): Likewise.
18223 (sinh_test_downward): Likewise.
18224 (sinh_test_upward): Likewise.
18225 (sqrt_test): Likewise.
18226 (tan_test): Likewise.
18227 (tan_test_tonearest): Likewise.
18228 (tan_test_towardzero): Likewise.
18229 (tan_test_downward): Likewise.
18230 (tan_test_upward): Likewise.
18231 (tanh_test): Likewise.
18232 (tgamma_test): Likewise.
18233 (y0_test): Likewise.
18234 (y1_test): Likewise.
18235 (yn_test): Likewise.
18237 * math/gen-libm-test.pl (adjust_arg): Remove function.
18238 (special_function): Remove argument $in_func. Only handle
18239 generating output for tables of tests, not inside functions.
18240 (parse_args): Likewise.
18241 (generate_testfile): Remove variable $in_func. Update call to
18243 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18244 (MINUS_ZERO_INIT): Rename macro to minus_zero.
18245 (PLUS_INFTY_INIT): Rename macro to plus_infty.
18246 (MINUS_INFTY_INIT): Rename macro to minus_infty.
18247 (QNAN_VALUE_INIT): Rename macro to qnan_value.
18248 (MAX_VALUE_INIT): Rename macro to max_value.
18249 (MIN_VALUE_INIT): Rename macro to min_value.
18250 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18251 (plus_zero): Remove variable.
18252 (minus_zero): Likewise.
18253 (plus_infty): Likewise.
18254 (minus_infty): Likewise.
18255 (qnan_value): Likewise.
18256 (max_value): Likewise.
18257 (min_value): Likewise.
18258 (min_subnorm_value): Likewise.
18260 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18262 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18263 uint64_t or uint32_t usage.
18264 * crypt/sha256-block.c: Likewise.
18265 * crypt/sha256-crypt.c: Likewise.
18266 * crypt/sha256.c: Likewise.
18267 * crypt/sha512-block.c: Likewise.
18268 * crypt/sha512-crypt.c: Likewise.
18269 * crypt/sha512.c: Likewise.
18270 * debug/backtrace-tst.c: Likewise.
18271 * debug/pcprofiledump.c: Likewise.
18272 * elf/cache.c: Likewise.
18273 * elf/dl-cache.c: Likewise.
18274 * elf/dl-misc.c: Likewise.
18275 * elf/dl-profile.c: Likewise.
18276 * elf/dl-support.c: Likewise.
18277 * elf/ldconfig.c: Likewise.
18278 * elf/sprof.c: Likewise.
18279 * iconv/dummy-repertoire.c: Likewise.
18280 * iconv/iconv_charmap.c: Likewise.
18281 * iconv/skeleton.c: Likewise.
18282 * iconvdata/8bit-generic.c: Likewise.
18283 * iconvdata/cp737.h: Likewise.
18284 * iconvdata/cp775.h: Likewise.
18285 * iconvdata/ibm1008.h: Likewise.
18286 * iconvdata/ibm1025.h: Likewise.
18287 * iconvdata/ibm1046.h: Likewise.
18288 * iconvdata/ibm1097.h: Likewise.
18289 * iconvdata/ibm1112.h: Likewise.
18290 * iconvdata/ibm1122.h: Likewise.
18291 * iconvdata/ibm1123.h: Likewise.
18292 * iconvdata/ibm1124.h: Likewise.
18293 * iconvdata/ibm1129.h: Likewise.
18294 * iconvdata/ibm1130.h: Likewise.
18295 * iconvdata/ibm1132.h: Likewise.
18296 * iconvdata/ibm1133.h: Likewise.
18297 * iconvdata/ibm1137.h: Likewise.
18298 * iconvdata/ibm1140.h: Likewise.
18299 * iconvdata/ibm1141.h: Likewise.
18300 * iconvdata/ibm1142.h: Likewise.
18301 * iconvdata/ibm1143.h: Likewise.
18302 * iconvdata/ibm1144.h: Likewise.
18303 * iconvdata/ibm1145.h: Likewise.
18304 * iconvdata/ibm1146.h: Likewise.
18305 * iconvdata/ibm1147.h: Likewise.
18306 * iconvdata/ibm1148.h: Likewise.
18307 * iconvdata/ibm1149.h: Likewise.
18308 * iconvdata/ibm1153.h: Likewise.
18309 * iconvdata/ibm1154.h: Likewise.
18310 * iconvdata/ibm1155.h: Likewise.
18311 * iconvdata/ibm1156.h: Likewise.
18312 * iconvdata/ibm1157.h: Likewise.
18313 * iconvdata/ibm1158.h: Likewise.
18314 * iconvdata/ibm1160.h: Likewise.
18315 * iconvdata/ibm1161.h: Likewise.
18316 * iconvdata/ibm1162.h: Likewise.
18317 * iconvdata/ibm1163.h: Likewise.
18318 * iconvdata/ibm1164.h: Likewise.
18319 * iconvdata/ibm1166.h: Likewise.
18320 * iconvdata/ibm1167.h: Likewise.
18321 * iconvdata/ibm12712.h: Likewise.
18322 * iconvdata/ibm1390.h: Likewise.
18323 * iconvdata/ibm1399.h: Likewise.
18324 * iconvdata/ibm16804.h: Likewise.
18325 * iconvdata/ibm4517.h: Likewise.
18326 * iconvdata/ibm4899.h: Likewise.
18327 * iconvdata/ibm4909.h: Likewise.
18328 * iconvdata/ibm4971.h: Likewise.
18329 * iconvdata/ibm5347.h: Likewise.
18330 * iconvdata/ibm803.h: Likewise.
18331 * iconvdata/ibm856.h: Likewise.
18332 * iconvdata/ibm901.h: Likewise.
18333 * iconvdata/ibm902.h: Likewise.
18334 * iconvdata/ibm9030.h: Likewise.
18335 * iconvdata/ibm9066.h: Likewise.
18336 * iconvdata/ibm921.h: Likewise.
18337 * iconvdata/ibm922.h: Likewise.
18338 * iconvdata/ibm9448.h: Likewise.
18339 * iconvdata/isiri-3342.h: Likewise.
18340 * iconvdata/jis0201.h: Likewise.
18341 * include/link.h: Likewise.
18342 * include/netdb.h: Likewise.
18343 * inet/check_native.c: Likewise.
18344 * inet/check_pf.c: Likewise.
18345 * inet/getipv4sourcefilter.c: Likewise.
18346 * inet/getnameinfo.c: Likewise.
18347 * inet/getsourcefilter.c: Likewise.
18348 * inet/htonl.c: Likewise.
18349 * inet/setipv4sourcefilter.c: Likewise.
18350 * inet/setsourcefilter.c: Likewise.
18351 * inet/test-inet6_opt.c: Likewise.
18352 * inet/tst-network.c: Likewise.
18353 * locale/C-collate.c: Likewise.
18354 * locale/C-ctype.c: Likewise.
18355 * locale/C-time.c: Likewise.
18356 * locale/C-translit.h: Likewise.
18357 * locale/loadarchive.c: Likewise.
18358 * locale/programs/3level.h: Likewise.
18359 * locale/programs/charmap.c: Likewise.
18360 * locale/programs/charmap.h: Likewise.
18361 * locale/programs/ld-address.c: Likewise.
18362 * locale/programs/ld-collate.c: Likewise.
18363 * locale/programs/ld-ctype.c: Likewise.
18364 * locale/programs/ld-identification.c: Likewise.
18365 * locale/programs/ld-measurement.c: Likewise.
18366 * locale/programs/ld-messages.c: Likewise.
18367 * locale/programs/ld-monetary.c: Likewise.
18368 * locale/programs/ld-name.c: Likewise.
18369 * locale/programs/ld-numeric.c: Likewise.
18370 * locale/programs/ld-paper.c: Likewise.
18371 * locale/programs/ld-telephone.c: Likewise.
18372 * locale/programs/ld-time.c: Likewise.
18373 * locale/programs/linereader.c: Likewise.
18374 * locale/programs/locale.c: Likewise.
18375 * locale/programs/locarchive.c: Likewise.
18376 * locale/programs/locfile.h: Likewise.
18377 * locale/programs/repertoire.c: Likewise.
18378 * locale/programs/simple-hash.c: Likewise.
18379 * locale/programs/simple-hash.h: Likewise.
18380 * malloc/memusage.c: Likewise.
18381 * malloc/memusagestat.c: Likewise.
18382 * nis/nis_defaults.c: Likewise.
18383 * nis/nis_hash.c: Likewise.
18384 * nis/nis_print.c: Likewise.
18385 * nis/nis_xdr.c: Likewise.
18386 * nscd/connections.c: Likewise.
18387 * nscd/hstcache.c: Likewise.
18388 * nscd/nscd_gethst_r.c: Likewise.
18389 * nscd/nscd_getserv_r.c: Likewise.
18390 * nscd/nscd_helper.c: Likewise.
18391 * nscd/servicescache.c: Likewise.
18392 * nss/makedb.c: Likewise.
18393 * nss/nss_db/db-XXX.c: Likewise.
18394 * nss/nss_db/db-initgroups.c: Likewise.
18395 * nss/nss_db/db-netgrp.c: Likewise.
18396 * nss/nss_files/files-network.c: Likewise.
18397 * nss/nss_files/files-parse.c: Likewise.
18398 * posix/bug-regex5.c: Likewise.
18399 * posix/fnmatch_loop.c: Likewise.
18400 * posix/regcomp.c: Likewise.
18401 * posix/regexec.c: Likewise.
18402 * posix/tst-rfc3484-2.c: Likewise.
18403 * posix/tst-rfc3484-3.c: Likewise.
18404 * posix/tst-rfc3484.c: Likewise.
18405 * resolv/nss_dns/dns-canon.c: Likewise.
18406 * resolv/nss_dns/dns-network.c: Likewise.
18407 * resolv/res_init.c: Likewise.
18408 * resolv/res_mkquery.c: Likewise.
18409 * resolv/tst-aton.c: Likewise.
18410 * stdlib/cxa_atexit.c: Likewise.
18411 * stdlib/cxa_finalize.c: Likewise.
18412 * stdlib/gen-fpioconst.c: Likewise.
18413 * stdlib/strtol_l.c: Likewise.
18414 * string/tst-endian.c: Likewise.
18415 * sunrpc/auth_des.c: Likewise.
18416 * sunrpc/clnt_udp.c: Likewise.
18417 * sunrpc/rtime.c: Likewise.
18418 * sunrpc/svcauth_des.c: Likewise.
18419 * sunrpc/xdr.c: Likewise.
18420 * sunrpc/xdr_intXX_t.c: Likewise.
18421 * sunrpc/xdr_rec.c: Likewise.
18422 * sysdeps/generic/ldconfig.h: Likewise.
18423 * sysdeps/generic/ldsodefs.h: Likewise.
18424 * sysdeps/generic/memusage.h: Likewise.
18425 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18426 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18427 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18428 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18429 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18430 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18431 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18432 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18433 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18434 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18435 * sysdeps/posix/getaddrinfo.c: Likewise.
18436 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18437 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18438 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18439 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18440 * sysdeps/powerpc/test-gettimebase.c: Likewise.
18441 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18442 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18443 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18444 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18445 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18446 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18447 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18448 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18449 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18450 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18451 * sysdeps/x86_64/dl-tls.h: Likewise.
18452 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18453 * time/alt_digit.c: Likewise.
18454 * time/era.c: Likewise.
18455 * wcsmbs/tst-c16c32-1.c: Likewise.
18457 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18459 * math/libm-test.inc (struct test_sincos_data): New type.
18460 (RUN_TEST_LOOP_sincos): New macro.
18461 (sincos_test_data): New variable.
18462 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18464 2013-05-16 Richard Henderson <rth@redhat.com>
18466 * math/atest-exp2.c (LIMB64): New macro.
18467 (CONSTSZ): New macro.
18468 (mp_exp1, mp_exp_m1, mp_log2): New variables.
18470 (print_mpn_fp): ... to function scope.
18471 (read_mpn_hex): Remove.
18472 (get_log2): Remove.
18473 (exp2_mpn): Use mp_log2.
18474 (main): Use mp_exp1.
18476 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18478 * math/libm-test.inc: Remove comment about not testing "inexact"
18480 (INEXACT_EXCEPTION): New macro.
18481 (NO_INEXACT_EXCEPTION): Likewise.
18482 (INVALID_EXCEPTION_OK): Update value.
18483 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18484 (OVERFLOW_EXCEPTION_OK): Likewise.
18485 (UNDERFLOW_EXCEPTION_OK): Likewise.
18486 (IGNORE_ZERO_INF_SIGN): Likewise.
18487 (ERRNO_UNCHANGED): Likewise.
18488 (ERRNO_EDOM): Likewise.
18489 (ERRNO_ERANGE): Likewise.
18490 (test_exceptions): Handle testing "inexact" exceptions.
18491 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18492 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18493 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18494 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18496 (rint_towardzero_test_data): Likewise.
18497 (rint_downward_test_data): Likewise.
18498 (rint_upward_test_data): Likewise.
18500 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18501 with OVERFLOW_EXCEPTION.
18502 (exp10_test_data): Likewise.
18503 (exp2_test_data): Likewise.
18504 (expm1_test_data): Likewise.
18505 (lgamma_test_data): Likewise.
18506 (pow_test_data): Likewise.
18507 (tgamma_test_data): Likewise.
18508 (yn_test_data): Remove duplicate test of overflow.
18510 * math/libm-test.inc (struct test_cc_c_data): New type.
18511 (RUN_TEST_LOOP_cc_c): New macro.
18512 (cpow_test_data): New variable.
18513 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18515 * math/libm-test.inc (struct test_f_L_data): New type.
18516 (RUN_TEST_LOOP_f_L): New macro.
18517 (llrint_test_data): New variable.
18518 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18519 (llrint_tonearest_test_data): New variable.
18520 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18521 (llrint_towardzero_test_data): New variable.
18522 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18523 (llrint_downward_test_data): New variable.
18524 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18525 (llrint_upward_test_data): New variable.
18526 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18527 (llround_test_data): New variable.
18528 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18530 2013-05-13 Peter Collingbourne <pcc@google.com>
18532 * math/atest-exp2.c (get_log2): Remove const attribute.
18534 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18536 * math/libm-test.inc (struct test_f_l_data): New type.
18537 (RUN_TEST_LOOP_f_l): New macro.
18538 (lrint_test_data): New variable.
18539 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18540 (lrint_tonearest_test_data): New variable.
18541 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18542 (lrint_towardzero_test_data): New variable.
18543 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18544 (lrint_downward_test_data): New variable.
18545 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18546 (lrint_upward_test_data): New variable.
18547 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18548 (lround_test_data): New variable.
18549 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18551 2013-05-15 Peter Collingbourne <pcc@google.com>
18553 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18554 (EXTRACT_WORDS64) Use where appropriate.
18555 (INSERT_WORDS64) Likewise.
18557 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18558 constraints with x constraints.
18559 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18561 * malloc/obstack.c (_obstack_compat): Add initializer.
18563 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
18565 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18566 si_trapno and add si_addr_lsb to _sifields.sigfault.
18567 (si_trapno): Remove macro.
18568 (si_addr_lsb): Define new macro.
18569 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18571 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18573 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18574 instead of TEST_f_l.
18575 (llrint_test_tonearest): Likewise.
18576 (llrint_test_towardzero): Likewise.
18577 (llrint_test_downward): Likewise.
18578 (llrint_test_upward): Likewise.
18579 (llround_test): Likewise.
18581 * math/libm-test.inc (struct test_f_i_data): Add comment.
18582 (RUN_TEST_LOOP_f_b): New macro.
18583 (RUN_TEST_LOOP_f_b_tg): Likewise.
18584 (finite_test_data): New variable.
18585 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18586 (isfinite_test_data): New variable.
18587 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18588 (isinf_test_data): New variable.
18589 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18590 (isnan_test_data): New variable.
18591 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18592 (isnormal_test_data): New variable.
18593 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18594 (issignaling_test_data): New variable.
18595 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18596 (signbit_test_data): New variable.
18597 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18599 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18600 with INVALID_EXCEPTION.
18601 (acosh_test_data): Likewise.
18602 (asin_test_data): Likewise.
18603 (atanh_test_data): Likewise.
18604 (fmod_test_data): Likewise.
18605 (log_test_data): Likewise.
18606 (log10_test_data): Likewise.
18607 (log2_test_data): Likewise.
18608 (pow_test_data): Likewise.
18609 (sqrt_test_data): Likewise.
18610 (y0_test_data): Likewise.
18611 (y1_test_data): Likewise.
18612 (yn_test_data): Likewise.
18614 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18617 * math/libm-test.inc (struct test_ff_i_data): New type.
18618 (RUN_TEST_LOOP_ff_i_tg): New macro.
18619 (isgreater_test_data): New variable.
18620 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18621 (isgreaterequal_test_data): New variable.
18622 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18623 (isless_test_data): New variable.
18624 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18625 (islessequal_test_data): New variable.
18626 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18627 (islessgreater_test_data): New variable.
18628 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18629 (isunordered_test_data): New variable.
18630 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18632 2013-05-14 David S. Miller <davem@davemloft.net>
18634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18636 2013-05-14 Joseph Myers <joseph@codesourcery.com>
18638 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18640 * math/libm-test.inc (struct test_fF_f1_data): Change type of
18642 (struct test_f_i_data): Change type of max_ulp to int.
18644 * math/libm-test.inc (test_ffI_f1_data): New type.
18645 (RUN_TEST_LOOP_ffI_f1): New macro.
18646 (remquo_test_data): New variable.
18647 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18649 * setjmp/tst-setjmp-fp.c: New file.
18650 * setjmp/Makefile (tests): Add tst-setjmp-fp.
18651 (link-libm): New variable.
18652 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18654 * math/libm-test.inc (struct test_f_i_data): New type.
18655 (RUN_TEST_LOOP_f_i): New macro.
18656 (RUN_TEST_LOOP_f_i_tg): Likewise.
18657 (fpclassify_test_data): New variable.
18658 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18659 (ilogb_test_data): New variable.
18660 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18662 * math/libm-test.inc (scalbln_test): Correct function name in END
18665 * math/libm-test.inc (struct test_f_f1_data): Add comment.
18666 (RUN_TEST_LOOP_fI_f1): New macro.
18667 (frexp_test_data): New variable.
18668 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18670 * math/libm-test.inc (struct test_fF_f1_data): New type.
18671 (RUN_TEST_LOOP_fF_f1): New macro.
18672 (modf_test_data): New variable.
18673 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18675 * math/libm-test.inc (struct test_f_f1_data): New type.
18676 (RUN_TEST_LOOP_f_f1): New macro.
18677 (gamma_test_data): New variable.
18678 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18679 (lgamma_test_data): New variable.
18680 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18682 2013-05-13 Carlos O'Donell <carlos@redhat.com>
18684 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18685 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18686 (main): Comment "tls" pseudo-hwcap.
18688 2013-05-13 Joseph Myers <joseph@codesourcery.com>
18690 * math/libm-test.inc (struct test_fl_f_data): New type.
18691 (RUN_TEST_LOOP_fl_f): New variable.
18692 (scalbln_test_data): New variable.
18693 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18695 * math/libm-test.inc (struct test_fi_f_data): New type.
18696 (RUN_TEST_LOOP_fi_f): New macro.
18697 (ldexp_test_data): New variable.
18698 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18699 (scalbn_test_data): New variable.
18700 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18702 * math/libm-test.inc (struct test_c_f_data): New type.
18703 (RUN_TEST_LOOP_c_f): New macro.
18704 (cabs_test_data): New variable.
18705 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18706 (carg_test_data): New variable.
18707 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18708 (cimag_test_data): New variable.
18709 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18710 (creal_test_data): New variable.
18711 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18713 * math/libm-test.inc (struct test_if_f_data): New type.
18714 (RUN_TEST_LOOP_if_f): New macro.
18715 (jn_test_data): New variable.
18716 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18717 (yn_test_data): New variable.
18718 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18720 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18722 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18724 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18725 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18727 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18729 * benchtests/Makefile (CPPFLAGS-nonlib): Add
18730 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18731 (bench-deps): Add bench-timing.h.
18732 * benchtests-bench-skeleton.c: Include bench-timing.h.
18733 (main): Use TIMING_* macros instead of clock_gettime.
18734 * benchtests/bench-timing.h: New file.
18737 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
18738 Renamed from _LIB_VERSION.
18739 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
18741 2013-05-12 Joseph Myers <joseph@codesourcery.com>
18743 * math/libm-test.inc (struct test_fff_f_data): New type.
18744 (RUN_TEST_LOOP_fff_f): New macro.
18745 (fma_test_data): New variable.
18746 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
18747 (fma_towardzero_test_data): New variable.
18748 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
18749 (fma_downward_test_data): New variable.
18750 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18751 (fma_upward_test_data): New variable.
18752 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
18754 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
18755 (struct test_c_c_data): New type.
18756 (RUN_TEST_LOOP_c_c): New macro.
18757 (cacos_test_data): New variable.
18758 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
18759 (cacosh_test_data): New variable.
18760 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
18761 (casin_test_data): New variable.
18762 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
18763 (casinh_test_data): New variable.
18764 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
18765 (catan_test_data): New variable.
18766 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
18767 (catanh_test_data): New variable.
18768 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
18769 (ccos_test_data): New variable.
18770 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
18771 (ccosh_test_data): New variable.
18772 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
18773 (cexp_test_data): New variable.
18774 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
18775 (clog_test_data): New variable.
18776 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
18777 (clog10_test_data): New variable.
18778 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
18779 (conj_test_data): New variable.
18780 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
18781 (cproj_test_data): New variable.
18782 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
18783 (csin_test_data): New variable.
18784 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
18785 (csinh_test_data): New variable.
18786 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
18787 (csqrt_test_data): New variable.
18788 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
18789 (ctan_test_data): New variable.
18790 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
18791 (ctan_tonearest_test_data): New variable.
18792 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18793 (ctan_towardzero_test_data): New variable.
18794 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18795 (ctan_downward_test_data): New variable.
18796 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18797 (ctan_upward_test_data): New variable.
18798 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18799 (ctanh_test_data): New variable.
18800 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
18801 (ctanh_tonearest_test_data): New variable.
18802 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18803 (ctanh_towardzero_test_data): New variable.
18804 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18805 (ctanh_downward_test_data): New variable.
18806 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18807 (ctanh_upward_test_data): New variable.
18808 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18809 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
18812 * math/libm-test.inc (struct test_ff_f_data): New type.
18813 (struct test_ff_f_data_nexttoward): Likewise.
18814 (RUN_TEST_LOOP_2_f): New macro.
18815 (RUN_TEST_LOOP_ff_f): Likewise.
18816 (atan2_test_data): New variable.
18817 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
18818 (copysign_test_data): New variable.
18819 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
18820 (fdim_test_data): New variable.
18821 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
18822 (fmax_test_data): New variable.
18823 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
18824 (fmin_test_data): New variable.
18825 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
18826 (fmod_test_data): New variable.
18827 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
18828 (hypot_test_data): New variable.
18829 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
18830 (nextafter_test_data): New variable.
18831 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
18832 (nexttoward_test_data): New variable.
18833 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
18834 (pow_test_data): New variable.
18835 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
18836 (pow_tonearest_test_data): New variable.
18837 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
18838 (pow_towardzero_test_data): New variable.
18839 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
18840 (pow_downward_test_data): New variable.
18841 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
18842 (pow_upward_test_data): New variable.
18843 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
18844 (remainder_test_data): New variable.
18845 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
18846 (scalb_test_data): New variable.
18847 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
18848 * sysdeps/i386/fpu/libm-test-ulps: Update.
18850 2013-05-11 Joseph Myers <joseph@codesourcery.com>
18852 * math/libm-test.inc (fma_test): Use max_value instead of local
18854 (nextafter_test): Likewise.
18856 * math/libm-test.inc (acos_towardzero_test_data): New variable.
18857 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18858 (acos_downward_test_data): New variable.
18859 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18860 (acos_upward_test_data): New variable.
18861 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18862 (acosh_test_data): New variable.
18863 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
18864 (asin_test_data): New variable.
18865 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
18866 (asin_tonearest_test_data): New variable.
18867 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18868 (asin_towardzero_test_data): New variable.
18869 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18870 (asin_downward_test_data): New variable.
18871 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18872 (asin_upward_test_data): New variable.
18873 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18874 (asinh_test_data): New variable.
18875 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
18876 (atan_test_data): New variable.
18877 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
18878 (atanh_test_data): New variable.
18879 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
18880 (cbrt_test_data): New variable.
18881 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
18882 (ceil_test_data): New variable.
18883 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
18884 (cos_test_data): New variable.
18885 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
18886 (cos_tonearest_test_data): New variable.
18887 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18888 (cos_towardzero_test_data): New variable.
18889 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18890 (cos_downward_test_data): New variable.
18891 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18892 (cos_upward_test_data): New variable.
18893 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18894 (cosh_test_data): New variable.
18895 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
18896 (cosh_tonearest_test_data): New variable.
18897 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18898 (cosh_towardzero_test_data): New variable.
18899 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18900 (cosh_downward_test_data): New variable.
18901 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18902 (cosh_upward_test_data): New variable.
18903 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18904 (erf_test_data): New variable.
18905 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
18906 (erfc_test_data): New variable.
18907 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
18908 (exp_test_data): New variable.
18909 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
18910 (exp_tonearest_test_data): New variable.
18911 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18912 (exp_towardzero_test_data): New variable.
18913 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18914 (exp_downward_test_data): New variable.
18915 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18916 (exp_upward_test_data): New variable.
18917 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18918 (exp10_test_data): New variable.
18919 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18920 (exp2_test_data): New variable.
18921 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18922 (expm1_test_data): New variable.
18923 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18924 (fabs_test_data): New variable.
18925 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18926 (floor_test_data): New variable.
18927 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18928 (j0_test_data): New variable.
18929 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18930 (j1_test_data): New variable.
18931 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18932 (log_test_data): New variable.
18933 (log_test): Run tests with RUN_TEST_LOOP_f_f.
18934 (log10_test_data): New variable.
18935 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18936 (log1p_test_data): New variable.
18937 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18938 (log2_test_data): New variable.
18939 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18940 (logb_test_data): New variable.
18941 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18942 (logb_downward_test_data): New variable.
18943 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18944 (nearbyint_test_data): New variable.
18945 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18946 (rint_test_data): New variable.
18947 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18948 (rint_tonearest_test_data): New variable.
18949 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18950 (rint_towardzero_test_data): New variable.
18951 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18952 (rint_downward_test_data): New variable.
18953 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18954 (rint_upward_test_data): New variable.
18955 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18956 (round_test_data): New variable.
18957 (round_test): Run tests with RUN_TEST_LOOP_f_f.
18958 (sin_test_data): New variable.
18959 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18960 (sin_tonearest_test_data): New variable.
18961 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18962 (sin_towardzero_test_data): New variable.
18963 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18964 (sin_downward_test_data): New variable.
18965 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18966 (sin_upward_test_data): New variable.
18967 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18968 (sinh_test_data): New variable.
18969 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18970 (sinh_tonearest_test_data): New variable.
18971 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18972 (sinh_towardzero_test_data): New variable.
18973 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18974 (sinh_downward_test_data): New variable.
18975 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18976 (sinh_upward_test_data): New variable.
18977 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18978 (sqrt_test_data): New variable.
18979 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18980 (tan_test_data): New variable.
18981 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18982 (tan_tonearest_test_data): New variable.
18983 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18984 (tan_towardzero_test_data): New variable.
18985 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18986 (tan_downward_test_data): New variable.
18987 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18988 (tan_upward_test_data): New variable.
18989 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18990 (tanh_test_data): New variable.
18991 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18992 (tgamma_test_data): New variable.
18993 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18994 (trunc_test_data): New variable.
18995 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18996 (y0_test_data): New variable.
18997 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18998 (y1_test_data): New variable.
18999 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19000 (significand_test_data): New variable.
19001 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19003 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19006 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19008 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19010 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19012 2013-05-10 Andreas Jaeger <aj@suse.de>
19015 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19016 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19018 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19020 * math/gen-libm-test.pl (adjust_arg): New function.
19021 (special_functions): Handle generating output in both functions
19023 (parse_args): Likewise.
19024 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19025 $in_func argument to parse_args.
19026 * math/libm-test.inc (struct test_f_f_data): New type.
19027 (IF_ROUND_INIT_): New macro.
19028 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19029 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19030 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19031 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19032 (ROUND_RESTORE_): Likewise.
19033 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19034 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19035 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19036 (ROUND_RESTORE_FE_UPWARD): Likewise.
19037 (RUN_TEST_LOOP_f_f): New macro.
19038 (acos_test_data): New variable.
19039 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19040 (acos_tonearest_test_data): New variable.
19041 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19043 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19045 * benchtests/bench-skeleton.c (startup): Fix coding style.
19047 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19050 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19051 negative infinity argument.
19052 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19053 negative infinity argument.
19054 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19055 negative infinity argument.
19056 * math/libm-test.inc (tgamma_test): Expect errno to be set for
19059 2013-05-10 Florian Weimer <fweimer@redhat.com>
19061 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19062 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19063 * iconv/iconv_prog.c (main): Likewise.
19064 * locale/programs/charmap-dir.c (charmap_readdir)
19065 (fopen_uncompressed): Likewise.
19066 * locale/programs/locfile.c (siblings_uncached)
19067 (write_locale_data): Use lstat64 instead of lstat.
19068 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19071 2013-05-10 Andreas Jaeger <aj@suse.de>
19074 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19076 Include <locale.h>.
19078 2013-05-09 Carlos O'Donell <carlos@redhat.com>
19080 * elf/dl-close.c (_dl_close_worker): Add comments.
19082 2013-05-09 Joseph Myers <joseph@codesourcery.com>
19085 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19087 (__ieee754_rem_pio2l): Update comments.
19090 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19092 (__ieee754_rem_pio2l): Update comments.
19094 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19095 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19097 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19100 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19101 (M_PI_34_LOG10El): Likewise.
19102 (M_PI2_LOG10El): Likewise.
19103 (M_PI4_LOG10El): Likewise.
19104 (M_PI_LOG10El): Likewise.
19106 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19110 2013-05-08 Joseph Myers <joseph@codesourcery.com>
19112 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19113 (MINUS_ZERO_INIT): Likewise.
19114 (PLUS_INFTY_INIT): Likewise.
19115 (MINUS_INFTY_INIT): Likewise.
19116 (QNAN_VALUE_INIT): Likewise.
19117 (MAX_VALUE_INIT): Likewise.
19118 (MIN_VALUE_INIT): Likewise.
19119 (MIN_SUBNORM_VALUE_INIT): Likewise.
19120 (plus_zero): Initialize with PLUS_ZERO_INIT.
19121 (minus_zero): Initialize with MINUS_ZERO_INIT.
19122 (plus_infty): Initialize with PLUS_INFTY_INIT.
19123 (minus_infty): Initialize with MINUS_INFTY_INIT.
19124 (qnan_value): Initialize with QNAN_VALUE_INIT.
19125 (max_value): Initialize with MAX_VALUE_INIT.
19126 (min_value): Initialize with MIN_VALUE_INIT.
19127 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19129 * math/libm-test.inc (RUN_TEST_if_f): New macro.
19130 (jn_test): Use TEST_if_f instead of TEST_ff_f.
19131 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19132 (yn_test): Use TEST_if_f instead of TEST_ff_f.
19134 * math/libm-test.inc (RUN_TEST_f_f): New macro.
19135 (RUN_TEST_2_f): Likewise.
19136 (RUN_TEST_ff_f): Likewise.
19137 (RUN_TEST_fi_f): Likewise.
19138 (RUN_TEST_fl_f): Likewise.
19139 (RUN_TEST_fff_f): Likewise.
19140 (RUN_TEST_c_f): Likewise.
19141 (RUN_TEST_f_f1): Likewise.
19142 (RUN_TEST_fF_f1): Likewise.
19143 (RUN_TEST_fI_f1): Likewise.
19144 (RUN_TEST_ffI_f1): Likewise.
19145 (RUN_TEST_c_c): Likewise.
19146 (RUN_TEST_cc_c): Likewise.
19147 (RUN_TEST_f_i): Likewise.
19148 (RUN_TEST_f_i_tg): Likewise.
19149 (RUN_TEST_ff_i_tg): Likewise.
19150 (RUN_TEST_f_b): Likewise.
19151 (RUN_TEST_f_b_tg): Likewise.
19152 (RUN_TEST_f_l): Likewise.
19153 (RUN_TEST_f_L): Likewise.
19154 (RUN_TEST_sincos): Likewise.
19155 * math/gen-libm-test.pl (new_test): Take new argument to indicate
19156 whether to show exceptions. Do not include ");\n" in return
19158 (special_functions): Output call to RUN_TEST_sincos instead of
19159 check_float calls. Update calls to new_test.
19160 (parse_args): Output call to single RUN_TEST_* macro instead of
19161 check_* calls and other assignments. Update calls to new_test.
19167 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19168 input to result for tgamma overflow.
19169 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19170 (gamma_coeff): New variable.
19171 (NCOEFF): New macro.
19172 (gamma_positive): New function.
19173 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19174 underflow here. Use gamma_positive instead of exp (lgamma) for
19176 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19177 (gamma_coeff): New variable.
19178 (NCOEFF): New macro.
19179 (gammaf_positive): New function.
19180 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19181 underflow here. Use gamma_positive instead of exp (lgamma) for
19183 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19184 (gamma_coeff): New variable.
19185 (NCOEFF): New macro.
19186 (gammal_positive): New function.
19187 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19188 underflow here. Use gamma_positive instead of exp (lgamma) for
19190 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19191 (gamma_coeff): New variable.
19192 (NCOEFF): New macro.
19193 (gammal_positive): New function.
19194 (__ieee754_gammal_r): Handle positive infinity, overflow and
19195 underflow here. Handle NaN the same as positive infinity. Remove
19196 check x < 0xffffffff for negative integers. Use gamma_positive
19197 instead of exp (lgamma) for other arguments.
19198 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19199 (gamma_coeff): New variable.
19200 (NCOEFF): New macro.
19201 (gammal_positive): New function.
19202 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19203 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19204 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19205 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19206 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19207 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19208 * sysdeps/generic/math_private.h (__gamma_productf): New
19210 (__gamma_product): Likewise.
19211 (__gamma_productl): Likewise.
19212 * math/Makefile (libm-calls): Add gamma_product.
19213 * math/libm-test.inc (tgamma_test): Add more tests.
19214 * sysdeps/i386/fpu/libm-test-ulps: Update.
19215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19217 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
19219 * benchtests/bench-skeleton.c (main): Preheat CPU.
19221 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
19223 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19225 2013-05-07 Roland McGrath <roland@hack.frob.com>
19227 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19228 and _dl_skip_args_internal.
19230 2013-05-07 Carlos O'Donell <carlos@redhat.com>
19232 * manual/message.texi (Message Translation): Talk about users.
19233 Message to key mapping impacts design.
19235 2013-05-06 Roland McGrath <roland@hack.frob.com>
19237 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19239 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19241 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19242 * sysdeps/wordsize-64/glob64.c: ... here.
19244 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19245 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19248 * debug/getlogin_r_chk.c: Moved to ...
19249 * login/getlogin_r_chk.c: ... here.
19250 * debug/Makefile (routines): Move getlogin_r_chk to ...
19251 * login/Makefile (routines): ... here.
19252 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19253 * login/Versions (libc: GLIBC_2.4): ... here.
19255 * io/poll.c (__poll): Renamed from poll.
19256 Add libc_hidden_def.
19257 (poll): Define as weak alias.
19259 * debug/ptsname_r_chk.c: Moved to ...
19260 * login/ptsname_r_chk.c: ... here.
19261 * debug/Makefile (routines): Move ptsname_r_chk to ...
19262 * login/Makefile (routines): ... here.
19263 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19264 * login/Versions (libc: GLIBC_2.4): ... here.
19266 * posix/getlogin.c: Moved to ...
19267 * login/getlogin.c: ... here.
19268 * posix/getlogin_r.c: Moved to ...
19269 * login/getlogin_r.c: ... here.
19270 * posix/getlogin_r.c: Moved to ...
19271 * login/getlogin_r.c: ... here.
19272 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19273 * login/Makefile (routines): ... here.
19274 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19275 * login/Versions (libc: GLIBC_2.0): ... here.
19277 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19278 (setrlimit): Define as weak alias.
19280 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19281 Call __ names for open, ftruncate, and close.
19282 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19283 (truncate): Define as weak alias.
19285 2013-05-06 Joseph Myers <joseph@codesourcery.com>
19287 * math/gen-libm-test.pl (parse_args): Initialize x before each
19288 test of frexp, modf and remquo.
19290 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19291 test signgam value.
19293 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19297 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19299 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19301 2013-05-06 Roland McGrath <roland@hack.frob.com>
19303 * elf/dl-writev.h: New file.
19304 * elf/dl-misc.c: Include it.
19305 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19306 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19308 2013-05-04 Joseph Myers <joseph@codesourcery.com>
19310 * math/libm-test.inc (noXFails): Remove variable.
19311 (noXPasses): Likewise.
19312 (BUILD_COMPLEX_INT): Remove macro.
19313 (print_screen): Remove xfail argument.
19314 (print_screen_max_error): Likewise.
19315 (update_stats): Likewise.
19316 (print_max_error): Likewise. Update calls to other affected
19318 (print_complex_max_error): Likewise.
19319 (test_single_exception): Update calls to print_screen.
19320 (test_single_errno): Likewise.
19321 (check_float_internal): Remove xfail argument. Update calls to
19322 other affected functions.
19323 (check_float): Likewise.
19324 (check_complex): Likewise.
19325 (check_int): Likewise.
19326 (check_long): Likewise.
19327 (check_bool): Likewise.
19328 (check_longlong): Likewise.
19329 (main): Don't print noXFails and noXPasses.
19330 * math/gen-libm-test.pl (top level): Don't mention expected
19331 failure handling in comment.
19332 (new_test): Don't handle expected failures.
19333 (parse_args): Don't mention expected failure handling in comment.
19334 (generate_testfile): Don't handle expected failures.
19335 (parse_ulps): Likewise.
19336 (print_ulps_file): Likewise.
19337 (get_failure): Remove function.
19338 (output_test): Don't handle expected failures.
19339 * make/README.libm-test: Don't mention expected failure handling.
19341 * math/libm-test.inc (plus_zero): Make const. Add initializer.
19342 (minus_zero): Likewise.
19343 (plus_infty): Likewise.
19344 (minus_infty): Likewise.
19345 (qnan_value): Likewise.
19346 (max_value): Likewise.
19347 (min_value): Likewise.
19348 (min_subnorm_value): Likewise.
19349 (initialize): Do not initialize those variables dynamically.
19351 2013-05-03 Roland McGrath <roland@hack.frob.com>
19353 * io/open.c (__open_2): Moved to ...
19354 * io/open_2.c: ... this new file.
19355 * io/open64.c (__open64_2): Moved to ...
19356 * io/open64_2.c: ... this new file.
19357 * io/openat.c (__openat_2): Moved to ...
19358 * io/openat_2.c: ... this new file.
19359 * io/openat64.c (__openat64_2): Moved to ...
19360 * io/openat64_2.c: ... this new file.
19361 * io/Makefile (routines): Add them.
19362 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19363 * sysdeps/unix/sysv/linux/open_2.c: File removed.
19364 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19365 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19366 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19367 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19368 (__openat64): Add hidden_ver.
19369 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19370 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19372 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19373 Separately conditionalize setting of GLRO(dl_sysinfo) so
19374 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19375 as well, but the actual setting is only under [NEED_DL_SYSINFO].
19377 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19379 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19380 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19382 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19383 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19384 (_libc_vdso_platform_setup): Add __vdso_time initialization.
19385 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19386 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19388 2013-05-03 Joseph Myers <joseph@codesourcery.com>
19390 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19391 test signgam value.
19393 * math/libm-test.inc (hypot_test): Do not use
19394 IGNORE_ZERO_INF_SIGN.
19396 2013-05-03 Andreas Jaeger <aj@suse.de>
19398 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19400 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19401 (PF_MAX): Adjust for VSOCK change.
19403 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19407 2013-05-02 Carlos O'Donell <carlos@redhat.com>
19410 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19411 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19412 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19414 2013-05-02 David S. Miller <davem@davemloft.net>
19416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19418 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
19420 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19422 2013-05-01 Roland McGrath <roland@hack.frob.com>
19424 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19426 2013-05-01 Richard Smith <richard@metafoo.co.uk>
19429 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19430 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19431 Use __attribute__ ((__gnu_inline__)).
19432 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19433 Don't use __attribute__ ((__gnu_inline__)).
19435 2013-05-01 Joseph Myers <joseph@codesourcery.com>
19438 * math/s_catan.c (__catan): Handle small real or imaginary part of
19439 input specially to avoid spurious underflow.
19440 * math/s_catanf.c (__catanf): Likewise.
19441 * math/s_catanh.c (__catanh): Likewise.
19442 * math/s_catanhf.c (__catanhf): Likewise.
19443 * math/s_catanhl.c (__catanhl): Likewise.
19444 * math/s_catanl.c (__catanl): Likewise.
19445 * math/libm-test.inc (catan_test): Add more tests.
19446 (catanh_test): Likewise.
19447 * sysdeps/i386/fpu/libm-test-ulps: Update.
19448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19450 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19454 2013-04-30 Joseph Myers <joseph@codesourcery.com>
19457 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19458 accurately for denominator in atan2.
19459 * math/s_catanf.c (__catanf): Likewise.
19460 * math/s_catanh.c (__catanh): Likewise.
19461 * math/s_catanhf.c (__catanhf): Likewise.
19462 * math/s_catanhl.c (__catanhl): Likewise.
19463 * math/s_catanl.c (__catanl): Likewise.
19464 * math/libm-test.inc (catan_test): Add more tests.
19465 (catanh_test): Likewise.
19466 * sysdeps/i386/fpu/libm-test-ulps: Update.
19467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19469 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19471 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19473 * benchtests/Makefile (bench): Remove slow benchmarks.
19474 * benchtests/atan-inputs: Add slow benchmark inputs.
19475 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19476 (BENCH_FUNC): Accept variant offset.
19478 * benchtests/bench-skeleton.c (main): Run benchmark for each
19480 * benchtests/cos-inputs: Add slow benchmark inputs.
19481 * benchtests/exp-inputs: Likewise.
19482 * benchtests/pow-inputs: Likewise.
19483 * benchtests/sin-inputs: Likewise.
19484 * benchtests/slowatan-inputs: Remove.
19485 * benchtests/slowatan.c: Remove.
19486 * benchtests/slowcos-inputs: Remove.
19487 * benchtests/slowcos.c: Remove.
19488 * benchtests/slowexp-inputs: Remove.
19489 * benchtests/slowexp.c: Remove.
19490 * benchtests/slowpow-inputs: Remove.
19491 * benchtests/slowpow.c: Remove.
19492 * benchtests/slowsin-inputs: Remove.
19493 * benchtests/slowsin.c: Remove.
19494 * benchtests/slowtan-inputs: Remove.
19495 * benchtests/slowtan.c: Remove.
19496 * benchtests/tan-inputs: Add slow benchmark inputs.
19497 * scripts/bench.pl: Parse comments and directives.
19499 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
19501 ($(objpfx)bench-%.c): Remove *-ITER.
19502 * benchtests/bench-modf.c: Remove definition of ITER.
19503 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19504 (main): Loop for DURATION seconds instead of fixed number of
19506 * scripts/bench.pl: Don't expect iterations in parameters.
19508 2013-04-29 Roland McGrath <roland@hack.frob.com>
19510 * io/fchdir.c (__fchdir): Renamed from fchdir.
19511 (fchdir): Define as weak alias.
19513 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19515 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19516 (ERRNO_EDOM): Likewise.
19517 (ERRNO_ERANGE): Likewise.
19518 (noErrnoTests): New variable.
19519 (init_max_error): Set errno to 0.
19520 (test_single_errno): New function.
19521 (test_errno): Likewise.
19522 (check_float_internal): Call test_errno. Set errno to 0.
19523 (check_complex): Refer to errno tests in comment.
19524 (check_int): Call test_errno. Set errno to 0.
19525 (check_long): Likewise.
19526 (check_bool): Likewise.
19527 (check_longlong): Likewise.
19528 (cos_test): Use ERRNO_* flags for errno tests instead of
19530 (expm1_test): Likewise.
19531 (fmod_test): Likewise.
19532 (ilogb_test): Likewise.
19533 (lgamma_test): Likewise.
19534 (pow_test): Likewise.
19535 (remainder_test): Likewise.
19536 (sin_test): Likewise.
19537 (tan_test): Likewise.
19538 (yn_test): Likewise.
19539 (initialize): Set errno to 0.
19540 (main): Print number of errno tests.
19541 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19543 2013-04-29 Andreas Jaeger <aj@suse.de>
19546 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19550 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19551 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19555 * stdlib/random.c (__initstate): Return NULL if
19559 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19560 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19563 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19567 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19569 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19570 of individual tests.
19571 (casin_test): Likewise.
19572 (casinh_test): Likewise.
19574 2013-04-27 Joseph Myers <joseph@codesourcery.com>
19577 * math/s_catan.c (__catan): Handle arguments with large real or
19578 imaginary part separately without squaring.
19579 * math/s_catanf.c (__catanf): Likewise.
19580 * math/s_catanh.c (__catanh): Likewise.
19581 * math/s_catanhf.c (__catanhf): Likewise.
19582 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19584 (__catanhl): Handle arguments with large real or imaginary part
19585 separately without squaring.
19586 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19588 (__catanl): Handle arguments with large real or imaginary part
19589 separately without squaring.
19590 * math/libm-test.inc (catan_test): Add more tests.
19591 (catanh_test): Likewise.
19592 * sysdeps/i386/fpu/libm-test-ulps: Update.
19593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19595 2013-04-27 Andreas Jaeger <aj@suse.de>
19598 * stdlib/stdlib.h: Update guards for qecvt.
19599 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19602 2013-04-27 Allan McRae <allan@archlinux.org>
19604 * sysdeps/i386/fpu/libm-test-ulps: Update.
19606 2013-04-26 Joseph Myers <joseph@codesourcery.com>
19609 * math/s_catan.c: Include <float.h>.
19610 (__catan): Ensure underflow exception occurs for underflowed
19612 * math/s_catanf.c: Include <float.h>.
19613 (__catanf): Ensure underflow exception occurs for underflowed
19615 * math/s_catanh.c: Include <float.h>.
19616 (__catanh): Ensure underflow exception occurs for underflowed
19618 * math/s_catanhf.c: Include <float.h>.
19619 (__catanhf): Ensure underflow exception occurs for underflowed
19621 * math/s_catanhl.c: Include <float.h>.
19622 (__catanhl): Ensure underflow exception occurs for underflowed
19624 * math/s_catanl.c: Include <float.h>.
19625 (__catanl): Ensure underflow exception occurs for underflowed
19627 * math/libm-test.inc (catan_test): Add more tests.
19628 (catanh_test): Likewise.
19631 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19632 underflowed result.
19633 * math/s_ccoshf.c (__ccoshf): Likewise.
19634 * math/s_ccoshl.c (__ccoshl): Likewise.
19635 * math/s_csin.c (__csin): Likewise.
19636 * math/s_csinf.c (__csinf): Likewise.
19637 * math/s_csinh.c (__csinh): Likewise.
19638 * math/s_csinhf.c (__csinhf): Likewise.
19639 * math/s_csinhl.c (__csinhl): Likewise.
19640 * math/s_csinl.c (__csinl): Likewise.
19641 * math/libm-test.inc (ccos_test): Add more tests.
19642 (ccosh_test): Likewise.
19643 (csin_test): Likewise.
19644 (csinh_test): Likewise.
19646 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19648 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19649 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19650 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19651 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19652 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19653 powerpc/power5+/fpu folders.
19654 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19657 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19659 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19661 2013-04-25 Joseph Myers <joseph@codesourcery.com>
19663 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19664 additions to variable.
19665 [$(config-machine) = x86_64] (modules-names): Likewise.
19666 ($(objpfx)tst-audit3): Remove dependency.
19667 ($(objpfx)tst-audit3.out): Likewise.
19668 ($(objpfx)tst-audit4): Likewise.
19669 ($(objpfx)tst-audit4.out): Likewise.
19670 ($(objpfx)tst-audit5): Likewise.
19671 ($(objpfx)tst-audit5.out): Likewise.
19672 ($(objpfx)tst-audit6): Likewise.
19673 ($(objpfx)tst-audit6.out): Likewise.
19674 ($(objpfx)tst-audit7): Likewise.
19675 ($(objpfx)tst-audit7.out): Likewise.
19676 (tst-audit3-ENV): Remove variable.
19677 (tst-audit4-ENV): Likewise.
19678 (tst-audit5-ENV): Likewise.
19679 (tst-audit6-ENV): Likewise.
19680 (tst-audit7-ENV): Likewise.
19681 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19682 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19683 addition to variable.
19684 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19685 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19686 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19687 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19688 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19689 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19690 tst-audit3, tst-audit4 and tst-audit5.
19691 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19692 tst-audit6 and tst-audit7.
19693 [$(subdir) = elf] (modules-names): Add audit modules for those
19695 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19696 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19697 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19698 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19699 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19700 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19701 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19702 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19703 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19704 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19705 [$(subdir) = elf] (tst-audit3-ENV): New variable.
19706 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19707 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19708 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19709 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19710 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19712 [$(subdir) = elf && $(config-cflags-avx) = yes]
19713 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19714 [$(subdir) = elf && $(config-cflags-avx) = yes]
19715 (CFLAGS-tst-auditmod4a.c): Likewise.
19716 [$(subdir) = elf && $(config-cflags-avx) = yes]
19717 (CFLAGS-tst-auditmod4b.c): Likewise.
19718 [$(subdir) = elf && $(config-cflags-avx) = yes]
19719 (CFLAGS-tst-auditmod6b.c): Likewise.
19720 [$(subdir) = elf && $(config-cflags-avx) = yes]
19721 (CFLAGS-tst-auditmod6c.c): Likewise.
19722 [$(subdir) = elf && $(config-cflags-avx) = yes]
19723 (CFLAGS-tst-auditmod7b.c): Likewise.
19724 * elf/tst-audit3.c: Move to ...
19725 * sysdeps/x86_64/tst-audit3.c: ... here.
19726 * elf/tst-audit4.c: Move to ...
19727 * sysdeps/x86_64/tst-audit4.c: ... here.
19728 * elf/tst-audit5.c: Move to ...
19729 * sysdeps/x86_64/tst-audit5.c: ... here.
19730 * elf/tst-audit6.c: Move to ...
19731 * sysdeps/x86_64/tst-audit6.c: ... here.
19732 * elf/tst-audit7.c: Move to ...
19733 * sysdeps/x86_64/tst-audit7.c: ... here.
19734 * elf/tst-auditmod3a.c: Move to ...
19735 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
19736 * elf/tst-auditmod3b.c: Move to ...
19737 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
19738 * elf/tst-auditmod4a.c: Move to ...
19739 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
19740 * elf/tst-auditmod4b.c: Move to ...
19741 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
19742 * elf/tst-auditmod5a.c: Move to ...
19743 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
19744 * elf/tst-auditmod5b.c: Move to ...
19745 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
19746 * elf/tst-auditmod6a.c: Move to ...
19747 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
19748 * elf/tst-auditmod6b.c: Move to ...
19749 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
19750 * elf/tst-auditmod6c.c: Move to ...
19751 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
19752 * elf/tst-auditmod7a.c: Move to ...
19753 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
19754 * elf/tst-auditmod7b.c: Move to ...
19755 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
19757 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
19760 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
19761 define unconditionally.
19762 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
19763 define unconditionally.
19764 (INT8_C, INT16_C, etc.): Likewise.
19766 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
19768 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
19769 __ehdr_start with hidden visibility.
19771 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
19773 2013-04-24 Carlos O'Donell <carlos@redhat.com>
19775 * math/libm-test.inc (cos_test): Use accurate hex constants.
19776 (sincost_test): Likewise.
19778 2013-04-24 Joseph Myers <joseph@codesourcery.com>
19780 * math/libm-test.inc (catan_test): Add more tests.
19781 (catanh_test): Likewise.
19783 * math/s_catanf.c (__catanf): Use suffixed floating-point
19785 * math/s_catanhf.c (__catanhf): Likewise.
19786 * math/s_catanhl.c (__catanhl): Likewise.
19787 * math/s_catanl.c (__catanl): Likewise.
19790 * math/s_catan.c (__catan): Calculate imaginary part of result
19791 with log1p not log unless computing log of number close to 0.
19792 * math/s_catanf.c (__catanf): Likewise.
19793 * math/s_catanl.c (__catanl): Likewise.
19794 * math/s_catanh.c (__catanh): Calculate real part of result with
19795 log1p not log unless computing log of number close to 0.
19796 * math/s_catanhf.c (__catanhf): Likewise.
19797 * math/s_catanhl.c (__catanhl): Likewise.
19798 * math/libm-test.inc (catan_test): Add more tests.
19799 (catanh_test): Likewise.
19800 * sysdeps/i386/fpu/libm-test-ulps: Update.
19801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19803 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19805 * benchtests/Makefile: Mention files in which fast and slow
19806 paths of math functions are implemented.
19808 2013-04-23 Roland McGrath <roland@hack.frob.com>
19810 * sysdeps/posix/timespec_get.c: New file.
19812 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19814 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
19816 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
19818 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
19819 powerpc/power5/fpu folders.
19820 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
19821 * benchtests/Makefile: Add modf testcase.
19822 * benchtests/bench-modf.c: New file: Benchmark test for mo
19824 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19827 * time/Makefile (tests): Add tst-strptime-whitespace.
19828 * time/strptime_l.c (get_number): Use ISSPACE.
19829 (__strptime_internal): Likewise.
19830 * time/tst-strptime-whitespace.c: New test case.
19832 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
19834 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
19836 (_nss_files_init): Set it here.
19838 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
19840 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
19841 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
19844 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
19846 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
19848 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19850 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
19853 2013-04-21 David S. Miller <davem@davemloft.net>
19855 * po/ru.po: Update Russion translation from translation project.
19857 2013-04-17 Adam Conrad <adconrad@0c3.net>
19859 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
19862 2013-04-17 Carlos O'Donell <carlos@redhat.com>
19864 * configure.in: Remove i386 configure warning. Remove i386 case.
19865 * configure: Regenerate.
19866 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
19867 Add example to error message.
19868 * sysdeps/i386/configure: Regenerate.
19870 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19872 * benchtests/Makefile (bench): Add cos, tan, slowcos and
19874 * benchtests/cos-inputs: New file.
19875 * benchtests/slowcos-inputs: New file.
19876 * benchtests/slowcos.c: New file.
19877 * benchtests/slowtan-inputs: New file.
19878 * benchtests/slowtan.c: New file.
19879 * benchtests/tan-inputs: New file.
19881 2013-04-16 Roland McGrath <roland@hack.frob.com>
19883 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
19886 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19888 * benchtests/Makefile: Include cppflags-iterator.mk to add
19889 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
19891 * Makefile.in (bench-clean): New target.
19892 * benchtests/Makefile (bench-clean): Likewise.
19894 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
19896 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
19898 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
19900 * stdio-common/tstdiomisc.c: Fix coding-style violation.
19902 2013-04-15 Andreas Schwab <schwab@suse.de>
19904 * nscd/grpcache.c (cache_addgr): Properly check for short write.
19905 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19906 * nscd/pwdcache.c (cache_addpw): Likewise.
19907 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
19910 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19912 * benchtests/Makefile (bench): Write all output to
19913 bench-out.tmp together.
19915 2013-04-15 Andreas Schwab <schwab@suse.de>
19917 * nscd/nscd.c (main): Don't fork again after closing files.
19919 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19921 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19923 * benchtests/Rules (bench-deps): Collect dependencies into a
19924 single variable. Add Makefile to dependencies.
19925 ($(objpfx)bench-%.c): Depend on bench-deps.
19927 2013-04-12 Roland McGrath <roland@hack.frob.com>
19928 Xavier Roche <roche+kml2@exalead.com>
19931 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19932 just that it's a file descriptor.
19933 * manual/llio.texi (Synchronizing AIO Operations): Update description
19934 for EBADF error from aio_fsync.
19936 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19938 * Rules (bench): Move target definition...
19939 * benchtests/Makefile: ... here.
19941 2013-04-11 Carlos O'Donell <carlos@redhat.com>
19943 * math/libm-test.inc (cos_test): Fix PI/2 test.
19944 (sincos_test): Likewise.
19945 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19946 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19948 2013-04-11 Andreas Schwab <schwab@suse.de>
19951 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19952 accept exponent character only when digits were seen.
19953 * stdio-common/Makefile (tests): Add bug26.
19954 * stdio-common/bug26.c: New file.
19957 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19960 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19962 * Makeconfig (rtld-prefix): Define built linker prefix.
19963 * Rules (run-bench): Use it.
19964 * math/Makefile (run-regen-ulps): Likewise.
19966 * Rules (bench): Remove eval.
19968 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19969 Roland McGrath <roland@hack.frob.com>
19970 Ondrej Bilka <neleai@seznam.cz>
19973 * time/getdate.c: Include ctype.h and alloca.h.
19974 (__getdate_r): Trim leading and trailing spaces of input.
19975 * time/tst-getdate.c (tests): Add tests with leading and
19978 2013-04-08 Roland McGrath <roland@hack.frob.com>
19981 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19982 when computing value.
19984 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19986 * math/README.libm-test (How can I generate "libm-test-ulps"?):
19987 Use testrun.sh to run libm tests.
19990 * elf/dl-open.c (dl_open_worker): memset all of seen array.
19992 2013-04-06 Marko Myllynen <myllynen@redhat.com>
19995 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19997 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19999 * Makefile.in (regen-ulps): New target.
20000 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20001 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20002 [ifneq (no,$(PERL)] (regen-ulps): New target.
20003 [ifeq (no,$(PERL)] (regen-ulps): New target.
20004 * math/libm-test.inc (ulps_file_name): Define.
20005 (output_dir): New variable.
20006 (options): Add "output-dir" option.
20007 (parse_opt): Handle 'o' case.
20008 (main): If output_dir is non-NULL use it as a prefix
20010 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20012 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20014 [BZ #10060, #10062]
20015 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20016 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20017 fail configure if __sync_val_compare_and_swap is not inlined.
20018 * sysdeps/i386/configure: Regenerate.
20019 * configure.in: Build for i686 when configured for i386.
20020 * configure: Regenerate.
20021 * README: Remove i386 reference.
20023 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20025 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20026 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20028 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20030 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20031 (lmsnanval): New variables.
20032 (F): Add conversion tests.
20033 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20034 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20036 * stdio-common/tstdiomisc.c (F): Properly collect individual
20039 [BZ #14686, #15336]
20040 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20041 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20042 Instead, use input NaN values or generate a qNaN by arithmetic
20043 operation. Also fix bugs to comply with the standard.
20044 * math/libm-test.inc (remainder_test): Add more tests.
20046 [BZ #15335, #15342]
20047 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20048 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20049 input NaN values or generate a qNaN by arithmetic operation.
20051 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20054 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20057 2013-04-03 Joseph Myers <joseph@codesourcery.com>
20060 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20061 underflowed result.
20062 * math/s_cexpf.c (__cexpf): Likewise.
20063 * math/s_cexpl.c (__cexpl): Likewise.
20064 * math/libm-test.inc (cexp_test): Add more tests.
20066 2013-04-03 Andreas Schwab <schwab@suse.de>
20069 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20070 order arrays from heap if bigger than alloca cutoff.
20072 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
20074 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20075 (SNAN_TESTS_double): Refer to GCC PR56831.
20076 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20079 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20081 * Rules (bench): Move bench.out after the run is complete.
20083 * Rules (bench): Echo currently running benchmark.
20085 * benchtests/Makefile (bench): Add atan and slowatan.
20086 * benchtests/atan-inputs: New file.
20087 * benchtests/slowatan-inputs: New file.
20088 * benchtests/slowatan.c: New file.
20090 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20091 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20095 * sysdeps/unix/sysv/linux/kernel-features.h
20096 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20097 __ASSUME_XFS_RESTRICTED_CHOWN.
20098 * sysdeps/unix/sysv/linux/pathconf.c
20099 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20100 Save and restore errno.
20102 2013-04-02 Joseph Myers <joseph@codesourcery.com>
20105 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20106 arguments using __kernel_casinh.
20107 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20108 arguments using __kernel_casinhf.
20109 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20110 arguments using __kernel_casinhl.
20111 * math/libm-test.inc (cacosh_test): Add more tests.
20112 * sysdeps/i386/fpu/libm-test-ulps: Update.
20113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20115 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20117 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20118 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20120 * bench/Makefile (bench): Add sin and slowsin.
20121 * benchtests/sin-inputs: New file.
20122 * benchtests/slowsin-inputs: New file.
20123 * benchtests/slowsin.c: New file.
20125 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20126 (bench): Add slowexp and slowpow.
20127 (exp-ITER): Increase iterations.
20128 (pow-ITER): Likewise.
20129 * benchtests/exp-inputs: Change input.
20130 * benchtests/pow-inputs: Likewise.
20131 * benchtests/slowexp-inputs: New file.
20132 * benchtests/slowexp.c: New file.
20133 * benchtests/slowpow-inputs: New file.
20134 * benchtests/slowpow.c: New file.
20136 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20138 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20140 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20141 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20142 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20143 * benchtests/Makefile: Add rint benchtest.
20144 * benchtests/rint-inputs: Input for rint benchtest.
20146 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
20148 * Versions.def (libm): Add GLIBC_2.18.
20149 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20150 hidden libm prototypes.
20151 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20152 * math/Makefile (libm-calls): Add s_issignaling.
20153 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20154 __issignalingf, __issignalingl. Adjust all libm.abilist files.
20155 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20157 * math/math.h [__USE_GNU] (issignaling): New macro.
20158 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20159 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20160 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20161 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20162 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20163 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20164 * manual/arith.texi (issignaling): New section.
20165 * manual/libm-err-tab.pl (@all_functions): Update comment.
20166 * math/gen-libm-test.pl (parse_args): Apply special handling for
20168 * math/libm-test.inc (print_float, issignaling_test): New
20170 (check_float_internal): Add issignaling checks.
20171 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20172 default definition.
20173 * sysdeps/powerpc/math-tests.h: New file.
20174 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20176 * math/test-snan.c (TEST_FUNC): Likewise.
20178 2013-03-30 David S. Miller <davem@davemloft.net>
20180 * po/de.po: Update from translation team.
20182 2013-03-30 Joseph Myers <joseph@codesourcery.com>
20185 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20186 imaginary part less than 1.0 and real part less than 0.5
20188 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20189 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20190 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20191 (cacos_test): Add more tests.
20192 (casin_test): Likewise.
20193 (casinh_test): Likewise.
20194 * sysdeps/i386/fpu/libm-test-ulps: Update.
20195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20197 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20199 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20200 ONE with its value.
20202 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20203 (__pow_mp): Replace ONE and MONE with their values.
20204 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20205 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20206 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20207 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20208 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20209 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20211 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20213 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20214 (__pow_mp): Replace ZERO and MZERO with their values.
20215 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20216 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20217 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20218 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20219 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20220 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20223 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20225 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20227 2013-03-28 Roland McGrath <roland@hack.frob.com>
20229 * include/stdlib.h [!SHARED] (__call_tls_dtors):
20230 Declare with __attribute__ ((weak)).
20231 * stdlib/exit.c (__libc_atexit) [!SHARED]:
20232 Call __call_tls_dtors only if it's not NULL.
20234 2013-03-28 Roland McGrath <roland@hack.frob.com>
20236 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20237 didn't do it already, then set _dl_phdr and _dl_phnum based on the
20238 magic __ehdr_start linker symbol if it's defined.
20239 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20240 them up here if it was already done.
20242 * elf/dl-support.c (_dl_phdr): Make pointer to const.
20243 (_dl_aux_init): Use const in cast when setting it.
20244 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20245 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20246 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20248 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20250 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20251 * csu/libc-tls.c: Nor here.
20252 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20254 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20255 (__libc_message): Never call vsyslog.
20257 2013-03-28 Alan Modra <amodra@gmail.com>
20259 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20261 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20264 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20267 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20271 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20274 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20275 Don't add gid passed as argument.
20277 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20279 2013-03-27 Joseph Myers <joseph@codesourcery.com>
20282 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20283 imaginary part between 1.0 and 1.5 and real part less than 0.5
20285 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20286 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20287 * math/libm-test.inc (cacos_test): Add more tests.
20288 (casin_test): Likewise.
20289 (casinh_test): Likewise.
20290 * sysdeps/i386/fpu/libm-test-ulps: Update.
20291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20293 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20295 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20298 (denorm): Likewise.
20299 (__dbl_mp): Likewise.
20300 (add_magnitudes): Likewise.
20301 (sub_magnitudes): Likewise.
20309 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20311 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20312 (__dubcos): Likewise.
20313 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20314 (__ieee754_acos): Likewise.
20315 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20316 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20317 (__exp1): Likewise.
20318 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20319 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20321 (my_log2): Likewise.
20322 (checkint): Likewise.
20323 * sysdeps/ieee754/dbl-64/e_remainder.c
20324 (__ieee754_remainder): Likewise.
20325 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20326 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20327 (bsloww): Likewise.
20328 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20330 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20331 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20332 MANTISSA_STORE_T to store computations on mantissa. Use
20333 macros for rounding and division.
20334 (denorm): Likewise.
20335 (__dbl_mp): Likewise.
20336 (add_magnitudes): Likewise.
20337 (sub_magnitudes): Likewise.
20340 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20341 powers of two in terms of TWOPOW macro.
20342 (mp_no): Make type of mantissa as MANTISSA_T.
20343 [!RADIXI]: Define RADIXI.
20344 [!TWO52]: Define TWO52.
20345 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20347 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20349 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20350 llroundl symbol when building for PPC32.
20352 2013-03-24 Mark H Weaver <mhw@netris.org>
20354 * manual/arith.texi (Normalization Functions): Fix prototypes for
20355 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20357 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20360 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20361 high value to check if expl overflow.
20362 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20363 to check for underflow and overflow.
20364 * math/libm-test.inc: Add exp test.
20366 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
20369 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20372 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20374 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20377 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
20379 * math/gen-libm-test.pl (parse_args, special_functions): Properly
20380 wrap blocks consisting of several statements.
20382 * sysdeps/generic/math-tests.h: New file.
20383 * sysdeps/i386/fpu/math-tests.h: Likewise.
20384 * math/test-snan.c: Include it.
20385 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20387 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20390 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20391 (__ieee754_j0l): Do not improve calculations using cos of twice
20392 input for inputs above LDBL_MAX / 2.0L.
20393 (__ieee754_y0l): Likewise.
20394 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20395 (__ieee754_j1l): Do not improve calculations using cos of twice
20396 input for inputs above LDBL_MAX / 2.0L.
20397 (__ieee754_y1l): Likewise.
20398 * math/libm-test.inc (j0_test): Add another test.
20399 (j1_test): Likewise.
20400 (y0_test): Likewise.
20401 (y1_test): Likewise.
20402 * sysdeps/i386/fpu/libm-test-ulps: Update.
20404 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20406 * Rules ($(objpfx)bench-%.c): Include code from a C source
20409 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20412 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20413 imaginary part 1.0 and real part less than 0.5 specially.
20414 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20415 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20416 * math/libm-test.inc (cacos_test): Add more tests.
20417 (casin_test): Likewise.
20418 (casinh_test): Likewise.
20419 * sysdeps/i386/fpu/libm-test-ulps: Update.
20420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20422 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20424 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20425 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20427 2013-03-20 Joseph Myers <joseph@codesourcery.com>
20429 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20430 * config.make.in (config-cflags-sse4): Remove variable.
20431 (config-cflags-avx): Likewise.
20432 (config-cflags-sse2avx): Likewise.
20433 (config-cflags-novzeroupper): Likewise.
20434 (config-asflags-i686): Likewise.
20435 (have-mfma4): Likewise.
20436 (have-as-vis3): Likewise.
20438 * configure.in (MIG): Do not AC_SUBST.
20439 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20440 (libc_cv_cc_sse4): Do not AC_SUBST.
20441 (libc_cv_cc_avx): Likewise.
20442 (libc_cv_cc_sse2avx): Likewise.
20443 (libc_cv_cc_novzeroupper): Likewise.
20444 (libc_cv_cc_fma4): Likewise.
20445 (libc_cv_as_i686): Likewise.
20446 (libc_cv_sparc_as_vis3): Likewise.
20447 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20449 (config-asflags-i686): Likewise.
20450 (config-cflags-avx): Likewise.
20451 (config-cflags-sse2avx): Likewise.
20452 (have-mfma4): Likewise.
20453 (config-cflags-novzeroupper): Likewise.
20454 * sysdeps/mach/configure.in (MIG): Likewise.
20455 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20456 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20458 (config-cflags-avx): Likewise.
20459 (config-cflags-sse2avx): Likewise.
20460 (have-mfma4): Likewise.
20461 (config-cflags-novzeroupper): Likewise.
20462 * configure: Regenerated.
20463 * sysdeps/i386/configure: Likewise.
20464 * sysdeps/mach/configure: Likewise.
20465 * sysdeps/sparc/configure: Likewise.
20466 * sysdeps/x86_64/configure: Likewise.
20468 2013-03-20 Roland McGrath <roland@hack.frob.com>
20471 * locale/programs/localedef.c (options): Put N_ translation marker
20472 on argument names, not just descriptions.
20474 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20476 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20478 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
20481 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20483 2013-03-19 Roland McGrath <roland@hack.frob.com>
20485 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20486 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20487 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20488 [!BEFORE_ABORT] (before_abort): New function.
20489 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20490 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20491 (writev_for_fatal): New function.
20492 (WRITEV_FOR_FATAL): New macro; call that.
20493 (backtrace_and_maps): New function.
20494 (BEFORE_ABORT): New macro; call that.
20495 (struct str_list): Type removed.
20496 (__libc_message, __libc_fatal): Functions removed.
20497 Include <sysdeps/posix/libc_fatal.c> instead.
20499 2013-03-19 Joseph Myers <joseph@codesourcery.com>
20501 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20503 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20506 2013-03-19 Andreas Schwab <schwab@suse.de>
20508 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20509 * sysdeps/gnu/configure: Regenerate.
20511 * configure.in: Substitute libc_cv_rtlddir.
20512 * configure: Regenerate.
20513 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20514 * Makeconfig (rtlddir, inst_rtlddir): New variables.
20515 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20516 * elf/Makefile (install-others, CFLAGS-interp.c)
20517 (ldso_install, common-ldd-rewrite): Likewise.
20518 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20519 $(inst_slibdir)/$(rtld-installed-name).
20520 * scripts/rellns-sh: Add -p option.
20521 * Makerules (make-shlib-link): Use rellns-sh to get relative name
20524 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20526 * manual/nptl.texi: Renamed to ...
20527 * manual/threads.texi: ... this.
20528 * manual/Makefile (chapters): Update.
20530 2013-03-18 Roland McGrath <roland@hack.frob.com>
20533 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20534 on argument names, not just descriptions.
20535 * malloc/memusagestat.c (options): Likewise.
20536 * nss/getent.c (options): Likewise.
20538 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
20541 * iconv/iconv_prog.c (options): Put N_ translation marker
20542 on argument names, not just descriptions.
20543 * iconv/iconvconfig.c (options): Likewise.
20545 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
20547 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20548 implementation which is faster on all x86_64 architectures.
20549 Tested on AMD, Intel Nehalem, SNB, IVB.
20550 * sysdeps/x86_64/strnlen.S: Likewise.
20552 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20553 Remove all multiarch strlen and strnlen versions.
20554 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20555 Remove strlen and strnlen related parts.
20557 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20558 Inline strlen part.
20559 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20561 * sysdeps/x86_64/multiarch/strlen.S: Remove.
20562 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20563 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20564 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20565 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20566 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20568 2013-03-17 Carlos O'Donell <carlos@redhat.com>
20570 * manual/memory.texi (Malloc Tunable Parameters):
20571 Sort parameters alphabetically. Add comments for missing entries.
20573 2013-03-17 David S. Miller <davem@davemloft.net>
20575 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20577 2013-03-16 Joseph Myers <joseph@codesourcery.com>
20580 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20581 for arguments at most half maximum finite value.
20582 * math/libm-test.inc (j0_test): Add more tests.
20583 (j1_test): Likewise.
20584 (y0_test): Likewise.
20585 (y1_test): Likewise.
20586 * sysdeps/i386/fpu/libm-test-ulps: Update.
20587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20590 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20591 1 / x and functions P and Q for arguments above 0x1p256L.
20592 (__ieee754_y0l): Likewise.
20593 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20594 (__ieee754_y1l): Likewise.
20595 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20596 (j1_test): Likewise.
20597 (y0_test): Likewise.
20598 (y1_test): Likewise.
20600 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
20602 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20605 2013-03-15 Roland McGrath <roland@hack.frob.com>
20607 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20608 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20609 zero since it's initialized to EXEC_PAGESIZE.
20611 * sysdeps/unix/sysv/linux/ldsodefs.h
20612 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20613 * sysdeps/generic/ldsodefs.h: ... here.
20615 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
20617 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20619 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20621 * math/test-snan.c: Renamed from
20622 sysdeps/powerpc/fpu/test-powerpc-snan.c.
20623 * math/Makefile (tests): Add test-snan.
20624 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20627 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20628 SUFFIX. Initialize qNaN_var with __builtin_nan family of
20630 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
20631 __builtin_nan family of functions.
20632 * math/libm-test.inc (initialize): Initialize qnan_value with
20633 __builtin_nan family of functions.
20634 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20636 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20638 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
20639 storage class. Initialize qNaN_var and sNaN_var with
20640 __builtin_nan and __builtin_nans families of functions,
20643 * math/libm-test.inc (acosh_test): Also test with qNaN input.
20644 (sqrt_test): Remove duplicate test with qNaN input.
20645 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20646 (round_test, signbit_test, significand_test): Note missing +/-Inf
20647 as well as qNaN tests.
20649 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20650 qNaN_var. Fix a few strings, too.
20651 * math/libm-test.inc (nan_value): Rename to qnan_value.
20652 * math/gen-libm-test.pl (%beautify): Adjust to that.
20653 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20654 * math/test-misc.c (main): Likewise.
20655 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20656 to __qnan_bytes, and __qnan_union, respectively.
20657 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20659 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20660 and lqnanval, respectively.
20661 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20662 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20663 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20664 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20666 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20667 * math/test-misc.c (main) [__x86_64__]: Enable test for long
20670 * math/test-misc.c (main): Fix copy'n'pastos.
20671 * misc/tst-efgcvt.c (special): Likewise.
20673 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20674 Remove declarations.
20676 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20678 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20679 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20680 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20681 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20683 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20685 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20686 macro to return vdso values correctly in IFUNC implementations.
20687 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20688 Optimization by using IFUNC.
20690 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20691 Richard Henderson <rth@redhat.com>
20692 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20694 * Makefile.in (bench): New target.
20695 * NEWS: Mention the benchmark framework.
20696 * Rules (bench): Likewise.
20697 (binaries-bench): Generate binaries for functions to
20699 * benchtests/Makefile: New makefile for benchmark tests.
20700 * benchtests/bench-skeleton.c: New skeleton file for benchmark
20702 * benchtests/exp-inputs: New input file for EXP function.
20703 * benchtests/pow-inputs: New input file for POW function.
20704 * scripts/bench.pl: New script to generate source files for
20705 benchmark programs.
20707 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20709 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20710 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20711 computations on mantissa. Use macros for rounding and
20713 (denorm): Likewise.
20714 (__dbl_mp): Likewise.
20715 (add_magnitudes): Likewise.
20716 (sub_magnitudes): Likewise.
20719 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20720 powers of two in terms of TWOPOW macro.
20721 (mp_no): Make type of mantissa as MANTISSA_T.
20722 [!RADIXI]: Define RADIXI.
20723 [!TWO52]: Define TWO52.
20724 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20726 * manual/nptl.texi (cindex): Modify threads to pthreads.
20728 2013-03-15 Joseph Myers <joseph@codesourcery.com>
20730 * sysdeps/x86_64/preconfigure: Regenerated.
20732 2013-03-14 Joseph Myers <joseph@codesourcery.com>
20735 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
20737 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
20738 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
20740 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
20741 * math/libm-test.inc (j0_test): Do not allow one spurious
20742 underflow exception.
20743 (y1_test): Likewise.
20745 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20747 * manual/Makefile (chapters): Add nptl.
20748 * manual/debug.texi (Debugging Support): Add link to Threads
20750 * manual/nptl.texi: New file.
20752 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
20754 2013-03-14 Petr Baudis <pasky@ucw.cz>
20756 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
20757 for non-NULL pointer before the memory validity test. Pointed
20758 out by Holger Brunck <holger.brunck@keymile.com>.
20760 2013-03-13 Andreas Schwab <schwab@suse.de>
20762 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
20765 2013-03-13 Joseph Myers <joseph@codesourcery.com>
20767 * timezone/zic.c: Update from tzcode 2013b.
20769 2013-03-12 Carlos O'Donell <carlos@redhat.com>
20771 * manual/install.texi (Configuring and compiling):
20772 Mention i686 and i586.
20773 * INSTALL: Regenerate.
20775 2013-03-12 Roland McGrath <roland@hack.frob.com>
20777 * sysdeps/init_array/elf-init.c: New file.
20779 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
20780 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
20782 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
20783 __gmon_start__ as global, but as static with a .preinit_array pointer.
20784 * sysdeps/init_array/gmon-start.c: New file. Use that.
20785 * sysdeps/init_array/crti.S: New file, empty except for comments.
20786 * sysdeps/init_array/crtn.S: Likewise.
20788 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
20790 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
20792 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20793 Remove Prefer_SSE_for_memop.
20794 * sysdeps/x86_64/multiarch/init-arch.h: Remove
20795 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
20796 HAS_PREFER_SSE_FOR_MEMOP.
20797 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20799 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20800 Remove bzero, memset ifunc support.
20801 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
20802 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
20803 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20804 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20806 2013-03-11 Andreas Schwab <schwab@suse.de>
20809 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
20811 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
20812 (GLIBC_2.16): Remove pthread_atfork.
20814 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
20816 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
20817 (ptestcases.h): Likewise.
20819 2013-03-08 Roland McGrath <roland@hack.frob.com>
20821 * Makeconfig ($(common-objpfx)config.status): Depend on
20822 sysdeps/*/preconfigure{,.in} too.
20824 2013-03-08 Joseph Myers <joseph@codesourcery.com>
20826 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
20827 (__free_hook): Use void * instead of __malloc_ptr_t.
20828 (__malloc_hook): Likewise.
20829 (__realloc_hook): Likewise.
20830 (__memalign_hook): Likewise.
20831 (__after_morecore_hook): Likewise.
20832 * malloc/arena.c (save_malloc_hook): Likewise.
20833 (save_free_hook): Likewise.
20834 * malloc/hooks.c (malloc_hook_ini): Likewise.
20835 (realloc_hook_ini): Likewise.
20836 (memalign_hook_ini): Likewise.
20837 * malloc/malloc.c (malloc_hook_ini): Likewise.
20838 (realloc_hook_ini): Likewise.
20839 (memalign_hook_ini): Likewise.
20840 (__free_hook): Likewise.
20841 (__malloc_hook): Likewise.
20842 (__realloc_hook): Likewise.
20843 (__memalign_hook): Likewise.
20844 (__libc_malloc): Likewise.
20845 (__libc_free): Likewise.
20846 (__libc_realloc): Likewise.
20847 (__libc_memalign): Likewise.
20848 (__libc_valloc): Likewise.
20849 (__libc_pvalloc): Likewise.
20850 (__libc_calloc): Likewise.
20851 (__posix_memalign): Likewise.
20852 * malloc/morecore.c (__sbrk): Likewise.
20853 (__default_morecore): Likewise.
20855 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
20857 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
20858 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
20859 __malloc_ptrdiff_t.
20861 * malloc/malloc.h (__malloc_size_t): Remove macro.
20862 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
20864 (old_memalign_hook): Likewise.
20865 (old_realloc_hook): Likewise.
20866 (struct hdr): Likewise.
20868 (mallochook): Likewise.
20869 (memalignhook): Likewise.
20870 (reallochook): Likewise.
20871 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20872 (tr_old_realloc_hook): Likewise.
20873 (tr_old_memalign_hook): Likewise.
20874 (tr_mallochook): Likewise.
20875 (tr_reallochook): Likewise.
20876 (tr_memalignhook): Likewise.
20878 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20880 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
20881 default_ldbl_pack and using as default implementation.
20882 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
20884 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
20885 redundant definition.
20886 (ldbl_insert_mantissa): Likewise.
20887 (ldbl_canonicalize): Likewise.
20888 (ldbl_nearbyint): Likewise.
20889 (ldbl_pack): Rename to ldbl_pack_ppc.
20890 (ldbl_unpack): Rename to ldbl_unpack_ppc.
20891 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
20892 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
20894 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20896 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
20897 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
20898 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
20899 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
20900 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
20901 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
20902 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
20903 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
20905 2013-03-07 Andreas Jaeger <aj@suse.de>
20907 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20910 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20912 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20913 Include mpa.h and declare __MPEXP.
20914 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
20915 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20916 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20917 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20918 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20919 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20920 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20922 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20923 (__slowpow): Use long double EXPL and LOGL functions to
20925 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20926 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20927 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20928 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20929 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20930 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20932 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20933 intermediate variable to calculate exponent.
20935 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20939 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20940 [!NO__SQR]: Define __sqr.
20941 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20942 and NO__SQR. Remove all code except __mul and __sqr. Include
20943 sysdeps/ieee754/dbl-64/mpa.c.
20944 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20947 * posix/Makefile (tests): Add tst-pathconf.
20948 * posix/tst-pathconf.c: New test case.
20949 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20951 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20953 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
20955 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20957 2013-03-06 Andreas Jaeger <aj@suse.de>
20959 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20960 definition via __MAP_ANONYMOUS.
20962 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20963 it's not part of Linux headers.
20965 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20966 (MAP_HUGE_MASK): Define.
20968 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20970 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20971 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20973 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20974 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20976 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20977 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20979 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20981 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20982 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20983 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20984 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20985 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20986 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20988 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20991 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20992 Handle f2fs and efivarfs.
20994 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20997 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20998 (EFIVARFS_MAGIC): Add.
20999 (F2FS_LINK_MAX): Add.
21001 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21003 * stdio-common/vfprintf.c: Replace __builtin_expect with
21006 2013-03-06 Joseph Myers <joseph@codesourcery.com>
21009 * sysdeps/generic/bp-sym.h: Remove file.
21010 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21011 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21012 <bp-sym.h> and <bp-asm.h>.
21013 (__longjmp): Don't use BP_SYM.
21014 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21016 (memcpy): Don't use BP_SYM.
21017 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21018 <bp-sym.h> and <bp-asm.h>.
21019 (memcpy): Don't use BP_SYM.
21020 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21022 (memcpy): Don't use BP_SYM.
21023 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21025 (memset): Don't use BP_SYM.
21026 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21027 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21028 (__bzero): Don't use BP_SYM.
21029 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21030 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21031 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21032 <bp-sym.h> and <bp-asm.h>.
21033 (memcmp): Don't use BP_SYM. Remove comment about bounded
21035 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21036 <bp-sym.h> and <bp-asm.h>.
21037 (memcpy): Don't use BP_SYM.
21038 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21039 <bp-sym.h> and <bp-asm.h>.
21040 (memset): Don't use BP_SYM.
21041 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21042 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21043 (__bzero): Don't use BP_SYM.
21044 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21045 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21046 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21047 <bp-sym.h> and <bp-asm.h>.
21048 (strncmp): Don't use BP_SYM. Remove comment about bounded
21050 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21051 <bp-sym.h> and <bp-asm.h>.
21052 (memcpy): Don't use BP_SYM.
21053 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21054 <bp-sym.h> and <bp-asm.h>.
21055 (memset): Don't use BP_SYM.
21056 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21057 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21058 (__bzero): Don't use BP_SYM.
21059 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21060 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21061 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21062 <bp-sym.h> and <bp-asm.h>.
21063 (__memchr): Don't use BP_SYM.
21064 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21065 <bp-sym.h> and <bp-asm.h>.
21066 (memcmp): Don't use BP_SYM. Remove comment about bounded
21068 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21069 <bp-sym.h> and <bp-asm.h>.
21070 (memcpy): Don't use BP_SYM.
21071 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21072 <bp-sym.h> and <bp-asm.h>.
21073 (__mempcpy): Don't use BP_SYM.
21074 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21075 <bp-sym.h> and <bp-asm.h>.
21076 (__memrchr): Don't use BP_SYM.
21077 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21078 <bp-sym.h> and <bp-asm.h>.
21079 (memset): Don't use BP_SYM.
21080 (__bzero): Likewise.
21081 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21082 <bp-sym.h> and <bp-asm.h>.
21083 (__rawmemchr): Don't use BP_SYM.
21084 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21085 <bp-sym.h> and <bp-asm.h>.
21086 (__STRCMP): Don't use BP_SYM.
21087 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21088 <bp-sym.h> and <bp-asm.h>.
21089 (strchr): Don't use BP_SYM.
21090 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21091 <bp-sym.h> and <bp-asm.h>.
21092 (__strchrnul): Don't use BP_SYM.
21093 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21094 <bp-sym.h> and <bp-asm.h>.
21095 (strlen): Don't use BP_SYM.
21096 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21097 <bp-sym.h> and <bp-asm.h>.
21098 (strncmp): Don't use BP_SYM. Remove comment about bounded
21100 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21101 <bp-sym.h> and <bp-asm.h>.
21102 (__strnlen): Don't use BP_SYM.
21103 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21104 <bp-sym.h> and <bp-asm.h>.
21105 (__GI__setjmp): Don't use BP_SYM.
21106 (_setjmp): Likewise.
21107 (__sigsetjmp): Likewise.
21108 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21109 (L(start_addresses)): Don't use BP_SYM.
21110 (_start): Likewise.
21111 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21113 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21114 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21115 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21116 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21117 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21119 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21120 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
21121 about bounded pointers.
21122 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21123 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21124 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21126 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21127 about bounded pointers. Remove GKM FIXME comments.
21128 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21129 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21131 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21132 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
21133 Remove GKM FIXME comments.
21134 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21135 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21136 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21138 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21139 about bounded pointers. Remove GKM FIXME comment.
21140 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21142 (strncmp): Don't use BP_SYM. Remove comment about bounded
21144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21145 <bp-sym.h> and <bp-asm.h>.
21146 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21148 <bp-sym.h> and <bp-asm.h>.
21149 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21152 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21154 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21157 2013-03-05 David S. Miller <davem@davemloft.net>
21159 * po/es.po: Update from translation team.
21161 2013-03-05 Andreas Jaeger <aj@suse.de>
21163 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21164 <bits/mman-linux.h>.
21165 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21167 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21168 <bits/mman-linux.h> to end of file.
21169 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21171 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21172 <bits/mman-linux.h> to end of file.
21173 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21175 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21176 <bits/mman-linux.h> to end of file.
21178 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21179 (MCL_CURRENT, MCL_FUTURE): Define here.
21181 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21184 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21186 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21188 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21190 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21191 fourth parameter needed for rt_sigprocmask syscall.
21192 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21193 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21194 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21195 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21196 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21197 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21199 2013-03-04 Joseph Myers <joseph@codesourcery.com>
21202 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21203 comment about bounded pointers.
21204 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21205 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21207 2013-03-04 Andreas Jaeger <aj@suse.de>
21209 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21210 common definitions.
21212 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21213 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21214 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21215 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21216 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21217 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21219 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21222 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21223 __ieee754_sqrl instead of __sqrl.
21225 2013-03-01 Joseph Myers <joseph@codesourcery.com>
21227 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21228 * sysdeps/powerpc/fpu_control.h: ... here.
21229 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21230 * sysdeps/powerpc/bits/fenvinline.h: ... here.
21231 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21232 * sysdeps/powerpc/bits/mathinline.h: ... here.
21234 2013-03-01 Roland McGrath <roland@hack.frob.com>
21236 * elf/dl-hwcaps.c (_dl_important_hwcaps):
21237 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21238 to just [NEED_DL_SYSINFO_DSO].
21239 * elf/dl-support.c: Likewise.
21240 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21241 * elf/rtld.c (dl_main): Likewise.
21242 * elf/setup-vdso.h (setup_vdso): Likewise.
21243 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21244 * sysdeps/unix/sysv/linux/dl-sysdep.c
21245 (_dl_discover_osversion): Likewise.
21247 2013-03-01 Carlos O'Donell <carlos@redhat.com>
21249 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21250 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21252 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
21254 * NEWS: Mention libm performance improvements and non-x86 PI
21257 * csu/libc-start.c (__pthread_initialize_minimal): Change
21258 function arguments.
21259 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21261 2013-02-28 Joseph Myers <joseph@codesourcery.com>
21264 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21265 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21266 <bp-sym.h> and <bp-asm.h>.
21267 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21268 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21270 (memcpy): Don't use BP_SYM.
21271 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21273 (__mpn_add_n): Don't use BP_SYM.
21274 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21275 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21277 (__mpn_addmul_1): Don't use BP_SYM.
21278 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21279 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21281 (_setjmp): Don't use BP_SYM.
21282 (__novmx_setjmp): Likewise.
21283 (__GI__setjmp): Likewise.
21284 (__vmx_setjmp): Likewise.
21285 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21287 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21288 (__bzero): Don't use BP_SYM.
21289 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21290 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21291 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21292 <bp-sym.h> and <bp-asm.h>.
21293 (memcpy): Don't use BP_SYM.
21294 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21295 <bp-sym.h> and <bp-asm.h>.
21296 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21297 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21298 <bp-sym.h> and <bp-asm.h>.
21299 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21300 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21302 (__mpn_lshift): Don't use BP_SYM.
21303 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21304 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21306 (memset): Don't use BP_SYM.
21307 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21308 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21309 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21311 (__mpn_mul_1): Don't use BP_SYM.
21312 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21313 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21314 <bp-sym.h> and <bp-asm.h>.
21315 (memcmp): Don't use BP_SYM.
21316 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21317 <bp-sym.h> and <bp-asm.h>.
21318 (memcpy): Don't use BP_SYM.
21319 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21320 <bp-sym.h> and <bp-asm.h>.
21321 (memset): Don't use BP_SYM.
21322 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21323 <bp-sym.h> and <bp-asm.h>.
21324 (strncmp): Don't use BP_SYM.
21325 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21326 <bp-sym.h> and <bp-asm.h>.
21327 (memcpy): Don't use BP_SYM.
21328 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21329 <bp-sym.h> and <bp-asm.h>.
21330 (memset): Don't use BP_SYM.
21331 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21332 <bp-sym.h> and <bp-asm.h>.
21333 (__memchr): Don't use BP_SYM.
21334 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21335 <bp-sym.h> and <bp-asm.h>.
21336 (memcmp): Don't use BP_SYM.
21337 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21338 <bp-sym.h> and <bp-asm.h>.
21339 (memcpy): Don't use BP_SYM.
21340 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21341 <bp-sym.h> and <bp-asm.h>.
21342 (__mempcpy): Don't use BP_SYM.
21343 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21344 <bp-sym.h> and <bp-asm.h>.
21345 (__memrchr): Don't use BP_SYM.
21346 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21347 <bp-sym.h> and <bp-asm.h>.
21348 (memset): Don't use BP_SYM.
21349 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21350 <bp-sym.h> and <bp-asm.h>.
21351 (__rawmemchr): Don't use BP_SYM.
21352 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21353 <bp-sym.h> and <bp-asm.h>.
21354 (__STRCMP): Don't use BP_SYM.
21355 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21356 <bp-sym.h> and <bp-asm.h>.
21357 (strchr): Don't use BP_SYM.
21358 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21359 <bp-sym.h> and <bp-asm.h>.
21360 (__strchrnul): Don't use BP_SYM.
21361 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21362 <bp-sym.h> and <bp-asm.h>.
21363 (strlen): Don't use BP_SYM.
21364 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21365 <bp-sym.h> and <bp-asm.h>.
21366 (strncmp): Don't use BP_SYM.
21367 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21368 <bp-sym.h> and <bp-asm.h>.
21369 (__strnlen): Don't use BP_SYM.
21370 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21372 (__mpn_rshift): Don't use BP_SYM.
21373 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21374 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21375 <bp-sym.h> and <bp-asm.h>.
21376 (__sigsetjmp): Don't use BP_SYM.
21377 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21378 (L(start_addresses)): Don't use BP_SYM.
21379 (_start): Likewise.
21380 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21382 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21383 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21384 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21385 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21387 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21388 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21389 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21390 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21392 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21394 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21395 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21397 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
21399 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21400 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21401 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21403 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21405 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21407 (strncmp): Don't use BP_SYM,
21408 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21410 (__mpn_sub_n): Don't use BP_SYM.
21411 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21412 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21414 (__mpn_submul_1): Don't use BP_SYM.
21415 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21417 <bp-sym.h> and <bp-asm.h>.
21418 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21420 <bp-sym.h> and <bp-asm.h>.
21421 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21424 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21426 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21427 Use ZK to minimize writes to Z.
21428 (sub_magnitudes): Simplify code a bit.
21429 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21430 Use ZK to minimize writes to Z.
21431 (sub_magnitudes): Simplify code a bit.
21433 2013-02-27 Roland McGrath <roland@hack.frob.com>
21435 * csu/gmon-start.c: Add special exception to license text.
21437 2013-02-27 Richard Henderson <rth@redhat.com>
21439 * scripts/config.guess: Update from config.git.
21440 * scripts/config.sub: Likewise.
21442 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21444 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21446 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21448 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21450 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21452 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21454 2013-02-26 Roland McGrath <roland@hack.frob.com>
21456 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21457 [$(build-shared = yes].
21459 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21461 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21462 (__mul): Reduce iterations for calculating mantissa.
21464 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21466 (__mpranred): Likewise.
21469 * malloc/memusagestat.c (main): Draw graphs for heap and stack
21470 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21472 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
21474 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21475 Define __attribute__.
21477 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21479 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21481 * posix/regex_internal.h (__attribute): Remove.
21482 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21483 (re_string_context_at): Likewise.
21484 (bitset_not): Use __attribute__ and mark function as possibly
21486 (bitset_merge): Likewise.
21487 (bitset_mask): Likewise.
21488 (re_string_char_size_at): Likewise.
21489 (re_string_wchar_at): Likewise.
21490 (re_string_elem_size_at): Likewise.
21492 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21494 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21498 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21502 (denorm): Likewise.
21503 (__dbl_mp): Likewise.
21504 (add_magnitudes): Likewise.
21505 (sub_magnitudes): Likewise.
21509 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21512 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21515 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21518 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21519 up changes with default code.
21520 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21523 2013-02-24 Allan McRae <allan@archlinux.org>
21525 * manual/socket.texi (The Internet Namespace): Order menu items
21526 to match that in the file.
21528 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21529 node listing of the info page menu.
21531 2013-02-21 Joseph Myers <joseph@codesourcery.com>
21534 * sysdeps/i386/bp-asm.h: Remove file.
21535 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21536 (PARMS): Do not use macros from bp-asm.h.
21540 (__mpn_add_n): Do not use BP_SYM
21541 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21543 (PARMS): Do not use macros from bp-asm.h.
21546 (__mpn_addmul_1): Do not use BP_SYM
21547 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21549 (PARMS): Do not use macros from bp-asm.h.
21550 (SIGMSK): Likewise.
21551 (_setjmp): Likewise. Do not use BP_SYM.
21552 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21554 (PARMS): Do not use macros from bp-asm.h.
21555 (SIGMSK): Likewise.
21556 (setjmp): Likewise. Do not use BP_SYM.
21557 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21559 (PARMS): Do not use macros from bp-asm.h.
21560 (__frexp): Do not use BP_SYM.
21562 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21564 (PARMS): Do not use macros from bp-asm.h.
21565 (__frexpf): Do not use BP_SYM.
21566 (frexpf): Likewise.
21567 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21569 (PARMS): Do not use macros from bp-asm.h.
21570 (__frexpl): Do not use BP_SYM.
21571 (frexpl): Likewise.
21572 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21574 (PARMS): Do not use macros from bp-asm.h.
21575 (__remquo): Do not use BP_SYM.
21576 (remquo): Likewise.
21577 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21579 (PARMS): Do not use macros from bp-asm.h.
21580 (__remquof): Do not use BP_SYM.
21581 (remquof): Likewise.
21582 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21584 (PARMS): Do not use macros from bp-asm.h.
21585 (__remquol): Do not use BP_SYM.
21586 (remquol): Likewise.
21587 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21589 (PARMS): Do not use macros from bp-asm.h.
21592 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
21593 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21595 (PARMS): Do not use macros from bp-asm.h.
21596 (strlen): Do not use BP_SYM.
21597 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21599 (PARMS): Do not use macros from bp-asm.h.
21603 (__mpn_add_n): Do not use BP_SYM.
21604 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21606 (PARMS): Do not use macros from bp-asm.h.
21609 (__mpn_addmul_1): Do not use BP_SYM.
21610 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21613 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21615 (PARMS): Do not use macros from bp-asm.h.
21618 (__mpn_lshift): Do not use BP_SYM.
21619 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21621 (PARMS): Do not use macros from bp-asm.h.
21625 (memcpy): Likewise. Do not use BP_SYM.
21626 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21627 libc_hidden_def and weak_alias.
21628 (mempcpy): Do not use BP_SYM in weak_alias.
21629 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21631 (PARMS): Do not use macros from bp-asm.h.
21634 [!BZERO_P] (CHR): Likewise.
21635 (memset): Likewise. Do not use BP_SYM.
21636 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21638 (PARMS): Do not use macros from bp-asm.h.
21641 (__mpn_mul_1): Do not use BP_SYM.
21642 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21644 (PARMS): Do not use macros from bp-asm.h.
21647 (__mpn_rshift): Do not use BP_SYM.
21648 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21650 (PARMS): Do not use macros from bp-asm.h.
21653 (strchr): Likewise. Do not use BP_SYM.
21654 (index): Do not use BP_SYM in weak_alias.
21655 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21657 (PARMS): Do not use macros from bp-asm.h.
21660 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
21661 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21663 (PARMS): Do not use macros from bp-asm.h.
21664 (strlen): Do not use BP_SYM.
21665 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21667 (PARMS): Do not use macros from bp-asm.h.
21671 (__mpn_sub_n): Do not use BP_SYM.
21672 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21674 (PARMS): Do not use macros from bp-asm.h.
21677 (__mpn_submul_1): Do not use BP_SYM.
21678 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21680 (PARMS): Do not use macros from bp-asm.h.
21684 (__mpn_add_n): Do not use BP_SYM.
21685 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21688 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21690 (PARMS): Do not use macros from bp-asm.h.
21693 (memcmp): Do not use BP_SYM.
21694 (bcmp): Do not use BP_SYM in weak_alias.
21695 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21697 (PARMS): Do not use macros from bp-asm.h.
21701 (memcpy): Likewise. Do not use BP_SYM.
21702 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21704 (PARMS): Do not use macros from bp-asm.h.
21708 (memmove): Likewise. Do not use BP_SYM.
21709 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21711 (PARMS): Do not use macros from bp-asm.h.
21715 (__mempcpy): Likewise. Do not use BP_SYM.
21716 (mempcpy): Do not use BP_SYM in weak_alias.
21717 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21719 (PARMS): Do not use macros from bp-asm.h.
21722 [!BZERO_P] (CHR): Likewise.
21723 (memset): Likewise. Do not use BP_SYM.
21724 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21726 (PARMS): Do not use macros from bp-asm.h.
21728 (strcmp): Do not use BP_SYM.
21729 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21731 (PARMS): Do not use macros from bp-asm.h.
21734 [USE_AS_STRTOK_R] (SAVE): Likewise.
21735 (FUNCTION): Likewise. Do not use BP_SYM.
21736 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
21738 (strtok_r): Likewise.
21739 (__GI___strtok_r): Likewise.
21740 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21741 (PARMS): Do not use macros from bp-asm.h.
21744 (__mpn_lshift): Do not use BP_SYM.
21745 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21746 (PARMS): Do not use macros from bp-asm.h.
21749 (__memchr): Do not use BP_SYM.
21750 (memchr): Do not use BP_SYM in weak_alias.
21751 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21752 (PARMS): Do not use macros from bp-asm.h.
21755 (memcmp): Do not use BP_SYM.
21756 (bcmp): Do not use BP_SYM in weak_alias.
21757 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
21758 (PARMS): Do not use macros from bp-asm.h.
21761 (__mpn_mul_1): Do not use BP_SYM.
21762 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
21764 (PARMS): Do not use macros from bp-asm.h.
21767 (__rawmemchr): Do not use BP_SYM.
21768 (rawmemchr): Do not use BP_SYM in weak_alias.
21769 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21770 (PARMS): Do not use macros from bp-asm.h.
21773 (__mpn_rshift): Do not use BP_SYM.
21774 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21775 (PARMS): Do not use macros from bp-asm.h.
21776 (SIGMSK): Likewise.
21777 (__sigsetjmp): Likewise. Do not use BP_SYM.
21778 * sysdeps/i386/start.S: Do not include "bp-sym.h".
21779 (_start): Do not use BP_SYM.
21780 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
21781 (PARMS): Do not use macros from bp-asm.h.
21784 (__stpcpy): Likewise. Do not use BP_SYM.
21785 (stpcpy): Do not use BP_SYM in weak_alias.
21786 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
21788 (PARMS): Do not use macros from bp-asm.h.
21792 (__stpncpy): Likewise. Do not use BP_SYM.
21793 (stpncpy): Do not use BP_SYM in weak_alias.
21794 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21795 (PARMS): Do not use macros from bp-asm.h.
21798 (strchr): Likewise. Do not use BP_SYM.
21799 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
21801 (PARMS): Do not use macros from bp-asm.h.
21804 (__strchrnul): Likewise. Do not use BP_SYM.
21805 (strchrnul): Do not use BP_SYM in weak_alias.
21806 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
21808 (PARMS): Do not use macros from bp-asm.h.
21810 (strcspn): Do not use BP_SYM.
21811 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
21813 (PARMS): Do not use macros from bp-asm.h.
21816 (strpbrk): Likewise. Do not use BP_SYM.
21817 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
21819 (PARMS): Do not use macros from bp-asm.h.
21822 (strrchr): Likewise. Do not use BP_SYM.
21823 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
21824 (PARMS): Do not use macros from bp-asm.h.
21826 (strspn): Do not use BP_SYM.
21827 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
21828 (PARMS): Do not use macros from bp-asm.h.
21832 (FUNCTION): Likewise. Do not use BP_SYM.
21833 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
21835 (strtok_r): Likewise.
21836 (__GI___strtok_r): Likewise.
21837 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21838 (PARMS): Do not use macros from bp-asm.h.
21842 (__mpn_sub_n): Do not use BP_SYM.
21843 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
21845 (PARMS): Do not use macros from bp-asm.h.
21848 (__mpn_submul_1): Do not use BP_SYM.
21849 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
21851 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
21853 (PARMS): Do not use macros from bp-asm.h.
21858 (__clone): Do not use BP_SYM.
21859 (clone): Do not use BP_SYM in weak_alias.
21860 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
21862 (PARMS): Do not use macros from bp-asm.h.
21864 (__mmap64): Do not use BP_SYM.
21865 (mmap64): Do not use BP_SYM in weak_alias.
21866 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21867 <bp-sym.h> and <bp-asm.h>.
21868 (PARMS): Do not use macros from bp-asm.h.
21869 (__posix_fadvise64_l64): Do not use BP_SYM.
21870 * sysdeps/unix/sysv/linux/i386/semtimedop.S
21871 (PARMS): Do not use macros from bp-asm.h.
21873 (semtimedop): Do not use BP_SYM.
21874 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
21877 2013-02-21 Allan McRae <allan@archlinux.org>
21879 * manual/message.texi (Charset conversion in gettext):
21880 Move @end statement to beginning of line.
21882 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
21886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21889 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
21890 (denorm): Likewise.
21891 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
21892 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
21894 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21896 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21897 tail-call to the resolved function if pltexit isn't needed.
21899 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21901 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
21902 or Y being zero as being unlikely.
21903 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21906 2013-02-20 Carlos O'Donell <carlos@redhat.com>
21908 * manual/nss.texi (System Databases and Name Service Switch):
21909 Remove frobnicate @pxref.
21911 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21913 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21914 __attribute__ ((unused)) to __attribute__ ((__unused__)).
21916 2013-02-20 Petr Machata <pmachata@redhat.com>
21918 * elf/elf.h (R_ARM_TARGET1): New macro.
21919 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21920 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21921 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21922 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21923 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21924 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21925 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21926 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21927 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21928 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21929 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21930 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21931 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21932 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21933 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21934 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21935 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21936 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21937 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21938 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21939 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21940 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21941 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21942 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21943 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21944 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21945 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21946 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21947 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21948 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21949 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21950 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21951 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21952 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21953 (R_ARM_THM_GOT_BREL12): Likewise.
21954 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21955 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21956 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21957 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21958 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21959 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21960 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21961 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21962 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21964 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21966 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21967 __attribute_used__ to __attribute__ ((unused)).
21969 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21971 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21973 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21974 comment formatting.
21975 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21977 2013-02-19 Joseph Myers <joseph@codesourcery.com>
21980 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21982 (ENTER): Remove both macro definitions.
21984 (CHECK_BOUNDS_LOW): Likewise.
21985 (CHECK_BOUNDS_HIGH): Likewise.
21986 (CHECK_BOUNDS_BOTH): Likewise.
21987 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21988 (RETURN_BOUNDED_POINTER): Likewise.
21989 (RETURN_NULL_BOUNDED_POINTER): Likewise.
21990 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21991 (POP_ERRNO_LOCATION_RETURN): Likewise.
21992 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21993 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21994 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21996 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21997 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21998 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21999 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22000 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22001 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22002 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22003 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22004 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22005 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22006 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22007 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22008 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22009 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22011 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22012 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22014 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22015 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22016 * sysdeps/i386/i586/memset.S (memset): Likewise.
22017 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22018 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22019 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22021 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22022 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22023 Change uses of L(2) to L(out).
22024 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22025 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22026 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22027 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22028 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22030 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22031 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22033 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22034 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22035 (RETURN): Do not use macro LEAVE.
22036 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22037 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22038 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22039 * sysdeps/i386/i686/memset.S (memset): Likewise.
22040 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22041 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22042 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22043 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22045 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22046 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
22047 L(1_2) and L(1_3) into L(1).
22048 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22049 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22050 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22051 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22052 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22053 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22054 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22055 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22056 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22058 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22059 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22060 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22061 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22062 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22063 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22064 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22065 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22066 * sysdeps/i386/strcspn.S (strcspn): Likewise.
22067 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22068 * sysdeps/i386/strrchr.S (strrchr): Likewise.
22069 * sysdeps/i386/strspn.S (strspn): Likewise.
22070 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22072 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22073 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22074 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22075 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
22076 L(1_3) into L(1_1).
22077 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22078 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22079 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22081 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22083 2013-02-19 Jakub Jelinek <jakub@redhat.com>
22085 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22088 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22090 * math/atest-exp.c (exp_mpn): Remove ROUND.
22091 * math/atest-exp2.c (exp_mpn): Likewise.
22092 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22094 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22095 * stdlib/tst-tls-atexit-lib.c: Likewise.
22096 * stdlib/tst-tls-atexit.c: Likewise.
22098 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22100 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22101 and __attribute_alloc_size__.
22103 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22105 * include/programs/xmalloc.h: Change __attribute_alloc_size to
22106 __attribute_alloc_size__.
22107 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22108 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22110 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22112 * include/programs/xmalloc.h: New file.
22113 * catgets/gencat.c: Include it.
22114 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22115 * elf/pldd.c: Likewise.
22116 * iconv/iconv_charmap.c: Likewise.
22117 * iconv/iconvconfig.c: Likewise.
22118 * iconv/strtab.c: Likewise.
22119 * locale/programs/locale.c: Likewise.
22120 * locale/programs/localedef.h: Likewise.
22121 * locale/programs/simple-hash.c: Likewise.
22122 * nscd/nscd.h: Likewise.
22123 * nss/makedb.c: Likewise.
22124 * sysdeps/generic/ldconfig.h: Likewise.
22126 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22128 * Versions.def: Add GLIBC_2.18.
22129 * include/link.h (struct link_map): New member l_tls_dtor_count.
22130 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22131 (__call_tls_dtors): Likewise.
22132 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22133 __cxa_thread_atexit_impl.
22134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22142 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22148 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22150 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22151 (tests): Add test case tst-tls-atexit.
22152 (modules-names): Add shared library for tst-tls-atexit.
22153 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22154 (GLIBC_PRIVATE): Add __call_tls_dtors.
22155 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22157 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22158 * stdlib/tst-tls-atexit.c: New test case.
22159 * stdlib/tst-tls-atexit-lib.c: New test case.
22161 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22163 * elf/Versions (ld): Add _dl_find_dso_for_object.
22164 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22165 * elf/dl-open.c (_dl_find_dso_for_object): New function.
22166 (dl_open_worker): Use _dl_find_dso_for_object.
22167 * elf/dl-sym.c (do_sym): Likewise.
22168 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22170 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22172 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22173 Syntactic changes only.
22174 (_dl_runtime_profile): Do a tail-call to the resolved function.
22176 2013-02-17 Joseph Myers <joseph@codesourcery.com>
22179 * sysdeps/x86_64/bp-asm.h: Remove file.
22180 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22181 <bp-sym.h> and <bp-asm.h>.
22182 (__clone): Do not use BP_SYM.
22183 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22184 <bp-sym.h> and <bp-asm.h>.
22185 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22186 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22188 (_setjmp): Do not use BP_SYM.
22189 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22191 (setjmp): Do not use BP_SYM.
22192 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22194 (mempcpy): Do not use BP_SYM in weak_alias.
22195 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22197 (strchr): Do not use BP_SYM.
22198 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22200 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22201 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22202 (_start): Do not use BP_SYM.
22203 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22205 (strcat): Do not use BP_SYM.
22206 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22208 (STRCMP): Do not use BP_SYM.
22209 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22211 (STRCPY): Do not use BP_SYM.
22212 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22214 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22216 (FUNCTION): Do not use BP_SYM.
22217 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22219 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22221 2013-02-17 Andreas Jaeger <aj@suse.de>
22223 * time/Versions: Sort entries.
22224 * string/Versions: Likewise.
22225 * resolv/Versions: Likewise.
22226 * posix/Versions: Likewise.
22227 * iconv/Versions: Likewise.
22228 * elf/Versions: Likewise.
22229 * wcsmbs/Versions: Likewise.
22231 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22233 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22234 loop termination condition.
22236 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22237 variable to calculate EZ.
22240 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22241 the lower precision input.
22243 2013-02-15 Joseph Myers <joseph@codesourcery.com>
22246 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22247 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22248 (run-via-rtld-prefix): Do not handle %-bp tests.
22249 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22250 (all-object-suffixes): Remove .ob.
22251 (bppfx): Remove variable.
22252 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22253 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22254 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22255 [$(build-bounded) = yes] (libtype.ob): Likewise.
22256 * Makerules (elide-routines.ob): Remove variable.
22257 (do-tests-clean): Do not handle *-bp.out.
22258 (common-mostlyclean): Do not handle *-bp and *-bp.out.
22259 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22260 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22261 (tests): Do not include $(tests-bp.out).
22262 (xtests): Do not include $(xtests-bp.out).
22263 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22264 [$(build-bounded) = yes] ($(addprefix
22265 $(objpfx),$(binaries-bounded))): Remove rule.
22266 ($(objpfx)%-bp.out): Remove rule.
22267 * config.make.in (build-bounded): Remove variable.
22268 * crypt/Makefile [$(build-bounded) = yes]
22269 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22270 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22271 append to variable.
22272 [$(build-bounded) = yes] (install-lib): Likewise.
22273 [$(build-bounded) = yes] (generated): Likewise.
22274 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22276 * intl/Makefile [$(build-bounded) = yes]
22277 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22278 * math/Makefile [$(build-bounded) = yes]
22279 ($(tests:%=$(objpfx)%-bp): Likewise.
22280 * misc/Makefile [$(build-bounded) = yes]
22281 ($(objpfx)tst-tsearch-bp): Likewise.
22282 * nptl/Makeconfig (bounded-thread-library): Remove variable.
22283 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22285 * string/Makefile (o-objects.ob): Remove variable.
22286 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22287 (CFLAGS-.ob): Remove variable.
22288 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22289 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22290 both definitions of variable.
22291 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22292 (ASFLAGS-.ob): Remove variable.
22294 2013-02-14 Joseph Myers <joseph@codesourcery.com>
22297 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22298 Remove __BOUNDED_POINTERS__ from condition.
22299 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22300 * string/bits/string2.h [!__NO_STRING_INLINES &&
22301 !__BOUNDED_POINTERS__]: Likewise.
22302 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22304 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22305 Remove conditional code.
22306 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22307 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22308 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22312 * csu/libc-start.c: Do not include <bp-sym.h>.
22313 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22314 * elf/dl-open.c: Do not include <bp-sym.h>.
22315 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22316 * math/fegetenv.c: Do not include <bp-sym.h>.
22317 (fegetenv): Do not use BP_SYM in versioned symbols.
22318 * nptl/sysdeps/pthread/bits/libc-lockP.h
22319 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22321 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22322 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22323 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22324 (__pthread_mutex_destroy): Likewise.
22325 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22326 (__pthread_mutex_lock): Likewise.
22327 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22328 (__pthread_mutex_trylock): Likewise.
22329 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22330 (__pthread_mutex_unlock): Likewise.
22331 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22332 (__pthread_mutexattr_init): Likewise.
22333 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22334 (__pthread_mutexattr_destroy): Likewise.
22335 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22336 (__pthread_mutexattr_settype): Likewise.
22337 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22338 (__pthread_rwlock_init): Likewise.
22339 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22340 (__pthread_rwlock_destroy): Likewise.
22341 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22342 (__pthread_rwlock_rdlock): Likewise.
22343 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22344 (__pthread_rwlock_tryrdlock): Likewise.
22345 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22346 (__pthread_rwlock_wrlock): Likewise.
22347 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22348 (__pthread_rwlock_trywrlock): Likewise.
22349 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22350 (__pthread_rwlock_unlock): Likewise.
22351 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22352 (__pthread_key_create): Likewise.
22353 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22354 (__pthread_setspecific): Likewise.
22355 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22356 (__pthread_getspecific): Likewise.
22357 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22359 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22360 (_pthread_cleanup_push_defer): Likewise.
22361 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22362 (_pthread_cleanup_pop_restore): Likewise.
22363 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22364 (pthread_setcancelstate): Likewise.
22365 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22367 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22368 (memchr): Do not use BP_SYM in weak_alias.
22369 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22370 (fegetenv): Do not use BP_SYM in versioned symbols.
22371 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22372 (fesetenv): Do not use BP_SYM in versioned symbols.
22373 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22374 (feupdateenv): Do not use BP_SYM in versioned symbols.
22375 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22376 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22377 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22378 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22379 (open64): Do not use BP_SYM in weak_alias.
22380 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22381 (fegetenv): Do not use BP_SYM in versioned symbols.
22382 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22383 (fesetenv): Do not use BP_SYM in versioned symbols.
22384 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22385 (feupdateenv): Do not use BP_SYM in versioned symbols.
22386 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22387 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22388 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22389 (feraiseexcept): Do not use BP_SYM in versioned symbols.
22390 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22391 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22392 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22394 (__libc_start_main): Do not use BP_SYM.
22396 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22398 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22399 redundant return line.
22401 (denorm): Likewise.
22402 (dbl_mp): Likewise.
22403 (sub_magnitudes): Likewise.
22409 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22411 (denorm): Likewise.
22412 (dbl_mp): Likewise.
22413 (sub_magnitudes): Likewise.
22420 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22422 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22423 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22426 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22427 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22428 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22429 of __mul for squares.
22430 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22432 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22434 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22435 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22437 2013-02-13 Joseph Myers <joseph@codesourcery.com>
22440 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22442 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22443 prototype or function definition. Rename ubp_* variables and
22444 parameters. Remove argv definitions conditional on
22445 [__BOUNDED_POINTERS__].
22446 * debug/backtrace.c (__backtrace): Do not use __unbounded.
22447 * elf/dl-runtime.c (_dl_fixup): Likewise.
22448 * include/set-hooks.h (RUN_HOOK): Likewise.
22449 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22451 * string/strcpy.c (strcpy): Do not use __unbounded.
22452 * sysdeps/generic/frame.h (struct layout): Likewise.
22453 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22454 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22455 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22456 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22457 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22458 (__backtrace): Likewise.
22459 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22461 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22462 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22463 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22465 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22466 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22467 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22468 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22469 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22470 Do not use __unbounded.
22471 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22472 Rename __unboundedrlimits parameter to rlimits in prototype.
22473 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22474 Do not use __unbounded.
22475 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22476 not use __ptrvalue.
22477 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22478 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22479 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22480 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22481 __ptrvalue or __unbounded.
22482 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22483 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22485 (__new_msgctl): Do not use __ptrvalue.
22486 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22488 (__libc_msgrcv): Do not use __ptrvalue.
22489 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22490 startup_info): Do not use __unbounded.
22491 (__libc_start_main): Likewise. Rename ubp_* variables and
22492 parameters. Remove argv definitions conditional on
22493 [__BOUNDED_POINTERS__].
22494 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22496 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22498 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22500 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22502 (__new_shmctl): Do not use __ptrvalue.
22503 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22504 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22506 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22507 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22508 (__libc_sigaction): Likewise.
22509 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22510 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22512 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22514 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
22516 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22518 * string/mempcpy.c: Implement by calling memcpy.
22520 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22522 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22524 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22527 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22528 values in the mantissa.
22530 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22531 minimize writes to Z.
22532 (sub_magnitudes): Simplify code a bit.
22534 2013-02-12 Roland McGrath <roland@hack.frob.com>
22536 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22537 from the message. The linker prefixes all warnings with that already.
22539 2013-02-12 Andreas Schwab <schwab@suse.de>
22542 * posix/regexec.c (extend_buffers): Add parameter min_len.
22543 (check_matching): Pass minimum needed length.
22544 (clean_state_log_if_needed): Likewise.
22545 (get_subexp): Likewise.
22546 * posix/Makefile (tests): Add bug-regex34.
22547 (bug-regex34-ENV): Define.
22548 * posix/bug-regex34.c: New file.
22551 * posix/regcomp.c (parse_bracket_exp): When looking up collating
22552 elements compare against the byte sequence of it, not its name.
22553 * posix/Makefile (tests): Add bug-regex35.
22554 (bug-regex35-ENV): Define.
22555 * posix/bug-regex35.c: New file.
22557 2013-02-11 Tom de Vries <tom@codesourcery.com>
22559 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
22561 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22562 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22563 (CHECK_EOL): Add undef.
22565 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
22567 * bits/stdlib-bsearch.h: New file.
22568 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22569 * stdlib/stdlib.h: Likewise.
22571 2013-02-11 Roland McGrath <roland@hack.frob.com>
22573 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22574 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22576 * manual/search.texi (Array Search Function): Add missing const in
22578 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22579 declaration to use rlim_t.
22580 (Basic Scheduling Functions): Remove erroneous const from
22581 sched_getparam prototype. Remove erroneous * from
22582 sched_get_priority_max and sched_get_priority_min prototypes.
22583 (Resource Usage): Fix summary @comment on vtimes to refer to
22584 sys/vtimes.h rather than vtimes.h.
22585 Add missing *s in vtimes prototype.
22586 (Limits on Resources): Fix ulimit prototype to return long int.
22587 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22588 prototypes to use long int rather than double.
22589 (BSD Random): Fix initstate and setstate to use char *, not void *.
22590 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22591 prototype to make second argument 'struct aiocb64 *const[]'.
22592 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22593 (Status of AIO Operations): Remove erroneous const in aio_return and
22594 aio_return64 prototypes.
22595 (Synchronizing I/O): Fix sync prototype to return void.
22596 * manual/startup.texi (Suboptions): Remove an erroneous const in
22597 getsubopt prototype.
22598 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22599 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22600 use size_t rather than int.
22601 (Scanning All Users): Likewise for getpwent_r.
22602 (Setting Groups): Add missing const to setgroups prototype.
22603 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22604 * manual/socket.texi (Host Names): Fix gethostbyaddr and
22605 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22606 'const void *' rather than 'const char *'.
22607 (Host Address Functions): Likewise for inet_ntop.
22608 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22609 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22610 ssize_t for return value.
22611 (Sending Data): Likewise for send, sendto, sendmsg.
22612 (Socket Option Functions): Add a missing const in setsockopt prototype.
22613 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22614 use wchar_t for the argument.
22615 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22616 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22618 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22619 double/float/long double for second argument.
22620 Fix return types of significand, significandf, significandl.
22621 * manual/filesys.texi (Setting Permissions): Use mode_t for second
22622 argument in fchmod prototype.
22623 (File Owner): Use uid_t and gid_t in fchown prototype.
22624 (File Times): Add const to utimes, futimes, and lutimes prototypes.
22625 (Making Special Files): Use mode_t and dev_t in mknod prototype.
22626 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22627 use 'const struct dirent **' as argument types to CMP function pointer
22629 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22630 (File Times): Fix summary magic @comment for struct utimbuf and utime
22631 to refer to utime.h, not time.h.
22632 * manual/string.texi (Argz Functions): Add missing const in
22633 argz_extract and argz_next prototypes.
22634 (Finding Tokens in a String): Likewise for basename.
22635 (String/Array Comparison): Fix typo in wcscasecmp prototype.
22636 (Copying and Concatenation): Fix typo in wmemmove prototype.
22637 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22638 (Signal Stack): Remove erroneous const in sigstack prototype.
22639 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22641 (Simple Calendar Time): Likewise for stime.
22642 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22644 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22645 say sys/sysctl.h instead.
22646 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22647 and vsyslog prototypes.
22649 2013-02-11 Tom de Vries <tom@codesourcery.com>
22651 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22654 2013-02-11 Roland McGrath <roland@hack.frob.com>
22656 * misc/sys/mman.h: Fix typo in mremap comment.
22658 2013-02-08 Roland McGrath <roland@hack.frob.com>
22660 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22661 the '\0' terminator.
22663 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22666 * debug/segfault.c: Don't include <bp-checks.h>.
22667 * sysdeps/generic/bp-checks.h: Remove file.
22668 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22669 (__GETDENTS): Don't use CHECK_N.
22670 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22671 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22672 (__getgroups): Don't use CHECK_N.
22673 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22674 (setgroups): Don't use CHECK_N.
22675 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22676 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22677 (__libc_msgrcv): Don't use CHECK_N.
22678 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22679 (__libc_msgsnd): Don't use CHECK_N.
22680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22682 (__libc_pread): Don't use CHECK_N.
22683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22684 include <bp-checks.h>.
22685 (__libc_pread64): Don't use CHECK_N.
22686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22687 include <bp-checks.h>.
22688 (__libc_pwrite): Don't use CHECK_N.
22689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22690 include <bp-checks.h>.
22691 (__libc_pwrite64): Don't use CHECK_N.
22692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22694 (__libc_pread): Don't use CHECK_N.
22695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22696 include <bp-checks.h>.
22697 (__libc_pread64): Don't use CHECK_N.
22698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22699 include <bp-checks.h>.
22700 (__libc_pwrite): Don't use CHECK_N.
22701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22702 include <bp-checks.h>.
22703 (__libc_pwrite64): Don't use CHECK_N.
22704 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22705 (do_pread): Don't use CHECK_N.
22706 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22707 (do_pread64): Don't use CHECK_N.
22708 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22709 (do_pwrite): Don't use CHECK_N.
22710 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22711 (do_pwrite64): Don't use CHECK_N.
22712 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22713 (__libc_readv): Don't use CHECK_N.
22714 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22715 (semop): Don't use CHECK_N.
22716 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22718 (semtimedop): Don't use CHECK_N.
22719 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22720 (__libc_pread): Don't use CHECK_N.
22721 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22723 (__libc_pread64): Don't use CHECK_N.
22724 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22726 (__libc_pwrite): Don't use CHECK_N.
22727 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22729 (__libc_pwrite64): Don't use CHECK_N.
22730 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22732 (__libc_msgrcv): Don't use CHECK_N.
22733 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22734 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
22735 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
22736 (__libc_writev): Don't use CHECK_N.
22738 2013-02-08 Roland McGrath <roland@hack.frob.com>
22740 * string/strcpy.c: Removed unused variable.
22742 * Makeconfig (+sysdep-includes): Define with := rather than =.
22743 Use an existing include/ subdir of each sysdeps dir before it.
22745 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22747 * nscd/connection.c (register_traced_file): Comment function.
22748 [HAVE_INOTIFY] (union __inev): Define.
22749 [HAVE_INOTIFY] (inotify_check_files): New function.
22750 [HAVE_INOTIFY] (clear_db_cache): Likewise.
22751 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
22753 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
22755 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22757 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
22758 loaded if not already and that a failure is permanent.
22760 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22763 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
22764 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
22766 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22769 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
22770 (CHECK_1_NULL_OK): Likewise.
22771 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
22772 (__fxstat): Do not use CHECK_1.
22773 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
22775 (___fxstat64): Do not use CHECK_1.
22776 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22778 (__fxstatat): Do not use CHECK_1.
22779 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22781 (__fxstatat64): Do not use CHECK_1.
22782 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
22784 (__fxstat): Do not use CHECK_1.
22785 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22787 (__fxstatat): Do not use CHECK_1.
22788 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22790 (__getresgid): Do not use CHECK_1.
22791 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22793 (__getresuid): Do not use CHECK_1.
22794 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
22796 (__lxstat): Do not use CHECK_1.
22797 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22799 (__old_msgctl): Do not use CHECK_1.
22800 (__new_msgctl): Likewise.
22801 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
22803 (__new_setrlimit): Do not use CHECK_1.
22804 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22806 (__old_shmctl): Do not use CHECK_1.
22807 (__new_shmctl): Likewise.
22808 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
22810 (__xstat): Do not use CHECK_1.
22811 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
22812 (__lxstat): Do not use CHECK_1.
22813 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
22815 (___lxstat64): Do not use CHECK_1.
22816 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
22817 (__old_msgctl): Do not use CHECK_1.
22818 (__new_msgctl): Likewise.
22819 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
22821 (__gettimeofday): Do not use CHECK_1.
22822 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
22823 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
22824 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
22826 (__gettimeofday): Do not use CHECK_1.
22827 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
22828 (__old_shmctl): Do not use CHECK_1_NULL_OK.
22829 (__new_shmctl): Do not use CHECK_1.
22830 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
22832 (do_sigtimedwait): Do not use CHECK_1.
22833 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
22835 (do_sigwaitinfo): Do not use CHECK_1.
22836 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
22838 (msgctl): Do not use CHECK_1.
22839 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
22841 (shmctl): Do not use CHECK_1.
22842 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
22843 (ustat): Do not use CHECK_1.
22844 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
22846 (__fxstat): Do not use CHECK_1.
22847 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22849 (__fxstatat): Do not use CHECK_1.
22850 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
22852 (__lxstat): Do not use CHECK_1.
22853 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
22855 (__xstat): Do not use CHECK_1.
22856 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
22857 (__xstat): Do not use CHECK_1.
22858 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
22859 (___xstat64): Do not use CHECK_1.
22862 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
22864 (CHECK_BOUNDS_HIGH): Likewise.
22865 * string/strcpy.c: Do not include <bp-checks.h>.
22866 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
22868 2013-02-07 Roland McGrath <roland@hack.frob.com>
22870 * nscd/nscd-client.h (__nscd_drop_map_ref):
22871 Add __attribute__ ((unused)).
22872 * nis/nss-nisplus.h (niserr2nss): Likewise.
22874 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
22875 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
22877 * csu/libc-tls.c (init_static_tls, init_slotinfo):
22878 Remove inline keyword.
22879 * include/rounding-mode.h (round_away): Likewise.
22880 * libio/wfileops.c (adjust_wide_data): Likewise.
22881 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
22882 (__m128i_strloadu_tolower): Likewise.
22883 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
22884 (__m128i_strloadu_tolower): Likewise.
22885 * time/mktime.c (ydhms_diff): Likewise.
22886 * locale/elem-hash.h (elem_hash): Likewise.
22887 * locale/setlocale.c (setdata): Likewise.
22888 * posix/regex_internal.h (re_string_char_size_at): Likewise.
22889 (re_string_wchar_at): Likewise.
22890 (bitset_not, bitset_merge, bitset_mask): Likewise.
22891 [!(__GNUC__ > 3)] (inline): Remove macro.
22892 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
22893 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
22894 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22895 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22896 * string/memcmp.c (memcmp_bytes): Likewise.
22897 * locale/programs/locarchive.c (compute_hashval): Likewise.
22898 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
22899 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
22900 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
22901 * nss/getent.c (print_rpc, print_protocols): Likewise.
22902 (print_passwd, print_group, print_aliases): Likewise.
22903 * nis/nss-nisplus.h (niserr2nss): Likewise.
22904 * nscd/connections.c (restart_p): Likewise.
22905 Change return type to bool.
22907 2013-02-05 Roland McGrath <roland@hack.frob.com>
22909 * Makeconfig (all-Depend-files): Add existing
22910 $(sorted-subdirs:=/Depend) files.
22911 (all-subdirs): Remove nss.
22912 * sysdeps/unix/inet/Subdirs: Add it here instead.
22913 * hesiod/Depend: New file.
22915 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
22916 instead of calling alloca.
22918 * io/lseek.c (__lseek): Rename to __libc_lseek.
22919 Define __lseek as an alias.
22921 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22923 2013-02-04 Carlos O'Donell <carlos@redhat.com>
22925 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22926 else clause and remove check for non-standard endianness.
22928 2013-02-04 David S. Miller <davem@davemloft.net>
22930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22932 2013-02-04 Joseph Myers <joseph@codesourcery.com>
22935 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22936 (__ubp_memchr): Remove prototype.
22937 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22938 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22939 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22940 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22941 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22943 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22944 (__ubp_memchr): Likewise.
22945 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22946 (__ubp_memchr): Likewise.
22947 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22948 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22949 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22950 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22952 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22953 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22954 (__getcwd): Do not use CHECK_STRING.
22955 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22957 (__real_chown): Do not use CHECK_STRING.
22958 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22960 (fchownat): Do not use CHECK_STRING.
22961 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22963 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22965 (__lchown): Do not use CHECK_STRING.
22966 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22967 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22968 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22969 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22971 include <bp-checks.h>.
22972 (truncate64): Do not use CHECK_STRING.
22973 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22975 (__real_chown): Do not use CHECK_STRING.
22976 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22978 (__lchown): Do not use CHECK_STRING.
22979 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22981 (__chown): Do not use CHECK_STRING.
22982 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22984 (truncate64): Do not use CHECK_STRING.
22985 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22987 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22988 (__xmknod): Do not use CHECK_STRING.
22989 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22991 (__xmknodat): Do not use CHECK_STRING.
22992 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22993 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22995 2013-02-04 Andreas Schwab <schwab@suse.de>
22998 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22999 * include/netdb.h: Likewise for h_errno.
23000 * elf/tst-stackguard1.c: Include <tls.h>.
23002 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23004 * elf/link.h (struct link_map): Extend the l_addr comment.
23005 * include/link.h (struct link_map): Likewise.
23007 2013-02-01 Joseph Myers <joseph@codesourcery.com>
23010 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23011 (BOUNDED_1): Remove macro.
23012 * debug/backtrace.c: Don't include <bp-checks.h>.
23013 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23014 (__backtrace): Likewise.
23015 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23017 (__backtrace): Don't use BOUNDED_1.
23018 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23020 (__backtrace): Don't use BOUNDED_1.
23021 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23022 (__backtrace): Don't use BOUNDED_1.
23023 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23024 (shmat): Don't use BOUNDED_N.
23026 2013-01-31 Joseph Myers <joseph@codesourcery.com>
23029 * sysdeps/generic/bp-start.h: Remove file.
23030 * csu/libc-start.c: Don't include <bp-start.h>.
23031 (LIBC_START_MAIN): Set up __environ directly instead of using
23032 INIT_ARGV_and_ENVIRON.
23033 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23037 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23039 (CHECK_FCNTL): Likewise.
23040 (CHECK_N_PAGES): Likewise.
23043 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23045 (CHECK_SIGSET_NULL_OK): Likewise.
23046 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23048 (sigpending): Don't use CHECK_SIGSET.
23049 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23051 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23052 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23054 (do_sigsuspend): Don't use CHECK_SIGSET.
23055 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23057 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23058 (do_sigwait): Don't use CHECK_SIGSET.
23059 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23061 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23062 include <bp-checks.h>.
23063 (sigpending): Don't use CHECK_SIGSET.
23064 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23065 include <bp-checks.h>.
23066 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23067 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23069 (sigpending): Don't use CHECK_SIGSET.
23070 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23072 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23075 * sysdeps/generic/bp-semctl.h: Remove file.
23076 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23077 <bp-checks.h> and <bp-semctl.h>.
23078 (__old_semctl): Don't use CHECK_SEMCTL.
23079 (__new_semctl): Likewise.
23080 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23082 (__old_semctl): Don't use CHECK_SEMCTL.
23083 (__new_semctl): Likewise.
23084 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23085 <bp-checks.h> and <bp-semctl.h>.
23086 (__old_semctl): Don't use CHECK_SEMCTL.
23087 (__new_semctl): Likewise.
23088 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23089 <bp-checks.h> and <bp-semctl.h>.
23090 (semctl): Don't use CHECK_SEMCTL.
23093 * Makerules (elide-bp-thunks): Remove variable.
23094 (elide-routines.oS): Don't use $(elide-bp-thunks).
23095 (elide-routines.os): Likewise.
23096 (elide-routines.o): Likewise.
23097 (elide-routines.op): Likewise.
23098 (elide-routines.og): Likewise.
23099 (objects): Don't use $(bp-thunks).
23100 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23102 (common-generated): Do not add s-proto-bp.d.
23103 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23106 Do not generate makefile rules for bounded-pointer thunks.
23107 * sysdeps/generic/bp-thunks.h: Remove file.
23108 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23109 * sysdeps/unix/s-proto-bp.S: Likewise.
23112 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23113 parts of result separately when argument is not close to line from
23114 -i to i and one part of argument is small.
23115 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23116 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23117 * math/libm-test.inc (cacos_test): Add more tests.
23118 (casin_test): Likewise.
23119 (casinh_test): Likewise.
23120 * sysdeps/i386/fpu/libm-test-ulps: Update.
23121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23123 2013-01-31 David S. Miller <davem@davemloft.net>
23125 * po/de.po: Update from translation team.
23127 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
23129 * time/tzfile.c: Include stdint.h for SIZE_MAX.
23131 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
23133 * configure.in (_AC_PROG_CC_C89): New definition.
23134 * configure: Regenerate.
23136 * configure.in (AC_PROG_CPP): New definition.
23137 * configure: Regenerate.
23139 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23141 * debug/tst-backtrace.h: New file.
23142 * debug/tst-backtrace2.c: Include tst-backtrace.h.
23143 (ret): Remove variable.
23145 (FAIL): Remove macro.
23146 (NO_INLINE): Likewise.
23147 (fn1): Use match function instead of strstr.
23148 * debug/tst-backtrace3.c: Include tst-backtrace.h.
23149 (ret): Remove variable.
23151 (FAIL): Remove macro.
23152 (NO_INLINE): Likewise.
23153 (fn): Use match function instead of strstr.
23154 * debug/tst-backtrace4.c: Include tst-backtrace.h.
23155 (ret): Remove variable.
23157 (FAIL): Remove macro.
23158 (NO_INLINE): Likewise.
23159 (handle_signal): Use match function instead of strstr.
23160 * debug/tst-backtrace5.c: Include tst-backtrace.h.
23161 (ret): Remove variable.
23163 (FAIL): Remove macro.
23164 (NO_INLINE): Likewise.
23165 (handle_signal): Use match function instead of strstr.
23167 2013-01-23 Roland McGrath <roland@hack.frob.com>
23169 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23171 2013-01-23 David S. Miller <davem@davemloft.net>
23173 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23174 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23175 argument of CAS if possible.
23176 * sysdeps/sparc/sparc64/bits/atomic.h
23177 (__arch_compare_and_exchange_val_32_acq): Likewise.
23178 (__arch_compare_and_exchange_val_64_acq): Likewise.
23180 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
23182 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23183 * sysdeps/posix/ulimit.c: ... this.
23184 Include <limits.h>.
23185 * sysdeps/unix/bsd/ulimit.c: Remove file.
23187 2013-01-23 Adam Conrad <adconrad@0c3.net>
23189 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23190 (LDFLAGS-tst-array5): Likewise.
23192 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23195 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23196 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23197 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23198 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23200 2013-01-21 David S. Miller <davem@davemloft.net>
23202 * sysdeps/sparc/backtrace.c: New file.
23203 * sysdeps/sparc/sparc32/backtrace.h: New file.
23204 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23205 * sysdeps/sparc/sparc64/backtrace.h: New file.
23206 * sysdeps/sparc/sparc64/backtrace.c: Delete.
23207 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23210 2013-01-21 Andreas Schwab <schwab@suse.de>
23213 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23216 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
23218 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23220 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23222 2013-01-18 Joseph Myers <joseph@codesourcery.com>
23223 Mark Mitchell <mark@codesourcery.com>
23224 Tom de Vries <tom@codesourcery.com>
23225 Paul Pluzhnikov <ppluzhnikov@google.com>
23227 * debug/tst-backtrace2.c: New file.
23228 * debug/tst-backtrace3.c: Likewise.
23229 * debug/tst-backtrace4.c: Likewise.
23230 * debug/tst-backtrace5.c: Likewise.
23231 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23232 (CFLAGS-tst-backtrace3.c): Likewise.
23233 (CFLAGS-tst-backtrace4.c): Likewise.
23234 (CFLAGS-tst-backtrace5.c): Likewise.
23235 (LDFLAGS-tst-backtrace2): Likewise.
23236 (LDFLAGS-tst-backtrace3): Likewise.
23237 (LDFLAGS-tst-backtrace4): Likewise.
23238 (LDFLAGS-tst-backtrace5): Likewise.
23239 (tests): Add new tests tst-backtrace2, tst-backtrace3,
23240 tst-backtrace4 and tst-backtrace5.
23242 2013-01-18 Anton Blanchard <anton@samba.org>
23243 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23245 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23246 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23247 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23248 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23250 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23251 "+r" and remove output regs list as redundant. Add explicit inline
23252 asm to specify register of return val to work around compiler codegen
23253 bug. Remove (int) cast on return value. Add return type parameter to
23254 use in macro so that this macro does not truncate return value for
23256 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23257 pass to INTERNAL_VSYSCALL_NCS.
23258 (INLINE_VSYSCALL): Add 'long int' as return type to
23259 INTERNAL_VSYSCALL_NCS macro invocation.
23260 (INTERNAL_VSYSCALL): Add 'long int' as return type to
23261 INTERNAL_VSYSCALL_NCS macro invocation.
23262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23264 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23267 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23268 Fix application of SIMD FP exception mask.
23270 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23271 mp_no from a power of two.
23272 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23273 __mpexp_twomm1. Use __pow_mp.
23275 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23278 2013-01-17 David S. Miller <davem@davemloft.net>
23280 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23282 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23285 * include/complex.h: Condition contents on [!_COMPLEX_H].
23286 (__kernel_casinhf): New prototype.
23287 (__kernel_casinh): Likewise.
23288 (__kernel_casinhl): Likewise.
23289 * math/Makefile (libm_calls): Add k_casinh.
23290 * math/k_casinh.c: New file.
23291 * math/k_casinhf.c: Likewise.
23292 * math/k_casinhl.c: Likewise.
23293 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23294 finite nonzero arguments.
23295 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23296 finite nonzero arguments.
23297 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23298 finite nonzero arguments.
23299 * math/s_casinh.c: Do not include <float.h>.
23300 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23301 * math/s_casinhf.c: Do not include <float.h>.
23302 (__casinhf): Move code for finite nonzero arguments to
23304 * math/s_casinhl.c: Do not include <float.h>.
23305 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23307 (__casinhl): Move code for finite nonzero arguments to
23309 * math/libm-test.inc (cacos_test): Add more tests.
23310 * sysdeps/i386/fpu/libm-test-ulps: Update.
23311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23313 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
23315 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23316 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23317 [!HAVE_MREMAP]: Remove [defined linux] case.
23318 * malloc/arena.c: Do not include <malloc-sysdep.h>.
23320 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23322 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23324 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
23326 * elf/elf.h (R_386_SIZE32): New relocation.
23327 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23329 (elf_machine_rela): Likewise.
23330 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23331 R_X86_64_SIZE64 and R_X86_64_SIZE32.
23333 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23335 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23336 (FP_FAST_FMA): Do not define.
23337 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23338 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23339 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23340 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23341 !_SOFT_FLOAT]: Likewise.
23342 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23343 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23345 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23346 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23347 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23348 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23349 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23350 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23353 2013-01-16 Andreas Schwab <schwab@suse.de>
23356 * include/stdlib.h (__mktemp): Add declaration.
23357 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23358 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23360 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23362 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23364 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23365 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23366 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23368 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23369 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23371 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23373 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23374 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23375 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23377 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23378 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23380 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23382 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23384 2013-01-15 David S. Miller <davem@davemloft.net>
23386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23387 trunc{,f} to libm-sysdep_routes.
23388 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23398 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23399 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23400 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23401 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23402 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23403 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23406 nearbyint{,f} to libm-sysdep_routes.
23407 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23418 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23420 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23421 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23423 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23424 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23425 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23427 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23428 libc_feholdexcept and libc_fesetenv.
23430 2013-01-15 Mike Frysinger <vapier@gentoo.org>
23432 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23434 2013-01-14 David S. Miller <davem@davemloft.net>
23436 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23437 (SPARC_ASM_VIS2_IFUNC): Likewise.
23438 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23440 use of 'siam' instruction.
23441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23447 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23448 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23449 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23450 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23459 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23460 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23461 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23462 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23469 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23470 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23471 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23472 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23474 routines to libm-sysdep_routines.
23475 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23478 fdim/fdimf to libm-sysdep_routines.
23479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23487 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23488 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23489 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23490 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23492 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23494 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23495 to optimize copies.
23497 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23498 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23499 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23501 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23502 local variable MPTWO.
23503 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23506 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23508 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23511 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23513 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23515 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23517 * manual/pattern.texi (glob_t): Document gl_flags.
23518 (glob64_t): Likewise.
23520 2013-01-11 David S. Miller <davem@davemloft.net>
23522 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23523 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23524 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
23525 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23526 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23527 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23528 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23529 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23530 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23531 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23532 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23533 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23534 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23536 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23537 sparc V9 rather than using V8 code.
23538 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23539 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23541 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23543 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23546 2013-01-11 Roland McGrath <roland@hack.frob.com>
23548 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23549 not in the main loop.
23550 * configure: Regenerated.
23552 2013-01-11 Joseph Myers <joseph@codesourcery.com>
23554 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23555 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23557 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
23558 [!__GLIBC_HAVE_LONG_LONG] case.
23559 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23560 condition to just #else.
23561 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23562 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23563 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23564 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23566 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23567 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23568 #elif condition to just #else.
23569 * sysdeps/unix/sysv/linux/sys/sysmacros.h
23570 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23571 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23572 #elif condition to just #else.
23574 2013-01-11 Steve Ellcey <sellcey@mips.com>
23576 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23577 (EF_MIPS_ARCH_64): Fix value.
23578 (EF_MIPS_ARCH_32R2): New.
23579 (EF_MIPS_ARCH_64R2): New.
23581 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
23583 * Makeconfig (+link-pie-before-libc): New.
23584 (+link-pie-after-libc): Likewise.
23585 (+link-pie-tests): Likewise.
23586 (+link-pie): Rewritten.
23587 (link-before-libc): Remove $(config-LDFLAGS).
23588 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23589 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23590 (config-LDFLAGS): Renamed to ...
23591 (rtld-LDFLAGS): This.
23592 (rtld-tests-LDFLAGS): New macro.
23593 (link-libc-rpath-link): Likewise.
23594 (link-libc-tests-rpath-link): Likewise.
23595 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23596 (link-libc): Prepand $(link-libc-rpath-link).
23597 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23598 (test-program-prefix): New macro.
23599 (test-via-rtld-prefix): Likewise.
23600 (test-program-cmd): Likewise.
23601 (host-test-program-cmd): Likewise.
23602 * Makefile ($(common-objpfx)testrun.sh): Replace
23603 $(run-program-prefix) with $(test-program-prefix).
23604 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23606 ($(common-objpfx)shlib.lds): Likewise.
23607 (build-module-helper): Likewise.
23608 ($(common-objpfx)format.lds): Likewise.
23609 * Rules (binaries-pie-tests): New.
23610 (binaries-pie-notests): Likewise.
23611 (binaries-pie): Rewritten.
23612 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23613 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23614 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23615 (make-test-out): Replace $(host-built-program-cmd) with
23616 $(host-test-program-cmd).
23617 * config.make.in (build-hardcoded-path-in-tests): New variable.
23618 * configure.in (--enable-hardcoded-path-in-tests): New configure
23620 (hardcoded_path_in_tests): New AC_SUBST.
23621 * configure: Regenerated.
23622 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23623 $(built-program-cmd) with $(test-program-cmd).
23624 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23625 (test_program_cmd): This.
23626 * elf/Makefile ($(objpfx)order.out): Run test with
23627 $(test-program-prefix).
23628 ($(objpfx)order2.out): Likewise.
23629 ($(objpfx)tst-initorder.out): Likewise.
23630 ($(objpfx)tst-initorder2.out): Likewise.
23631 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23632 $(test-program-cmd).
23633 ($(objpfx)tst-array1-static.out): Likewise.
23634 ($(objpfx)tst-array2.out): Likewise.
23635 ($(objpfx)tst-array3.out): Likewise.
23636 ($(objpfx)tst-array4.out): Likewise.
23637 ($(objpfx)tst-array5.out): Likewise.
23638 ($(objpfx)tst-array5-static.out): Likewise.
23639 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23640 $(test-program-cmd).
23641 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23642 $(run-program-prefix) with $(test-program-prefix).
23643 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23644 (test_program_prefix): This.
23645 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23646 $(run-program-prefix) with $(test-program-prefix).
23647 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23648 (test_program_prefix): This.
23649 * iconvdata/tst-tables.sh: Likewise.
23650 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23651 $(run-program-prefix) with $(test-program-prefix).
23652 ($(objpfx)tst-translit.out): Likewise.
23653 ($(objpfx)tst-gettext2.out): Likewise.
23654 ($(objpfx)tst-gettext4.out): Likewise.
23655 ($(objpfx)tst-gettext6.out): Likewise.
23656 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23657 (test_program_prefix): This.
23658 * intl/tst-gettext2.sh: Likewise.
23659 * intl/tst-gettext4.sh Likewise.
23660 * intl/tst-gettext6.sh: Likewise.
23661 * intl/tst-translit.sh: Likewise.
23662 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23663 with $(test-program-cmd).
23664 * libio/Makefile ($(objpfx)test-freopen.out): Replace
23665 $(run-program-prefix) with $(test-program-prefix).
23666 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23667 (test_program_prefix): This.
23668 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23669 $(run-program-prefix) with $(test-program-prefix).
23670 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23671 (test_program_prefix): This.
23672 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23673 * posix/Makefile ($(objpfx)globtest.out): Replace
23674 $(run-via-rtld-prefix) and $(test-wrapper) with
23675 $(test-program-prefix) and $(test-via-rtld-prefix).
23676 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23677 $(test-program-prefix).
23678 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23679 $(host-test-program-cmd).
23680 (tst-spawn-ARGS): Likewise.
23681 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23682 $(test-program-prefix).
23683 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23684 (test_via_rtld_prefix): This.
23685 (test_wrapper): Renamed to ...
23686 (test_program_prefix): This.
23687 (run_program_prefix): Replaced by test_program_prefix.
23688 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23689 (test_program_prefix): This.
23690 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23691 with $(host-test-program-cmd).
23692 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23693 $(run-program-prefix) with $(test-program-prefix).
23694 ($(objpfx)tst-printf.out): Likewise.
23695 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23696 $(test-program-cmd).
23697 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23698 (test_program_prefix): This.
23699 * stdio-common/tst-unbputc.sh: Likewise.
23700 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23701 $(run-program-prefix) with $(test-program-prefix).
23702 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23703 (test_program_prefix): This.
23704 * string/Makefile ($(objpfx)tst-svc.out): Replace
23705 $(built-program-cmd) with $(test-program-cmd).
23707 2013-01-11 Andreas Jaeger <aj@suse.de>
23710 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23711 value. Sync with Linux 3.7.
23713 2013-01-10 David S. Miller <davem@davemloft.net>
23715 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23716 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23717 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23719 2013-01-10 Roland McGrath <roland@hack.frob.com>
23721 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23723 * configure: Regenerated.
23725 2013-01-10 David S. Miller <davem@davemloft.net>
23727 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23728 sparc V9 rather than using V8 code.
23729 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23730 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23732 2013-01-10 Roland McGrath <roland@hack.frob.com>
23734 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
23735 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
23736 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
23737 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
23738 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
23739 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
23740 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23741 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
23742 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
23743 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
23744 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
23745 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
23746 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23747 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
23748 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
23749 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
23750 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
23751 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
23752 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
23753 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23754 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
23755 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
23756 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
23757 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
23758 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
23759 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
23760 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
23762 2013-01-10 David S. Miller <davem@davemloft.net>
23764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23766 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23768 * posix/Makefile (tests-static): New variable.
23769 (tests): Add $(tests-static).
23770 (tst-exec-static-ARGS): New variable.
23771 (tst-spawn-static-ARGS): Likewise.
23772 * posix/tst-exec-static.c: New file.
23773 * posix/tst-spawn-static.c: Likewise.
23774 * posix/tst-exec.c: Support run directly.
23775 * posix/tst-spawn.c: Likewise.
23777 2013-01-10 Joseph Myers <joseph@codesourcery.com>
23779 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
23781 * math/bits/mathcalls.h (llrint): Likewise.
23782 (llround): Likewise.
23783 * stdlib/stdlib.h (struct drand48_data): Likewise.
23784 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
23785 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
23786 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
23788 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
23790 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
23791 (elf_greg_t): Likewise.
23792 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
23793 (__jmp_buf): Likewise.
23794 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
23796 (llrint): Likewise, for all definitions.
23797 (llrintl): Likewise.
23799 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
23800 Remove [__GNUC__] condition.
23801 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
23802 condition to just [__USE_ISOC99].
23803 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
23805 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23808 * sysdeps/unix/sysv/linux/x86/bits/environments.h
23809 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
23811 (_POSIX_V6_ILP32_OFF32): Likewise.
23812 (_XBS5_ILP32_OFF32): Likewise.
23813 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
23814 (__ILP32_OFFBIG_LDFLAGS): Likewise.
23816 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23818 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
23820 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
23821 doubles __mpexp_twomm1. Adjust usage.
23822 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
23825 2013-01-10 Andreas Schwab <schwab@suse.de>
23828 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
23829 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
23831 2013-01-09 David S. Miller <davem@davemloft.net>
23834 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
23835 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
23836 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
23837 (TCP_FASTOPEN): Define.
23838 (tcp_repair_opt): New structure.
23839 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
23841 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
23842 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
23843 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
23844 (tcp_cookie_transactions): New structure.
23846 2013-01-09 Anton Blanchard <anton@samba.org>
23848 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
23849 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
23850 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
23851 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23853 2013-01-09 Joseph Myers <joseph@codesourcery.com>
23855 * include/features.h (__USE_ANSI): Remove.
23857 2013-01-09 Roland McGrath <roland@hack.frob.com>
23859 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
23861 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
23863 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
23865 * sysdeps/s390/fpu/libm-test-ulps: Update.
23867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23869 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
23873 (denorm): Likewise.
23874 (__mp_dbl): Likewise.
23875 (__dbl_mp): Likewise.
23876 (add_magnitudes): Likewise.
23877 (sub_magnitudes): Likewise.
23883 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
23887 (denorm): Likewise.
23888 (__mp_dbl): Likewise.
23889 (__dbl_mp): Likewise.
23890 (add_magnitudes): Likewise.
23891 (sub_magnitudes): Likewise.
23897 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
23901 (denorm): Likewise.
23902 (__mp_dbl): Likewise.
23903 (__dbl_mp): Likewise.
23904 (add_magnitudes): Likewise.
23905 (sub_magnitudes): Likewise.
23912 2013-01-08 Joseph Myers <joseph@codesourcery.com>
23914 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
23915 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
23916 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23917 2 && __USE_EXTERN_INLINES]: Likewise.
23919 2013-01-08 Andreas Jaeger <aj@suse.de>
23922 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23924 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23925 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23927 2013-01-07 Anton Blanchard <anton@samba.org>
23929 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23930 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23931 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23932 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23933 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23934 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23935 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23936 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23937 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23938 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23939 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23940 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23941 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23942 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23943 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23944 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23945 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23946 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23947 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23948 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23949 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23950 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23951 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23952 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23953 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23954 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23955 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23956 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23957 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23958 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23959 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23960 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23961 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23962 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23963 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23964 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23965 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23966 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23967 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23968 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23969 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23970 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23971 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23973 2013-01-07 Joseph Myers <joseph@codesourcery.com>
23975 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23976 (__MALLOC_PMT): Likewise.
23977 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23978 [__GNUC__], only on [_LIBC].
23979 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23980 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23981 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23982 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23983 forward declaration.
23984 (realloc_hook_ini): Likewise.
23985 (memalign_hook_ini): Likewise.
23986 (__libc_memalign): Do not use __MALLOC_PMT in variable
23988 (__libc_valloc): Likewise.
23989 (__libc_pvalloc): Likewise.
23990 (__libc_calloc): Likewise.
23991 (__posix_memalign): Likewise.
23994 * math/s_casinh.c: Include <float.h>.
23995 (__casinh): Do not do computation with squaring and square root
23996 for large arguments.
23997 * math/s_casinhf.c: Include <float.h>.
23998 (__casinhf): Do not do computation with squaring and square root
23999 for large arguments.
24000 * math/s_casinhl.c: Include <float.h>.
24001 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24002 (__casinhl): Do not do computation with squaring and square root
24003 for large arguments.
24004 * math/libm-test.inc (casin_test): Add more tests.
24005 (casinh_test): Likewise.
24006 * sysdeps/i386/fpu/libm-test-ulps: Update.
24007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24009 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24011 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24012 (__x86_64_raw_data_cache_size): Likewise.
24013 (__x86_64_data_cache_size_half): Likewise.
24014 (__x86_64_raw_data_cache_size_half): Likewise.
24015 (__x86_64_shared_cache_size): Likewise.
24016 (__x86_64_raw_shared_cache_size): Likewise.
24017 (__x86_64_shared_cache_size_half): Likewise.
24018 (__x86_64_raw_shared_cache_size_half): Likewise.
24019 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24021 (__x86_data_cache_size): This.
24022 (__x86_64_raw_data_cache_size): Renamed to ...
24023 (__x86_raw_data_cache_size): This.
24024 (__x86_64_data_cache_size_half): Renamed to ...
24025 (__x86_data_cache_size_half): This.
24026 (__x86_64_raw_data_cache_size_half): Renamed to ...
24027 (__x86_raw_data_cache_size_half): This.
24028 (__x86_64_shared_cache_size): Renamed to ...
24029 (__x86_shared_cache_size): This.
24030 (__x86_64_raw_shared_cache_size): Renamed to ...
24031 (__x86_raw_shared_cache_size): This.
24032 (__x86_64_shared_cache_size_half): Renamed to ...
24033 (__x86_shared_cache_size_half): This.
24034 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24035 (__x86_raw_shared_cache_size_half): This.
24036 * sysdeps/x86_64/memcpy.S: Updated.
24037 * sysdeps/x86_64/memset.S: Likewise.
24038 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24039 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24040 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24042 2013-01-04 David S. Miller <davem@davemloft.net>
24044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24046 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
24048 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24049 1 to avoid redefinition warning.
24050 (__USE_GNU): Don't define.
24051 (init_signaling_nan): Protoize.
24053 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24055 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24057 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24058 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24059 (__cpymn): Likewise.
24060 (norm): Remove commented code.
24061 (denorm): Likewise.
24062 (__mp_dbl): Likewise.
24064 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24065 (__cpymn): Likewise.
24066 (norm): Remove commented code.
24067 (denorm): Likewise.
24068 (__mp_dbl): Likewise.
24071 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24072 mp_no value for 1.0 and 2.0.
24073 (norm): Use RADIXI instead of radixi.d.
24074 (denorm): Likewise.
24075 (__mul): Use 0.0 instead of zero.d.
24076 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24077 mp_no value for 1.0 and 2.0.
24078 (norm): Use RADIXI instead of radixi.d.
24079 (denorm): Likewise.
24080 (__mul): Use 0.0 instead of zero.d.
24082 2013-01-04 Joseph Myers <joseph@codesourcery.com>
24085 * math/s_casinh.c (__casinh): Reduce finite argument to first
24086 quadrant then set signs of results at the end.
24087 * math/s_casinhf.c (__casinhf): Likewise.
24088 * math/s_casinhl.c (__casinhl): Likewise.
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 Siddhesh Poyarekar <siddhesh@redhat.com>
24096 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24098 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24100 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24102 (denorm): Likewise.
24103 (__mp_dbl): Likewise.
24106 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24107 and adjust the header comment.
24109 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24110 variable name from declaration.
24112 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
24114 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24115 Initialize COMMON_CPUID_INDEX_7 element.
24116 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24117 (CPUID_RTM): Likewise.
24118 (HAS_RTM): Likewise.
24119 (COMMON_CPUID_INDEX_7): New enum.
24121 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
24124 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24125 size is zero, record memory as freed.
24127 2013-01-03 Andreas Jaeger <aj@suse.de>
24129 * po/ia.po: Add new Interlingua translation.
24131 2012-01-03 Allan McRae <allan@archlinux.org>
24133 * locale/programs/localedef.c: Fix description of '--posix' flag.
24135 2013-01-02 Joseph Myers <joseph@codesourcery.com>
24137 * NEWS: Update dates in second copyright notice.
24138 * README: Update copyright dates in example.
24139 * manual/libc.texinfo: Update copyright dates.
24140 * scripts/test-installation.pl: Update copyright date in --version
24143 * hurd/ctty-input.c: Fix copyright notice formatting.
24144 * hurd/ctty-output.c: Likewise.
24145 * hurd/dtable.c: Likewise.
24146 * hurd/hurd-raise.c: Likewise.
24147 * hurd/hurdprio.c: Likewise.
24148 * hurd/msgportdemux.c: Likewise.
24149 * misc/sys/file.h: Likewise.
24150 * misc/sys/ioctl.h: Likewise.
24151 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24152 * sysdeps/mach/hurd/chdir.c: Likewise.
24153 * sysdeps/mach/hurd/fchdir.c: Likewise.
24154 * sysdeps/mach/hurd/rename.c: Likewise.
24155 * sysdeps/mach/hurd/rmdir.c: Likewise.
24156 * sysdeps/mach/hurd/seekdir.c: Likewise.
24157 * sysdeps/mach/hurd/setsid.c: Likewise.
24158 * sysdeps/posix/wait3.c: Likewise.
24160 * All files with FSF copyright notices: Update copyright dates
24161 using scripts/update-copyrights.
24162 * intl/plural.c: Regenerated.
24163 * locale/programs/charmap-kw.h: Likewise.
24164 * locale/programs/locfile-kw.h: Likewise.
24166 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24168 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24171 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24172 calculation loop and add branch prediction.
24174 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24175 check access beyond bounds of m1np.
24177 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24179 (__inv): Remove local variable MPTWO to use the global
24181 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24182 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24184 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24185 MP3HALFS static const.
24187 2013-01-01 David S. Miller <davem@davemloft.net>
24189 * po/ca.po: Update from translation team.
24191 2013-01-01 Joseph Myers <joseph@codesourcery.com>
24193 * scripts/update-copyrights: New file.
24194 * Makeconfig: Reformat copyright notice.
24195 * ctype/ctype.h: Likewise.
24196 * debug/swprintf_chk.c: Likewise.
24197 * elf/dl-cache.c: Likewise.
24198 * elf/dl-debug.c: Likewise.
24199 * elf/dl-object.c: Likewise.
24200 * grp/initgroups.c: Likewise.
24201 * hurd/Makefile: Likewise.
24202 * hurd/hurd/signal.h: Likewise.
24203 * hurd/hurdfault.c: Likewise.
24204 * hurd/hurdioctl.c: Likewise.
24205 * hurd/hurdlookup.c: Likewise.
24206 * hurd/intr-msg.c: Likewise.
24207 * iconv/gconv_open.c: Likewise.
24208 * libio/swprintf.c: Likewise.
24209 * locale/lc-ctype.c: Likewise.
24210 * locale/nl_langinfo.c: Likewise.
24211 * mach/Machrules: Likewise.
24212 * mach/Makefile: Likewise.
24213 * malloc/obstack.h: Likewise.
24214 * manual/Makefile: Likewise.
24215 * manual/tsort.awk: Likewise.
24216 * misc/bits/stab.def: Likewise.
24217 * nis/nis_print_group_entry.c: Likewise.
24218 * nis/nis_table.c: Likewise.
24219 * nis/nss_compat/compat-pwd.c: Likewise.
24220 * nis/nss_compat/compat-spwd.c: Likewise.
24221 * po/Makefile: Likewise.
24222 * posix/fnmatch.c: Likewise.
24223 * posix/regex.h: Likewise.
24224 * resolv/Makefile: Likewise.
24225 * resolv/nss_dns/dns-network.c: Likewise.
24226 * resolv/res_hconf.c: Likewise.
24227 * scripts/gen-sorted.awk: Likewise.
24228 * soft-fp/soft-fp.h: Likewise.
24229 * stdio-common/printf.h: Likewise.
24230 * stdlib/monetary.h: Likewise.
24231 * stdlib/random.c: Likewise.
24232 * stdlib/random_r.c: Likewise.
24233 * sysdeps/generic/Makefile: Likewise.
24234 * sysdeps/gnu/Makefile: Likewise.
24235 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24236 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24237 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24238 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24239 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24240 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24241 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24242 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24243 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24244 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24245 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24246 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24247 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24248 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24249 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24250 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24251 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24252 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24253 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24254 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24255 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24256 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24257 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24258 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24259 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24260 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24261 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24262 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24263 * sysdeps/mach/hurd/errnos.awk: Likewise.
24264 * sysdeps/mach/hurd/fork.c: Likewise.
24265 * sysdeps/mach/hurd/getcwd.c: Likewise.
24266 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24267 * sysdeps/mach/hurd/mmap.c: Likewise.
24268 * sysdeps/mach/hurd/utimes.c: Likewise.
24269 * sysdeps/mach/hurd/xmknod.c: Likewise.
24270 * sysdeps/posix/profil.c: Likewise.
24271 * sysdeps/posix/readdir_r.c: Likewise.
24272 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24273 * sysdeps/powerpc/bits/setjmp.h: Likewise.
24274 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24275 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24276 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24277 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24278 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24279 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24280 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24281 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24282 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24283 * sysdeps/pthread/lio_listio.c: Likewise.
24284 * sysdeps/sparc/dl-procinfo.h: Likewise.
24285 * sysdeps/unix/i386/sysdep.S: Likewise.
24286 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24287 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24288 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24289 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24291 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24292 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24293 * sysdeps/unix/sysv/linux/speed.c: Likewise.
24294 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24295 * sysdeps/wordsize-32/divdi3.c: Likewise.
24296 * time/sys/time.h: Likewise.
24297 * wcsmbs/Makefile: Likewise.
24299 2013-01-01 David S. Miller <davem@davemloft.net>
24301 * po/fr.po: Update from translation team.
24303 * catgets/gencat.c: Update copyright year.
24304 * csu/version.c: Likewise.
24305 * debug/catchsegv.sh: Likewise.
24306 * debug/pcprofiledump.c: Likewise.
24307 * debug/xtrace.sh: Likewise.
24308 * elf/ldconfig.c: Likewise.
24309 * elf/ldd.bash.in: Likewise.
24310 * elf/pldd.c: Likewise.
24311 * elf/sotruss.ksh: Likewise.
24312 * elf/sprof.c: Likewise.
24313 * iconv/iconv_prog.c: Likewise.
24314 * iconv/iconvconfig.c: Likewise.
24315 * locale/programs/locale.c: Likewise.
24316 * locale/programs/localedef.c: Likewise.
24317 * login/programs/pt_chown.c: Likewise.
24318 * malloc/memusage.sh: Likewise.
24319 * malloc/memusagestat.c: Likewise.
24320 * malloc/mtrace.pl: Likewise.
24321 * nscd/nscd.c: Likewise.
24322 * nss/getent.c: Likewise.
24323 * nss/makedb.c: Likewise.
24324 * posix/getconf.c: Likewise.
24326 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24328 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24331 2012-12-30 Mike Frysinger <vapier@gentoo.org>
24333 * math/bits/mathcalls.h (modf): Use __nonnull.
24335 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24337 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24338 (split): Use macro CN instead of the bare value.
24339 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24341 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24342 instead of the bare value.
24343 (power1): Likewise.
24345 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24347 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24349 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24351 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24353 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24354 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24355 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24356 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24358 2012-12-28 Andreas Jaeger <aj@suse.de>
24360 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
24361 values are from Linux 3.7.
24363 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24364 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
24366 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24368 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24371 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24373 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24374 variables with preprocessor constants.
24375 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24376 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24377 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24379 2012-12-27 Bruno Haible <bruno@clisp.org>
24382 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24385 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24387 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24388 and use variable directly.
24389 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24391 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24393 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24394 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24396 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24397 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24398 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24399 include directive. Remove local variable MPONE.
24400 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24401 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24402 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24404 2012-12-25 David S. Miller <davem@davemloft.net>
24406 * version.h (RELEASE): Set to "development".
24407 (VERSION): Set to "2.17.90".
24408 * NEWS: Add 2.18 section.
24410 2012-12-21 David S. Miller <davem@davemloft.net>
24412 * po/hr.po: Update from translation team.
24414 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24416 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24418 2012-12-19 Steve Ellcey <sellcey@mips.com>
24420 * NEWS: Mention new memcpy for MIPS.
24422 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24424 * manual/contrib.texi (Contributors): Spelling correction.
24426 2012-12-15 David S. Miller <davem@davemloft.net>
24428 * po/ru.po: Update from translation team.
24430 2012-12-13 David S. Miller <davem@davemloft.net>
24432 * NEWS: Mention IFUNC testsuite enhancements.
24434 * po/pl.po: Update from translation team.
24435 * po/bg.po: Likewise.
24437 * manual/contrib.texi (Contributors): Update entries for Hongjiu
24438 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
24440 2012-12-11 David S. Miller <davem@davemloft.net>
24442 * po/sv.po: Update from translation team.
24444 * po/vi.po: Update from translation team.
24446 * po/cs.po: Update from translation team.
24448 * po/de.po: Update from translation team.
24449 * po/eo.po: Likewise.
24450 * po/nl.po: Likewise.
24452 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24455 * manual/argp.texi (Argp Helper Functions): Move node to follow
24456 Argp Parsing State.
24459 * manual/conf.texi (Limits on File System Capacity): Mention if
24460 terminating null is included in the max size.
24462 2012-12-10 Andreas Jaeger <aj@suse.de>
24464 * po/cs.po: Update from translation team.
24466 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24468 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24469 void pointer and cast to uintptr_t.
24470 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24472 * sysdeps/s390/s390-64/memcpy.S: Likewise.
24473 * sysdeps/s390/s390-64/memset.S: Likewise.
24475 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
24478 * menual/message.texi (Message Translation): Fix typos.
24479 (Helper programs for gettext): Likewise.
24481 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
24484 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24487 2012-12-07 David S. Miller <davem@davemloft.net>
24489 * po/libc.pot: Update.
24491 2012-12-07 Richard Henderson <rth@redhat.com>
24494 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24495 normal/normal case to before the switch.
24496 (_FP_DIV): Likewise.
24498 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
24499 Mike Frysinger <vapier@gentoo.org>
24501 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24502 check for __NR_fadvise64_64.
24504 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
24506 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24507 0, not just to plain "0" as a statement.
24508 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24511 2012-12-06 Joseph Myers <joseph@codesourcery.com>
24513 * NEWS: Use sourceware.org in Bugzilla URL.
24515 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24518 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24520 * stdio-common/tst-put-error.c (do_test): Add newline to the
24521 padded test to ensure flush.
24523 2012-12-05 Jeff Law <law@redhat.com>
24525 * sunrpc/etc.rpc (fedfs_admin): Add entry.
24527 2012-12-05 Joseph Myers <joseph@codesourcery.com>
24529 * README: Don't refer to ports add-on as distributed separately.
24530 Mention AArch64 in list of systems supported in the ports add-on.
24532 * LICENSES: Add more non-FSF copyright and license notices.
24534 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24537 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24539 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24540 10000 as width of padded output.
24542 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24544 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24546 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24547 variable LX with __attribute__ ((unused)).
24548 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24550 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24551 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24552 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24553 with __attribute__ ((unused)).
24555 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
24557 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24559 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24561 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24562 (CFLAGS-nldbl-acos.c): New variable.
24563 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24564 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24565 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24566 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24567 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24568 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24569 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24570 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24571 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24572 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24573 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24574 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24575 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24576 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24577 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24578 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24579 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24580 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24581 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24582 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24583 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24584 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24585 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24586 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24587 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24588 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24589 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24590 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24591 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24592 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24593 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24594 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24595 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24596 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24597 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24598 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24599 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24600 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24601 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24602 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24603 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24604 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24605 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24606 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24607 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24608 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24609 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24610 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24611 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24612 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24613 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24614 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24615 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24616 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24617 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24618 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24619 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24620 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24621 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24622 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24623 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24624 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24625 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24626 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24627 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24628 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24629 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24630 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24631 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24632 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24633 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24634 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24635 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24636 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24637 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24638 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24639 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24640 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24641 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24642 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24643 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24644 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24645 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24646 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24647 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24648 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24649 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24650 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24651 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24652 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24653 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24654 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24655 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24656 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24657 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24658 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24659 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24662 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24665 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24666 whole low double instead of just low 47 bits when splitting values
24669 2012-12-03 Allan McRae <allan@archlinux.org>
24671 * manual/stdio.texi (Predefined Printf Handlers): Remove
24672 @hsep and @vsep usage.
24674 2012-12-03 Mike Frysinger <vapier@gentoo.org>
24676 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24677 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24679 2012-12-03 Jeff Law <law@redhat.com>
24681 * time/sys/time.h (settimeofday): Do not mark TV argument
24684 2012-12-01 Mike Frysinger <vapier@gentoo.org>
24686 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24687 when currently writing and seek to current position when not.
24688 * libio/Makefile (tests): Remove bug-fclose1.
24689 * libio/bug-fclose1.c: Delete.
24691 2012-12-01 Joseph Myers <joseph@codesourcery.com>
24693 * manual/arith.texi (feenableexcept): Fix typo.
24694 (fedisableexcept): Likewise.
24696 2012-11-30 Roland McGrath <roland@hack.frob.com>
24698 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24699 second, differently-typed declaration, rather than a cast.
24701 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24703 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24704 * include/rpc/svc.h: ... here.
24706 2012-11-30 Aurelien Jarno <aurel32@debian.org>
24709 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24710 depending n and resplen2 to catch cases where answer
24713 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
24715 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24716 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24718 2012-11-29 Mike Frysinger <vapier@gentoo.org>
24720 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24722 2012-11-29 Roland McGrath <roland@hack.frob.com>
24724 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24726 2012-11-28 Jeff Law <law@redhat.com>
24729 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24730 dataset_temporary. Track alloca usage into alloca_used.
24731 If dataset is large allocate and release it via malloc/free.
24733 2012-06-04 Florian Weimer <fweimer@redhat.com>
24736 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
24738 2012-11-28 David S. Miller <davem@davemloft.net>
24740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24742 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24745 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
24746 of pi/2 rounded to nearest to 64 bits.
24747 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
24748 nearest to 64 bits.
24749 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24752 2012-11-28 Jeff Law <law@redhat.com>
24753 Martin Osvald <mosvald@redhat.com>
24756 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
24757 * sunrpc/svc.c: Include time.h.
24758 (__svc_accept_failed): New function.
24759 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
24760 any reason other than EINTR, call __svc_accept_failed.
24761 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
24762 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
24764 2012-11-28 Andreas Schwab <schwab@suse.de>
24766 * scripts/abilist.awk: Also handle indirect functions in .opd
24769 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24772 * sysdeps/x86/fpu/powl_helper.c: New file.
24773 * sysdeps/x86/fpu/Makefile: Likewise.
24774 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
24776 (__ieee754_powl): Use __powl_helper for finite arguments except
24777 integer exponents below 8.
24778 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
24780 (__ieee754_powl): Use __powl_helper for finite arguments except
24781 integer exponents below 8.
24782 * math/libm-test.inc (pow_test): Add more tests and enable some
24783 previously disabled tests.
24784 * sysdeps/i386/fpu/libm-test-ulps: Update.
24785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24787 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24788 Carlos O'Donell <carlos_odonell@mentor.com>
24790 * nss/makedb.c (is_prime): Assert that input is odd and greater
24791 than 4. Note that fact in a comment too.
24792 (next_prime): Add 4 to input.
24794 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24797 * libio/Makefile (tests): Add test case tst-fwrite-error.
24798 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
24799 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24800 * libio/tst-fwrite-error.c: New test case.
24802 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
24804 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
24805 before casting to void *.
24806 * include/libc-internal.h (__pointer_type): New macro.
24807 (__integer_if_pointer_type_sub): Likewise.
24808 (__integer_if_pointer_type): Likewise.
24809 (cast_to_integer): Likewise.
24810 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
24811 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
24812 before casting to atomic64_t.
24813 (atomic_exchange_acq): Likewise.
24814 (__arch_exchange_and_add_body): Likewise.
24815 (__arch_add_body): Likewise.
24816 (atomic_add_negative): Likewise.
24817 (atomic_add_zero): Likewise.
24819 2012-11-26 Joseph Myers <joseph@codesourcery.com>
24821 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
24822 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
24823 (add_fdes): Likewise.
24824 (linear_search_fdes): Likewise.
24825 (binary_search_unencoded_fdes): Likewise.
24827 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
24829 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
24831 2012-11-24 Adam Conrad <adconrad@0c3.net>
24833 * configure.in: Autodetect C++ header directories.
24834 * configure: Regenerated.
24836 2012-11-23 Mike Frysinger <vapier@gentoo.org>
24838 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
24840 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
24842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24844 2012-11-22 Joseph Myers <joseph@codesourcery.com>
24846 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
24847 LDBL_MANT_DIG == 106]: Disable some tests.
24848 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24850 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24854 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
24855 input for small inputs. Return +/- pi/2 for large inputs.
24856 * math/libm-test.inc (atan_test): Add more tests.
24858 * sysdeps/generic/unwind-dw2-fde-glibc.c
24859 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
24860 __attribute__ ((unused)).
24863 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
24864 x * y if x and y are nonzero and z is zero.
24867 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
24868 nonzero exponents with absolute value below 0x1p-117 to +/-
24872 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
24873 up arguments below 2**-450, not just those below 2**-500.
24874 * math/libm-test.inc (hypot_test): Add another test.
24877 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24878 Return a+b for ratio over 2**120, not 2**60.
24879 * math/libm-test.inc (hypot_test): Add another test.
24881 * math/libm-test.inc (clog_test): Use
24882 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24883 (clog10_test): Likewise.
24886 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
24888 2012-11-22 Andreas Schwab <schwab@suse.de>
24890 * sysdeps/i386/fpu/libm-test-ulps: Update.
24892 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
24894 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
24895 printf output with newline.
24897 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
24900 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
24901 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
24902 -z nodlopen, -z initfirst and -z execstack support.
24903 * configure: Regenerated.
24905 * elf/elf.h (DF_1_NODIRECT): New macro.
24906 (DF_1_IGNMULDEF): Likewise.
24907 (DF_1_NOKSYMS): Likewise.
24908 (DF_1_NOHDR): Likewise.
24909 (DF_1_EDITED): Likewise.
24910 (DF_1_NORELOC): Likewise.
24911 (DF_1_SYMINTPOSE): Likewise.
24912 (DF_1_GLOBAUDIT): Likewise.
24913 (DF_1_SINGLETON): Likewise.
24914 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
24915 DT_1_SUPPORTED_MASK bits.
24916 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24918 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
24920 * sysdeps/unix/make-syscalls.sh: Document prefixes.
24922 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
24924 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24927 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24928 (sendmmsg): Move declarations...
24929 * socket/sys/socket.h: ... here.
24930 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24931 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24933 * socket/recvmmsg.c: ... this new file.
24934 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24935 (sendmmsg): Rename to __sendmmsg, create weak alias and make
24936 definition of __sendmmsg hidden.
24937 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24938 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24939 Move ENOSYS stub into and include it from...
24940 * socket/sendmmsg.c: ... this new file.
24941 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24942 (sysdep_routines): Move recvmmsg and sendmmsg...
24943 * socket/Makefile (routines): ... here.
24944 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24945 (GLIBC_PRIVATE): Add __sendmmsg.
24946 * include/sys/socket.h (__sendmmsg): Add declarations.
24947 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24950 2012-11-20 Joseph Myers <joseph@codesourcery.com>
24952 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24953 variable I1 with __attribute__ ((unused)).
24954 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24956 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24958 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24959 DUMMY variables with __attribute__ ((unused)).
24961 * bits/byteswap.h: Include <bits/types.h>.
24962 (__bswap_64): Use __uint64_t instead of unsigned long long int.
24964 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24966 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24967 string_t. Do not manually set errno.
24968 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24969 length with __strnlen. Make sure to both set errno and return it on
24972 2012-11-19 David S. Miller <davem@davemloft.net>
24974 With help from Joseph Myers.
24975 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24976 very large arguments properly.
24977 * math/libm-test.inc (atan_test): New tests.
24978 (atan2_test): New tests.
24979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24980 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24982 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24985 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24988 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24989 [POSIX] (EADDRNOTAVAIL): Likewise.
24990 [POSIX] (EAFNOSUPPORT): Likewise.
24991 [POSIX] (EALREADY): Likewise.
24992 [POSIX] (ECONNABORTED): Likewise.
24993 [POSIX] (ECONNREFUSED): Likewise.
24994 [POSIX] (ECONNRESET): Likewise.
24995 [POSIX] (EDESTADDRREQ): Likewise.
24996 [POSIX] (EDQUOT): Likewise.
24997 [POSIX] (EHOSTUNREACH): Likewise.
24998 [POSIX] (EIDRM): Likewise.
24999 [POSIX] (EISCONN): Likewise.
25000 [POSIX] (ELOOP): Likewise.
25001 [POSIX] (EMULTIHOP): Likewise.
25002 [POSIX] (ENETDOWN): Likewise.
25003 [POSIX] (ENETUNREACH): Likewise.
25004 [POSIX] (ENOBUFS): Likewise.
25005 [POSIX] (ENODATA): Likewise.
25006 [POSIX] (ENOLINK): Likewise.
25007 [POSIX] (ENOMSG): Likewise.
25008 [POSIX] (ENOPROTOOPT): Likewise.
25009 [POSIX] (ENOSR): Likewise.
25010 [POSIX] (ENOSTR): Likewise.
25011 [POSIX] (ENOTCONN): Likewise.
25012 [POSIX] (ENOTSOCK): Likewise.
25013 [POSIX] (EOPNOTSUPP): Likewise.
25014 [POSIX] (EOVERFLOW): Likewise.
25015 [POSIX] (EPROTO): Likewise.
25016 [POSIX] (EPROTONOSUPPORT): Likewise.
25017 [POSIX] (EPROTOTYPE): Likewise.
25018 [POSIX] (ESTALE): Likewise.
25019 [POSIX] (ETIME): Likewise.
25020 [POSIX] (ETXTBSY): Likewise.
25021 [POSIX] (EWOULDBLOCK): Likewise.
25022 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25023 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25024 [POSIX] (SEEK_CUR): Likewise.
25025 [POSIX] (SEEK_END): Likewise.
25026 [POSIX || UNIX98] (mode_t): Do not require.
25027 [POSIX] (off_t): Likewise.
25028 [POSIX] (pid_t): Likewise.
25029 [POSIX] (sys/stat.h): Do not allow header.
25030 [POSIX] (unistd.h): Likewise.
25031 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25032 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25033 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25034 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25036 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25037 sigevent): Specify elements.
25038 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25040 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25041 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25043 * conform/data/cpio.h-data [POSIX]: Disable whole file.
25044 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25045 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25046 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25047 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25048 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25049 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25050 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25051 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25052 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25053 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25054 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25055 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25056 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25058 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25060 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25062 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25064 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25065 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25066 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25067 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25068 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25069 Specify lower bound on value.
25070 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25071 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25072 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25073 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25074 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25075 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25076 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25077 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25079 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25081 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25082 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25083 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25084 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25085 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25086 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25087 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25088 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25089 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25090 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25091 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25092 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25093 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25094 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25095 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25096 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25098 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25100 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25101 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25102 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25103 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25104 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25105 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25107 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25108 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25109 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25110 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25111 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
25112 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25113 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25115 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25116 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25117 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25118 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25119 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25120 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25121 specify as optional.
25122 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25123 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25124 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25125 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25126 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25127 [XPG3] (NL_LANGMAX): Likewise.
25128 [POSIX || XPG3] (NL_MSGMAX): Likewise.
25129 [POSIX || XPG3] (NL_NMAX): Likewise.
25130 [POSIX || XPG3] (NL_SETMAX): Likewise.
25131 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25132 [XPG3] (NZERO): Likewise.
25133 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25134 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25135 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25136 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25137 (REG_ERANGE): Expect.
25138 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25140 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25141 Use (void) in prototype.
25142 [POSIX] (*_t): Allow.
25143 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25144 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25145 (WRDE_BADVAL): Expect.
25147 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25149 [XPG3 || XPG4] (O_RSYNC): Likewise.
25150 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25152 [XPG3 || XPG4] (pthread_sigmask): Likewise.
25153 [XPG3 || XPG4] (sigqueue): Likewise.
25154 [XPG3 || XPG4] (sigtimedwait): Likewise.
25155 [XPG3 || XPG4] (sigwaitinfo): Likewise.
25156 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25157 [XPG3 || XPG4] (vsnprintf): Likewise.
25158 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25160 [XPG3 || XPG4] (blksize_t): Likewise.
25161 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25163 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25164 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25165 [XPG3 || XPG4] (struct itimerspec): Likewise.
25166 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25167 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25168 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25169 [XPG3 || XPG4] (clockid_t): Likewise.
25170 [XPG3 || XPG4] (timer_t): Likewise.
25171 [XPG3 || XPG4] (clock_getres): Likewise.
25172 [XPG3 || XPG4] (clock_gettime): Likewise.
25173 [XPG3 || XPG4] (clock_settime): Likewise.
25174 [XPG3 || XPG4] (nanosleep): Likewise.
25175 [XPG3 || XPG4] (timer_create): Likewise.
25176 [XPG3 || XPG4] (timer_delete): Likewise.
25177 [XPG3 || XPG4] (timer_gettime): Likewise.
25178 [XPG3 || XPG4] (timer_getoverrun): Likewise.
25179 [XPG3 || XPG4] (timer_settime): Likewise.
25180 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25181 [XPG3 || XPG4] (getlogin_r): Likewise.
25182 [XPG3 || XPG4] (pread): Likewise.
25183 [XPG3 || XPG4] (pthread_atfork): Likewise.
25184 [XPG3 || XPG4] (pwrite): Likewise.
25187 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25190 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25192 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25193 finalizing MALLSTREAM.
25195 * sysdeps/mach/hurd/syncfs.c: New file.
25197 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25200 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25201 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25202 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25203 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25204 (_nss_dns_gethostbyname4_r): Likewise.
25205 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25206 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25208 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
25211 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25213 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
25215 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25216 * elf/cache.c (print_entry): Print ",AArch64" for
25219 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25220 * elf/cache.c (print_entry): Print ",hard-float" for
25223 2012-11-18 David S. Miller <davem@davemloft.net>
25225 With help from Joseph Myers.
25226 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25228 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25230 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25231 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25233 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25234 * math/libm-test.inc (y0_test): New tests.
25235 (y1_test): New tests.
25236 * sysdeps/i386/fpu/libm-test-ulps: Update.
25237 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25240 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
25242 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25244 * configure: Regenerated.
25246 2012-11-17 David S. Miller <davem@davemloft.net>
25249 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25250 nonzero exponents with absolute value below 0x1p-128 to +/-
25253 2012-11-17 Joseph Myers <joseph@codesourcery.com>
25255 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25257 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25259 * posix/getconf-speclist.c: New file.
25260 * posix/posix-envs.def: Likewise.
25261 * posix/confstr.c (START_ENV_GROUP): New macro.
25262 (END_ENV_GROUP): Likewise.
25263 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25264 (KNOWN_PRESENT_ENV_STRING): Likewise.
25265 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25266 (UNKNOWN_ENVIRONMENT): Likewise.
25267 (confstr): Include posix-envs.def instead of handling
25268 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25269 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25270 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25271 (END_ENV_GROUP): Likewise.
25272 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25273 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25274 (UNKNOWN_ENVIRONMENT): Likewise.
25275 (__sysconf): Include posix-envs.def instead of handling associated
25276 cases directly here.
25277 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25278 preprocessing getconf-speclist.c rather than running getconf or
25279 generating empty file.
25281 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
25283 * scripts/check-local-headers.sh: Ignore 'mach' headers.
25285 2012-11-16 Andrej Lajovic <natrij@gmail.com>
25288 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25290 2012-11-16 David S. Miller <davem@davemloft.net>
25292 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25293 smaller than LDBL_EPSILON/2.0L, just return xm1.
25295 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
25297 * elf/tst-array1.c (init): Set constructor priority to 1000.
25298 (fini): Set destructor priority to 1000.
25299 * elf/tst-array2dep.c: Likewise.
25301 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25304 * libio/fileops.c (_IO_new_file_write): Correctly return error.
25305 (_IO_new_file_xsputn): Also return EOF if none of the input
25306 data was written when overflow failed.
25307 * libio/iopadn.c (_IO_padn): Likewise.
25308 * libio/iowpadn.c (_IO_wpadn): Likewise.
25309 * stdio-common/tst-put-error.c: Add copyright notice.
25310 (do_test): Add case for printing padded string.
25311 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25312 _IO_padn returned error.
25313 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25314 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25317 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25319 * libio/libioP.h: Add comment note that the references to C++
25320 bits are now obsolete.
25322 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25324 * math/libm-test.inc (check_complex): Use asprintf.
25326 2012-11-14 Joseph Myers <joseph@codesourcery.com>
25328 * debug/pcprofiledump.c (print_version): Update copyright year.
25329 * malloc/memusagestat.c (print_version): Likewise.
25331 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
25334 * elf/Makefile (tests): Add tst-audit8.
25335 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25336 ($(objpfx)tst-audit8.out): New target.
25337 (tst-audit8-ENV): New variable.
25338 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25339 audit if l_reloc_result is NULL.
25340 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25341 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25342 * elf/tst-audit8.c: New file.
25344 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25346 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25347 * misc/Makefile (CFLAGS-select.c): Define.
25348 * posix/Makefile (CFLAGS-pause.c): Define.
25350 2012-11-13 David S. Miller <davem@davemloft.net>
25352 * crypt/Makefile: Move test targets after toplevel Rules
25353 inclusion. Grab any necessary sysdep routines when linking.
25354 * crypt/md5.c (md5_process_block): Remove define, we will always
25355 name it __md5_process_block.
25356 (md5_finish_ctx): Update md5_process_block call.
25357 (md5_stream): Likewise.
25358 (md5_process_bytes): Likewise.
25359 (md5_process_block): Rename to __md5_process_block and move to ...
25360 * crypt/md5-block.c: ... here.
25361 * crypt/sha256.c (sha256_process_block): Move to ...
25362 * crypt/sha256-block.c: ... here.
25363 * crypt/sha512.c (sha512_process_block): Move to ...
25364 * crypt/sha512-block.c: ... here.
25365 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25367 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25368 * sysdeps/sparc/sparc64/multiarch/Makefile
25369 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25371 (localedef-aux): Add md5 crypto assembler when in locale subdir.
25372 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25374 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25375 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25376 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25377 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25378 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25379 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25380 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25381 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25382 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25384 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25385 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25387 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25389 2012-11-13 Joseph Myers <joseph@codesourcery.com>
25391 * timezone/tzselect.ksh: Update from tzcode git revision
25392 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25393 * timezone/zdump.c: Likewise.
25394 * timezone/zic.c: Likewise.
25395 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25396 in TZVERSION setting, not $(PKGVERSION).
25397 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
25398 REPORT_BUGS_TO settings.
25401 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25404 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25406 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25407 detection to immediately after _FP_ROUND().
25408 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25411 2012-11-11 David S. Miller <davem@davemloft.net>
25413 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25415 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25416 __close rather than their public counterparts.
25418 2012-11-10 Joseph Myers <joseph@codesourcery.com>
25420 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25422 [UNIX98] (sem_timedwait): Do not expect.
25423 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25424 [XPG4 || UNIX98] (sockatmark): Do not expect.
25425 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25426 (clock_getcpuclockid): Do not expect.
25427 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25428 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25430 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25431 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25432 [UNIX98] (vwscanf): Likewise.
25433 [UNIX98] (vswscanf): Likewise.
25435 2012-11-09 Joseph Myers <joseph@codesourcery.com>
25437 * timezone/version.h: Remove file.
25438 * timezone/README: Do not refer to version.h.
25439 * timezone/Makefile ($(objpfx)zic.o): New dependency on
25440 $(objpfx)version.h.
25441 ($(objpfx)zdump.o): Likewise.
25442 ($(objpfx)version.h): New target.
25444 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25446 * timezone/README: Don't mention modification to tzselect.ksh.
25447 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25448 work on unmodified tzselect.ksh. Substitute version numbers in
25451 * Makefile (format-me): Remove.
25452 (INSTALL): Adjust indentation. Use commands directly instead of
25453 using $(format-me).
25455 * aclocal.m4 (ACX_PKGVERSION): New macro.
25456 (ACX_BUGURL): Likewise.
25457 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25458 (PKGVERSION): New AC_DEFINE_UNQUOTED.
25459 (REPORT_BUGS_TO): Likewise.
25460 * configure: Regenerated.
25461 * config.h.in (PKGVERSION): New macro.
25462 (REPORT_BUGS_TO): Likewise.
25463 * config.make.in (PKGVERSION): New variable.
25464 (PKGVERSION_TEXI): Likewise.
25465 (REPORT_BUGS_TO): Likewise.
25466 (REPORT_BUGS_TEXI): Likewise.
25467 * Makefile (format-me): Use -I$(common-objpfx)manual.
25468 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25469 ($(common-objpfx)manual/%): New target.
25470 (manual/%): Remove target.
25471 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25472 (print_version): Use PKGVERSION.
25473 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25474 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25475 and REPORT_BUGS_TO.
25476 ($(objpfx)xtrace): Likewise.
25477 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25478 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25479 (print_version): Use PKGVERSION.
25480 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25481 (do_version): Use PKGVERSION.
25482 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25484 (common-ldd-rewrite): Likewise.
25485 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25486 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25487 (print_version): Use PKGVERSION.
25488 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25489 * elf/pldd.c (argp_program_bug_address): Remove variable.
25490 (more_help): New function.
25491 (argp): Use more_help.
25492 (print_version): Use PKGVERSION.
25493 * elf/sln.c (main): Use PKGVERSION.
25494 (usage): Use REPORT_BUGS_TO.
25495 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25496 (top level): Use PKGVERSION.
25497 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25498 (print_version): Use PKGVERSION.
25499 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25500 (print_version): Use PKGVERSION.
25501 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25502 (print_version): Use PKGVERSION.
25503 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25504 (print_version): Use PKGVERSION.
25505 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25506 (print_version): Use PKGVERSION.
25507 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25508 (print_version): Use PKGVERSION.
25509 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25511 ($(objpfx)memusage): Likewise.
25512 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25513 (do_version): Use PKGVERSION.
25514 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25515 (print_version): Use PKGVERSION.
25516 * malloc/mtrace.pl ($PACKAGE): Remove variable.
25517 ($PKGVERSION): New variable.
25518 ($REPORT_BUGS_TO): Likewise.
25519 (usage): Use $REPORT_BUGS_TO.
25520 (top level): Use $PKGVERSION.
25521 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25522 ($(objpfx)pkgvers.texi): New rule.
25523 ($(objpfx)stamp-pkgvers): Likewise.
25524 * manual/install.texi: Include pkgvers.texi.
25525 (--with-pkgversion): Document new configure option.
25526 (--with-bugurl): Likewise.
25527 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25528 than necessarily for this particular distribution. Use
25529 REPORT_BUGS_TO for where to report bugs.
25530 * INSTALL: Regenerated.
25531 * manual/libc.texinfo: Include pkgvers.texi.
25532 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25533 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25534 (print_version): Use PKGVERSION.
25535 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25536 (print_version): Use PKGVERSION.
25537 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25538 (print_version): Use PKGVERSION.
25539 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25540 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25542 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25543 (print_version): Use PKGVERSION.
25544 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25545 (print_version): Use PKGVERSION.
25546 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25549 * timezone/checktab.awk: Update from tzcode 2012i.
25550 * timezone/ialloc.c: Likewise.
25551 * timezone/private.h: Likewise.
25552 * timezone/scheck.c: Likewise.
25553 * timezone/tzfile.h: Likewise.
25554 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25555 (TZVERSION): Hardcode tzcode version number.
25556 * timezone/zdump.c: Update from tzcode 2012i.
25557 * timezone/zic.c: Likewise.
25558 * timezone/version.h: New file.
25559 * timezone/README: Describe version.h. Update upstream location.
25562 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25563 (mktemp): Enable declaration.
25564 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25565 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25566 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25567 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25569 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25571 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25573 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25575 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25577 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25581 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25582 offset in buffer as u_int32_t not u_long. Consistently use memcpy
25583 for copies of such integer values.
25584 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25585 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25587 2012-11-09 Andreas Jaeger <aj@suse.de>
25589 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25590 definitions and declarations that are provided by
25591 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25593 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25595 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25596 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25597 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25600 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25602 * elf/elf.h: Update comment before AArch64 relocations.
25604 2012-11-07 David S. Miller <davem@davemloft.net>
25606 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25607 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25608 (__start_context): Declare.
25609 (__makecontext_ret): Delete.
25610 (__makecontext): Hook up __start_context instead of
25612 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25613 (sysdep_routines): Add __start_context when in stdlib.
25615 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25617 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25618 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25619 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
25621 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
25622 (READELF): New variable. Use it instead of hardcoded "readelf".
25624 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
25626 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25627 * sysdeps/x86/Makefile: Here.
25628 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25629 * sysdeps/x86/tst-xmmymm.sh: This.
25631 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25633 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25635 [UNIX98] (pthread_barrier_t): Do not expect.
25636 [UNIX98] (pthread_barrierattr_t): Likewise.
25637 [UNIX98] (pthread_spinlock_t): Likewise.
25638 [UNIX98] (pthread_barrier_destroy): Likewise.
25639 [UNIX98] (pthread_barrier_init): Likewise.
25640 [UNIX98] (pthread_barrier_wait): Likewise.
25641 [UNIX98] (pthread_barrierattr_destroy): Likewise.
25642 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25643 [UNIX98] (pthread_barrierattr_init): Likewise.
25644 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25645 [UNIX98] (pthread_getcpuclockid): Likewise.
25646 [UNIX98] (pthread_mutex_timedlock): Likewise.
25647 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25648 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25649 [UNIX98] (pthread_sigmask): Likewise.
25650 [UNIX98] (pthread_spin_destroy): Likewise.
25651 [UNIX98] (pthread_spin_init): Likewise.
25652 [UNIX98] (pthread_spin_lock): Likewise.
25653 [UNIX98] (pthread_spin_trylock): Likewise.
25654 [UNIX98] (pthread_spin_unlock): Likewise.
25655 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25657 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25658 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25659 [XPG3 || XPG4] (pthread_cond_t): Likewise.
25660 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25661 [XPG3 || XPG4] (pthread_key_t): Likewise.
25662 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25663 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25664 [XPG3 || XPG4] (pthread_once_t): Likewise.
25665 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25666 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25667 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25668 [XPG3 || XPG4] (pthread_t): Likewise.
25670 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25672 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25674 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25675 Change function return type to int.
25677 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25678 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25679 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25680 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25681 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25682 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25683 [!POSIX] (posix_madvise): Likewise.
25684 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25686 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25687 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25688 (mode_t): Likewise.
25689 (posix_mem_offset): Likewise.
25690 (posix_typed_mem_get_info): Likewise.
25691 (posix_typed_mem_open): Likewise.
25693 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25694 Change condition to [XOPEN2K8].
25696 * conform/conformtest.pl: Preprocess allow-header data with -x c
25697 instead of from stdin.
25698 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25699 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25700 [C99-based standards] (cerfc): Likewise.
25701 [C99-based standards] (cexp2): Likewise.
25702 [C99-based standards] (cexpm1): Likewise.
25703 [C99-based standards] (clog10): Likewise.
25704 [C99-based standards] (clog1p): Likewise.
25705 [C99-based standards] (clog2): Likewise.
25706 [C99-based standards] (clgamma): Likewise.
25707 [C99-based standards] (ctgamma): Likewise.
25708 [C99-based standards] (cerff): Likewise.
25709 [C99-based standards] (cerfcf): Likewise.
25710 [C99-based standards] (cexp2f): Likewise.
25711 [C99-based standards] (cexpm1f): Likewise.
25712 [C99-based standards] (clog10f): Likewise.
25713 [C99-based standards] (clog1pf): Likewise.
25714 [C99-based standards] (clog2f): Likewise.
25715 [C99-based standards] (clgammaf): Likewise.
25716 [C99-based standards] (ctgammaf): Likewise.
25717 [C99-based standards] (cerfl): Likewise.
25718 [C99-based standards] (cerfcl): Likewise.
25719 [C99-based standards] (cexp2l): Likewise.
25720 [C99-based standards] (cexpm1l): Likewise.
25721 [C99-based standards] (clog10l): Likewise.
25722 [C99-based standards] (clog1pl): Likewise.
25723 [C99-based standards] (clog2l): Likewise.
25724 [C99-based standards] (clgammal): Likewise.
25725 [C99-based standards] (ctgammal): Likewise.
25726 * conform/data/inttypes.h-data [C99-based standards]: Include
25727 stdint.h-data. Remove all expectations for stdint.h contents.
25728 [C99-based standards] (PRI*): Do not allow.
25729 [C99-based standards] (SCN*): Likewise.
25730 [C99-based standards] (*_t): Likewise.
25731 [C99-based-standards] (PRId8): Expect macro.
25732 [C99-based-standards] (PRIi8): Likewise.
25733 [C99-based-standards] (PRIo8): Likewise.
25734 [C99-based-standards] (PRIu8): Likewise.
25735 [C99-based-standards] (PRIx8): Likewise.
25736 [C99-based-standards] (PRIX8): Likewise.
25737 [C99-based-standards] (SCNd8): Likewise.
25738 [C99-based-standards] (SCNi8): Likewise.
25739 [C99-based-standards] (SCNo8): Likewise.
25740 [C99-based-standards] (SCNu8): Likewise.
25741 [C99-based-standards] (SCNx8): Likewise.
25742 [C99-based-standards] (PRIdLEAST8): Likewise.
25743 [C99-based-standards] (PRIiLEAST8): Likewise.
25744 [C99-based-standards] (PRIoLEAST8): Likewise.
25745 [C99-based-standards] (PRIuLEAST8): Likewise.
25746 [C99-based-standards] (PRIxLEAST8): Likewise.
25747 [C99-based-standards] (PRIXLEAST8): Likewise.
25748 [C99-based-standards] (SCNdLEAST8): Likewise.
25749 [C99-based-standards] (SCNiLEAST8): Likewise.
25750 [C99-based-standards] (SCNoLEAST8): Likewise.
25751 [C99-based-standards] (SCNuLEAST8): Likewise.
25752 [C99-based-standards] (SCNxLEAST8): Likewise.
25753 [C99-based-standards] (PRIdFAST8): Likewise.
25754 [C99-based-standards] (PRIiFAST8): Likewise.
25755 [C99-based-standards] (PRIoFAST8): Likewise.
25756 [C99-based-standards] (PRIuFAST8): Likewise.
25757 [C99-based-standards] (PRIxFAST8): Likewise.
25758 [C99-based-standards] (PRIXFAST8): Likewise.
25759 [C99-based-standards] (SCNdFAST8): Likewise.
25760 [C99-based-standards] (SCNiFAST8): Likewise.
25761 [C99-based-standards] (SCNoFAST8): Likewise.
25762 [C99-based-standards] (SCNuFAST8): Likewise.
25763 [C99-based-standards] (SCNxFAST8): Likewise.
25764 [C99-based-standards] (PRId16): Likewise.
25765 [C99-based-standards] (PRIi16): Likewise.
25766 [C99-based-standards] (PRIo16): Likewise.
25767 [C99-based-standards] (PRIu16): Likewise.
25768 [C99-based-standards] (PRIx16): Likewise.
25769 [C99-based-standards] (PRIX16): Likewise.
25770 [C99-based-standards] (SCNd16): Likewise.
25771 [C99-based-standards] (SCNi16): Likewise.
25772 [C99-based-standards] (SCNo16): Likewise.
25773 [C99-based-standards] (SCNu16): Likewise.
25774 [C99-based-standards] (SCNx16): Likewise.
25775 [C99-based-standards] (PRIdLEAST16): Likewise.
25776 [C99-based-standards] (PRIiLEAST16): Likewise.
25777 [C99-based-standards] (PRIoLEAST16): Likewise.
25778 [C99-based-standards] (PRIuLEAST16): Likewise.
25779 [C99-based-standards] (PRIxLEAST16): Likewise.
25780 [C99-based-standards] (PRIXLEAST16): Likewise.
25781 [C99-based-standards] (SCNdLEAST16): Likewise.
25782 [C99-based-standards] (SCNiLEAST16): Likewise.
25783 [C99-based-standards] (SCNoLEAST16): Likewise.
25784 [C99-based-standards] (SCNuLEAST16): Likewise.
25785 [C99-based-standards] (SCNxLEAST16): Likewise.
25786 [C99-based-standards] (PRIdFAST16): Likewise.
25787 [C99-based-standards] (PRIiFAST16): Likewise.
25788 [C99-based-standards] (PRIoFAST16): Likewise.
25789 [C99-based-standards] (PRIuFAST16): Likewise.
25790 [C99-based-standards] (PRIxFAST16): Likewise.
25791 [C99-based-standards] (PRIXFAST16): Likewise.
25792 [C99-based-standards] (SCNdFAST16): Likewise.
25793 [C99-based-standards] (SCNiFAST16): Likewise.
25794 [C99-based-standards] (SCNoFAST16): Likewise.
25795 [C99-based-standards] (SCNuFAST16): Likewise.
25796 [C99-based-standards] (SCNxFAST16): Likewise.
25797 [C99-based-standards] (PRId32): Likewise.
25798 [C99-based-standards] (PRIi32): Likewise.
25799 [C99-based-standards] (PRIo32): Likewise.
25800 [C99-based-standards] (PRIu32): Likewise.
25801 [C99-based-standards] (PRIx32): Likewise.
25802 [C99-based-standards] (PRIX32): Likewise.
25803 [C99-based-standards] (SCNd32): Likewise.
25804 [C99-based-standards] (SCNi32): Likewise.
25805 [C99-based-standards] (SCNo32): Likewise.
25806 [C99-based-standards] (SCNu32): Likewise.
25807 [C99-based-standards] (SCNx32): Likewise.
25808 [C99-based-standards] (PRIdLEAST32): Likewise.
25809 [C99-based-standards] (PRIiLEAST32): Likewise.
25810 [C99-based-standards] (PRIoLEAST32): Likewise.
25811 [C99-based-standards] (PRIuLEAST32): Likewise.
25812 [C99-based-standards] (PRIxLEAST32): Likewise.
25813 [C99-based-standards] (PRIXLEAST32): Likewise.
25814 [C99-based-standards] (SCNdLEAST32): Likewise.
25815 [C99-based-standards] (SCNiLEAST32): Likewise.
25816 [C99-based-standards] (SCNoLEAST32): Likewise.
25817 [C99-based-standards] (SCNuLEAST32): Likewise.
25818 [C99-based-standards] (SCNxLEAST32): Likewise.
25819 [C99-based-standards] (PRIdFAST32): Likewise.
25820 [C99-based-standards] (PRIiFAST32): Likewise.
25821 [C99-based-standards] (PRIoFAST32): Likewise.
25822 [C99-based-standards] (PRIuFAST32): Likewise.
25823 [C99-based-standards] (PRIxFAST32): Likewise.
25824 [C99-based-standards] (PRIXFAST32): Likewise.
25825 [C99-based-standards] (SCNdFAST32): Likewise.
25826 [C99-based-standards] (SCNiFAST32): Likewise.
25827 [C99-based-standards] (SCNoFAST32): Likewise.
25828 [C99-based-standards] (SCNuFAST32): Likewise.
25829 [C99-based-standards] (SCNxFAST32): Likewise.
25830 [C99-based-standards] (PRId64): Likewise.
25831 [C99-based-standards] (PRIi64): Likewise.
25832 [C99-based-standards] (PRIo64): Likewise.
25833 [C99-based-standards] (PRIu64): Likewise.
25834 [C99-based-standards] (PRIx64): Likewise.
25835 [C99-based-standards] (PRIX64): Likewise.
25836 [C99-based-standards] (SCNd64): Likewise.
25837 [C99-based-standards] (SCNi64): Likewise.
25838 [C99-based-standards] (SCNo64): Likewise.
25839 [C99-based-standards] (SCNu64): Likewise.
25840 [C99-based-standards] (SCNx64): Likewise.
25841 [C99-based-standards] (PRIdLEAST64): Likewise.
25842 [C99-based-standards] (PRIiLEAST64): Likewise.
25843 [C99-based-standards] (PRIoLEAST64): Likewise.
25844 [C99-based-standards] (PRIuLEAST64): Likewise.
25845 [C99-based-standards] (PRIxLEAST64): Likewise.
25846 [C99-based-standards] (PRIXLEAST64): Likewise.
25847 [C99-based-standards] (SCNdLEAST64): Likewise.
25848 [C99-based-standards] (SCNiLEAST64): Likewise.
25849 [C99-based-standards] (SCNoLEAST64): Likewise.
25850 [C99-based-standards] (SCNuLEAST64): Likewise.
25851 [C99-based-standards] (SCNxLEAST64): Likewise.
25852 [C99-based-standards] (PRIdFAST64): Likewise.
25853 [C99-based-standards] (PRIiFAST64): Likewise.
25854 [C99-based-standards] (PRIoFAST64): Likewise.
25855 [C99-based-standards] (PRIuFAST64): Likewise.
25856 [C99-based-standards] (PRIxFAST64): Likewise.
25857 [C99-based-standards] (PRIXFAST64): Likewise.
25858 [C99-based-standards] (SCNdFAST64): Likewise.
25859 [C99-based-standards] (SCNiFAST64): Likewise.
25860 [C99-based-standards] (SCNoFAST64): Likewise.
25861 [C99-based-standards] (SCNuFAST64): Likewise.
25862 [C99-based-standards] (SCNxFAST64): Likewise.
25863 [C99-based-standards] (PRIdMAX): Likewise.
25864 [C99-based-standards] (PRIiMAX): Likewise.
25865 [C99-based-standards] (PRIoMAX): Likewise.
25866 [C99-based-standards] (PRIuMAX): Likewise.
25867 [C99-based-standards] (PRIxMAX): Likewise.
25868 [C99-based-standards] (PRIXMAX): Likewise.
25869 [C99-based-standards] (SCNdMAX): Likewise.
25870 [C99-based-standards] (SCNiMAX): Likewise.
25871 [C99-based-standards] (SCNoMAX): Likewise.
25872 [C99-based-standards] (SCNuMAX): Likewise.
25873 [C99-based-standards] (SCNxMAX): Likewise.
25874 [C99-based-standards] (PRIdPTR): Likewise.
25875 [C99-based-standards] (PRIiPTR): Likewise.
25876 [C99-based-standards] (PRIoPTR): Likewise.
25877 [C99-based-standards] (PRIuPTR): Likewise.
25878 [C99-based-standards] (PRIxPTR): Likewise.
25879 [C99-based-standards] (PRIXPTR): Likewise.
25880 [C99-based-standards] (SCNdPTR): Likewise.
25881 [C99-based-standards] (SCNiPTR): Likewise.
25882 [C99-based-standards] (SCNoPTR): Likewise.
25883 [C99-based-standards] (SCNuPTR): Likewise.
25884 [C99-based-standards] (SCNxPTR): Likewise.
25885 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
25887 * conform/data/stdint.h-data: Update comments to clarify
25889 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
25891 [C99-based standards] (INT8_MAX): Likewise.
25892 [C99-based standards] (INT16_MIN): Likewise.
25893 [C99-based standards] (INT16_MAX): Likewise.
25894 [C99-based standards] (INT32_MIN): Likewise.
25895 [C99-based standards] (INT32_MAX): Likewise.
25896 [C99-based standards] (INT64_MIN): Likewise.
25897 [C99-based standards] (INT64_MAX): Likewise.
25898 [C99-based standards] (UINT8_MAX): Likewise.
25899 [C99-based standards] (UINT16_MAX): Likewise.
25900 [C99-based standards] (UINT32_MAX): Likewise.
25901 [C99-based standards] (UINT64_MAX): Likewise.
25902 [C99-based standards] (INT_LEAST8_MIN): Likewise.
25903 [C99-based standards] (INT_LEAST8_MAX): Likewise.
25904 [C99-based standards] (INT_LEAST16_MIN): Likewise.
25905 [C99-based standards] (INT_LEAST16_MAX): Likewise.
25906 [C99-based standards] (INT_LEAST32_MIN): Likewise.
25907 [C99-based standards] (INT_LEAST32_MAX): Likewise.
25908 [C99-based standards] (INT_LEAST64_MIN): Likewise.
25909 [C99-based standards] (INT_LEAST64_MAX): Likewise.
25910 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
25911 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25912 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25913 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25914 [C99-based standards] (INT_FAST8_MIN): Likewise.
25915 [C99-based standards] (INT_FAST8_MAX): Likewise.
25916 [C99-based standards] (INT_FAST16_MIN): Likewise.
25917 [C99-based standards] (INT_FAST16_MAX): Likewise.
25918 [C99-based standards] (INT_FAST32_MIN): Likewise.
25919 [C99-based standards] (INT_FAST32_MAX): Likewise.
25920 [C99-based standards] (INT_FAST64_MIN): Likewise.
25921 [C99-based standards] (INT_FAST64_MAX): Likewise.
25922 [C99-based standards] (UINT_FAST8_MAX): Likewise.
25923 [C99-based standards] (UINT_FAST16_MAX): Likewise.
25924 [C99-based standards] (UINT_FAST32_MAX): Likewise.
25925 [C99-based standards] (UINT_FAST64_MAX): Likewise.
25926 [C99-based standards] (INTPTR_MIN): Likewise.
25927 [C99-based standards] (INTPTR_MAX): Likewise.
25928 [C99-based standards] (UINTPTR_MAX): Likewise.
25929 [C99-based standards] (INTMAX_MIN): Likewise.
25930 [C99-based standards] (INTMAX_MAX): Likewise.
25931 [C99-based standards] (UINTMAX_MAX): Likewise.
25932 [C99-based standards] (PTRDIFF_MIN): Likewise.
25933 [C99-based standards] (PTRDIFF_MAX): Likewise.
25934 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25935 [C99-based standards] (SIZE_MAX): Likewise.
25936 [C99-based standards] (WCHAR_MAX): Likewise.
25937 [C99-based standards] (WINT_MAX): Likewise.
25938 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
25939 constraint on value.
25940 [C99-based standards] (WCHAR_MIN): Likewise.
25941 [C99-based standards] (WINT_MIN): Likewise.
25942 [C99-based standards] (*_t): Allow.
25943 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25944 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25945 Include math.h-data and complex.h-data. Remove all expectations
25946 of math.h and complex.h contents.
25947 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25949 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25950 (struct tm): Expect tag.
25951 [C99-based-standards] (wcstof): Expect function.
25952 [C99-based-standards] (wcstold): Likewise.
25953 [C99-based-standards] (wcstoll): Likewise.
25954 [C99-based-standards] (wcstoull): Likewise.
25955 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25956 macro-int-constant. Specify type.
25957 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
25958 constraint on value.
25959 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25961 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25963 [ISO C standards]: Do not allow headers.
25964 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25965 wcs[abcdefghijklmnopqrstuvwxyz]*.
25966 [ISO C standards] (*_t): Do not allow.
25967 * conform/data/wctype.h-data [C99-based standards] (iswblank):
25969 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25970 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25972 [ISO C standards]: Do not allow headers.
25973 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25974 is[abcdefghijklmnopqrstuvwxyz]*.
25975 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25976 to[abcdefghijklmnopqrstuvwxyz]*.
25977 [ISO C standards] (*_t): Do not allow.
25978 * conform/data/stdalign.h-data: New file.
25979 * conform/data/stdbool.h-data: Likewise.
25980 * conform/data/stdnoreturn.h-data: Likewise.
25982 2012-11-07 Roland McGrath <roland@hack.frob.com>
25985 * manual/filesys.texi (Directory Entries): Typo fix.
25986 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25988 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25990 * elf/elf.h (EM_AARCH64): New macro.
25991 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25992 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25993 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25994 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25995 (R_AARCH64_TLSDESC): Likewise.
25996 (NT_ARM_TLS): Likewise.
25997 (NT_ARM_HW_BREAK): Likewise.
25998 (NT_ARM_HW_WATCH): Likewise.
26000 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26003 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26004 (__ieee754_powl): Saturate nonzero exponents with absolute value
26005 below 0x1p-79 to +/- 0x1p-79.
26006 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26007 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26008 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26009 nonzero exponents with absolute value below 0x1p-32 to +/-
26011 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26012 (__ieee754_powl): Saturate nonzero exponents with absolute value
26013 below 0x1p-79 to +/- 0x1p-79.
26014 * math/libm-test.inc (pow_test): Add more tests.
26016 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26018 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26019 _dl_s390_cap_flags with kernel. Increase string length.
26020 (_dl_s390_platforms): Add z196 and zEC12.
26022 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26024 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26025 Change XOPEN21K to XOPEN2K.
26027 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26029 * string/memmove.c: Use memcpy when possible.
26031 2012-11-06 Andreas Jaeger <aj@suse.de>
26033 * po/eo.po: Update from translation team.
26035 2012-11-06 Joseph Myers <joseph@codesourcery.com>
26038 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26039 exponent and small x and y exponents, scale x or y up. Increase
26040 by 2 the exponent used in scaling up.
26041 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26042 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26043 * math/libm-test.inc (fma_test): Add more tests.
26044 (fma_test_towardzero): Likewise.
26045 (fma_test_downward): Likewise.
26046 (fma_test_upward): Likewise.
26048 2012-11-05 Joseph Myers <joseph@codesourcery.com>
26051 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26055 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26056 namespace for names of struct fields.
26057 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26059 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26060 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26062 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26065 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26067 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26069 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26073 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26076 2012-11-04 Joseph Myers <joseph@codesourcery.com>
26079 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26080 definitely overflow as x * y not x * y + z.
26081 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26082 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26083 * math/libm-test.inc (fma_test): Add more tests.
26084 (fma_test_towardzero): Likewise.
26085 (fma_test_downward): Likewise.
26086 (fma_test_upward): Likewise.
26088 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26092 * include/stub-tag.h: Remove file.
26093 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26095 * manual/maint.texi (Porting): Don't reference it.
26096 * Makerules ($(objpfx)stubs): Likewise.
26097 * dirent/closedir.c: Don't include <stub-tag.h>.
26098 * dirent/dirfd.c: Likewise.
26099 * dirent/fdopendir.c: Likewise.
26100 * dirent/getdents.c: Likewise.
26101 * dirent/getdents64.c: Likewise.
26102 * dirent/opendir.c: Likewise.
26103 * dirent/readdir.c: Likewise.
26104 * dirent/readdir64.c: Likewise.
26105 * dirent/readdir64_r.c: Likewise.
26106 * dirent/readdir_r.c: Likewise.
26107 * dirent/rewinddir.c: Likewise.
26108 * dirent/seekdir.c: Likewise.
26109 * dirent/telldir.c: Likewise.
26110 * gmon/profil.c: Likewise.
26111 * grp/setgroups.c: Likewise.
26112 * inet/if_index.c: Likewise.
26113 * io/access.c: Likewise.
26114 * io/chdir.c: Likewise.
26115 * io/chmod.c: Likewise.
26116 * io/chown.c: Likewise.
26117 * io/close.c: Likewise.
26118 * io/dup.c: Likewise.
26119 * io/dup2.c: Likewise.
26120 * io/dup3.c: Likewise.
26121 * io/euidaccess.c: Likewise.
26122 * io/faccessat.c: Likewise.
26123 * io/fchdir.c: Likewise.
26124 * io/fchmod.c: Likewise.
26125 * io/fchmodat.c: Likewise.
26126 * io/fchown.c: Likewise.
26127 * io/fchownat.c: Likewise.
26128 * io/fcntl.c: Likewise.
26129 * io/flock.c: Likewise.
26130 * io/fstatfs.c: Likewise.
26131 * io/fstatfs64.c: Likewise.
26132 * io/fstatvfs.c: Likewise.
26133 * io/fstatvfs64.c: Likewise.
26134 * io/futimens.c: Likewise.
26135 * io/fxstat.c: Likewise.
26136 * io/fxstat64.c: Likewise.
26137 * io/fxstatat.c: Likewise.
26138 * io/fxstatat64.c: Likewise.
26139 * io/getcwd.c: Likewise.
26140 * io/isatty.c: Likewise.
26141 * io/lchmod.c: Likewise.
26142 * io/lchown.c: Likewise.
26143 * io/link.c: Likewise.
26144 * io/linkat.c: Likewise.
26145 * io/lseek.c: Likewise.
26146 * io/lseek64.c: Likewise.
26147 * io/lxstat64.c: Likewise.
26148 * io/mkdir.c: Likewise.
26149 * io/mkdirat.c: Likewise.
26150 * io/mkfifo.c: Likewise.
26151 * io/mkfifoat.c: Likewise.
26152 * io/open.c: Likewise.
26153 * io/open64.c: Likewise.
26154 * io/openat.c: Likewise.
26155 * io/openat64.c: Likewise.
26156 * io/pipe.c: Likewise.
26157 * io/pipe2.c: Likewise.
26158 * io/poll.c: Likewise.
26159 * io/posix_fadvise.c: Likewise.
26160 * io/posix_fadvise64.c: Likewise.
26161 * io/posix_fallocate.c: Likewise.
26162 * io/posix_fallocate64.c: Likewise.
26163 * io/read.c: Likewise.
26164 * io/readlink.c: Likewise.
26165 * io/readlinkat.c: Likewise.
26166 * io/rmdir.c: Likewise.
26167 * io/sendfile.c: Likewise.
26168 * io/sendfile64.c: Likewise.
26169 * io/statfs.c: Likewise.
26170 * io/statfs64.c: Likewise.
26171 * io/statvfs.c: Likewise.
26172 * io/statvfs64.c: Likewise.
26173 * io/symlink.c: Likewise.
26174 * io/symlinkat.c: Likewise.
26175 * io/ttyname.c: Likewise.
26176 * io/ttyname_r.c: Likewise.
26177 * io/umask.c: Likewise.
26178 * io/unlink.c: Likewise.
26179 * io/unlinkat.c: Likewise.
26180 * io/utime.c: Likewise.
26181 * io/utimensat.c: Likewise.
26182 * io/write.c: Likewise.
26183 * io/xmknod.c: Likewise.
26184 * io/xmknodat.c: Likewise.
26185 * io/xstat.c: Likewise.
26186 * io/xstat64.c: Likewise.
26187 * login/getpt.c: Likewise.
26188 * login/grantpt.c: Likewise.
26189 * login/unlockpt.c: Likewise.
26190 * math/e_acoshl.c: Likewise.
26191 * math/e_acosl.c: Likewise.
26192 * math/e_asinl.c: Likewise.
26193 * math/e_atan2l.c: Likewise.
26194 * math/e_atanhl.c: Likewise.
26195 * math/e_coshl.c: Likewise.
26196 * math/e_expl.c: Likewise.
26197 * math/e_fmodl.c: Likewise.
26198 * math/e_gammal_r.c: Likewise.
26199 * math/e_hypotl.c: Likewise.
26200 * math/e_j0l.c: Likewise.
26201 * math/e_j1l.c: Likewise.
26202 * math/e_jnl.c: Likewise.
26203 * math/e_lgammal_r.c: Likewise.
26204 * math/e_log10l.c: Likewise.
26205 * math/e_log2l.c: Likewise.
26206 * math/e_logl.c: Likewise.
26207 * math/e_powl.c: Likewise.
26208 * math/e_rem_pio2l.c: Likewise.
26209 * math/e_sinhl.c: Likewise.
26210 * math/e_sqrtl.c: Likewise.
26211 * math/fclrexcpt.c: Likewise.
26212 * math/fedisblxcpt.c: Likewise.
26213 * math/feenablxcpt.c: Likewise.
26214 * math/fegetenv.c: Likewise.
26215 * math/fegetexcept.c: Likewise.
26216 * math/fegetround.c: Likewise.
26217 * math/feholdexcpt.c: Likewise.
26218 * math/fesetenv.c: Likewise.
26219 * math/fesetround.c: Likewise.
26220 * math/feupdateenv.c: Likewise.
26221 * math/fgetexcptflg.c: Likewise.
26222 * math/fraiseexcpt.c: Likewise.
26223 * math/fsetexcptflg.c: Likewise.
26224 * math/ftestexcept.c: Likewise.
26225 * math/k_cosl.c: Likewise.
26226 * math/k_rem_pio2l.c: Likewise.
26227 * math/k_sinl.c: Likewise.
26228 * math/k_tanl.c: Likewise.
26229 * math/s_asinhl.c: Likewise.
26230 * math/s_atanl.c: Likewise.
26231 * math/s_cbrtl.c: Likewise.
26232 * math/s_erfl.c: Likewise.
26233 * math/s_expm1l.c: Likewise.
26234 * math/s_log1pl.c: Likewise.
26235 * math/s_tanhl.c: Likewise.
26236 * misc/acct.c: Likewise.
26237 * misc/brk.c: Likewise.
26238 * misc/chflags.c: Likewise.
26239 * misc/chroot.c: Likewise.
26240 * misc/fchflags.c: Likewise.
26241 * misc/fgetxattr.c: Likewise.
26242 * misc/flistxattr.c: Likewise.
26243 * misc/fremovexattr.c: Likewise.
26244 * misc/fsetxattr.c: Likewise.
26245 * misc/fsync.c: Likewise.
26246 * misc/ftruncate.c: Likewise.
26247 * misc/futimes.c: Likewise.
26248 * misc/futimesat.c: Likewise.
26249 * misc/getdomain.c: Likewise.
26250 * misc/getdtsz.c: Likewise.
26251 * misc/gethostid.c: Likewise.
26252 * misc/gethostname.c: Likewise.
26253 * misc/getloadavg.c: Likewise.
26254 * misc/getpagesize.c: Likewise.
26255 * misc/getsysstats.c: Likewise.
26256 * misc/getxattr.c: Likewise.
26257 * misc/gtty.c: Likewise.
26258 * misc/ioctl.c: Likewise.
26259 * misc/lgetxattr.c: Likewise.
26260 * misc/listxattr.c: Likewise.
26261 * misc/llistxattr.c: Likewise.
26262 * misc/lremovexattr.c: Likewise.
26263 * misc/lsetxattr.c: Likewise.
26264 * misc/lutimes.c: Likewise.
26265 * misc/madvise.c: Likewise.
26266 * misc/mincore.c: Likewise.
26267 * misc/mlock.c: Likewise.
26268 * misc/mlockall.c: Likewise.
26269 * misc/mmap.c: Likewise.
26270 * misc/mprotect.c: Likewise.
26271 * misc/msync.c: Likewise.
26272 * misc/munlock.c: Likewise.
26273 * misc/munlockall.c: Likewise.
26274 * misc/munmap.c: Likewise.
26275 * misc/preadv.c: Likewise.
26276 * misc/preadv64.c: Likewise.
26277 * misc/ptrace.c: Likewise.
26278 * misc/pwritev.c: Likewise.
26279 * misc/pwritev64.c: Likewise.
26280 * misc/readv.c: Likewise.
26281 * misc/reboot.c: Likewise.
26282 * misc/remap_file_pages.c: Likewise.
26283 * misc/removexattr.c: Likewise.
26284 * misc/revoke.c: Likewise.
26285 * misc/select.c: Likewise.
26286 * misc/setdomain.c: Likewise.
26287 * misc/setegid.c: Likewise.
26288 * misc/seteuid.c: Likewise.
26289 * misc/sethostid.c: Likewise.
26290 * misc/sethostname.c: Likewise.
26291 * misc/setregid.c: Likewise.
26292 * misc/setreuid.c: Likewise.
26293 * misc/setxattr.c: Likewise.
26294 * misc/sstk.c: Likewise.
26295 * misc/stty.c: Likewise.
26296 * misc/swapoff.c: Likewise.
26297 * misc/swapon.c: Likewise.
26298 * misc/sync.c: Likewise.
26299 * misc/syncfs.c: Likewise.
26300 * misc/syscall.c: Likewise.
26301 * misc/truncate.c: Likewise.
26302 * misc/ualarm.c: Likewise.
26303 * misc/usleep.c: Likewise.
26304 * misc/ustat.c: Likewise.
26305 * misc/utimes.c: Likewise.
26306 * misc/vhangup.c: Likewise.
26307 * misc/writev.c: Likewise.
26308 * posix/_exit.c: Likewise.
26309 * posix/alarm.c: Likewise.
26310 * posix/execve.c: Likewise.
26311 * posix/fexecve.c: Likewise.
26312 * posix/fork.c: Likewise.
26313 * posix/fpathconf.c: Likewise.
26314 * posix/getaddrinfo.c: Likewise.
26315 * posix/getegid.c: Likewise.
26316 * posix/geteuid.c: Likewise.
26317 * posix/getgid.c: Likewise.
26318 * posix/getgroups.c: Likewise.
26319 * posix/getlogin.c: Likewise.
26320 * posix/getlogin_r.c: Likewise.
26321 * posix/getpgid.c: Likewise.
26322 * posix/getpid.c: Likewise.
26323 * posix/getppid.c: Likewise.
26324 * posix/getresgid.c: Likewise.
26325 * posix/getresuid.c: Likewise.
26326 * posix/getsid.c: Likewise.
26327 * posix/getuid.c: Likewise.
26328 * posix/glob64.c: Likewise.
26329 * posix/nanosleep.c: Likewise.
26330 * posix/pathconf.c: Likewise.
26331 * posix/pause.c: Likewise.
26332 * posix/posix_madvise.c: Likewise.
26333 * posix/pread.c: Likewise.
26334 * posix/pread64.c: Likewise.
26335 * posix/pwrite.c: Likewise.
26336 * posix/pwrite64.c: Likewise.
26337 * posix/sched_getaffinity.c: Likewise.
26338 * posix/sched_getp.c: Likewise.
26339 * posix/sched_gets.c: Likewise.
26340 * posix/sched_primax.c: Likewise.
26341 * posix/sched_primin.c: Likewise.
26342 * posix/sched_rr_gi.c: Likewise.
26343 * posix/sched_setaffinity.c: Likewise.
26344 * posix/sched_setp.c: Likewise.
26345 * posix/sched_sets.c: Likewise.
26346 * posix/sched_yield.c: Likewise.
26347 * posix/setgid.c: Likewise.
26348 * posix/setlogin.c: Likewise.
26349 * posix/setpgid.c: Likewise.
26350 * posix/setresgid.c: Likewise.
26351 * posix/setresuid.c: Likewise.
26352 * posix/setsid.c: Likewise.
26353 * posix/setuid.c: Likewise.
26354 * posix/sleep.c: Likewise.
26355 * posix/spawni.c: Likewise.
26356 * posix/sysconf.c: Likewise.
26357 * posix/times.c: Likewise.
26358 * posix/wait.c: Likewise.
26359 * posix/wait3.c: Likewise.
26360 * posix/wait4.c: Likewise.
26361 * posix/waitpid.c: Likewise.
26362 * resolv/gai_sigqueue.c: Likewise.
26363 * resource/getpriority.c: Likewise.
26364 * resource/getrlimit.c: Likewise.
26365 * resource/getrusage.c: Likewise.
26366 * resource/nice.c: Likewise.
26367 * resource/setpriority.c: Likewise.
26368 * resource/setrlimit.c: Likewise.
26369 * resource/ulimit.c: Likewise.
26370 * rt/aio_cancel.c: Likewise.
26371 * rt/aio_fsync.c: Likewise.
26372 * rt/aio_read.c: Likewise.
26373 * rt/aio_sigqueue.c: Likewise.
26374 * rt/aio_suspend.c: Likewise.
26375 * rt/aio_write.c: Likewise.
26376 * rt/clock_getres.c: Likewise.
26377 * rt/clock_gettime.c: Likewise.
26378 * rt/clock_nanosleep.c: Likewise.
26379 * rt/clock_settime.c: Likewise.
26380 * rt/lio_listio.c: Likewise.
26381 * rt/mq_close.c: Likewise.
26382 * rt/mq_getattr.c: Likewise.
26383 * rt/mq_notify.c: Likewise.
26384 * rt/mq_open.c: Likewise.
26385 * rt/mq_receive.c: Likewise.
26386 * rt/mq_send.c: Likewise.
26387 * rt/mq_setattr.c: Likewise.
26388 * rt/mq_timedreceive.c: Likewise.
26389 * rt/mq_timedsend.c: Likewise.
26390 * rt/mq_unlink.c: Likewise.
26391 * rt/shm_open.c: Likewise.
26392 * rt/shm_unlink.c: Likewise.
26393 * rt/timer_create.c: Likewise.
26394 * rt/timer_delete.c: Likewise.
26395 * rt/timer_getoverr.c: Likewise.
26396 * rt/timer_gettime.c: Likewise.
26397 * rt/timer_settime.c: Likewise.
26398 * setjmp/__longjmp.c: Likewise.
26399 * setjmp/setjmp.c: Likewise.
26400 * signal/kill.c: Likewise.
26401 * signal/killpg.c: Likewise.
26402 * signal/raise.c: Likewise.
26403 * signal/sigaction.c: Likewise.
26404 * signal/sigaltstack.c: Likewise.
26405 * signal/sigblock.c: Likewise.
26406 * signal/sigignore.c: Likewise.
26407 * signal/sigintr.c: Likewise.
26408 * signal/signal.c: Likewise.
26409 * signal/sigpause.c: Likewise.
26410 * signal/sigpending.c: Likewise.
26411 * signal/sigqueue.c: Likewise.
26412 * signal/sigreturn.c: Likewise.
26413 * signal/sigset.c: Likewise.
26414 * signal/sigsetmask.c: Likewise.
26415 * signal/sigstack.c: Likewise.
26416 * signal/sigsuspend.c: Likewise.
26417 * signal/sigtimedwait.c: Likewise.
26418 * signal/sigvec.c: Likewise.
26419 * signal/sigwait.c: Likewise.
26420 * signal/sigwaitinfo.c: Likewise.
26421 * signal/sysv_signal.c: Likewise.
26422 * socket/accept.c: Likewise.
26423 * socket/accept4.c: Likewise.
26424 * socket/bind.c: Likewise.
26425 * socket/connect.c: Likewise.
26426 * socket/getpeername.c: Likewise.
26427 * socket/getsockname.c: Likewise.
26428 * socket/getsockopt.c: Likewise.
26429 * socket/isfdtype.c: Likewise.
26430 * socket/listen.c: Likewise.
26431 * socket/recv.c: Likewise.
26432 * socket/recvfrom.c: Likewise.
26433 * socket/recvmsg.c: Likewise.
26434 * socket/send.c: Likewise.
26435 * socket/sendmsg.c: Likewise.
26436 * socket/sendto.c: Likewise.
26437 * socket/setsockopt.c: Likewise.
26438 * socket/shutdown.c: Likewise.
26439 * socket/sockatmark.c: Likewise.
26440 * socket/socket.c: Likewise.
26441 * socket/socketpair.c: Likewise.
26442 * stdio-common/ctermid.c: Likewise.
26443 * stdio-common/cuserid.c: Likewise.
26444 * stdio-common/remove.c: Likewise.
26445 * stdio-common/rename.c: Likewise.
26446 * stdio-common/renameat.c: Likewise.
26447 * stdio-common/tempname.c: Likewise.
26448 * stdlib/getcontext.c: Likewise.
26449 * stdlib/makecontext.c: Likewise.
26450 * stdlib/setcontext.c: Likewise.
26451 * stdlib/swapcontext.c: Likewise.
26452 * stdlib/system.c: Likewise.
26453 * streams/fattach.c: Likewise.
26454 * streams/fdetach.c: Likewise.
26455 * streams/getmsg.c: Likewise.
26456 * streams/getpmsg.c: Likewise.
26457 * streams/putmsg.c: Likewise.
26458 * streams/putpmsg.c: Likewise.
26459 * sysdeps/unix/bsd/getpt.c: Likewise.
26460 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26461 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26462 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26465 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26466 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26467 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26468 * sysvipc/msgctl.c: Likewise.
26469 * sysvipc/msgget.c: Likewise.
26470 * sysvipc/msgrcv.c: Likewise.
26471 * sysvipc/msgsnd.c: Likewise.
26472 * sysvipc/semctl.c: Likewise.
26473 * sysvipc/semget.c: Likewise.
26474 * sysvipc/semop.c: Likewise.
26475 * sysvipc/semtimedop.c: Likewise.
26476 * sysvipc/shmat.c: Likewise.
26477 * sysvipc/shmctl.c: Likewise.
26478 * sysvipc/shmdt.c: Likewise.
26479 * sysvipc/shmget.c: Likewise.
26480 * termios/tcdrain.c: Likewise.
26481 * termios/tcflow.c: Likewise.
26482 * termios/tcflush.c: Likewise.
26483 * termios/tcgetattr.c: Likewise.
26484 * termios/tcgetpgrp.c: Likewise.
26485 * termios/tcsendbrk.c: Likewise.
26486 * termios/tcsetattr.c: Likewise.
26487 * termios/tcsetpgrp.c: Likewise.
26488 * time/adjtime.c: Likewise.
26489 * time/clock.c: Likewise.
26490 * time/getitimer.c: Likewise.
26491 * time/gettimeofday.c: Likewise.
26492 * time/setitimer.c: Likewise.
26493 * time/settimeofday.c: Likewise.
26494 * time/stime.c: Likewise.
26495 * time/time.c: Likewise.
26497 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
26499 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26502 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26504 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26506 2012-11-03 Joseph Myers <joseph@codesourcery.com>
26509 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26510 FE_TONEAREST before applying Dekker multiplication and Knuth
26511 addition. Clear inexact exceptions and check for exact zero
26512 results afterwards.
26513 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26514 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26515 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26516 * math/libm-test.inc (fma_test): Add more tests.
26517 (fma_test_towardzero): Likewise.
26518 (fma_test_downward): Likewise.
26519 (fma_test_upward): Likewise.
26520 * sysdeps/generic/math_private.h (default_libc_fesetround): New
26522 (libc_fesetround): New macro.
26523 (libc_fesetroundf): Likewise.
26524 (libc_fesetroundl): Likewise.
26525 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26527 (libc_fesetround_387): Likewise.
26528 (libc_fesetroundf): New macro.
26529 (libc_fesetround): Likewise.
26530 (libc_fesetroundl): Likewise.
26531 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26533 (libc_fesetroundf): New macro.
26534 (libc_fesetround): Likewise.
26535 (libc_fesetroundl): Likewise.
26536 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26537 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26538 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26540 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26541 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26543 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26544 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26546 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26550 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26551 integer constant usable in #if and use that to give value to enum
26553 (FE_DIVBYZERO): Likewise.
26554 (FE_UNDERFLOW): Likewise.
26555 (FE_OVERFLOW): Likewise.
26556 (FE_INVALID): Likewise.
26557 (FE_INVALID_SNAN): Likewise.
26558 (FE_INVALID_ISI): Likewise.
26559 (FE_INVALID_IDI): Likewise.
26560 (FE_INVALID_ZDZ): Likewise.
26561 (FE_INVALID_IMZ): Likewise.
26562 (FE_INVALID_COMPARE): Likewise.
26563 (FE_INVALID_SOFTWARE): Likewise.
26564 (FE_INVALID_SQRT): Likewise.
26565 (FE_INVALID_INTEGER_CONVERSION): Likewise.
26566 (FE_TONEAREST): Likewise.
26567 (FE_TOWARDZERO): Likewise.
26568 (FE_UPWARD): Likewise.
26569 (FE_DOWNWARD): Likewise.
26570 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26571 (FE_DIVBYZERO): Likewise.
26572 (FE_OVERFLOW): Likewise.
26573 (FE_UNDERFLOW): Likewise.
26574 (FE_INEXACT): Likewise.
26575 (FE_TONEAREST): Likewise.
26576 (FE_DOWNWARD): Likewise.
26577 (FE_UPWARD): Likewise.
26578 (FE_TOWARDZERO): Likewise.
26579 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26580 (FE_UNDERFLOW): Likewise.
26581 (FE_OVERFLOW): Likewise.
26582 (FE_DIVBYZERO): Likewise.
26583 (FE_INVALID): Likewise.
26584 (FE_TONEAREST): Likewise.
26585 (FE_TOWARDZERO): Likewise.
26586 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26587 (FE_OVERFLOW): Likewise.
26588 (FE_UNDERFLOW): Likewise.
26589 (FE_DIVBYZERO): Likewise.
26590 (FE_INEXACT): Likewise.
26591 (FE_TONEAREST): Likewise.
26592 (FE_TOWARDZERO): Likewise.
26593 (FE_UPWARD): Likewise.
26594 (FE_DOWNWARD): Likewise.
26595 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26596 (FE_DIVBYZERO): Likewise.
26597 (FE_OVERFLOW): Likewise.
26598 (FE_UNDERFLOW): Likewise.
26599 (FE_INEXACT): Likewise.
26600 (FE_TONEAREST): Likewise.
26601 (FE_DOWNWARD): Likewise.
26602 (FE_UPWARD): Likewise.
26603 (FE_TOWARDZERO): Likewise.
26605 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
26607 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26609 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
26611 * scripts/cross-test-ssh.sh (command): Use newlines to separate
26612 commands. Quote $PWD.
26613 (blacklist_exports): Don't use remove_newlines. Replace "declare
26615 (remove_newlines): Remove.
26617 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
26619 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26620 * stdlib/stdlib.h (atof): Moved to ...
26621 * include/bits/stdlib-float.h: Here. New file.
26622 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26623 * stdlib/bits/stdlib-float.h: New file.
26624 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26626 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26629 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26631 * conform/conformtest.pl (@headers): Add fenv.h.
26632 * conform/data/fenv.h-data: New file.
26633 * include/fenv.h [_ISOMAC]: Disable all contents of file except
26634 include of <math/fenv.h>.
26636 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26637 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26638 && !UNIX98]. Enables tests for XOPEN2K8.
26639 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26640 POSIX2008]: Likewise.
26642 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26643 (struct rusage): Do not expect type or its members.
26646 * math/math.h (FP_NAN): Define macro to integer constant usable in
26647 #if and use that to give value to enum constant.
26648 (FP_INFINITE): Likewise.
26649 (FP_ZERO): Likewise.
26650 (FP_SUBNORMAL): Likewise.
26651 (FP_NORMAL): Likewise.
26653 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
26655 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26656 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26659 2012-11-02 Roland McGrath <roland@hack.frob.com>
26661 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26662 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26663 autoconf-time if not.
26664 * configure.in: Remove AC_PREREQ.
26666 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26668 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26669 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26670 of the internal implementation.
26672 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26674 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26675 except include of <misc/sys/syslog.h>.
26677 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26680 function returns with a NULL context exit with zero.
26682 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26684 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26686 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
26688 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26689 (run_program_cmd): This.
26690 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26691 (tst_langinfo): New variable. Use it.
26693 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
26695 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26696 floating point opcodes.
26698 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26700 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26703 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26705 * sysdeps/mach/hurd/powerpc: Remove directory.
26706 * sysdeps/mach/powerpc: Likewise.
26708 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26710 * scripts/check-local-headers.sh: Ignore c++ headers.
26712 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26714 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26715 __libc_cleanup_region_start argument.
26717 2012-11-01 Joseph Myers <joseph@codesourcery.com>
26721 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26722 x * y using scaling, not as x * y + z.
26723 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26724 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26725 * math/libm-test.inc (fma_test): Add more tests.
26726 (fma_test_towardzero): Likewise.
26727 (fma_test_downward): Likewise.
26728 (fma_test_upward): Likewise.
26730 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26732 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26734 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26736 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
26739 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
26741 * rt/tst-shm.c (worker): Correct checking for mmap failure.
26743 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26750 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26753 Fix the order of the list for glibc 2.17.
26754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26757 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26761 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26764 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
26765 for low part of x being zero before using __atanl (y).
26766 * math/libm-test.inc (atan2_test): Add another test.
26768 * manual/install.texi (Configuring and compiling): Document
26769 general use of test-wrapper and test-wrapper-env.
26770 * INSTALL: Regenerated.
26772 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
26773 (__fma): Do not extract and scale down low bits on after-rounding
26774 systems when result rounded to normal precision would have normal
26776 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
26777 (__fmal): Do not extract and scale down low bits on after-rounding
26778 systems when result rounded to normal precision would have normal
26780 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
26781 (__fmal): Do not extract and scale down low bits on after-rounding
26782 systems when result rounded to normal precision would have normal
26784 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
26786 (fma_test): Add more tests.
26787 (fma_test_towardzero): Likewise.
26788 (fma_test_downward): Likewise.
26789 (fma_test_upward): Likewise.
26791 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
26793 * sysdeps/i386/tininess.h: Renamed to ...
26794 * sysdeps/x86/tininess.h: This.
26795 * sysdeps/x86_64/tininess.h: Removed.
26797 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26799 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
26800 input. Use $(build-program-cmd).
26801 ($(objpfx)tst-array1-static.out): Likewise.
26802 ($(objpfx)tst-array2.out): Likewise.
26803 ($(objpfx)tst-array3.out): Likewise.
26804 ($(objpfx)tst-array4.out): Likewise.
26805 ($(objpfx)tst-array5.out): Likewise.
26806 ($(objpfx)tst-array5-static.out): Likewise.
26808 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
26810 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
26813 * nss/nsswitch.h (nss_interface_function): Provide new
26814 macro for use with NSS functions.
26815 * grp/initgroups.c: Use new macro.
26816 * nss/getXXbyYY.c: Likewise.
26817 * nss/getXXbyYY_r.c: Likewise.
26818 * nss/getXXent.c: Likewise.
26819 * nss/getXXent_r.c: Likewise.
26820 * sysdeps/posix/getaddrinfo.c: Likewise.
26822 2012-10-30 Andreas Jaeger <aj@suse.de>
26824 * po/ru.po: Update Russion translation from translation project.
26826 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26830 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
26831 result and shift together with sticky bit instead of replicating
26832 round-to-nearest rounding.
26833 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26834 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26835 * math/libm-test.inc (fma_test): Add more tests. Do not permit
26836 missing underflow exceptions.
26837 (fma_test_towardzero): Add more tests.
26838 (fma_test_downward): Likewise.
26839 (fma_test_upward): Likewise.
26842 * sysdeps/generic/tininess.h: New file.
26843 * sysdeps/i386/tininess.h: Likewise.
26844 * sysdeps/sh/tininess.h: Likewise.
26845 * sysdeps/x86_64/tininess.h: Likewise.
26846 * stdlib/tst-strtod-underflow.c: Likewise.
26847 * stdlib/tst-tininess.c: Likewise.
26848 * stdlib/strtod_l.c: Include <tininess.h>.
26849 (round_and_return): Do not set errno for exact underflow cases.
26850 Force an underflow exception when setting errno for underflow.
26851 Determine underflow based on rounding to normal precision if
26852 TININESS_AFTER_ROUNDING.
26853 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
26854 ERANGE for exact underflow cases.
26855 * stdlib/Makefile (tests): Add tst-tininess and
26856 tst-strtod-underflow.
26857 ($(objpfx)tst-tininess): Use $(link-libm).
26858 ($(objpfx)tst-strtod-underflow): Likewise.
26860 2012-10-30 Andreas Jaeger <aj@suse.de>
26863 * elf/Makefile (tests): Remove conditional for have-initfini-array
26864 since this is now always required and the variable does not exist
26866 (tests-static): Likewise.
26867 (modules-names): Likewise.
26869 * po/eo.po: Add Esperanto translation from translation project.
26871 * elf/tst-array1.c (fini_array): Make writeable so that it can be
26872 merged with constructor/destructor.
26873 (init_array): Likewise.
26874 * elf/tst-array2dep.c (fini_array): Likewise.
26875 (init_array): Likewise.
26877 2012-10-29 Mike Frysinger <vapier@gentoo.org>
26879 * manual/message.texi: Delete @cartouche tags.
26881 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
26883 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
26885 * sysdeps/mach/hurd/fsync.c: Likewise.
26887 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
26888 [_POSIX_REALTIME_SIGNALS]: Change condition to
26889 [_POSIX_REALTIME_SIGNALS > 0].
26891 2012-10-27 Andreas Jaeger <aj@suse.de>
26893 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
26894 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
26895 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
26896 [__WORDSIZE != 64]: Likewise.
26898 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
26900 * iconvdata/tst-table.sh: Remove ${SHELL}.
26901 * iconvdata/tst-tables.sh: Likewise.
26903 2012-10-25 David S. Miller <davem@davemloft.net>
26905 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26906 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
26909 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
26911 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26912 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26913 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26916 2012-10-25 Roland McGrath <roland@hack.frob.com>
26918 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26919 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26922 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26923 Jim Blandy <jimb@codesourcery.com>
26925 * scripts/cross-test-ssh.sh: New file.
26926 * manual/install.texi (Configuring and compiling): Document use of
26928 * INSTALL: Regenerated.
26930 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
26932 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26935 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26937 * Makeconfig (run-program-prefix): Fix comment.
26939 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26940 Jim Blandy <jimb@codesourcery.com>
26942 * Makeconfig (test-wrapper): New variable,
26943 (test-wrapper-env): Likewise.
26944 [$(cross-compiling) = yes && $(test-wrapper) != ""]
26945 (run-built-tests): Define to yes.
26946 (run-program-prefix): Use $(test-wrapper).
26947 (built-program-cmd): Likewise.
26948 * Rules (make-test-out): Use $(test-wrapper-env) and
26949 $(host-built-program-cmd).
26950 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26951 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26953 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26954 $(test-wrapper-env) to tst-rtld-load-self.sh.
26955 ($(objpfx)order2.out): Use $(test-wrapper).
26956 ($(objpfx)tst-initorder.out): Likewise.
26957 ($(objpfx)tst-initorder2.out): Likewise.
26958 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26959 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26960 (test_wrapper_env): New variable. Use it to run ld.so.
26961 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26962 Use it to run ld.so.
26963 (test_wrapper_env): Likewise.
26964 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26965 $(test-wrapper) to run-iconv-test.sh.
26966 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26967 (ICONV): Use $test_wrapper.
26968 * posix/Makefile ($(objpfx)globtest.out): Pass
26969 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26970 globtest.sh, not $(run-program-prefix).
26971 * posix/globtest.sh (run_via_rtld_prefix): New variable.
26972 (test_wrapper): Likewise.
26973 (test_wrapper_env): Likewise. Use it to run globtest with HOME
26974 set together with run_via_rtld_prefix.
26975 (run_program_prefix): Define in terms of test_wrapper and
26976 run_via_rtld_prefix.
26978 2012-10-24 Roland McGrath <roland@hack.frob.com>
26980 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26981 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26985 * include/time.h: Remove librt_hidden_proto (clock_gettime).
26986 Declare __clock_getres, __clock_gettime, __clock_settime,
26987 __clock_nanosleep, and __clock_getcpuclockid.
26988 * rt/clock_gettime.c: Define __clock_gettime as an alias.
26989 Remove librt_hidden_def (clock_gettime).
26990 * sysdeps/unix/clock_gettime.c: Likewise.
26991 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26992 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26993 * rt/clock_getres.c: Define __clock_getres as an alias.
26994 * sysdeps/posix/clock_getres.c: Likewise.
26995 * rt/clock_settime.c: Define __clock_settime as an alias.
26996 * sysdeps/unix/clock_settime.c: Likewise.
26997 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26998 * sysdeps/unix/clock_nanosleep.c: Likewise.
26999 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27000 * rt/clock-compat.c: New file.
27001 * rt/Makefile (librt-routines): Add clock-compat and move
27002 $(clock-routines) to ...
27003 (routines): ... here, new variable.
27004 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27005 Don't add get_clockfreq here.
27006 * rt/Versions (libc: GLIBC_2.17): New version set.
27007 Add clock_* symbols here.
27008 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27009 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27010 (GLIBC_2.17): Add clock_* symbols.
27011 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27013 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27018 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27019 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27022 * NEWS: Mention the move.
27024 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27025 Use __open, __read, __close rather than their public counterparts.
27026 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27027 (__get_clockfreq_via_cpuinfo): Likewise.
27028 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27029 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27031 * config.h.in (HAVE_IFUNC): New #undef.
27032 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27034 * configure: Regenerated.
27036 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27038 * configure.in: Move READELF check to start of file.
27039 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27040 libc_cv_asm_gnu_indirect_function in the process.
27041 * configure: Regenerated.
27043 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27045 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27046 send the output to /dev/null.
27047 (libc_cv_cc_with_libunwind): Likewise.
27048 (libc_cv_as_noexecstack): Likewise.
27049 * configure: Regenerate.
27051 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27053 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27055 * posix/globtest.sh (TMPDIR): Do not set.
27056 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27057 (testout): Likewise.
27059 2012-10-24 Andreas Jaeger <aj@suse.de>
27061 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27062 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27063 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27064 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27065 posix_fadvise64, posix_fallocate64.
27067 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27068 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27069 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27071 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27073 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27075 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27076 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27077 <bits/fcntl-linux.h>.
27078 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27080 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27081 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27082 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27083 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27084 [__WORDSIZE != 64]: Likewise.
27086 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27088 * Makeconfig (run-built-tests): New variable.
27089 * Rules [$(cross-compiling) = yes]: Change condition to
27090 [$(run-built-tests) = no].
27091 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27092 to [$(run-built-tests) = yes].
27093 * elf/Makefile [$(cross-compiling) = no]: Likewise
27094 * grp/Makefile [$(cross-compiling) = no]: Likewise.
27095 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27096 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27097 * intl/Makefile [$(cross-compiling) = no]: Likewise.
27098 * io/Makefile [$(cross-compiling) = no]: Likewise.
27099 * libio/Makefile [$(cross-compiling) = no]: Likewise.
27100 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27101 * misc/Makefile [$(cross-compiling) = no]: Likewise.
27102 * posix/Makefile [$(cross-compiling) = no]: Likewise.
27103 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27104 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27105 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27106 * string/Makefile [$(cross-compiling) = no]: Likewise.
27108 * posix/Makefile ($(objpfx)globtest.out): Pass
27109 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27110 $(rtld-installed-name).
27111 * posix/globtest.sh (elf_objpfx): Remove variable.
27112 (rtld_installed_name): Likewise.
27113 (library_path): Likewise.
27114 (run_program_prefix): New variable. Use for running globtest
27117 2012-10-23 Jim Blandy <jimb@codesourcery.com>
27118 Joseph Myers <joseph@codesourcery.com>
27120 * Makeconfig (host-built-program-cmd): New variable.
27121 * elf/Makefile (tst-stackguard1-ARGS): Use
27122 $(host-built-program-cmd).
27123 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27124 (tst-spawn-ARGS): Likewise.
27125 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27127 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27128 Jim Blandy <jimb@codesourcery.com>
27130 * Makeconfig (run-via-rtld-prefix): New variable.
27131 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27132 (built-program-cmd): Likewise.
27134 2012-10-22 Andreas Jaeger <aj@suse.de>
27136 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27137 __O_RSYNC if it exists, otherwise to O_SYNC.
27139 2012-10-22 Jim Blandy <jimb@codesourcery.com>
27140 Joseph Myers <joseph@codesourcery.com>
27142 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27144 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27146 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27149 2012-10-22 Andreas Jaeger <aj@suse.de>
27151 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27153 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27155 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27156 bits/fcntl-linux.h.
27158 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27159 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27161 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27163 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27166 2012-10-21 Jim Blandy <jimb@codesourcery.com>
27167 Joseph Myers <joseph@codesourcery.com>
27169 * config.make.in (NM): New variable.
27171 2012-10-21 Andreas Jaeger <aj@suse.de>
27173 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27174 definitions and declarations that are provided by
27175 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27177 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27180 * elf/Makefile (tests-static): Add tst-leaks1-static.
27181 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27182 ($(objpfx)tst-leaks1-static): New rule.
27183 ($(objpfx)tst-leaks1-static-mem): Likewise.
27184 (tst-leaks1-static-ENV): New macro.
27185 * elf/dl-open.c (dl_open_worker): Check the main application
27186 only if SHARED is defined.
27187 * elf/tst-leaks1-static.c: New file.
27189 2012-10-20 Andreas Jaeger <aj@suse.de>
27191 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27192 generic values for Linux.
27193 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27194 and declarations that are provided by <bits/fcntl-linux.h> and
27195 include <bits/fcntl-linux.h>.
27196 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27197 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27199 2012-10-20 Roland McGrath <roland@hack.frob.com>
27201 * io/fcntl.h: Move include of <bits/types.h> to the top and
27202 include it unconditionally.
27204 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27206 * wcsmbs/Makefile (tests-ifunc): New variable.
27207 (tests): Add $(tests-ifunc).
27208 * wcsmbs/test-wcschr-ifunc.c: New file.
27209 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27210 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27211 * wcsmbs/test-wcslen-ifunc.c: Likewise.
27212 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27213 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27215 * string/Makefile (tests-ifunc): New variable.
27216 (tests): Add $(tests-ifunc).
27217 * string/test-memccpy.c (TEST_NAME): New macro.
27218 * string/test-memchr.c (TEST_NAME): Likewise.
27219 * string/test-memcmp.c (TEST_NAME): Likewise.
27220 * string/test-memcpy.c (TEST_NAME): Likewise.
27221 * string/test-memmem.c (TEST_NAME): Likewise.
27222 * string/test-memmove.c (TEST_NAME): Likewise.
27223 * string/test-memset.c (TEST_NAME): Likewise.
27224 * string/test-rawmemchr.c (TEST_NAME): Likewise.
27225 * string/test-stpcpy.c (TEST_NAME): Likewise.
27226 * string/test-stpncpy.c (TEST_NAME): Likewise.
27227 * string/test-strcasecmp.c (TEST_NAME): Likewise.
27228 * string/test-strcasestr.c (TEST_NAME): Likewise.
27229 * string/test-strcat.c (TEST_NAME): Likewise.
27230 * string/test-strchr.c (TEST_NAME): Likewise.
27231 * string/test-strcmp.c(TEST_NAME): Likewise.
27232 * string/test-strcpy.c (TEST_NAME): Likewise.
27233 * string/test-strcspn.c (TEST_NAME): Likewise.
27234 * string/test-strlen.c (TEST_NAME): Likewise.
27235 * string/test-strncasecmp.c (TEST_NAME): Likewise.
27236 * string/test-strncmp.c (TEST_NAME): Likewise.
27237 * string/test-strncpy.c (TEST_NAME): Likewise.
27238 * string/test-strnlen.c (TEST_NAME): Likewise.
27239 * string/test-strpbrk.c (TEST_NAME): Likewise.
27240 * string/test-strrchr.c (TEST_NAME): Likewise.
27241 * string/test-strspn.c (TEST_NAME): Likewise.
27242 * string/test-strstr.c (TEST_NAME): Likewise.
27243 * string/test-bcopy-ifunc.c: New file.
27244 * string/test-bzero-ifunc.c: Likewise.
27245 * string/test-memccpy-ifunc.c: Likewise.
27246 * string/test-memchr-ifunc.c: Likewise.
27247 * string/test-memcmp-ifunc.c: Likewise.
27248 * string/test-memcpy-ifunc.c: Likewise.
27249 * string/test-memmem-ifunc.c: Likewise.
27250 * string/test-memmove-ifunc.c: Likewise.
27251 * string/test-mempcpy-ifunc.c: Likewise.
27252 * string/test-memset-ifunc.c: Likewise.
27253 * string/test-rawmemchr-ifunc.c: Likewise.
27254 * string/test-stpcpy-ifunc.c: Likewise.
27255 * string/test-stpncpy-ifunc.c: Likewise.
27256 * string/test-strcasecmp-ifunc.c: Likewise.
27257 * string/test-strcasestr-ifunc.c: Likewise.
27258 * string/test-strcat-ifunc.c: Likewise.
27259 * string/test-strchr-ifunc.c: Likewise.
27260 * string/test-strchrnul-ifunc.c: Likewise.
27261 * string/test-strcmp-ifunc.c: Likewise.
27262 * string/test-strcpy-ifunc.c: Likewise.
27263 * string/test-strcspn-ifunc.c: Likewise.
27264 * string/test-strlen-ifunc.c: Likewise.
27265 * string/test-strncasecmp-ifunc.c: Likewise.
27266 * string/test-strncat-ifunc.c: Likewise.
27267 * string/test-strncmp-ifunc.c: Likewise.
27268 * string/test-strncpy-ifunc.c: Likewise.
27269 * string/test-strnlen-ifunc.c: Likewise.
27270 * string/test-strpbrk-ifunc.c: Likewise.
27271 * string/test-strrchr-ifunc.c: Likewise.
27272 * string/test-strspn-ifunc.c: Likewise.
27273 * string/test-strstr-ifunc.c: Likewise.
27275 * debug/Makefile (tests-ifunc): New variable.
27276 (tests): Add $(tests-ifunc).
27277 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27278 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27279 * debug/test-stpcpy_chk-ifunc.c: New file.
27280 * debug/test-strcpy_chk-ifunc.c: Likewise.
27282 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27285 * elf/dl-load.c (open_verify): Retry read if the entire ELF
27286 header is not read in.
27288 2012-10-19 Joseph Myers <joseph@codesourcery.com>
27290 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
27291 script to $(SHELL) as $<. Pass $(common-objpfx) to script
27292 directly. Pass built executable to script as
27293 $(built-program-cmd).
27294 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
27295 $testprogram without using LD_LIBRARY_PATH and $ldso.
27297 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27298 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27299 $(rtld-installed-name).
27300 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27301 (rtld_installed_name): Likewise.
27302 (library_path): Likewise.
27303 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
27304 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27305 $(run-program-prefix) to tst-tables.sh.
27306 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
27307 it to run tst-table-from and tst-table-to.
27308 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27309 Pass it to tst-table.sh.
27310 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27311 $(run-program-prefix) to tst-gettext.sh.
27312 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27314 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27316 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
27317 to run tst-gettext.
27318 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
27319 to run tst-gettext2.
27320 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
27321 to run tst-translit.
27322 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27323 $(run-program-prefix) to tst-mtrace.sh.
27324 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
27326 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27327 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27328 $(rtld-installed-name).
27329 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27330 (rtld_installed_name): Likewise.
27331 (run_program_prefix): New variable. Use it to run wordexp-test.
27333 * Makeconfig (ARCH): Remove all definitions.
27334 (machine): Likewise.
27335 [ARCH]: Remove conditional code.
27336 [!objdir]: Give error.
27337 [!objdir] (objpfx): Remove.
27338 [!objdir] (common-objpfx): Likewise.
27339 [!objdir] (common-objdir): Likewise.
27340 * configure.in (config_makefile): Remove. Hardcode Makefile in
27341 AC_CONFIG_FILES call.
27342 * configure: Regenerated.
27345 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27347 (testout): Likewise.
27349 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27350 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27351 $(rtld-installed-name).
27352 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27353 (rtld_installed_name): Likwise.
27354 (runit): Remove function.
27355 (run_getconf): New variable, Use it for running getconf binary.
27357 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
27360 * string/test-memmem.c (check_result): New function.
27361 (do_one_test): Use it.
27362 (check1): New function.
27363 (test_main): Use it.
27365 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
27367 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27369 2012-10-18 Joseph Myers <joseph@codesourcery.com>
27371 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27372 (_G_LSEEK64): Likewise.
27373 (_G_MMAP64): Likewise.
27374 (_G_FSTAT64): Likewise.
27375 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27376 (_G_LSEEK64): Likewise.
27377 (_G_MMAP64): Likewise.
27378 (_G_FSTAT64): Likewise.
27379 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27380 unconditional. Call __mmap64 directly.
27381 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27382 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
27383 __lseek64 directly.
27384 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27385 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
27387 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27388 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
27389 __lseek64 directly.
27390 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27391 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
27392 __lseek64 directly.
27393 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27394 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
27395 __lseek64 directly.
27396 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27397 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
27398 __fxstat64 directly.
27399 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27400 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27402 (freopen64) [!_G_OPEN64]: Remove conditional code.
27403 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27405 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27406 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27408 (ftello64) [!_G_LSEEK64]: Remove conditional code.
27409 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27411 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27412 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27414 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27415 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27417 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27418 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27420 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27421 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27423 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27425 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27428 * manual/memory.texi (Malloc Tunable Parameters): Add note
27429 about free list pointers overwriting some perturb bytes.
27430 Wording suggested by Roland McGrath.
27432 2012-10-17 Joseph Myers <joseph@codesourcery.com>
27434 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27435 (lgamma_test): Likewise.
27436 (tgamma_test): Likewise.
27438 2012-10-16 Florian Weimer <fweimer@redhat.com>
27441 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27442 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27444 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
27446 * NEWS: Mention BZ #14716.
27447 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27448 when removing AVAILABLE1_USES_J macro.
27450 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
27452 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27453 (__bswap_64): __uint64_t for unsigned 64-bit int.
27455 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
27457 * include/string.h (memmem): Declare libc hidden alias.
27458 * string/memmem.c (memmem): Define libc hidden alias.
27459 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27460 __read, __close instead of open, read, close.
27462 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
27464 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27465 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27467 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27468 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27469 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27471 (__rawmemchr_sse2): Likewise.
27472 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27473 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27474 (__strchr_sse2): Likewise.
27475 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27476 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27477 (__strcasecmp_sse2): Likewise.
27478 (__strncasecmp_sse2): Likewise.
27479 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27480 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27481 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27482 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27483 (__strrchr_sse2): Likewise.
27484 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27486 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27487 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27488 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27489 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27490 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27491 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27492 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27493 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27494 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27495 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27496 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27497 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27498 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27499 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27500 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27501 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27502 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27503 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27504 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27505 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27506 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27507 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27508 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27509 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27510 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27511 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27512 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27513 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27514 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27515 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27517 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27519 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27520 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27521 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27522 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27524 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27526 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27527 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27528 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27529 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27531 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27532 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27533 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27534 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27535 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27536 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27537 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27538 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27539 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27540 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27541 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27542 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27543 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27544 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27545 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27546 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27547 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27548 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27549 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27550 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27551 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27552 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27553 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27554 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27555 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27556 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27557 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27558 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27559 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27560 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27561 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27562 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27563 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27564 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27565 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27566 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27567 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27568 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27569 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27570 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27571 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27573 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27574 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27575 * include/ifunc-impl-list.h: New file.
27576 * misc/ifunc-impl-list.c: Likewise.
27577 * misc/Makefile (routines): Add ifunc-impl-list.
27578 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27579 * string/test-string.h: Include <ifunc-impl-list.h>.
27580 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27581 TEST_NAME]: New variables.
27582 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27584 (test_init): Call __libc_ifunc_impl_list to initialize
27585 func_list if TEST_IFUNC and TEST_NAME are defined.
27587 * string/Makefile (strop-tests): Add bcopy and bzero.
27588 * string/test-bcopy.c: New file.
27589 * string/test-bzero.c: Likewise.
27590 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27592 * string/test-memset.c: Support bzero test if TEST_BZERO is
27594 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27596 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27598 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27601 2012-10-10 Joseph Myers <joseph@codesourcery.com>
27603 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27604 * configure: Regenerated.
27606 * Makeconfig (+link-static-before-libc): Don't include
27607 $(link-static-libc).
27609 * libio/libio.h (_IO_pos_t): Remove.
27611 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27613 * NEWS: Add note about FIPS mode. Wording suggested by Roland
27616 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27618 * crypt/crypt-entry.c: Include fips-private.h.
27619 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27620 * crypt/md5c-test.c (main): Tolerate disabled MD5.
27621 * sysdeps/unix/sysv/linux/fips-private.h: New file.
27622 * sysdeps/generic/fips-private.h: New file, dummy fallback.
27624 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27626 * crypt/crypt-private.h: Include stdbool.h.
27627 (_ufc_setup_salt_r): Return bool.
27628 * crypt/crypt-entry.c: Include errno.h.
27629 (__crypt_r): Return NULL with EINVAL for bad salt.
27630 * crypt/crypt_util.c (bad_for_salt): New.
27631 (_ufc_setup_salt_r): Check that salt is long enough and within
27632 the specified alphabet.
27633 * crypt/badsalttest.c: New file.
27634 * crypt/Makefile (tests): Add it.
27635 ($(objpfx)badsalttest): New.
27637 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
27639 * NEWS: Add entry for BZ #14602.
27641 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27643 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27645 * math/libm-test.inc: Update comment listing what functions and
27647 (isgreater_test): New function.
27648 (isgreaterequal_test): Likewise.
27649 (isless_test): Likewise.
27650 (islessequal_test): Likewise.
27651 (islessgreater_test): Likewise.
27652 (isunordered_test): Likewise.
27653 (main): Call the new functions.
27655 2012-10-09 Roland McGrath <roland@hack.frob.com>
27657 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27658 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27659 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27660 * sysdeps/i386/configure: Regenerated.
27661 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27662 * sysdeps/mach/configure: Regenerated.
27663 * sysdeps/mach/hurd/configure: Regenerated.
27664 * sysdeps/powerpc/configure: Regenerated.
27665 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27666 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27667 * sysdeps/s390/s390-32/configure: Regenerated.
27668 * sysdeps/s390/s390-64/configure: Regenerated.
27669 * sysdeps/sh/configure: Regenerated.
27670 * sysdeps/sparc/configure: Regenerated.
27671 * sysdeps/unix/sysv/linux/configure: Regenerated.
27672 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27673 * sysdeps/x86_64/configure: Regenerated.
27675 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27676 defined. Don't check if MAP is NULL.
27678 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27680 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27681 (_G_stat64): Likewise.
27682 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27683 (_G_stat64): Likewise.
27684 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27685 instead of struct _G_stat64.
27686 * libio/fileops.c (mmap_remap_check): Likewise.
27687 (decide_maybe_mmap): Likewise.
27688 (_IO_new_file_seekoff): Likewise.
27689 (_IO_file_stat): Likewise.
27690 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27692 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27693 instead of struct _G_stat64.
27694 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27696 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
27699 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27701 (CHECK_EOL): New macro.
27702 (two_way_short_needle): Check beginning of haystack for EOL. Use
27704 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27705 Replace with CHECK_EOL.
27706 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27707 Replace with CHECK_EOL.
27709 2012-10-08 Joseph Myers <joseph@codesourcery.com>
27711 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27713 * math/libm-test.inc: Update comment listing what functions and
27715 (finite_test): New function.
27716 (isinf_test): Likewise.
27717 (isnan_test): Likewise.
27718 (fpclassify_test): Test subnormal input.
27719 (isfinite_test): Likewise.
27720 (isnormal_test): Likewise.
27721 (main): Call the new functions.
27723 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
27726 * Makerules (%.dynsym): Force C locale when running
27727 $(OBJDUMP) --dynamic-syms.
27729 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
27731 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27734 2012-10-06 David S. Miller <davem@davemloft.net>
27736 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
27737 upper 32-bits of the length value in %o2 since we use branch-on-register
27738 tests which consider the entire 64-bit register.
27740 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
27742 * string/test-strstr.c (check2): Add a test for page boundary.
27744 2012-10-05 David S. Miller <davem@davemloft.net>
27746 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
27747 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
27749 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27751 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27752 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
27753 and bzero when HWCAP_SPARC_CRYPTO is present.
27755 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
27758 * string/test-strstr.c (check2): New function.
27759 (test_main): Call check2.
27761 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
27763 * string/bug-strcasestr1.c (do_test): Moved to ...
27764 * string/test-strcasestr.c (check1): Here. New function.
27765 (do_one_test): Break out result checking code into ...
27766 (check_result): This. New function.
27767 (do_one_test): Call check_result.
27768 (test_main): Call check1.
27769 * string/bug-strchr1.c (do_test): Moved to ...
27770 * string/test-strchr.c (check1): Here. New function.
27771 (do_one_test): Break out result checking code into ...
27772 (check_result): This. New function.
27773 (do_one_test): Call check_result.
27774 (test_main): Call check1.
27775 * string/bug-strstr1.c (main): Moved to ...
27776 * string/test-strstr.c (check1): Here. New function.
27777 (do_one_test): Break out result checking code into ...
27778 (check_result): This. New function.
27779 (do_one_test): Call check_result.
27780 (test_main): Call check1.
27781 * string/bug-strcasestr1.c: Removed.
27782 * string/bug-strchr1.c: Likewise.
27783 * string/bug-strstr1.c: Likewise.
27785 * elf/Makefile (dl-routines): Add hwcaps.
27786 * elf/dl-support.c (_dl_important_hwcaps): Removed.
27787 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
27788 (_dl_important_hwcaps): Moved to ...
27789 * elf/dl-hwcaps.c: Here. New file.
27790 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
27793 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
27794 if IS_IN_rtld isn't defined.
27796 * elf/dl-support.c (_dl_sysinfo_map): New.
27797 Include "get-dynamic-info.h" and "setup-vdso.h".
27798 (_dl_non_dynamic_init): Call setup_vdso.
27799 * elf/dynamic-link.h: Don't include <assert.h>.
27800 (elf_get_dynamic_info): Moved to ...
27801 * elf/get-dynamic-info.h: Here. New file.
27802 * elf/dynamic-link.h: Include "get-dynamic-info.h".
27803 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
27804 * elf/setup-vdso.h: Here. New file.
27805 * elf/rtld.c: Include "setup-vdso.h".
27806 (dl_main): Call setup_vdso.
27808 2012-10-05 Joseph Myers <joseph@codesourcery.com>
27810 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
27811 creal in comment listing functions tested. List finite, isinf,
27812 isnan, isless, islessequal, isgreater, isgreaterequal,
27813 islessgreater, isunordered, lgamma_r and pow10 as functions and
27814 macros not tested. Mention which functions not tested are aliases
27815 for other functions. Fix typo. Note that signs of NaNs are not
27818 * scripts/config.guess: Update from config.git.
27819 * scripts/config.sub: Likewise.
27821 2012-10-04 Roland McGrath <roland@hack.frob.com>
27823 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
27824 * misc/madvise.c (madvise): Renamed to __madvise.
27825 Make madvise a weak alias.
27826 * include/sys/mman.h: Declare __madvise.
27827 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
27828 * sysdeps/unix/syscalls.list
27829 (madvise): Make __madvise the strong name, and madvise a weak alias.
27830 * sysdeps/unix/sysv/linux/syscalls.list
27831 (madvise, mmap): Remove redundant entries.
27832 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
27833 * malloc/malloc.c (mtrim): Likewise.
27834 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
27836 2012-10-03 Roland McGrath <roland@hack.frob.com>
27838 * sysdeps/mach/hurd/dl-cache.c: File removed.
27839 * config.h.in (USE_LDCONFIG): New #undef.
27840 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
27841 * configure: Regenerated.
27842 * elf/Makefile (dl-routines): Add dl-cache only under
27843 [$(use-ldconfig) = yes].
27844 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
27845 cache on [USE_LDCONFIG].
27846 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
27848 * elf/rtld.c (dl_main): Likewise.
27850 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
27852 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
27853 _SC_LEVEL4_CACHE_LINESIZE.
27855 2012-10-03 Roland McGrath <roland@hack.frob.com>
27857 * sysdeps/unix/bsd/confstr.h: File removed.
27859 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
27861 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
27864 2012-10-02 Roland McGrath <roland@hack.frob.com>
27866 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
27867 Make 'mapoff' field ElfW(Off) rather than off_t.
27869 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
27871 * nscd/Makefile: Remove nscd-cflags and all its users.
27872 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
27873 (CFLAGS-nonlib): Add compiler flags for nscd modules.
27876 * malloc.c (malloc_printerr): Clarify error message.
27878 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
27881 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27882 Set bit_FMA_Usable if FMA is supported.
27883 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
27885 (bit_FMA4_Usable): Updated.
27886 (index_FMA_Usable): New macro.
27887 (CPUID_FMA): Likewise
27888 (HAS_FMA): Defined with bit_FMA_Usable.
27890 2012-10-01 Roland McGrath <roland@hack.frob.com>
27892 * bits/types.h (__swblk_t): Type removed.
27893 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
27894 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
27895 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27896 (__SWBLK_T_TYPE): Likewise.
27897 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27898 (__SWBLK_T_TYPE): Likewise.
27899 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27900 (__SWBLK_T_TYPE): Likewise.
27901 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27902 (__SWBLK_T_TYPE): Likewise.
27904 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
27905 Honza Horak <hhorak@redhat.com>
27907 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
27908 (xdr_mapname): Use YPMAXMAP as maxsize.
27909 (xdr_peername): Use YPMAXPEER as maxsize.
27910 (xdr_keydat): Use YPAXRECORD as maxsize.
27911 (xdr_valdat): Use YPMAXRECORD as maxsize.
27913 2012-10-01 Roland McGrath <roland@hack.frob.com>
27915 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27917 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27918 * csu/init-first.c: ... here.
27919 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27920 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27921 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27922 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27923 * sysdeps/i386/init-first.c: File removed.
27924 * sysdeps/sh/init-first.c: File removed.
27926 2012-10-01 Joseph Myers <joseph@codesourcery.com>
27929 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27930 if x * y might underflow to zero and z is zero.
27931 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27932 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27933 * math/libm-test.inc (min_subnorm_value): New variable.
27934 (fma_test): Add more tests.
27935 (fma_test_towardzero): Likewise.
27936 (fma_test_downward): Likewise
27937 (fma_test_upward): Likewise.
27938 (initialize): Set min_subnorm_value.
27940 2012-09-29 Joseph Myers <joseph@codesourcery.com>
27943 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27945 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27946 mode for addition resulting in exact zero.
27947 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27948 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27950 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27951 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27952 * math/libm-test.inc (fma_test): Add more tests.
27953 (fma_test_towardzero): New function.
27954 (fma_test_downward): Likewise.
27955 (fma_test_upward): Likewise.
27956 (main): Call the new functions.
27958 2012-09-28 David S. Miller <davem@davemloft.net>
27960 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27962 2012-09-28 Roland McGrath <roland@hack.frob.com>
27964 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27965 instead of SIGALRM.
27967 * sysdeps/gnu/_G_config.h: Moved to ...
27968 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27969 * sysdeps/mach/hurd/_G_config.h: Moved to ...
27970 * sysdeps/generic/_G_config.h: ... here.
27972 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
27974 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27976 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27977 Conditionalize target on [libnss_test1.so-version].
27979 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27981 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27982 (elfobjdir): Move out of conditionals.
27984 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27985 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27986 (__nss_lookup_function): Conditionalize label remove_from_tree on
27987 [!DO_STATIC_NSS || SHARED], matching its only use.
27989 2012-09-28 David S. Miller <davem@davemloft.net>
27991 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27992 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27994 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27996 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27997 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27998 when HWCAP_SPARC_CRYPTO is present.
28000 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28002 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28004 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28007 * stdio-common/vfprintf.c (process_string_arg): Revert
28010 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28012 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28014 * stdio-common/tst-sprintf.c: Include <locale.h>
28015 (main): Test sprintf's handling of incomplete multibyte
28018 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28020 * elf/dl-runtime.c (VERSYMIDX): Removed.
28021 * elf/dl-version.c (VERSYMIDX): Likewise.
28022 * elf/do-rel.h (VERSYMIDX): Likewise.
28023 (VALIDX): Likewise.
28024 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28025 * elf/rtld.c (VALIDX): Likewise.
28026 (ADDRIDX): Likewise.
28027 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28028 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28029 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28030 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28031 (VALIDX): Likewise.
28032 (ADDRIDX): Likewise.
28034 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28036 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28038 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28041 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28043 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28044 addresses are in the same scope as 192.0.2/24.
28045 * posix/gai.conf: Document new scope table defaults.
28047 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28050 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28051 for ftell. Compute offsets from write pointers instead.
28052 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28054 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28057 * libio/Makefile (tests): New test case tst-fseek.
28058 * libio/tst-fseek.c: New test case to verify that fseek/ftell
28059 combination works in wide mode.
28060 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28061 state when the external buffer state changes.
28063 2012-09-27 David S. Miller <davem@davemloft.net>
28066 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28067 pass reloc->r_addend in as the 'high' argument to
28068 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28072 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28074 * rt/tst-aio2.c: Include <pthread.h>.
28075 * rt/tst-aio3.c: Likewise.
28077 2012-09-27 Steve Ellcey <sellcey@mips.com>
28079 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28081 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
28083 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28084 contents on [SHARED].
28086 2012-09-26 Marek Polacek <polacek@redhat.com>
28090 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28091 for C++ and GCC <4.3 as well as for non GCC compilers.
28093 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28095 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28097 2012-09-25 Roland McGrath <roland@hack.frob.com>
28099 * Makefile.in (all, install): Declare with .PHONY.
28100 Reported by Michael Hope <michael.hope@linaro.org>.
28102 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28104 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28105 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28107 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28109 (sydep_routines): Add the new and the internal functions.
28110 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28111 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28113 (GLIBC_2.17): Add the new function.
28114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28115 (GLIBC_2.17): Likewise.
28116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28117 (GLIBC_2.17): Likewise.
28118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28119 (GLIBC_2.17): Likewise.
28120 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28122 2012-09-25 Alan Modra <amodra@gmail.com>
28124 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28125 Add release barrier before setting once_control to say
28126 initialisation is done. Add hints on lwarx. Use macro in
28128 (clear_once_control): Add release barrier.
28130 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28133 * math/s_clog.c (__clog): Handle more values close to |z| = 1
28135 * math/s_clog10.c (__clog10): Likewise.
28136 * math/s_clog10f.c (__clog10f): Likewise.
28137 * math/s_clog10l.c (__clog10l): Likewise.
28138 * math/s_clogf.c (__clogf): Likewise.
28139 * math/s_clogl.c (__clogl): Likewise.
28140 * math/Makefile (libm-calls): Add x2y2m1.
28141 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28142 (__x2y2m1): Likewise.
28143 (__x2y2m1l): Likewise.
28144 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28145 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28146 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28147 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28148 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28149 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28150 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28151 * sysdeps/i386/fpu/libm-test-ulps: Update.
28152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28155 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28156 int as type of variable DEPTH.
28157 (glob): Use size_t instead of int as type of variables NEWCOUNT
28160 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28162 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28163 Add s_sincosf-sse2.
28164 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28165 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28166 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28167 macros for using routine as __sincosf_ia32.
28168 Use macro for function declaration and weak_alias.
28169 * sysdeps/i386/fpu/libm-test-ulps: Update.
28171 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28172 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28174 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28175 subnormal argument.
28176 * math/s_cexpf.c (__cexpf): Likewise.
28177 * math/s_csinf.c (__csinf): Likewise.
28178 * math/s_csinhf.c (__csinhf): Likewise.
28179 * math/s_ctanf.c (__ctanf): Likewise.
28180 * math/s_ctanhf.c (__ctanhf): Likewise.
28181 * math/s_ccosh.c (__ccoshf): Likewise.
28182 * math/s_cexp.c (__cexpl): Likewise.
28183 * math/s_csin.c (__csin): Likewise.
28184 * math/s_csinh.c (__csinh): Likewise.
28185 * math/s_ctan.c (__ctan): Likewise.
28186 * math/s_ctanh.c (ctanh): Likewise.
28187 * math/s_ccoshl.c (__ccoshl): Likewise.
28188 * math/s_cexpl.c (__cexpl): Likewise.
28189 * math/s_csinl.c (__csinl): Likewise.
28190 * math/s_csinhl.c (__csinhl): Likewise.
28191 * math/s_ctanl.c (__ctanl): Likewise.
28192 * math/s_ctanhl.c (__ctanhl): Likewise.
28194 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28196 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28197 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28198 (_IO_off_t): Define to __off_t, not _G_off_t.
28199 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28200 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28201 (_IO_wint_t): Define to wint_t, not _G_wint_t.
28202 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28203 type of __dummy and __dummy2 fields.
28204 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28205 (_G_ssize_t): Likewise.
28206 (_G_off_t): Likewise.
28207 (_G_pid_t): Likewise.
28208 (_G_uid_t): Likewise.
28209 (_G_wchar_t): Likewise.
28210 (_G_wint_t): Likewise.
28211 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28212 (_G_ssize_t): Likewise.
28213 (_G_off_t): Likewise.
28214 (_G_pid_t): Likewise.
28215 (_G_uid_t): Likewise.
28216 (_G_wchar_t): Likewise.
28217 (_G_wint_t): Likewise.
28218 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28219 (_G_ssize_t): Likewise.
28220 (_G_off_t): Likewise.
28221 (_G_pid_t): Likewise.
28222 (_G_uid_t): Likewise.
28223 (_G_wchar_t): Likewise.
28224 (_G_wint_t): Likewise.
28226 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28228 * malloc/arena.c: Include malloc-sysdep.h.
28229 (shrink_heap): Use check_may_shrink_heap to decide if madvise
28230 is sufficient to shrink the heap or an unmap is needed.
28231 * sysdeps/generic/malloc-sysdep.h: New file. Define
28232 new function check_may_shrink_heap.
28233 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
28234 new function check_may_shrink_heap.
28236 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28238 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28241 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
28243 * catgets/test-gencat.sh: Add "set -e".
28244 * elf/tst-pathopt.sh: Likewise.
28245 * grp/tst_fgetgrent.sh: Likewise.
28246 * iconvdata/run-iconv-test.sh: Likewise.
28247 * intl/tst-gettext.sh: Likewise.
28248 * intl/tst-gettext2.sh: Likewise.
28249 * intl/tst-gettext4.sh: Likewise.
28250 * intl/tst-gettext6.sh: Likewise.
28251 * intl/tst-translit.sh: Likewise.
28252 * io/ftwtest-sh: Likewise.
28253 * libio/test-freopen.sh: Likewise.
28254 * malloc/tst-mtrace.sh: Likewise.
28255 * posix/globtest.sh: Likewise.
28256 * posix/tst-getconf.sh: Likewise.
28257 * posix/wordexp-tst.sh: Likewise.
28258 * stdio-common/tst-printf.sh: Likewise.
28259 * stdio-common/tst-unbputc.sh: Likewise.
28260 * stdlib/tst-fmtmsg.sh: Likewise.
28261 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28262 * catgets/Makefile: Do not specify -e option when running
28263 testsuite shell scripts.
28264 * elf/Makefile: Likewise.
28265 * grp/Makefile: Likewise.
28266 * iconvdata/Makefile: Likewise.
28267 * intl/Makefile: Likewise.
28268 * io/Makefile: Likewise.
28269 * libio/Makefile: Likewise.
28270 * malloc/Makefile: Likewise.
28271 * posix/Makefile: Likewise.
28272 * stdio-common/Makefile: Likewise.
28273 * stdlib/Makefile: Likewise.
28274 * sysdeps/x86_64/Makefile: Likewise.
28276 * io/ftwtest-sh: Add copyright header.
28277 * posix/globtest.sh: Likewise.
28278 * posix/tst-getconf.sh: Likewise.
28279 * posix/wordexp-tst.sh: Likewise.
28280 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28282 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
28285 * Makeconfig (+link): Defined as $(+link-static) if
28286 $(build-shared) isn't yes.
28287 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28289 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28291 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28294 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28295 new chunk size with MALLOC_ALIGN_MASK.
28297 2012-09-24 Joseph Myers <joseph@codesourcery.com>
28300 * stdio-common/printf_fphex.c: Include <stdbool.h> and
28302 (__printf_fphex): Determine rounding using get_rounding_mode and
28304 * stdio-common/tst-printf-round.c (struct hex_test): New
28306 (hex_tests): New variable.
28307 (test_hex_in_one_mode): New function.
28308 (do_test): Also run tests for hex float output.
28310 2012-09-21 Joseph Myers <joseph@codesourcery.com>
28312 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28313 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28314 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28315 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28316 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28317 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28318 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28319 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28321 2012-09-20 Joseph Myers <joseph@codesourcery.com>
28323 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28324 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28325 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28326 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28328 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
28331 * elf/rtld.c (dl_main): Limit the check for self loading to normal
28333 * elf/tst-rtld-load-self.sh: New test.
28334 * elf/Makefile: Run it.
28336 2012-09-18 Joseph Myers <joseph@codesourcery.com>
28338 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28339 (tst-writev-ENV): Remove.
28340 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28342 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
28344 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28346 2012-09-17 Joseph Myers <joseph@codesourcery.com>
28348 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28350 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28352 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28353 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28354 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28357 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
28360 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28361 * config.make.in (have-cpp-asm-debuginfo): Removed.
28362 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28363 * configure: Regenerated.
28365 2012-09-14 Joseph Myers <joseph@codesourcery.com>
28368 * stdio-common/printf_fp.c: Include <stdbool.h> and
28370 (___printf_fp): Determine rounding using get_rounding_mode and
28372 * stdio-common/tst-printf-round.c: New file.
28373 * stdio-common/Makefile (tests): Add tst-printf-round.
28374 (link-libm): New variable.
28375 ($(objpfx)tst-printf-round): Depend in $(link-libm).
28377 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
28380 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28381 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28383 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28386 2012-09-13 Joseph Myers <joseph@codesourcery.com>
28388 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28389 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28390 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28391 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28393 2012-09-12 Joseph Myers <joseph@codesourcery.com>
28396 * include/rounding-mode.h: New file.
28397 * sysdeps/generic/get-rounding-mode.h: Likewise.
28398 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28399 * stdlib/strtod_l.c: Include <rounding-mode.h>.
28400 (MAX_VALUE): New macro.
28401 (MIN_VALUE): Likewise.
28402 (overflow_value): New function.
28403 (underflow_value): Likewise.
28404 (round_and_return): Use overflow_value and underflow_value to
28405 determine return values in overflow and underflow cases. Use
28406 round_away to determine rounding depending on rounding mode.
28407 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28408 determine return values in overflow and underflow cases.
28409 * stdlib/tst-strtod-round.c: Include <fenv.h>.
28410 (struct test_results): New structure.
28411 (struct test): Use struct test_results to store expected results
28412 for all rounding modes.
28413 (TEST): Include expected results for all rounding modes.
28414 (test_in_one_mode): New function.
28415 (do_test): Use test_in_one_mode to compute and check results.
28416 Check results for all rounding modes.
28417 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28420 2012-12-09 Allan McRae <allan@archlinux.org>
28422 * sysdeps/i386/fpu/libm-test-ulps: Update
28424 2012-09-11 Joseph Myers <joseph@codesourcery.com>
28426 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28427 (_G_int32_t): Likewise.
28428 (_G_uint16_t): Likewise.
28429 (_G_uint32_t): Likewise.
28430 (_G_HAVE_BOOL): Likewise.
28431 (_G_HAVE_ATEXIT): Likewise.
28432 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28433 (_G_HAVE_IO_FILE_OPEN): Likewise.
28434 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28435 (_G_int32_t): Likewise.
28436 (_G_uint16_t): Likewise.
28437 (_G_uint32_t): Likewise.
28438 (_G_HAVE_BOOL): Likewise.
28439 (_G_HAVE_ATEXIT): Likewise.
28440 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28441 (_G_HAVE_IO_FILE_OPEN): Likewise.
28442 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28443 (_G_int32_t): Likewise.
28444 (_G_uint16_t): Likewise.
28445 (_G_uint32_t): Likewise.
28446 (_G_HAVE_BOOL): Likewise.
28447 (_G_HAVE_ATEXIT): Likewise.
28448 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28449 (_G_HAVE_IO_FILE_OPEN): Likewise.
28451 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
28453 * csu/libc-tls.c: Update copyright years.
28455 2012-09-10 Joseph Myers <joseph@codesourcery.com>
28457 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28458 [!_G_USING_THUNKS]: Remove conditional code.
28459 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28460 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28462 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28463 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28464 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28465 (_G_VTABLE_LABEL_PREFIX): Likewise.
28466 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28467 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28468 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28469 (_G_VTABLE_LABEL_PREFIX): Likewise.
28470 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28471 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28472 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28473 (_G_VTABLE_LABEL_PREFIX): Likewise.
28474 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28476 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
28478 * libio/Makefile: Include ../Makeconfig before tests.
28479 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28480 only if $(build-shared) is yes.
28482 * iconv/gconv_db.c: Update copyright years.
28484 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28486 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28487 unwind info if defined PIC. Fix special cases description.
28488 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28490 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28492 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28494 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
28496 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28498 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28501 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28502 (LDLIBS-tst-chk4): This.
28503 (LDFLAGS-tst-chk5): Renamed to ...
28504 (LDLIBS-tst-chk5): This.
28505 (LDFLAGS-tst-chk6): Renamed to ...
28506 (LDLIBS-tst-chk6): This.
28507 (LDFLAGS-tst-lfschk4): Renamed to ...
28508 (LDLIBS-tst-lfschk4): This.
28509 (LDFLAGS-tst-lfschk5): Renamed to ...
28510 (LDLIBS-tst-lfschk5): This.
28511 (LDFLAGS-tst-lfschk6): Renamed to ...
28512 (LDLIBS-tst-lfschk6): This.
28514 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28515 on $(common-objpfx)soversions.mk.
28517 2012-09-07 Joseph Myers <joseph@codesourcery.com>
28520 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28523 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28525 * malloc/arena.c (arena_get_retry): New function that gets
28526 another arena for the caller to try its request on.
28527 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28528 current arena cannot fulfill the request.
28529 (__libc_memalign): Likewise.
28530 (__libc_memalign): Likewise.
28531 (__libc_pvalloc): Likewise.
28532 (__libc_calloc): Likewise.
28534 2012-09-05 John Tobey <john.tobey@gmail.com>
28537 * manual/arith.texi (Operations on Complex): Fix description
28538 of carg branch cut.
28540 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28543 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28547 * manual/memory.texi (Memory): Make order of menu items match
28550 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28552 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28553 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
28554 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28556 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28558 * csu/libc-tls.c (static_dtv): Renamed to ...
28559 (_dl_static_dtv): This. Make it global.
28560 (_dl_initial_dtv): Removed.
28561 (__libc_setup_tls): Updated.
28562 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28563 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28566 2012-09-06 Petr Machata <pmachata@redhat.com>
28568 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28569 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28570 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28571 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28573 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28576 * csu/libc-tls.c (_dl_initial_dtv): New variable.
28577 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28580 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28583 * Makeconfig (link-static-before-libc): Replace $(+prector)
28585 (link-static-after-libc): Replace $(+postctor) with
28587 (link-bounded): Replace $(+prector)/$(+postctor) with
28588 $(+prectorT)/$(+postctorT).
28589 (+prectorT): New macro.
28590 (+postctorT): Likewise.
28592 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28594 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28595 (round_str): Handle values above the maximum for IBM long double
28597 * stdlib/tst-strtod-round.c (tests): Regenerated.
28599 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28601 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28603 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28604 zarch_nohighgprs around the zarch optimized routines.
28605 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28606 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28607 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28610 2012-09-05 David S. Miller <davem@davemloft.net>
28612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28614 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28615 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28616 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28617 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28620 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28622 * malloc/arena.c: Fold copyright years.
28623 * malloc/mcheck.c, malloc/memusage.c: Likewise.
28625 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28627 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28629 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28631 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
28633 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28635 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28636 change internal state upon failure.
28638 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28640 * malloc/mcheck.c (mcheck_check_all): Fix typo.
28641 * malloc/memusage.c (mmap): Likewise.
28642 (mmap64, mremap): Likewise. Adjust name in comment.
28644 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28646 * libio/fileops.c: Fix typos in comments.
28647 * libio/oldfileops.c: Likewise.
28648 * libio/wfileops.c: Likewise.
28650 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28653 * malloc/Makefile (tests): Add tst-malloc-usable test case.
28654 (tst-malloc-usable-ENV): Set environment for test case.
28655 * malloc/hooks.c (malloc_check_get_size): New function to get
28657 * malloc/malloc.c (musable): Use malloc_check_get_size.
28658 * malloc/tst-malloc-usable.c: New test case.
28660 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28662 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28664 2012-09-05 Allan McRae <allan@archlinux.org>
28667 * configure.in (CXX_SYSINCLUDES): Use compiler output to
28668 determine header location.
28669 * configure: Regenerated.
28671 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28673 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28675 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
28676 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28678 (test): Regenerate.
28680 2012-09-04 David S. Miller <davem@davemloft.net>
28682 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28683 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28684 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28686 2012-09-04 Florian Weimer <fweimer@redhat.com>
28688 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28691 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28693 2012-09-04 Joseph Myers <joseph@codesourcery.com>
28696 * libio/iogetdelim.c: Include <limits.h>.
28697 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28698 + len + 1 would overflow.
28700 2012-09-03 Andreas Jaeger <aj@suse.de>
28702 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28703 * sysdeps/i386/fpu/libm-test-ulps: Update.
28705 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28707 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28708 Add s_sinf-sse2, s_conf-sse2.
28710 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28711 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28712 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28713 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28715 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28716 for using routine as __sinf_ia32.
28717 Use macro for function declaration and weak_alias.
28718 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28719 for using routine as __cosf_ia32.
28720 Use macro for function declaration and weak_alias.
28722 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28723 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28725 * sysdeps/x86_64/fpu/s_sinf.S: New file.
28726 * sysdeps/x86_64/fpu/s_cosf.S: New file.
28727 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28729 * math/libm-test.inc (cos_test): Add more test cases.
28730 (sin_test): Likewise.
28731 (sincos_test): Likewise.
28733 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28735 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28736 (IFUNC_RESOLVE): Make pointers to the specialized implementations
28738 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28740 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
28743 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
28744 first element of the GOT.
28745 (elf_machine_load_address): Return the difference between
28746 the runtime address of _DYNAMIC and elf_machine_dynamic ().
28748 2012-09-01 Allan McRae <allan@archlinux.org>
28751 * configure.in (AWK): Require gawk version 3.0 or later.
28752 * configure: Regenerated.
28754 2012-09-01 Joseph Myers <joseph@codesourcery.com>
28756 * sysdeps/unix/sysv/linux/kernel-features.h
28757 (__ASSUME_POSIX_CPU_TIMERS): Remove.
28758 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28759 [__NR_clock_getres]: Make code unconditional.
28760 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
28761 (clock_getcpuclockid): Remove code left unreachable by removal of
28763 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
28764 code unconditional.
28765 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28766 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28767 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
28768 Make code unconditional.
28769 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28770 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28771 * sysdeps/unix/sysv/linux/clock_settime.c
28772 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
28774 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
28775 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28777 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
28780 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
28781 scripts/test-installation.pl.
28783 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
28784 and $ld_so_version if it is set.
28786 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28789 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
28790 failure if reading from procfs failed.
28791 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
28793 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28795 * sysdeps/unix/sysv/linux/kernel-features.h
28796 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
28797 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28798 Remove conditional code.
28799 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28800 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
28801 Remove conditional code.
28802 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28803 * sysdeps/unix/sysv/linux/i386/fxstat.c
28804 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28805 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28806 * sysdeps/unix/sysv/linux/i386/fxstatat.c
28807 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28808 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28809 * sysdeps/unix/sysv/linux/i386/lxstat.c
28810 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28811 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28812 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
28813 Remove conditional code.
28814 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28815 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28816 Remove conditional code.
28817 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28818 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
28819 <kernel-features.h>.
28820 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
28822 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
28823 Remove conditional code.
28824 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28825 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
28826 Remove conditional.
28828 2012-08-27 Mike Frysinger <vapier@gentoo.org>
28831 * NEWS: Add fixed bug number.
28833 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28836 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
28837 underflowing exponent in case of negative sign.
28838 * stdlib/tst-strtod-round-data: Add more tests.
28839 * stdlib/tst-strtod-round.c (tests): Regenerated.
28842 * stdlib/strtod_l.c (NDIG): Remove.
28843 (HEXNDIG): Likewise.
28844 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
28845 smallest representable value.
28846 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
28847 lie within an exact representation of 1/2 ulp of the result.
28848 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
28850 (TENS_P9_IDX): Define unconditionally.
28851 (TENS_P9_SIZE): Likewise.
28852 (TENS_P10_IDX): Likewise.
28853 (TENS_P10_SIZE): Likewise.
28854 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
28855 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
28856 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
28857 entries for 10^2^13 and 10^2^14.
28858 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
28859 (TENS_P13_IDX): Define.
28860 (TENS_P13_SIZE): Likewise.
28861 (TENS_P14_IDX): Likewise.
28862 (TENS_P14_SIZE): Likewise.
28863 (_fpioconst_pow10): Change array size to
28864 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
28866 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
28867 1024]: Add entries for 10^2^13 and 10^2^14.
28868 [LAST_POW10 > _LAST_POW10]: Remove #error.
28869 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
28870 (_fpioconst_pow10): Change array size to
28871 FPIOCONST_POW10_ARRAY_SIZE.
28872 * stdlib/gen-fpioconst.c: New file.
28873 * stdlib/gen-tst-strtod-round.c: Likewise.
28874 * stdlib/tst-strtod-round-data: Likewise.
28875 * stdlib/tst-strtod-round.c: Likewise.
28876 * stdlib/Makefile (tests): Add tst-strtod-round.
28879 * stdlib/strtod_l.c: Include <stdint.h>.
28880 (NDEBUG): Do not define.
28881 (round_and_return): Change EXPONENT parameter to type intmax_t.
28882 Rearrange calculations to avoid internal overflow possibilities.
28883 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
28884 Rearrange calculations to avoid internal overflow possibilities.
28885 Assert that number fits inside MPNSIZE limbs.
28886 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
28887 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
28888 calculations and add assertions to avoid internal overflow
28889 possibilities. Add casts to avoid signed/unsigned operations.
28890 * stdlib/tst-strtod-overflow.c: New file.
28891 * stdlib/Makefile (tests): Add tst-strtod-overflow.
28893 2012-08-25 Marek Polacek <polacek@redhat.com>
28895 * time/time.h: Fix some typos in comments.
28897 2012-08-23 Roland McGrath <roland@hack.frob.com>
28899 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
28900 * posix/tst-rfc3484-2.c: Likewise.
28901 * posix/tst-rfc3484-3.c: Likewise.
28903 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
28905 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
28906 (EF_ARM_ABI_FLOAT_HARD): Likewise.
28908 2012-08-23 Joseph Myers <joseph@codesourcery.com>
28910 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
28911 #include of fxstatat64.c.
28913 2012-08-22 Roland McGrath <roland@hack.frob.com>
28915 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
28916 * shadow/getspent_r.c: Likewise.
28917 * shadow/getspnam.c: Likewise.
28918 * shadow/getspnam_r.c: Likewise.
28919 * gshadow/getsgent.c: Likewise.
28920 * gshadow/getsgent_r.c: Likewise.
28921 * gshadow/getsgnam.c: Likewise.
28922 * gshadow/getsgnam_r.c: Likewise.
28923 * inet/getnetbyad.c: Likewise.
28924 * inet/getnetbyad_r.c: Likewise.
28925 * inet/getnetbynm.c: Likewise.
28926 * inet/getnetbynm_r.c: Likewise.
28927 * inet/getnetent.c: Likewise.
28928 * inet/getnetent_r.c: Likewise.
28929 * inet/getproto.c: Likewise.
28930 * inet/getproto_r.c: Likewise.
28931 * inet/getprtent.c: Likewise.
28932 * inet/getprtent_r.c: Likewise.
28933 * inet/getprtname.c: Likewise.
28934 * inet/getprtname_r.c: Likewise.
28935 * inet/getrpcbyname.c: Likewise.
28936 * inet/getrpcbyname_r.c: Likewise.
28937 * inet/getrpcbynumber.c: Likewise.
28938 * inet/getrpcbynumber_r.c: Likewise.
28939 * inet/getrpcent.c: Likewise.
28940 * inet/getrpcent_r.c: Likewise.
28941 * inet/getaliasent.c: Likewise.
28942 * inet/getaliasent_r.c: Likewise.
28943 * inet/getaliasname.c: Likewise.
28944 * inet/getaliasname_r.c: Likewise.
28945 * nscd/getgrgid_r.c: Likewise.
28946 * nscd/getgrnam_r.c: Likewise.
28947 * nscd/gethstbyad_r.c: Likewise.
28948 * nscd/gethstbynm3_r.c: Likewise.
28949 * nscd/getpwnam_r.c: Likewise.
28950 * nscd/getpwuid_r.c: Likewise.
28951 * nscd/getsrvbynm_r.c: Likewise.
28952 * nscd/getsrvbypt_r.c: Likewise.
28953 * nscd/gai.c: Likewise.
28955 * configure.in (build_nscd): New substituted variable, set
28956 by --disable-build-nscd and defaults to $use_nscd.
28957 * configure: Regenerated.
28958 * config.make.in (build-nscd): New substituted variable.
28959 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28960 Change conditional to require [$(build-nscd) = yes] as well.
28961 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28964 * configure.in (use_nscd): New substituted variable, set by
28965 --disable-nscd. If enabled, define USE_NSCD.
28966 * configure: Regenerated.
28967 * config.h.in: Add USE_NSCD.
28968 * config.make.in (use-nscd): New substituted variable.
28969 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28970 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28971 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28972 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28973 (CFLAGS-getgrnam_r.c): Likewise.
28974 (CFLAGS-initgroups.c): Likewise.
28975 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28976 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28978 * inet/getnetgrent_r.c
28979 (nscd_setnetgrent): New function, broken out of ...
28980 (setnetgrent): ... here. Call it.
28981 (innetgr): Conditionalize nscd bits on [USE_NSCD].
28982 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28983 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28984 * nscd/Makefile (routines, aux): Move definitions after include of
28985 Makeconfig. Conditionalize on [$(use-nscd) != no].
28986 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28987 Conditionalize on [USE_NSCD].
28988 (is_nscd, nscd_init_cb): Likewise.
28989 (nss_load_library): Conditionalize init callback on [USE_NSCD].
28990 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28991 * nss/nss_db/db-init.c: Likewise.
28992 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28994 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28995 (make_request): Use it.
28996 (cache_valid_p): New function.
28997 (__check_pf): Use it.
28998 * NEWS: Add item for --disable-nscd.
29000 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29002 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29003 to support sed >= 4.2.1-20-ga9bf076.
29004 * configure: Regenerated.
29006 2012-08-22 Roland McGrath <roland@hack.frob.com>
29008 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29009 Conditionalize whole body on [IREL].
29011 2012-08-22 Jeff Law <law@redhat.com>
29014 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29015 if the family is PF_UNSPEC.
29017 2012-08-22 Mike Frysinger <vapier@gentoo.org>
29019 * Makerules (lib-version): Rename from V.
29020 (install-lib-nosubdir): Change V to lib-version.
29022 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29025 * powerpc32/power6/wcschr.c: New file.
29026 * powerpc32/power6/wcscpy.c: New file.
29027 * powerpc32/power6/wcsrchr.c: New file.
29028 * powerpc64/power6/wcschr.c: New file.
29029 * powerpc64/power6/wcscpy.c: New file.
29030 * powerpc64/power6/wcsrchr.c: New file.
29032 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29034 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29035 (two_way_short_needle): Use it.
29036 * string/strstr.c (AVAILABLE1_USES_J): Define.
29037 * string/strcasestr.c: Likewise.
29039 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29041 * string/strcasestr.c (TOLOWER): Make side-effect safe.
29044 * NEWS: Add an entry.
29045 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29046 define their defaults.
29047 (two_way_short_needle): Detect end-of-string on-the-fly.
29048 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29049 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29050 * string/bug-strcasestr1.c: New test.
29051 * string/Makefile: Run it.
29053 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29056 * string/str-two-way.h (two_way_short_needle): Optimize matching of
29057 the first character.
29059 2012-08-21 Roland McGrath <roland@hack.frob.com>
29061 * csu/elf-init.c (__libc_csu_irel): Function removed.
29062 * csu/libc-start.c (apply_irel): New function.
29063 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29065 2012-08-21 Joseph Myers <joseph@codesourcery.com>
29067 * sysdeps/unix/sysv/linux/kernel-features.h
29068 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29069 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29070 <kernel-features.h>.
29071 [__NR_fadvise64_64]: Make code unconditional.
29072 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29073 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29074 !__NR_fadvise64_64)]: Likewise.
29075 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29076 !__NR_fadvise64_64))]: Likewise.
29077 [__NR_fadvise64]: Make code unconditional.
29078 [!__NR_fadvise64]: Remove conditional code.
29079 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29080 <kernel-features.h>.
29081 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29083 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29086 not include <kernel-features.h>.
29087 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29089 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29091 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29092 include <kernel-features.h>.
29093 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29095 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29098 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29100 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29101 slight instruction rearrangements per scrollpipe analysis.
29102 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29104 2012-08-20 Roland McGrath <roland@hack.frob.com>
29106 * manual/syslog.texi (syslog; vsyslog, closelog):
29107 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29108 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29110 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29111 DSOCAPS to match condition on defining it.
29113 2012-08-20 Joseph Myers <joseph@codesourcery.com>
29115 * sysdeps/unix/sysv/linux/kernel-features.h
29116 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29118 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29119 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29121 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29122 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29124 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29125 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29127 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29128 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29130 * sysdeps/unix/sysv/linux/kernel-features.h
29131 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29132 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29134 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29135 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29136 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29137 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29138 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29139 Make code unconditional.
29140 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29141 (__mmap64) [!__NR_mmap2]: Likewise.
29142 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29143 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29144 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29145 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29146 [__NR_mmap2]: Make code unconditional.
29147 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29148 (__mmap64) [!__NR_mmap2]: Likewise.
29150 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29152 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29154 2012-08-18 Andreas Jaeger <aj@suse.de>
29156 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29158 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29160 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29161 * include/unistd.h (__have_sock_cloexec): Likewise.
29162 (__have_pipe2): Likewise.
29163 (__have_dup3): Likewise.
29165 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29168 * include/unistd.h (__have_pipe2): Change define into an extern int.
29169 (__have_dup3): Likewise.
29170 * socket/have_sock_cloexec.c: Include fcntl.h.
29171 (__have_pipe2): New variable.
29172 (__have_dup3): Likewise.
29174 2012-08-17 Mike Frysinger <vapier@gentoo.org>
29176 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29178 2012-08-17 Marek Polacek <polacek@redhat.com>
29180 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29181 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29183 2012-08-17 Roland McGrath <roland@hack.frob.com>
29185 * configure.in: Add AC_SUBST for sysheaders.
29186 * configure: Regenerated.
29187 * config.make.in (sysheaders): New substituted variable.
29189 * sysdeps/unix/mkfifo.c: Moved ...
29190 * sysdeps/posix/mkfifo.c: ... here.
29191 * sysdeps/unix/mkfifoat.c: Moved ...
29192 * sysdeps/posix/mkfifoat.c: ... here.
29194 * sysdeps/unix/utime.c: Moved ...
29195 * sysdeps/posix/utime.c: ... here.
29197 * sysdeps/unix/time.c: Moved ...
29198 * sysdeps/posix/time.c: ... here.
29199 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29200 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29202 * sysdeps/unix/nice.c: Moved ...
29203 * sysdeps/posix/nice.c: ... here.
29205 * sysdeps/unix/alarm.c: Moved ...
29206 * sysdeps/posix/alarm.c: ... here.
29208 * intl/Makefile ($(codeset_mo)): Depend on the input file.
29210 2012-08-17 Jeff Law <law@redhat.com>
29212 * intl/Makefile (codeset_mo): New variable.
29213 ($(codeset_mo)): New target.
29214 (tst-codeset.out): Depend on that. Remove explicit rule.
29215 (tst-gettext3.out, tst-gettext5.out): Likewise.
29216 (LOCPATH-ENV, tst-codeset-ENV): New variables.
29217 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29218 * intl/tst-codeset.sh: Remove.
29219 * intl/tst-gettext3.sh: Likewise.
29220 * intl/tst-gettext5.sh: Likewise.
29222 2012-08-17 Roland McGrath <roland@hack.frob.com>
29224 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
29225 * sysdeps/unix/syscalls.list: ... here.
29227 * sysdeps/posix/getaddrinfo.c
29228 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29229 (gaiconf_init, gaiconf_reload): Use them.
29230 [!_STATBUF_ST_NSEC]
29231 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29232 Define using time_t rather than struct timespec.
29234 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29235 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29237 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29239 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29240 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29243 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29244 __libc_cleanup_push argument.
29246 * bits/param.h: New file.
29247 * misc/sys/param.h: New file.
29248 * include/sys/param.h: New file.
29249 * misc/Makefile (headers): Add bits/param.h.
29250 * sysdeps/generic/sys/param.h: File removed.
29251 * sysdeps/unix/sysv/linux/bits/param.h: New file.
29252 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29253 * sysdeps/mach/hurd/bits/param.h: New file.
29254 * sysdeps/mach/hurd/sys/param.h: File removed.
29256 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29259 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29261 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29262 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29265 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29266 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29267 rather than -D_IO_MTSAFE_IO conditionally.
29268 * stdio-common/Makefile (CPPFLAGS): Likewise.
29269 * wcsmbs/Makefile (CPPFLAGS): Likewise.
29270 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29271 Use $(libio-mtsafe).
29272 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29273 of -D_IO_MTSAFE_IO.
29274 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29275 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29276 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29277 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29278 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29279 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29280 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29281 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29282 (CFLAGS-fread_u_chk.c): Likewise.
29283 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29284 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29285 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29286 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29287 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29288 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29289 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29290 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29291 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29293 * libio/Makefile: Test [$(libc-reentrant) = yes]
29294 instead of [$(filter %REENTRANT, $(defines)) nonempty].
29297 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29298 * sysdeps/pthread/configure: File removed.
29299 * sysdeps/pthread/Makeconfig: New file.
29300 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29301 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29303 2012-08-16 Gary Benson <gbenson@redhat.com>
29305 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29306 unmapping the first object in a namespace.
29308 2012-08-16 Roland McGrath <roland@hack.frob.com>
29310 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29311 (__internal_setnetgrent): ... this. Add internal_function to
29312 definition. Add libc_hidden_def.
29313 (setnetgrent): Update caller.
29314 (internal_endnetgrent): Renamed to ...
29315 (__internal_endnetgrent): ... this. Add internal_function to
29316 definition. Add libc_hidden_def.
29317 (endnetgrent): Update caller.
29318 (internal_getnetgrent_r): Renamed to ...
29319 (__internal_getnetgrent_r): ... this. Add internal_function to
29320 definition. Add libc_hidden_def.
29321 (__getnetgrent_r): Update caller.
29322 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
29324 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29326 * stdlib/longlong.h: Update from GCC.
29328 2012-08-16 Roland McGrath <roland@hack.frob.com>
29330 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29331 on _QL, which is set by umul_ppmm but never used.
29332 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29333 variables, which are set by GMP macros but never used.
29334 * stdio-common/_itowa.c (_itowa): Likewise.
29335 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29336 * stdlib/mod_1.c (mpn_mod_1): Likewise.
29338 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
29340 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29341 struct La_sh_regs is not constant.
29342 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29343 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29344 and struct La_sparc64_regs are not constant.
29346 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29348 * sysdeps/unix/sysv/linux/kernel-features.h
29349 (__ASSUME_POSIX_TIMERS): Remove.
29350 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29351 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29352 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29353 Make code unconditional.
29354 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29355 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29356 Make code unconditional.
29357 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29358 * sysdeps/unix/sysv/linux/clock_nanosleep.c
29359 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29360 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29361 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29362 Make code unconditional.
29363 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29364 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29365 (__libc_missing_posix_timers): Remove.
29367 2012-08-15 Roland McGrath <roland@hack.frob.com>
29369 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29370 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29372 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29374 * elf/dl-sym.c: Include <stdlib.h>.
29376 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29377 constants, which avoids warnings in 32-bit builds.
29379 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29380 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29382 * misc/lseek.c: File moved to ...
29383 * io/lseek.c: ... here.
29385 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29387 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29388 shifting LEN more than 31 bits at once.
29390 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29393 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29394 segmentation fault for a case of two empty input strings.
29395 * string/test-strncasecmp.c (check1): Renamed to...
29396 (bz12205): ...this.
29397 (bz14195): Add new testcase for two empty input strings and N > 0.
29398 (test_main): Call new testcase, adapt for renamed function.
29400 2012-08-15 Andreas Jaeger <aj@suse.de>
29403 * crypt/md5test2.c: New test, based on test supplied by Serge
29404 Belyshev <belyshev@depni.sinp.msu.ru>.
29405 * crypt/Makefile (xtests): Add md5test-giant..
29406 * crypt/Makefile ($(objpfx)md5test-giant): Add.
29408 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
29411 * crypt/md5.c (md5_process_block): Don't assume the buffer
29412 length is less than 2**32.
29413 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29414 length is less than 2**64.
29416 2012-08-15 Roland McGrath <roland@hack.frob.com>
29418 * string/str-two-way.h: Include <sys/param.h>.
29419 (MAX): Macro removed.
29421 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29422 Move #define and #undef of memmove to just before and after
29423 including <string.h>.
29425 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29426 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29427 and after including <string.h>. Move declarations of
29428 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29429 to before #include "string/memmove.c".
29431 * include/dirent.h: Declare __getdirentries.
29433 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29434 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29436 2012-08-14 Mike Frysinger <vapier@gentoo.org>
29438 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29439 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29440 * sysdeps/i386/configure: Regenerated.
29441 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29442 STABS_CURRENT_FILE, and STABS_FUN.
29443 (END): Remove call to STABS_FUN_END.
29444 (STABS_CURRENT_FILE1): Delete.
29445 (STABS_CURRENT_FILE): Likewise.
29446 (STABS_FUN): Likewise.
29447 (STABS_FUN_END): Likewise.
29448 (STABS_FUN2): Likewise.
29449 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29450 * sysdeps/x86_64/configure: Regenerated.
29452 2012-08-14 Roland McGrath <roland@hack.frob.com>
29454 * elf/dl-open.c: Include <atomic.h>.
29455 * elf/dl-lookup.c: Likewise.
29457 2012-08-14 Joseph Myers <joseph@codesourcery.com>
29459 * sysdeps/unix/sysv/linux/kernel-features.h
29460 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29461 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29463 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29465 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29466 condition on __ASSUME_CLONE_THREAD_FLAGS.
29468 2012-08-14 Andreas Jaeger <aj@suse.de>
29470 * sysdeps/i386/fpu/libm-test-ulps: Update.
29472 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
29474 * include/atomic.h (atomic_exchange_and_add): Split into ...
29475 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29478 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
29480 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29482 2012-08-13 Jeff Law <law@redhat.com>
29484 * manual/stdio.texi (snprintf): Clarify handling of the trailing
29485 null byte in the output string.
29487 2012-08-10 Joseph Myers <joseph@codesourcery.com>
29489 * sysdeps/unix/sysv/linux/kernel-features.h
29490 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29491 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29492 (__ASSUME_ARG_MAX_STACK_BASED): Define.
29493 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29494 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29495 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
29496 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29498 2012-08-09 Jeff Law <law@redhat.com>
29501 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29502 When avoid_arena is set, don't retry in the that arena. Pick the
29503 next one, whatever it might be.
29504 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29505 (arena_lock): Pass in new parameter to arena_get2.
29506 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29508 (__libc_malloc): Unify retrying after main arena failure with
29509 __libc_memalign version.
29510 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29512 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
29515 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29516 to __redirect_strstr.
29517 (__strstr_sse42): Use typeof __redirect_strstr.
29518 (__strstr_ia32): Likewise.
29519 (__libc_strstr): New prototype.
29520 (strstr): Renamed to ...
29521 (__libc_strstr): This.
29522 (strstr): New strong alias of __libc_strstr.
29523 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29524 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29527 (__libc_time): New prototype.
29528 (time_ifunc): Replace time with __libc_time.
29529 (time): New strong alias and hidden definition of __libc_time.
29530 (__GI_time): Remove strong alias.
29531 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29532 Include <stddef.h>.
29533 (memmove): Redefined to __redirect_memmove.
29534 (__memmove_sse2): Use typeof __redirect_memmove.
29535 (__memmove_ssse3): Likewise.
29536 (__memmove_ssse3_back): Likewise.
29537 (__libc_memmove): New prototype.
29538 (memmove): Renamed to ...
29539 (__libc_memmove): This.
29540 (memmove): New strong alias of __libc_memmove.
29542 2012-08-08 Mark Salter <msalter@redhat.com>
29545 (R_MN10300_TLS_GD): Define.
29546 (R_MN10300_TLS_LD): Likewise.
29547 (R_MN10300_TLS_LDO): Likewise.
29548 (R_MN10300_TLS_GOTIE): Likewise.
29549 (R_MN10300_TLS_IE): Likewise.
29550 (R_MN10300_TLS_LE): Likewise.
29551 (R_MN10300_TLS_DTPMOD): Likewise.
29552 (R_MN10300_TLS_DTPOFF): Likewise.
29553 (R_MN10300_TLS_TPOFF): Likewise.
29554 (R_MN10300_SYM_DIFF): Likewise.
29555 (R_MN10300_ALIGN): Likewise.
29556 (R_MN10300_NUM): Update.
29558 2012-08-08 Joseph Myers <joseph@codesourcery.com>
29560 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29563 2012-08-08 Roland McGrath <roland@hack.frob.com>
29565 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29567 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29568 sysdeps/unix -> sysdeps/posix move.
29569 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29571 2012-08-07 Allan McRae <allan@archlinux.org>
29574 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29575 (SUNOS_CPP): Likewise.
29576 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29578 (open_input): Call CPP using execvp.
29580 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29582 * sysdeps/unix/sysv/linux/kernel-features.h
29583 (__ASSUME_PROT_GROWSUPDOWN): Remove.
29584 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29585 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29586 (__ASSUME_WAITID_SYSCALL): Likewise.
29587 * sysdeps/unix/sysv/linux/dl-execstack.c
29588 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29589 code unconditional.
29590 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29592 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29593 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29594 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29596 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29598 [__ASSUME_WAITID_SYSCALL]: Likewise.
29599 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29601 2012-08-07 Roland McGrath <roland@hack.frob.com>
29603 * sysdeps/unix/closedir.c: Renamed to ...
29604 * sysdeps/posix/closedir.c: ... here.
29605 * sysdeps/unix/dirfd.c: Renamed to ...
29606 * sysdeps/posix/dirfd.c: ... here.
29607 * sysdeps/unix/dirstream.h: Renamed to ...
29608 * sysdeps/posix/dirstream.h: ... here.
29609 * sysdeps/unix/fdopendir.c: Renamed to ...
29610 * sysdeps/posix/fdopendir.c: ... here.
29611 * sysdeps/unix/opendir.c: Renamed to ...
29612 * sysdeps/posix/opendir.c: ... here.
29613 * sysdeps/unix/readdir.c: Renamed to ...
29614 * sysdeps/posix/readdir.c: ... here.
29615 * sysdeps/unix/readdir_r.c: Renamed to ...
29616 * sysdeps/posix/readdir_r.c: ... here.
29617 * sysdeps/unix/rewinddir.c: Renamed to ...
29618 * sysdeps/posix/rewinddir.c: ... here.
29619 * sysdeps/unix/seekdir.c: Renamed to ...
29620 * sysdeps/posix/seekdir.c: ... here.
29621 * sysdeps/unix/telldir.c: Renamed to ...
29622 * sysdeps/posix/telldir.c: ... here.
29623 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29624 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29625 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29626 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29628 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29629 * bits/fcntl.h: ... here.
29631 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29633 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29634 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29635 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29636 (struct flock): Move l_start, l_len to the beginning.
29637 Use __pid_t for l_pid.
29638 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29639 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29640 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29641 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29642 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29643 [__USE_LARGEFILE64] (struct flock64): New type.
29644 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29646 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29647 * bits/dirent.h: ... here.
29649 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29650 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29652 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29654 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29655 Change from 2.6.0 to 2.6.16.
29656 * sysdeps/unix/sysv/linux/configure: Regenerated.
29657 * sysdeps/unix/sysv/linux/kernel-features.h
29658 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29659 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29661 (__ASSUME_UTIMES): Likewise.
29662 (__ASSUME_CLONE_STOPPED): Remove.
29663 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29664 architectures, not kernel version.
29665 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29666 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29667 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29668 (__ASSUME_WAITID_SYSCALL): Likewise.
29669 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29670 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29671 * README: State 2.6.16 as minimum Linux kernel version. Do not
29672 refer to older versions.
29674 2012-08-06 Roland McGrath <roland@hack.frob.com>
29676 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29677 Define alphasort64 as an alias.
29678 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29679 Define versionsort64 as an alias.
29680 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29681 Define scandir64 as an alias.
29682 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29683 Define scandirat64 as an alias.
29684 * dirent/alphasort64.c (alphasort64):
29685 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29686 * dirent/versionsort64.c: Likewise.
29687 * dirent/scandir64.c: Likewise.
29688 * dirent/scandirat64.c: Likewise.
29689 * sysdeps/wordsize-64/alphasort.c: File removed.
29690 * sysdeps/wordsize-64/alphasort64.c: File removed.
29691 * sysdeps/wordsize-64/scandir.c: File removed.
29692 * sysdeps/wordsize-64/scandir64.c: File removed.
29693 * sysdeps/wordsize-64/scandirat.c: File removed.
29694 * sysdeps/wordsize-64/scandirat64.c: File removed.
29695 * sysdeps/wordsize-64/versionsort.c: File removed.
29696 * sysdeps/wordsize-64/versionsort64.c: File removed.
29697 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29698 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29699 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29700 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29701 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29702 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29703 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29704 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29706 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29707 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29708 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29709 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29710 [defined __arch64__ || defined __sparcv9]
29711 (__INO_T_MATCHES_INO64_T): New macro.
29712 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29713 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29714 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29715 * sysdeps/unix/sysv/linux/bits/dirent.h
29716 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29717 (_DIRENT_MATCHES_DIRENT64): New macro.
29719 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29720 Define lockf64 as an alias.
29721 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29722 Define fseeko64 as an alias.
29723 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29724 Define ftello64 as an alias.
29725 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29726 Define _IO_fgetpos64 and fgetpos64 as aliases.
29727 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29728 Define _IO_fsetpos64 and fsetpos64 as aliases.
29729 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29730 Conditionalize body on this.
29731 * libio/fseeko64.c: Likewise.
29732 * libio/ftello64.c: Likewise.
29733 * libio/iofgetpos64.c: Likewise.
29734 * libio/iofsetpos64.c: Likewise.
29735 * sysdeps/wordsize-64/lockf.c: File removed.
29736 * sysdeps/wordsize-64/lockf64.c: File removed.
29737 * sysdeps/wordsize-64/fseeko.c: File removed.
29738 * sysdeps/wordsize-64/fseeko64.c: File removed.
29739 * sysdeps/wordsize-64/ftello.c: File removed.
29740 * sysdeps/wordsize-64/ftello64.c: File removed.
29741 * sysdeps/wordsize-64/iofgetpos.c: File removed.
29742 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
29743 * sysdeps/wordsize-64/iofsetpos.c: File removed.
29744 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
29745 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
29746 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
29747 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
29748 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
29749 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
29750 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
29751 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
29752 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
29753 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
29754 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
29756 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29757 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29758 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
29759 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29760 [defined __arch64__ || defined __sparcv9]
29761 (__OFF_T_MATCHES_OFF64_T): New macro.
29762 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29763 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29764 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29765 (__OFF_T_MATCHES_OFF64_T): New macro.
29767 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29769 * stdlib/secure-getenv.c (__secure_getenv): Replace
29770 GLIBC_2_16 with GLIBC_2_17.
29772 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29774 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
29775 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29777 2012-08-03 David S. Miller <davem@davemloft.net>
29779 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29781 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29783 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
29785 (__ASSUME_CORRECT_SI_PID): Likewise.
29786 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
29787 (__ASSUME_TMPFS_NAME): Likewise.
29788 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
29789 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
29790 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
29791 (HAVE_AUX_SECURE): Make definition unconditional.
29792 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
29793 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
29795 2012-08-03 Roland McGrath <roland@hack.frob.com>
29797 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
29798 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
29799 * sysdeps/mach/hurd/eloop-threshold.h: New file.
29800 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29801 __eloop_threshold instead of SYMLOOP_MAX.
29803 * sysdeps/generic/eloop-threshold.h: New file.
29804 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
29806 * elf/chroot_canon.c (chroot_canon): Likewise.
29808 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29811 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29812 Change to 2.6.0 everywhere.
29813 * sysdeps/unix/sysv/linux/configure: Regenerated.
29814 * sysdeps/unix/sysv/linux/kernel-features.h
29815 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
29816 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
29818 (__ASSUME_POSIX_TIMERS): Define unconditionally.
29819 (__ASSUME_FUTEX_REQUEUE): Remove.
29820 (__ASSUME_STATFS64): Define unconditionally.
29821 (__ASSUME_AT_SECURE): Likewise.
29822 (__ASSUME_CORRECT_SI_PID): Likewise.
29823 (__ASSUME_TGKILL): Define without depending on kernel version for
29825 (__ASSUME_UTIMES): Likewise.
29826 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
29828 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
29829 (__ASSUME_TMPFS_NAME): Likewise.
29830 * README: Update reference to Linux kernel versions.
29832 2012-08-02 Marek Polacek <polacek@redhat.com>
29835 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
29836 libc_cv_asm_type_prefix with %.
29837 * configure: Regenerated.
29838 * include/libc-symbols.h: Remove comment about
29839 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29840 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
29841 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
29842 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
29843 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
29844 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29845 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
29846 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
29847 * elf/tst-unique2mod1.c: Likewise.
29848 * elf/tst-unique1mod2.c: Likewise.
29849 * elf/tst-unique1mod1.c: Likewise.
29850 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
29851 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
29852 Replace ASM_TYPE_DIRECTIVE with .type.
29853 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29854 * sysdeps/i386/sysdep.h: Likewise.
29855 * sysdeps/x86_64/sysdep.h: Likewise.
29856 * sysdeps/sh/sysdep.h: Likewise.
29857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29858 Do not define ASM_TYPE_DIRECTIVE.
29859 * sysdeps/powerpc/sysdep.h: Likewise.
29860 * sysdeps/powerpc/powerpc32/sysdep.h:
29861 Replace ASM_TYPE_DIRECTIVE with .type.
29862 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29863 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29864 * sysdeps/i386/fpu/e_powf.S: Likewise.
29865 * sysdeps/i386/fpu/e_expl.S: Likewise.
29866 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29867 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29868 * sysdeps/i386/fpu/e_pow.S: Likewise.
29869 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29870 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29871 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29872 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29873 * sysdeps/i386/fpu/e_log2.S: Likewise.
29874 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29875 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29876 * sysdeps/i386/fpu/e_powl.S: Likewise.
29877 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29878 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29879 * sysdeps/i386/fpu/e_logl.S: Likewise.
29880 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29881 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29882 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29883 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29884 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29885 * sysdeps/i386/fpu/e_log.S: Likewise.
29886 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29887 * sysdeps/i386/fpu/e_logf.S: Likewise.
29888 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29889 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29890 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29891 * sysdeps/i386/fpu/e_log10.S: Likewise.
29892 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29893 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29894 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29895 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29896 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29897 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29898 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29899 * sysdeps/i386/i686/strtok.S: Likewise.
29900 * sysdeps/i386/i386-mcount.S: Likewise.
29901 * sysdeps/i386/strtok.S: Likewise.
29902 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
29903 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29904 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29905 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29906 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29907 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29908 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29909 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29910 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29911 * sysdeps/x86_64/_mcount.S: Likewise.
29912 * sysdeps/x86_64/strtok.S: Likewise.
29913 * sysdeps/sh/_mcount.S: Likewise.
29915 2012-08-01 Roland McGrath <roland@hack.frob.com>
29917 * libio/iofopen.c: Include <fcntl.h>.
29918 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29919 (_IO_fopen64, fopen64): Define as aliases.
29920 * libio/iofopen64.c: Include <fcntl.h>.
29921 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29922 Conditionalize body on this.
29923 * sysdeps/wordsize-64/iofopen.c: File removed.
29924 * sysdeps/wordsize-64/iofopen64.c: File removed.
29926 2012-08-01 Marek Polacek <polacek@redhat.com>
29928 * libc/Makeconfig: Use elf in place of binfmt-subdir.
29929 Use dlfcn directly instead of a variable.
29930 (binfmt-subdir): Do not define.
29933 2012-08-01 Joseph Myers <joseph@codesourcery.com>
29935 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29936 Remove all definitions.
29937 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29938 <kernel-features.h>.
29939 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29940 (miss_F_GETOWN_EX): Remove all definitions.
29941 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29943 [!__ASSUME_FCNTL64]: Remove conditional code.
29944 [__ASSUME_FCNTL64]: Make code unconditional.
29945 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29946 <kernel-features.h>.
29947 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29948 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29949 (lockf64) [__NR_fcntl64]: Make code unconditional.
29950 (lockf64) [__ASSUME_FCNTL64]: Likewise.
29952 * sysdeps/unix/sysv/linux/kernel-features.h
29953 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29954 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29955 Make code unconditional.
29956 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29957 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29959 [__NR_vfork]: Make code unconditional.
29960 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29961 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29963 [__NR_vfork]: Make code unconditional.
29964 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29965 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29967 2012-08-01 Roland McGrath <roland@hack.frob.com>
29969 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29970 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29972 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29973 Define mkstemp64 as an alias.
29974 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29975 Define mkstemps64 as an alias.
29976 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29977 Define mkostemp64 as an alias.
29978 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29979 Define mkostemps64 as an alias.
29980 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29981 Conditionalize body on this.
29982 * misc/mkostemp64.c: Likewise.
29983 * misc/mkostemps64.c: Likewise.
29984 * misc/mkstemps64.c: Likewise.
29985 * sysdeps/wordsize-64/mkstemp64.c: File removed.
29986 * sysdeps/wordsize-64/mkostemp64.c: File removed.
29987 * sysdeps/wordsize-64/mkostemp.c: File removed.
29988 * sysdeps/wordsize-64/mkstemp.c: File removed.
29989 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29990 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29991 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29992 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29995 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29996 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29997 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29998 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30000 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30001 compat_symbol macros from <shlib-compat.h> rather than the underlying
30002 default_symbol_version and symbol_version macros, so that DEFAULT
30003 lines in shlib-versions are respected.
30004 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30006 2012-08-01 Florian Weimer <fweimer@redhat.com>
30008 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30009 Declare with warn_unused_result.
30010 (setgid, setregid, setegid, setresgid): Likewise.
30011 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30013 * WUR-REPORT: Remove set*id functions.
30015 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30017 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30019 2012-07-31 Roland McGrath <roland@hack.frob.com>
30022 * include/sys/socket.h (__libc_accept, __libc_accept4):
30023 Add attribute_hidden.
30024 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30026 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30028 * inet/getnetgrent_r.c (setup): Likewise.
30030 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30032 2012-07-31 David S. Miller <davem@davemloft.net>
30034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30036 2012-07-31 Joseph Myers <joseph@codesourcery.com>
30039 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30040 value between 1.0 and 2.0 and smaller part has absolute value less
30042 * math/s_clog10.c (__clog10): Likewise.
30043 * math/s_clog10f.c (__clog10f): Likewise.
30044 * math/s_clog10l.c (__clog10l): Likewise.
30045 * math/s_clogf.c (__clogf): Likewise.
30046 * math/s_clogl.c (__clogl): Likewise.
30047 * math/libm-test.inc (clog_test): Add more tests.
30048 (clog10_test): Likewise.
30049 * sysdeps/i386/fpu/libm-test-ulps: Update.
30050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30052 2012-07-31 Florian Weimer <fweimer@redhat.com>
30054 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30055 Exit with zero in case no suitable GID is found, and write a
30056 message to standard error.
30058 2012-07-30 Roland McGrath <roland@hack.frob.com>
30060 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30062 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30063 (MAXPATHLEN): Removed.
30064 (NOGROUP, NODEV): New macros.
30065 (setbit, clrbit, isset, isclr): New macros.
30066 (howmany, roundup, powerof2): New macros.
30067 (DEV_BSIZE): New macro.
30069 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30070 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30072 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30073 definition on [!__NO_LONG_DOUBLE_MATH].
30075 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30076 PTR_MANGLE and PTR_DEMANGLE.
30078 * socket/accept4.c (accept4): Rename to __libc_accept4.
30079 Define accept4 as a weak alias.
30081 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30082 on [_DIRENT_HAVE_D_TYPE].
30083 * io/ftw.c (ftw_dir): Likewise.
30085 * io/xmknod.c (__xmknod): Don't check PATH for being null.
30087 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30089 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30090 Use the BSD numbers rather than the arbitrary ones we had.
30091 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30092 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30093 (SIGXCPU, SIGXFSZ): New macros.
30096 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30097 initializer on [_LIBC_REENTRANT].
30099 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30100 definitions inside [_POSIX_MAPPED_FILES].
30102 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30104 * dirent/opendir.c: Include <fcntl.h>.
30106 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30107 (__libc_getspecific): Likewise.
30108 (__libc_key_create): Likewise.
30110 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30111 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30112 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30113 (tmpfile64): Define as alias.
30114 * sysdeps/wordsize-64/tmpfile.c: File removed.
30115 * sysdeps/wordsize-64/tmpfile64.c: File removed.
30116 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30117 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30119 * stdio-common/vfscanf.c: Include <stdbool.h>.
30120 * nss/makedb.c: Likewise.
30121 * stdio-common/_i18n_number.h: Likewise.
30122 * argp/argp-help.c: Likewise.
30123 * posix/wordexp.c: Likewise.
30124 * sysdeps/posix/spawni.c: Likewise.
30125 * nss/nss_files/files-initgroups.c: Likewise.
30126 * stdio-common/reg-modifier.c: Include <stdlib.h>.
30127 * nss/nss_files/files-initgroups.c: Likewise.
30128 * nss/nss_db/db-netgrp.c: Likewise.
30129 * nss/nss_db/db-initgroups.c: Likewise.
30130 * io/fchmodat.c: Include <sys/stat.h>.
30132 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30133 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30135 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30138 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30139 Add multiple inclusion protection.
30141 2012-07-27 David S. Miller <davem@davemloft.net>
30143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30145 2012-07-27 Gary Benson <gbenson@redhat.com>
30148 * elf/rtld.c: Include <stap-probe.h>.
30149 (dl_main): Added static probes "init_start" and "init_complete".
30150 * elf/dl-load.c: Include <stap-probe.h>.
30151 (lose): Take new parameter "nsid".
30152 Added static probe "map_failed".
30153 (_dl_map_object_from_fd): Pass namespace id to lose.
30154 Added static probe "map_start".
30155 (open_verify): Pass namespace id to lose.
30156 * elf/dl-open.c: Include <stap-probe.h>.
30157 (dl_open_worker) Added static probes "map_complete", "reloc_start"
30158 and "reloc_complete".
30159 * elf/dl-close.c: Include <stap-probe.h>.
30160 (_dl_close_worker): Added static probes "unmap_start" and
30162 * elf/rtld-debugger-interface.txt: New file documenting the above.
30164 2012-07-26 Roland McGrath <roland@hack.frob.com>
30166 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30167 rather than a string variable.
30168 * sunrpc/rpc_main.c (h_output): Likewise.
30169 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30171 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
30173 * inet/check_native.c: New file.
30175 2012-07-26 Joseph Myers <joseph@codesourcery.com>
30178 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30179 if larger part has absolute value 1.0.
30180 * math/s_clog10.c (__clog10): Likewise.
30181 * math/s_clog10f.c (__clog10f): Likewise.
30182 * math/s_clog10l.c (__clog10l): Likewise.
30183 * math/s_clogf.c (__clogf): Likewise.
30184 * math/s_clogl.c (__clogl): Likewise.
30185 * math/libm-test.inc (clog_test): Add more tests.
30186 (clog10_test): Likewise.
30187 * sysdeps/i386/fpu/libm-test-ulps: Update.
30188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30190 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30191 (pltexit): Likewise.
30192 (La_regs): Likewise.
30193 (La_retval): Likewise.
30194 (int_retval): Likewise.
30195 Update #error for removed macros to refer only to definitions in
30197 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30199 (pltexit): Likewise.
30200 (La_regs): Likewise.
30201 (La_retval): Likewise.
30202 (int_retval): Likewise.
30203 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30205 (pltexit): Likewise.
30206 (La_regs): Likewise.
30207 (La_retval): Likewise.
30208 (int_retval): Likewise.
30209 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30211 (pltexit): Likewise.
30212 (La_regs): Likewise.
30213 (La_retval): Likewise.
30214 (int_retval): Likewise.
30215 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30217 (pltexit): Likewise.
30218 (La_regs): Likewise.
30219 (La_retval): Likewise.
30220 (int_retval): Likewise.
30221 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30223 (pltexit): Likewise.
30224 (La_regs): Likewise.
30225 (La_retval): Likewise.
30226 (int_retval): Likewise.
30227 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30229 (pltexit): Likewise.
30230 (La_regs): Likewise.
30231 (La_retval): Likewise.
30232 (int_retval): Likewise.
30233 * sysdeps/generic/tst-audit.h: Update comment to refer only to
30234 macro definitions in tst-audit.h.
30235 * sysdeps/i386/tst-audit.h: New file.
30236 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30237 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30238 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30239 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30240 * sysdeps/sh/tst-audit.h: Likewise.
30241 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30242 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30243 * sysdeps/x86_64/tst-audit.h: Likewise.
30245 2012-07-26 Andreas Jaeger <aj@suse.de>
30247 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30250 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30251 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30252 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30254 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30255 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30256 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30258 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30261 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30263 (si_call_addr, si_syscall, si_arch): Define new macro.
30264 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30266 (si_call_addr, si_syscall, si_arch): Define new marcro.
30267 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30269 (si_call_addr, si_syscall, si_arch): Define new macro.
30270 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30272 (si_call_addr, si_syscall, si_arch): Define new macro.
30274 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30277 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30278 Change to 2.4.21 where previously 2.4.1.
30279 * sysdeps/unix/sysv/linux/configure: Regenerated.
30280 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30281 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30282 Linux kernel version.
30283 (__ASSUME_STD_AUXV): Remove.
30284 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30286 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30287 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30288 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30289 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30290 (__ASSUME_NETLINK_SUPPORT): Likewise.
30291 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30292 (__no_netlink_support): Remove conditional definition.
30293 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30295 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30296 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30297 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30298 (if_nameindex_ioctl): Remove.
30299 (if_nameindex_netlink): Do not handle __no_netlink_support.
30300 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30302 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30303 Remove conditional code.
30304 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30306 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30308 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30309 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30310 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30312 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30313 [!__ASSUME_STD_AUXV]: Remove conditional code.
30314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30315 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30316 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30318 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30319 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30321 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30323 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30324 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30326 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30328 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30331 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30334 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30335 code unconditional.
30336 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30338 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30340 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30343 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30345 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30348 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30349 code unconditional.
30350 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30352 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30354 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30357 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30358 code unconditional.
30359 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30361 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30363 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30366 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
30368 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30369 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30370 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30371 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30372 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30373 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30374 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30375 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30376 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30377 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30378 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30379 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30380 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30381 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30382 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30383 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30384 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30385 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30386 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30387 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30388 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30389 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30390 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30392 2012-07-25 Florian Weimer <fweimer@redhat.com>
30394 * Versions.def: Add GLIBC_2.17.
30395 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30396 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30397 Introduce __libc_secure_getenv.
30398 * stdlib/Versions (2.17): Add secure_getenv
30399 (GLIBC_PRIVATE): Add __libc_secure_getenv.
30400 * stdlib/secure-getenv.c: Rename __secure_getenv to
30401 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
30402 symbol __secure_getenv for GLIBC_2.0.
30403 * stdlib/tst-secure-getenv.c: New.
30404 * stdlib/Makefile (tests): Add testcase.
30405 * manual/startup.texi (Environment Access): Document
30407 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30408 __libc_secure_getenv.
30409 * inet/ruserpass.c (ruserpass): Likewise.
30410 * malloc/mtrace.c (mtrace): Likewise.
30411 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30412 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30413 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30414 * sysdeps/posix/tempname.c: Likewise. Evaluate
30415 HAVE_SECURE_GETENV.
30416 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30417 __secure_getenv to __libc_secure_getenv.
30418 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30425 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30426 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30428 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30431 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30433 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30434 (struct La_i86_retval): Likewise.
30435 (struct La_x86_64_regs): Likewise.
30436 (struct La_x86_64_retval): Likewise.
30437 (struct La_x32_regs): Likewise.
30438 (struct La_x32_retval): Likewise.
30439 (struct La_ppc32_regs): Likewise.
30440 (struct La_ppc32_retval): Likewise.
30441 (struct La_ppc64_regs): Likewise.
30442 (struct La_ppc64_retval): Likewise.
30443 (struct La_sh_regs): Likewise.
30444 (struct La_sh_retval): Likewise.
30445 (struct La_s390_32_regs): Likewise.
30446 (struct La_s390_32_retval): Likewise.
30447 (struct La_s390_64_regs): Likewise.
30448 (struct La_s390_64_retval): Likewise.
30449 (struct La_sparc32_regs): Likewise.
30450 (struct La_sparc32_retval): Likewise.
30451 (struct La_sparc64_regs): Likewise.
30452 (struct La_sparc64_retval): Likewise.
30453 (struct audit_ifaces): Remove architecture-specific pltenter and
30455 * sysdeps/i386/ldsodefs.h: New file.
30456 * sysdeps/powerpc/ldsodefs.h: Likewise.
30457 * sysdeps/s390/ldsodefs.h: Likewise.
30458 * sysdeps/sh/ldsodefs.h: Likewise.
30459 * sysdeps/sparc/ldsodefs.h: Likewise.
30460 * sysdeps/x86_64/ldsodefs.h: Likewise.
30462 2012-07-25 Marek Polacek <polacek@redhat.com>
30465 * math/libm-test.inc (yn_test): Add another test.
30466 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30467 to ERANGE when the result is +-Inf.
30468 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30469 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30470 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30471 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30473 2012-07-24 Joseph Myers <joseph@codesourcery.com>
30475 * conform/data/time.h-data (NULL): Use macro-constant. Require
30477 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
30479 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
30481 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
30483 * configure.in <sysdeps resolving>: Correct printing
30485 * configure: Regenerate.
30487 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
30489 * math/w_ilogb.c: Include <limits.h>.
30490 * math/w_ilogbl.c: Likewise.
30492 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30494 * manual/lang.texi (__va_copy): Document primarily as ISO C99
30495 va_copy. Document allowing for unavailable va_copy only as
30496 pre-C99 compatibility.
30497 * manual/string.texi (Copying and Concatenation): Use va_copy
30498 instead of __va_copy in concat example.
30500 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
30502 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30503 (__sendto): Use create_address_port. Initialize APORT and deallocate
30506 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30507 with O_NOLINK passed to __file_name_lookup.
30509 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30510 with O_NOLINK passed to __file_name_lookup.
30512 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30513 negative N or less than NGIDS.
30515 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30516 type to string_t. Set ERANGE as errno and return it if NAME is not big
30517 enough. Use memcpy instead of strncpy.
30519 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30521 * elf/Makefile (check-data): Remove.
30522 (localplt.data): New vpath directive.
30523 ($(objpfx)check-localplt.out): Use localplt.data from vpath
30524 instead of $(check-data).
30525 * scripts/data/localplt-generic.data: Move to ...
30526 * sysdeps/generic/localplt.data: ... here.
30527 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30528 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30529 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30532 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30535 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30538 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30541 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30544 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30548 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30550 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30551 PPC32 and PPC64 files.
30552 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30553 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30555 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30557 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30558 __makecontext_ret to ...
30559 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30560 ... here and call exit if uc_link is NULL. New file.
30561 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30562 __makecontext_ret.S.
30563 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30564 __makecontext_ret to ...
30565 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30566 ... here and call exit if uc_link is NULL. New file.
30567 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30568 __makecontext_ret.S.
30570 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30572 * elf/elf.h (R_390_IRELATIVE): New definition.
30573 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30574 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
30575 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30576 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30577 (elf_machine_lazy_rel): Likewise.
30578 * sysdeps/s390/dl-irel.h: New file.
30579 * sysdeps/s390/s390-64/memcpy.S: New asm code.
30580 * sysdeps/s390/s390-64/memset.S: New asm code.
30581 * sysdeps/s390/s390-64/memcmp.S: New asm code.
30582 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30583 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30584 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30585 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30586 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30587 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30588 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30589 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30590 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30591 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30592 * sysdeps/s390/s390-32/memcpy.S: New asm code.
30593 * sysdeps/s390/s390-32/memset.S: New asm code.
30594 * sysdeps/s390/s390-32/memcmp.S: New asm code.
30596 2012-07-17 Marek Polacek <polacek@redhat.com>
30599 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30600 * sysdeps/s390/s390-64/configure.in: Likewise.
30601 * sysdeps/sparc/configure.in: Likewise.
30602 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30603 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30604 * sysdeps/i386/configure.in: Likewise.
30605 * sysdeps/x86_64/configure.in: Likewise.
30606 * sysdeps/sh/configure.in: Likewise.
30607 * sysdeps/s390/s390-32/configure: Regenerated.
30608 * sysdeps/s390/s390-64/configure: Likewise.
30609 * sysdeps/x86_64/configure: Likewise.
30610 * sysdeps/sh/configure: Likewise.
30611 * sysdeps/powerpc/powerpc64/configure: Likewise.
30612 * sysdeps/powerpc/powerpc32/configure: Likewise.
30613 * sysdeps/sparc/configure: Likwise.
30614 * sysdeps/i386/configure: Likewise.
30616 * elf/dl-open.c: Comment fixes.
30618 2012-07-17 Joseph Myers <joseph@codesourcery.com>
30620 * Makefile [CXX] (check-data): Remove.
30621 [CXX] (c++-types.data): New vpath directive.
30622 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30623 vpath. Do not allow for C++ type data being missing.
30624 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30625 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30626 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30627 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30628 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30629 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30630 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30633 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30636 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30639 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30642 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30643 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30645 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30648 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30651 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30654 * elf/tls-macros.h (TLS_LE): Move architecture-specific
30655 definitions to architecture-specific files.
30656 (TLS_IE): Likewise.
30657 (TLS_LD): Likewise.
30658 (TLS_GD): Likewise.
30659 * sysdeps/i386/tls-macros.h: New file.
30660 * sysdeps/powerpc/tls-macros.h: Likewise.
30661 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30662 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30663 * sysdeps/sh/tls-macros.h: Likewise.
30664 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30665 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30666 * sysdeps/x86_64/tls-macros.h: Likewise.
30668 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30670 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30671 zero value for regular exit case.
30673 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30674 (__start_context): Preserve zero value for regular exit case.
30676 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30677 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30679 * manual/setjmp.texi (setcontext): Clarify normal process
30680 termination when uc_link is the null pointer.
30681 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30684 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
30686 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30687 preprocessor. Test for each exception mask separately.
30689 2012-07-16 Andreas Jaeger <aj@suse.de>
30691 * po/ru.po: Update from translation team.
30693 2012-07-15 Joseph Myers <joseph@codesourcery.com>
30695 * conform/data/string.h-data (NULL): Use macro-constant. Require
30697 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30698 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30699 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30700 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30701 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30703 2012-07-13 Andreas Jaeger <aj@suse.de>
30705 * po/fr.po: Update from translation team.
30707 2012-07-12 Marek Polacek <polacek@redhat.com>
30710 * math/libm-test.inc (yn_test): Add test for BZ #14173.
30711 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30714 2012-07-12 Joseph Myers <joseph@codesourcery.com>
30717 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30718 Change to 2.4.1 where previously 2.4.0.
30719 * sysdeps/unix/sysv/linux/configure: Regenerated.
30720 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30721 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30723 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30724 (__ASSUME_AT_CLKTCK): Remove.
30725 (__ASSUME_AT_PAGESIZE): Likewise.
30726 (__ASSUME_AT_XID): Likewise.
30727 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30728 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30729 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30731 (HAVE_AUX_PAGESIZE): Likewise.
30732 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30733 [__ASSUME_AT_CLKTCK]: Make code unconditional.
30734 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
30736 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
30739 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
30740 the temporary buffer used to invoke __gethostbyname2_r,
30741 __gethostbyaddr_r and gethostbyname4_r to make room for struct
30742 host_data / struct gaih_addrtuple.
30743 * resolv/nss_dns/dns-host.c (global scope): Move definition of
30744 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
30745 header file nss/nsswitch.h.
30746 * nss/nsswitch.h (global scope): Add definition of implementation
30747 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
30748 resolv/nss_dns/dns-host.c).
30750 2012-07-11 Andreas Jaeger <aj@suse.de>
30752 * po/fr.po: Update from translation team.
30754 * po/sv.po: Update from translation team
30755 * po/fr.po: Another update from translation team.
30757 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30759 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
30760 for subnormals or multiply small sinh result by itself.
30761 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30764 2012-07-11 David S. Miller <davem@davemloft.net>
30766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30768 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
30771 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
30772 (INTERNAL_MARK): Shift it here.
30774 2012-07-10 Marek Polacek <polacek@redhat.com>
30777 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
30778 libc_cv_asm_global_directive with .globl.
30779 * configure: Regenerated.
30780 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
30782 * sysdeps/i386/configure: Regenerated.
30783 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
30785 * sysdeps/x86_64/configure: Regenerated.
30786 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
30787 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
30788 * elf/tst-unique2mod2.c: Likewise.
30789 * elf/tst-unique2mod1.c: Likewise.
30790 * elf/tst-unique1mod2.c: Likewise.
30791 * elf/tst-unique1mod1.c: Likewise.
30792 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30793 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30794 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30795 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30796 * sysdeps/mach/sysdep.h: Likewise.
30797 * sysdeps/i386/sysdep.h: Likewise.
30798 * sysdeps/i386/i386-mcount.S: Likewise.
30799 * sysdeps/x86_64/_mcount.S: Likewise.
30800 * sysdeps/x86_64/sysdep.h: Likewise.
30801 * sysdeps/sh/_mcount.S: Likewise.
30802 * sysdeps/sh/sysdep.h: Likewise.
30803 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
30804 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
30805 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
30806 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30807 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
30808 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
30809 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
30810 * locale/localeinfo.h: Likewise.
30811 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
30812 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
30814 2012-07-09 Roland McGrath <roland@hack.frob.com>
30817 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
30819 * manual/message.texi (The Uniforum approach): Likewise.
30820 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
30821 (glibc iconv Implementation): Likewise.
30823 2012-07-09 Joseph Myers <joseph@codesourcery.com>
30826 * math/s_clog.c (__clog): Avoid scaling a value down where that
30827 could result in underflow.
30828 * math/s_clog10.c (__clog10): Likewise.
30829 * math/s_clog10f.c (__clog10f): Likewise.
30830 * math/s_clog10l.c (__clog10l): Likewise.
30831 * math/s_clogf.c (__clogf): Likewise.
30832 * math/s_clogl.c (__clogl): Likewise.
30833 * math/libm-test.inc (clog_test): Add more tests.
30834 (clog10_test): Likewise.
30835 * sysdeps/i386/fpu/libm-test-ulps: Update.
30836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30838 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
30841 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
30842 by 7 not 8 to examine high bit of fractional part.
30845 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
30846 for call to __mcount_internal.
30847 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
30848 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
30849 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
30851 2012-07-06 Joseph Myers <joseph@codesourcery.com>
30854 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
30855 approximation for values within 0x1p-13f of an odd multiple of
30857 * math/libm-test.inc (tan_test): Do not allow spurious underflow
30858 exception. Add more tests.
30859 * sysdeps/i386/fpu/libm-test-ulps: Update.
30862 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
30863 inputs and return -1 for them. Do not check for +Inf in case not
30864 reachable for +Inf.
30865 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30866 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
30867 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30868 and return -1 for them. Do not check for +Inf in case not
30869 reachable for +Inf.
30870 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
30872 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30873 and return -1 for them. Do not check for +Inf in case not
30874 reachable for +Inf.
30875 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
30876 spurious underflow.
30877 * sysdeps/i386/fpu/libm-test-ulps: Update.
30878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30880 2012-07-06 Mike Frysinger <vapier@gentoo.org>
30882 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
30884 2012-07-05 Joseph Myers <joseph@codesourcery.com>
30888 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
30889 could result in spurious underflow. Scale down values above
30890 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
30891 * math/s_csqrtf.c (__csqrtf): Likewise.
30892 * math/s_csqrtl.c (__csqrtl): Likewise.
30893 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
30894 spurious underflow.
30895 * sysdeps/i386/fpu/libm-test-ulps: Update.
30896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30898 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
30900 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
30902 * catgets/xopen-msg.awk: New file.
30903 * catgets/xopen-msg.sed: Removed.
30905 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
30907 * intl/po2test.awk: New file.
30908 * intl/po2test.sed: Removed.
30910 2012-07-04 Joseph Myers <joseph@codesourcery.com>
30913 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30914 or multiply small sinh result by itself.
30915 * math/s_ctanf.c (__ctanf): Likewise.
30916 * math/s_ctanh.c (__ctanh): Likewise.
30917 * math/s_ctanhf.c (__ctanhf): Likewise.
30918 * math/s_ctanhl.c (__ctanhl): Likewise.
30919 * math/s_ctanl.c (__ctanl): Likewise.
30920 * math/libm-test.inc (ctan_test_tonearest): New function.
30921 (ctan_test_towardzero): Likewise.
30922 (ctan_test_downward): Likewise.
30923 (ctan_test_upward): Likewise.
30924 (ctanh_test_tonearest): Likewise.
30925 (ctanh_test_towardzero): Likewise.
30926 (ctanh_test_downward): Likewise.
30927 (ctanh_test_upward): Likewise.
30928 (main): Call these new functions.
30929 * sysdeps/i386/fpu/libm-test-ulps: Update.
30930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30932 2012-07-03 Mike Frysinger <vapier@gentoo.org>
30934 * .gitignore: Delete /ports entry.
30936 2012-07-03 Andreas Jaeger <aj@suse.de>
30938 * po/bg.po: Update from translation team.
30939 * po/cs.po: Likewise.
30940 * po/de.po: Likewise.
30941 * po/hr.po: Likewise.
30942 * po/nl.pl: Likewise.
30943 * po/pl.po: Likewise.
30944 * po/vi.po: Likewise.
30946 2012-07-03 Joseph Myers <joseph@codesourcery.com>
30948 * Makeconfig [!+link] (+link-before-libc): New variable.
30949 [!+link] (+link-after-libc): Likewise.
30950 [!+link] (+link-tests): Likewise.
30951 [!+link] (+link): Define in terms of $(+link-before-libc) and
30952 $(+link-after-libc).
30953 [!+link-static] (+link-static-before-libc): New variable.
30954 [!+link-static] (+link-static-after-libc): Likewise.
30955 [!+link-static] (+link-static-tests): Likewise.
30956 [!+link-static] (+link-static): Define in terms of
30957 $(+link-static-before-libc) and $(+link-static-after-libc).
30958 [build-shared] (link-libc-before-gnulib): New variable.
30959 [build-shared] (link-libc-tests): Likewise.
30960 [build-shared] (link-libc): Define in terms of
30961 $(link-libc-before-gnulib).
30962 [!build-shared] (link-libc-tests): New variable.
30963 (link-libc-static-tests): New variable.
30964 [!gnulib] (gnulib-arch): New variable.
30965 [!gnulib] (gnulib-tests): Likewise.
30966 [!gnulib] (static-gnulib-arch): Likewise.
30967 [!gnulib] (static-gnulib-tests): Likewise.
30968 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
30969 Define with "=" instead of ":=".
30970 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
30971 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
30972 * Rules (binaries-all-notests): New variable.
30973 (binaries-all-tests): Likewise.
30974 (binaries-static-notests): Likewise.
30975 (binaries-static-tests): Likewise.
30976 (binaries-all): Define using $(binaries-all-notests) and
30977 $(binaries-all-tests).
30978 (binaries-static): Define using $(binaries-static-notests) and
30979 $(binaries-static-tests).
30980 (binaries-shared-tests): New variable.
30981 (binaries-shared-notests): Likewise.
30982 (binaries-shared): Remove variable.
30983 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30984 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30985 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30986 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30987 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30988 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30989 * elf/Makefile (sln-modules): New variable.
30990 (extra-objs): Add $(sln-modules:=.o).
30991 (ldconfig-modules): Add static-stubs.
30992 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30993 * elf/static-stubs.c: New file.
30996 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30997 by 7 not 8 to examine high bit of fractional part. Use volatile
30998 variables when splitting into final array of floats if
30999 __FLT_EVAL_METHOD__ != 0.
31000 * math/libm-test.inc (cos_test): Add another test.
31001 (sin_test): Likewise.
31002 * sysdeps/i386/fpu/libm-test-ulps: Update.
31005 * math/libm-test.inc (cosh_test): Add more tests.
31007 * version.h (RELEASE): Set to "development".
31008 (VERSION): Set to "2.16.90".
31010 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31012 * NEWS: Update copyright. Remove last-updated date.
31013 Mention math library bug fixes and timezone data changes.
31014 * README: Mention GNU/Hurd, x32, and HPPA support status.
31016 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31018 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31020 2012-06-27 Andreas Jaeger <aj@suse.de>
31022 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31024 2012-06-25 Andreas Jaeger <aj@suse.de>
31026 * sysdeps/s390/fpu/libm-test-ulps: Update.
31028 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31029 Thomas Schwinge <thomas@codesourcery.com>
31031 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31032 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31033 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31036 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31038 * sysdeps/mach/start.c: Remove file.
31039 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31040 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31041 * sysdeps/sh/init-first.c: Likewise.
31043 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31044 registers for frame unwinding purposes, add CFI directives.
31045 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31046 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31047 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31050 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31051 __fortify_fail returning.
31052 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31054 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31055 sysdeps/sh/____longjmp_chk.S.
31056 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31057 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31058 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31059 (gen-as-const-headers): Append sigaltstack-offsets.sym.
31061 * sysdeps/sh/abort-instr.h: New file.
31062 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31063 process in case exit returns.
31065 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31066 initialize the GOT register before use.
31068 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31069 calculation of ARGC > 4.
31071 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31072 meaningful names to some local labels.
31074 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31075 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31077 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31078 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31079 (__arch_compare_and_exchange_val_16_acq): Likewise.
31080 (__arch_compare_and_exchange_val_32_acq): Likewise.
31081 (atomic_exchange_and_add): Fix gUSA sequence.
31082 (atomic_add): Likewise.
31083 (atomic_add_negative): Likewise.
31084 (atomic_add_zero): Likewise.
31085 (atomic_bit_test_set): Likewise.
31087 2012-06-22 Andreas Schwab <schwab@redhat.com>
31090 * include/link.h (struct link_map): Add l_free_initfini.
31091 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31093 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31094 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31095 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31098 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
31100 * configure.in: Use AC_LANG_SOURCE.
31101 * configure: Regenerate.
31103 2012-06-22 Roland McGrath <roland@hack.frob.com>
31105 * configure.in (libc_cv_localstatedir): New substituted variable.
31106 * configure: Regenerated.
31107 * config.make.in (localstatedir): New variable, substituted from
31108 libc_cv_localstatedir.
31109 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31110 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31111 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31112 * sysdeps/gnu/configure: Regenerated.
31114 2012-06-21 Jeff Law <law@redhat.com>
31117 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31118 free. Simplify list management for _LIBC case.
31120 2012-06-21 Joseph Myers <joseph@codesourcery.com>
31123 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31124 Clear sign bit of 64-bit integer value before comparing against
31127 * sysdeps/mach/configure: Regenerated.
31129 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
31132 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31134 2012-06-21 Jeff Law <law@redhat.com>
31137 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
31138 uint16_t for elements in the "seen" array to avoid char overflows.
31139 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31140 * elf/dl-open.c (dl_open_worker): Likewise.
31142 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
31144 * scripts/list-sources.sh: Scan PORTS for translations.
31145 * po/libc.pot: Regenerated.
31147 2012-06-21 Andreas Jaeger <aj@suse.de>
31150 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31152 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31153 * bits/byteswap-16.h (__bswap_16): Likewise.
31154 * bits/byteswap.h (__bswap_constant_16): Likewise.
31156 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
31159 * sysdeps/i386/fpu_control.h: Removed.
31160 * sysdeps/x86_64/fpu_control.h: Moved to ...
31161 * sysdeps/x86/fpu_control.h: Here.
31163 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31164 (_FPU_SETCW): Likewise.
31166 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
31169 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31170 * sysdeps/x86/fpu/bits/mathinline.h: This.
31171 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31175 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31176 functions if __x86_64__ is defined.
31178 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
31180 * string/endian.h: Add !__ASSEMBLER__ condition for including
31181 conversion interfaces.
31183 2012-06-15 Joseph Myers <joseph@codesourcery.com>
31186 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31187 of ABS(x) in calculating zero to negative powers other than odd
31189 * math/libm-test.inc (pow_test): Add more tests.
31191 2012-06-15 Andreas Jaeger <aj@suse.de>
31193 * manual/contrib.texi (Contributors): Update entry of Liubov
31194 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31197 2012-06-15 Cyril Hrubis <metan@ucw.cz>
31199 * string/string.h: Add __wur to GNU version of strerror_r.
31201 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
31204 * string/Makefile (tests): Add tst-strtok_r.
31205 * string/tst-strtok_r.c: New file.
31206 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31207 RAX_LP/RDX_LP on SAVE_PTR.
31209 2012-06-14 Roland McGrath <roland@hack.frob.com>
31211 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31213 2012-06-14 Joseph Myers <joseph@codesourcery.com>
31215 * libm_test.inc (csqrt_test): Allow more spurious underflow
31217 (j0_test): Likewise.
31218 (j1_test): Likewise.
31219 (y0_test): Likewise.
31220 (y1_test): Likewise.
31222 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
31224 * po/Makefile (libc.pot): Use UTF-8 charset.
31226 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
31229 Suppress sign-conversion warning from FD_SET.
31230 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31231 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31232 not unsigned long int.
31233 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31235 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
31239 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31240 __extern_always_inline instead of __extern_inline.
31241 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31242 (__signbit): Likewise.
31243 (__signbitl): Support C++ namespace.
31244 (lrintf): New inline function.
31246 (llrintf): Likewise.
31247 (llrint): Likewise.
31257 (floorf): Likewise.
31258 (nearbyint): Likewise.
31259 (nearbyintf): Likewise.
31261 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
31263 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31264 non-default versions.
31266 2012-06-11 Roland McGrath <roland@hack.frob.com>
31269 * manual/argp.texi (Argp): Reword argp_parse description slightly.
31271 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
31273 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31274 (FE_UPWARD, FE_DOWNWARD): Don't define.
31275 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31276 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31278 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31280 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31281 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31283 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31285 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31286 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31287 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31288 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31290 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
31293 * sysdeps/i386/fpu/bits/fenv.h: Removed.
31294 * sysdeps/i386/fpu/Implies: New file.
31295 * sysdeps/x86_64/fpu/Implies: Likewise.
31296 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31297 * sysdeps/x86/fpu/bits/fenv.h: This.
31299 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31302 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31305 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31306 character 0xffff that matches the last element of the
31309 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31311 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31314 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31316 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31317 values higher than 25.6283.
31319 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31321 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31322 subnormal exponent extraction and add some __builtin_expect.
31323 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31324 Fix for subnormal mantissa calculation.
31326 2012-06-04 Mike Frysinger <vapier@gentoo.org>
31328 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31329 cpu2 is -1 and errno is not ENOSYS.
31331 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
31334 * sysdeps/i386/i486/bits/string.h: Renamed to ...
31335 * sysdeps/x86/bits/string.h: This.
31336 * sysdeps/x86_64/bits/string.h: Removed.
31338 * sysdeps/i386/i486/bits/string.h: Define inline functions only
31339 if not compiling for x86-64, but compiling for >= i486.
31341 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31342 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31344 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31345 New macro from Linux kernel 3.4.0.
31346 (FP_XSTATE_MAGIC2): Likewise.
31347 (FP_XSTATE_MAGIC2_SIZE): Likewise.
31348 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31349 (struct _fpx_sw_bytes): New struct.
31350 (struct _xsave_hdr): Likewise.
31351 (struct _ymmh_state): Likewise.
31352 (struct _xstate): Likewise.
31354 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31355 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31356 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31357 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31358 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31359 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31361 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31362 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31363 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31364 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31365 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31366 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31368 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31371 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31372 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31373 (sysdep_headers): Include sys/platform/ppc.h.
31374 * sysdeps/powerpc/test-gettimebase.c: Test for
31375 __ppc_get_timebase() to catch future ISA opcode/insn changes.
31376 * manual/Makefile (appendices): Include platform.texi.
31377 * manual/contrib.texi (Contributors): Update @node pointers.
31378 * manual/maint.texi (Maintenance): Likewise.
31379 (Platform): New node.
31380 * manual/platform.texi: New file. Document the new features.
31382 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31383 Jakub Jelinek <jakub@redhat.com>
31386 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31387 where __builtin_expect is unavailable.
31389 2012-06-03 David S. Miller <davem@davemloft.net>
31391 * stdlib/longlong.h: Updated from GCC.
31393 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
31396 * sysdeps/powerpc/powerpc32/mcount.c: New file.
31397 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31400 (GLIBC_2.16): Likewise.
31402 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31404 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31406 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31409 (default-abi): New variable.
31410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31411 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31413 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31415 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31417 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31420 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31421 definition. Document in comment.
31423 2012-06-01 David S. Miller <davem@davemloft.net>
31425 * stdlib/longlong.h: Updated from GCC.
31427 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31430 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31431 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31432 sys/debugreg.h sys/io.h here.
31433 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31434 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31436 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31437 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31438 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31439 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31440 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31441 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31443 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31444 Define only if __x86_64__ is defined.
31446 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31449 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31450 Use int64_t for variable i.
31451 * math/libm-test.inc (fmod_test): Add more tests.
31453 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31454 z computation is not scheduled after fetestexcept.
31455 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31456 Use math_force_eval instead of asm to ensure calculation scheduled
31457 before exception test.
31458 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31459 Ensure a1 + u.d computation is not scheduled after fetestexcept.
31461 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
31463 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31464 computation is not scheduled after fetestexcept.
31466 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31469 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31470 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31472 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31474 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31475 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31477 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31480 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31482 (__WCHAR_MIN): Support __WORDSIZE == 64.
31483 (__WCHAR_MAX): Likewise.
31485 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31486 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31489 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31490 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31493 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31494 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31496 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31497 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31499 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31500 Defined to 1 if __x86_64__ isn't defined.
31501 (_STAT_VER_LINUX_OLD): New.
31502 (st_atime): Remove duplicate.
31503 (st_mtime): Likewise.
31504 (st_ctime): Likewise.
31506 2012-05-31 David S. Miller <davem@davemloft.net>
31508 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31511 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
31513 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31517 * elf/dl-reloc.c: Include <_itoa.h>.
31518 (_dl_reloc_bad_type): Remove use of INTUSE.
31519 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31520 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31521 * stdio-common/psiginfo.c (psiginfo): Likewise.
31522 * stdio-common/psignal.c (psignal): Likewise.
31523 * string/strsignal.c (strsignal): Likewise.
31524 * include/signal.h (_sys_siglist): Declare hidden proto.
31525 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
31526 INTVARDEF with libc_hidden_data_def.
31527 * stdio-common/itoa-udigits.c: Likewise.
31528 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31529 (_itoa_lower_digits_internal): Remove declaration.
31530 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31531 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31532 (_sys_sigabbrev_internal): Remove aliases.
31533 (_sys_siglist): Define hidden alias.
31535 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
31537 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31540 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31543 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31544 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31546 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31547 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31548 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31549 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31550 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31551 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31553 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31554 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31555 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31557 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31565 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31566 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31567 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31569 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31570 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31571 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31572 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31573 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31574 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31576 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31577 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31579 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31580 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31582 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31583 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31584 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31586 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31587 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31589 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31591 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31592 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31593 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31595 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31597 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31599 2012-05-31 Joseph Myers <joseph@codesourcery.com>
31601 * math/math.h (M_El): Use two more decimal places.
31602 (M_LOG2El): Likewise.
31603 (M_LOG10El): Likewise.
31604 (M_LN2l): Likewise.
31605 (M_LN10l): Likewise.
31607 (M_PI_2l): Likewise.
31608 (M_PI_4l): Likewise.
31609 (M_1_PIl): Likewise.
31610 (M_2_PIl): Likewise.
31611 (M_2_SQRTPIl): Likewise.
31612 (M_SQRT2l): Likewise.
31613 (M_SQRT1_2l): Likewise.
31615 2012-05-31 David S. Miller <davem@davemloft.net>
31617 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31618 values between float registers.
31619 * sysdeps/sparc/sparc64/memset.S: Likewise.
31620 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31622 2012-05-31 Mike Frysinger <vapier@gentoo.org>
31624 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31625 -D_FORTIFY_SOURCE=1.
31626 (CPPFLAGS-tst-longjmp_chk.c): Define.
31627 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31628 (CPPFLAGS-tst-longjmp_chk2.c): Define.
31629 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31630 CFLAGS-tst-wchar-h.c.
31632 2012-05-31 Marek Polacek <polacek@redhat.com>
31635 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31636 __endmntent_internal): Remove declaration.
31637 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31638 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31639 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31641 2012-05-30 David S. Miller <davem@davemloft.net>
31643 * sysdeps/sparc/sparc32/soft-fp/q_util.c
31644 (___Q_simulate_exceptions): Use real FP ops rather than writing
31646 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31649 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31652 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31653 * sysdeps/x86/bits/xtitypes.h: This.
31655 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31656 * sysdeps/x86/bits/wordsize.h: This.
31658 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31659 * sysdeps/x86/bits/huge_vall.h: This.
31661 * sysdeps/i386/bits/select.h: Removed.
31662 * sysdeps/x86_64/bits/select.h: Renamed to ...
31663 * sysdeps/x86/bits/select.h: This.
31665 * sysdeps/i386/bits/setjmp.h: Removed.
31666 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31667 * sysdeps/x86/bits/setjmp.h: This.
31669 * sysdeps/i386/bits/mathdef.h: Removed.
31670 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31671 * sysdeps/x86/bits/mathdef.h: This.
31673 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
31676 * include/sys/socket.h (__connect_internal)
31677 (__libc_sa_len_internal): Remove declaration.
31678 (__connect, __libc_sa_len): Declare hidden_proto.
31679 (SA_LEN): Remove use of INTUSE.
31680 * socket/connect.c: Add libc_hidden_def.
31681 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31682 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31683 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31685 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31686 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31687 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31688 of adding _internal alias.
31690 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31693 * sysdeps/i386/bits/link.h: Removed.
31694 * sysdeps/i386/bits/linkmap.h: Likewise.
31695 * sysdeps/x86_64/bits/link.h: Renamed to ...
31696 * sysdeps/x86/bits/link.h: This.
31697 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31698 * sysdeps/x86/bits/linkmap.h: This.
31700 * sysdeps/i386/bits/endian.h: Removed.
31701 * sysdeps/x86_64/bits/endian.h: Renamed to ...
31702 * sysdeps/x86/bits/endian.h: This.
31704 * sysdeps/i386/bits/byteswap.h: Removed.
31705 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31706 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31707 * sysdeps/x86/bits/byteswap.h: This.
31708 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31709 * sysdeps/x86/bits/byteswap-16.h: This.
31710 * sysdeps/i386/Implies: Add x86.
31711 * sysdeps/x86_64/Implies: Likewise.
31713 2012-05-30 David S. Miller <davem@davemloft.net>
31715 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31716 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31717 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31718 (FP_TRAPPING_EXCEPTIONS): Define.
31719 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31720 (FP_TRAPPING_EXCEPTIONS): Define.
31721 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31722 subnormals only when inexact has been signalled or underflow
31723 exceptions are enabled.
31724 (_FP_PACK_CANONICAL): Likewise.
31726 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31729 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31730 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31732 2012-05-30 Richard Henderson <rth@twiddle.net>
31734 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
31735 with #ifndef NOT_IN_libc.
31737 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
31738 marked to avoid plt entry.
31740 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31743 * Makeconfig (default-abi): New macro.
31744 (abi-includes): Likewise.
31745 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
31746 $(abi-$(default-abi)-lib-soname) for soname if defined.
31747 ($(common-objpfx)gnu/lib-names.stmp): Generate from
31749 * Makefile (installed-stubs): Likewise.
31750 * include/stubs-biarch.h: Removed.
31751 * scripts/lib-names.awk: Only handle one library at a time.
31752 * scripts/soversions.awk: Remove WORDSIZE support.
31753 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
31755 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
31757 (syscall-list-default-condition): Likewise.
31758 (syscall-list-default-condition): Likewise.
31759 (syscall-list-includes): Likewise.
31760 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
31761 syscall-list-* with abi-*. Handle undefined abi-variants.
31762 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
31763 * sysdeps/unix/sysv/linux/i386/Implies: New file.
31764 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
31765 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
31766 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
31767 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
31769 (syscall-list-32-options): Likewise.
31770 (syscall-list-32-condition): Likewise.
31771 (syscall-list-64-options): Likewise.
31772 (syscall-list-64-condition): Likewise.
31773 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
31775 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
31778 (abi-64-ld-soname): New macro.
31779 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
31780 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
31783 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
31784 * sysdeps/x86_64/x32/shlib-versions: Likewise.
31786 2012-05-30 Joseph Myers <joseph@codesourcery.com>
31788 * sysdeps/unix/sysv/linux/kernel-features.h
31789 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
31790 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
31791 include <kernel-features.h>.
31792 [!__NR_ftruncate64]: Remove conditional code.
31793 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31794 [__NR_ftruncate64]: Make code unconditional.
31795 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31796 * sysdeps/unix/sysv/linux/truncate64.c: Do not
31797 include <kernel-features.h>.
31798 [!__NR_ftruncate64]: Remove conditional code.
31799 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31800 [__NR_ftruncate64]: Make code unconditional.
31801 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
31803 include <kernel-features.h>.
31804 [!__NR_ftruncate64]: Remove conditional code.
31805 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31806 [__NR_ftruncate64]: Make code unconditional.
31807 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31809 include <kernel-features.h>.
31810 [!__NR_ftruncate64]: Remove conditional code.
31811 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31812 [__NR_ftruncate64]: Make code unconditional.
31813 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31815 * configure.in (libc_cv_fpie): Weaken to a compile test using
31816 LIBC_TRY_CC_OPTION.
31817 * configure: Regenerated.
31819 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
31822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
31823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
31824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
31827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
31828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
31829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
31830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
31831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31834 2012-05-27 David S. Miller <davem@davemloft.net>
31836 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
31838 (__Q_simulate_exceptions): Return void. Change to simulate
31839 exceptions by writing into the %fsr.
31840 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
31841 (__Qp_handle_exceptions): Likewise.
31843 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
31844 __Qp_handle_exceptions.
31845 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
31846 __Qp_handle_exceptions.
31847 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31848 as unused and give dummy FP_RND_NEAREST initializer.
31849 (FP_INHIBIT_RESULTS): Define.
31850 (___Q_simulate_exceptions): Update declaration.
31851 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
31853 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31854 as unused and give dummy FP_RND_NEAREST initializer.
31855 (__Qp_handle_exceptions): Update declaration.
31856 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
31859 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
31861 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
31862 the temporary FPU control word.
31863 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31864 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
31865 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31866 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31867 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31868 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31869 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31870 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31871 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31872 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31873 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31875 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31877 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
31880 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
31882 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
31883 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
31884 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
31885 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
31887 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
31888 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31891 2012-05-27 Ulrich Drepper <drepper@gmail.com>
31893 * po/h.po: Update from translation team.
31895 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
31897 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
31899 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
31900 handling of denormals.
31901 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31902 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31903 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31904 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31905 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31906 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
31907 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
31910 2012-05-26 Marek Polacek <polacek@redhat.com>
31913 * math/libm-test.inc (fma_test): Don't always expect underflow
31916 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31919 * elf/tst-execstack.c: Include stackinfo.h.
31920 (do_test): Adjust test case to ensure that pthread_getattr_np
31921 behaviour remains the same after marking stack executable.
31923 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31925 * sysdeps/unix/sysv/linux/kernel-features.h
31926 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31927 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31929 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31930 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31931 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31933 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31934 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31936 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
31938 * configure.in: Define the default includes to being none.
31939 * configure: Regenerated.
31941 2012-05-25 Roland McGrath <roland@hack.frob.com>
31943 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31944 * sysdeps/x86_64/setjmp.S: Likewise.
31945 * sysdeps/i386/bsd-setjmp.S: Likewise.
31946 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31947 * sysdeps/i386/setjmp.S: Likewise.
31948 * sysdeps/i386/__longjmp.S: Likewise.
31949 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31950 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31952 * include/stap-probe.h: New file.
31953 * configure.in: Handle --enable-systemtap.
31954 * configure: Regenerated.
31955 * config.h.in (USE_STAP_PROBE): New #undef.
31956 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31957 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31958 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31960 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31963 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31964 to 2.4.0 where earlier.
31965 * sysdeps/unix/sysv/linux/configure: Regenerated.
31966 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31967 <kernel-features.h>.
31968 [__ASSUME_32BITUIDS]: Make code unconditional.
31969 [!__ASSUME_32BITUIDS]: Remove conditional code.
31970 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31971 <kernel-features.h>.
31972 [__ASSUME_32BITUIDS]: Make code unconditional.
31973 [!__ASSUME_32BITUIDS]: Remove conditional code.
31974 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31975 [__ASSUME_32BITUIDS]: Make code unconditional.
31976 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31977 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31978 <kernel-features.h>.
31979 [__ASSUME_32BITUIDS]: Make code unconditional.
31980 [!__ASSUME_32BITUIDS]: Remove conditional code.
31981 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31982 <kernel-features.h>.
31983 [__ASSUME_32BITUIDS]: Make code unconditional.
31984 [!__ASSUME_32BITUIDS]: Remove conditional code.
31985 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31986 <kernel-features.h>.
31987 [__ASSUME_32BITUIDS]: Make code unconditional.
31988 [!__ASSUME_32BITUIDS]: Remove conditional code.
31989 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31990 <kernel-features.h>.
31991 [__ASSUME_32BITUIDS]: Make code unconditional.
31992 [!__ASSUME_32BITUIDS]: Remove conditional code.
31993 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31994 <kernel-features.h>.
31995 [__ASSUME_32BITUIDS]: Make code unconditional.
31996 [!__ASSUME_32BITUIDS]: Remove conditional code.
31997 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31998 <kernel-features.h>.
31999 [__ASSUME_32BITUIDS]: Make code unconditional.
32000 [!__ASSUME_32BITUIDS]: Remove conditional code.
32001 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32002 <kernel-features.h>.
32003 [__ASSUME_32BITUIDS]: Make code unconditional.
32004 [!__ASSUME_32BITUIDS]: Remove conditional code.
32005 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32006 <kernel-features.h>.
32007 [__ASSUME_32BITUIDS]: Make code unconditional.
32008 [!__ASSUME_32BITUIDS]: Remove conditional code.
32009 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32010 <kernel-features.h>.
32011 [__ASSUME_32BITUIDS]: Make code unconditional.
32012 [!__ASSUME_32BITUIDS]: Remove conditional code.
32013 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32014 <kernel-features.h>.
32015 [__ASSUME_32BITUIDS]: Make code unconditional.
32016 [!__ASSUME_32BITUIDS]: Remove conditional code.
32017 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32018 <kernel-features.h>.
32019 [__NR_setresgid] (__setresgid): Do not declare.
32020 [__ASSUME_32BITUIDS]: Make code unconditional.
32021 [!__ASSUME_32BITUIDS]: Remove conditional code.
32022 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32023 <kernel-features.h>.
32024 [__NR_setresuid] (__setresuid): Do not declare.
32025 [__ASSUME_32BITUIDS]: Make code unconditional.
32026 [!__ASSUME_32BITUIDS]: Remove conditional code.
32027 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32028 <kernel-features.h>.
32029 [__ASSUME_32BITUIDS]: Make code unconditional.
32030 [!__ASSUME_32BITUIDS]: Remove conditional code.
32031 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32032 <kernel-features.h>.
32033 [__ASSUME_32BITUIDS]: Make code unconditional.
32034 [!__ASSUME_32BITUIDS]: Remove conditional code.
32035 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32036 <kernel-features.h>.
32037 [__ASSUME_32BITUIDS]: Make code unconditional.
32038 [!__ASSUME_32BITUIDS]: Remove conditional code.
32039 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32040 <kernel-features.h>.
32041 [__ASSUME_32BITUIDS]: Make code unconditional.
32042 [!__ASSUME_32BITUIDS]: Remove conditional code.
32043 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32044 <kernel-features.h>.
32045 [__ASSUME_32BITUIDS]: Make code unconditional.
32046 [!__ASSUME_32BITUIDS]: Remove conditional code.
32047 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32048 <kernel-features.h>.
32049 [__ASSUME_32BITUIDS]: Make code unconditional.
32050 [!__ASSUME_32BITUIDS]: Remove conditional code.
32051 * sysdeps/unix/sysv/linux/i386/setresuid.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/setreuid.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/setuid.c: Do not include
32060 <kernel-features.h>.
32061 [__ASSUME_32BITUIDS]: Make code unconditional.
32062 [!__ASSUME_32BITUIDS]: Remove conditional code.
32063 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32064 <kernel-features.h>.
32065 [__ASSUME_32BITUIDS]: Make code unconditional.
32066 [!__ASSUME_32BITUIDS]: Remove conditional code.
32067 * sysdeps/unix/sysv/linux/kernel-features.h
32068 (__ASSUME_SETRESUID_SYSCALL): Remove.
32069 (__ASSUME_SETRESGID_SYSCALL): Likewise.
32070 (__ASSUME_32BITUIDS): Likewise.
32071 (__ASSUME_LDT_WORKS): Likewise.
32072 (__ASSUME_O_DIRECTORY): Likewise.
32073 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32074 architecture but not kernel version.
32075 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32076 (__ASSUME_MMAP2_SYSCALL): Likewise.
32077 (__ASSUME_STAT64_SYSCALL): Likewise.
32078 (__ASSUME_IPC64): Likewise.
32079 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32080 <kernel-features.h>.
32081 [__ASSUME_32BITUIDS]: Make code unconditional.
32082 [!__ASSUME_32BITUIDS]: Remove conditional code.
32083 * sysdeps/unix/sysv/linux/opendir.c: Do not include
32084 <kernel-features.h>.
32085 [__ASSUME_O_DIRECTORY]: Make code unconditional.
32086 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32087 132096]: Remove conditional code.
32088 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32089 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32090 <kernel-features.h>.
32091 [__ASSUME_32BITUIDS]: Make code unconditional.
32092 [!__ASSUME_32BITUIDS]: Remove conditional code.
32093 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32094 <kernel-features.h>.
32095 [__ASSUME_32BITUIDS]: Make code unconditional.
32096 [!__ASSUME_32BITUIDS]: Remove conditional code.
32097 * sysdeps/unix/sysv/linux/setegid.c: Do not include
32098 <kernel-features.h>.
32099 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32101 (__setresgid): Do not declare.
32102 [__ASSUME_32BITUIDS]: Make code unconditional.
32103 [!__ASSUME_32BITUIDS]: Remove conditional code.
32104 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32105 <kernel-features.h>.
32106 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32108 (__setresuid): Do not declare.
32109 [__ASSUME_32BITUIDS]: Make code unconditional.
32110 [!__ASSUME_32BITUIDS]: Remove conditional code.
32111 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32112 <kernel-features.h>.
32113 [__ASSUME_32BITUIDS]: Make code unconditional.
32114 [!__ASSUME_32BITUIDS]: Remove conditional code.
32115 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32116 <kernel-features.h>.
32117 [__ASSUME_32BITUIDS]: Make code unconditional.
32118 [!__ASSUME_32BITUIDS]: Remove conditional code.
32120 2012-05-25 Richard Henderson <rth@twiddle.net>
32122 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32123 dl_hwcap to ifunc resolver.
32124 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32126 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32127 dl_hwcap to ifunc resolver.
32128 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32130 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32133 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32134 for |x| <= 2**-26, not 2**-57.
32135 * math/libm-test.inc (acos_test): Do not allow spurious underflow
32138 2012-05-24 Jeff Law <law@redhat.com>
32140 * stdio-common/Makefile (tests): Add bug25.
32141 * stdio-common/bug25.c: New test.
32143 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32146 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32147 multiple of MALLOC_ALIGNMENT in size.
32148 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32150 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32152 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32154 (FILENAME_MAX): Use macro-int-constant.
32155 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
32156 (_IOFBF): Use macro-int-constant.
32157 (_IOLBF): Likewise.
32158 (_IONBF): Likewise.
32159 (SEEK_CUR): Likewise.
32160 (SEEK_END): Likewise.
32161 (SEEK_SET): Likewise.
32162 (TMP_MAX): Likewise.
32163 (EOF): Use macro-int-constant. Require < 0.
32164 (NULL): Use macro-constant. Require == 0.
32165 (stdin): Require type to be FILE *.
32166 (stdout): Likewise.
32167 (stderr): Likewise.
32168 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32169 macro-int-constant.
32170 (EXIT_SUCCESS): Likewise.
32171 (NULL): Use macro-constant. Require == 0.
32172 (RAND_MAX): Use macro-int-constant.
32173 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32174 [C99-based standards] (strtof): Require function.
32175 [C99-based standards] (strtold): Likewise.
32176 [C99-based standards] (strtoll): Likewise.
32177 [C99-based standards] (strtoull): Likewise.
32178 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32179 [ISO || ISO99 || ISO11] (limits.h): Likewise.
32180 [ISO || ISO99 || ISO11] (math.h): Likewise.
32181 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32182 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32183 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32185 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
32188 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32189 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32190 * intl/dgettext.c (DCGETTEXT): Likewise.
32191 * intl/gettext.c (DCGETTEXT): Likewise.
32192 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32193 * posix/regex_internal.h (gettext): Likewise.
32194 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32195 Remove declaration.
32196 * include/argz.h (__argz_count_internal)
32197 (__argz_stringify_internal): Remove declaration.
32198 (__argz_count, __argz_stringify): Declare hidden proto.
32199 * intl/dcgettext.c: Remove use of INTDEF.
32200 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32201 * string/argz-stringify.c: Likewise.
32202 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32203 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32204 Declare hidden proto.
32205 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32206 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32207 Declare hidden proto.
32208 * include/stdio.h (__asprintf_internal): Don't declare.
32209 (__asprintf): Don't define as macro. Declare hidden proto.
32210 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32211 (__fsetlocking): Declare hidden proto.
32212 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32213 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32215 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32216 (_IO_setlinebuf): Remove use of INTUSE.
32217 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32218 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32219 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32220 Remove declaration.
32221 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32222 (_IO_do_flush): Remove use of INTUSE.
32223 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32224 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32225 (_IO_adjust_column, _IO_least_wmarker)
32226 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32227 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32228 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32229 (_IO_default_doallocate, _IO_wdefault_doallocate)
32230 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32231 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32232 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32233 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32234 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32235 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32236 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32237 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32238 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32239 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32240 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32241 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32242 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32244 (_IO_flush_all_internal, _IO_adjust_column_internal)
32245 (_IO_default_uflow_internal, _IO_default_finish_internal)
32246 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32247 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32248 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32249 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32250 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32251 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32252 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32253 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32254 (_IO_file_close_internal, _IO_file_close_it_internal)
32255 (_IO_file_underflow_internal, _IO_file_overflow_internal)
32256 (_IO_file_init_internal, _IO_file_attach_internal)
32257 (_IO_file_fopen_internal, _IO_file_read_internal)
32258 (_IO_file_sync_internal, _IO_file_seek_internal)
32259 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32260 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32261 (_IO_str_underflow_internal, _IO_str_overflow_internal)
32262 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32263 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32264 (_IO_list_all_internal, _IO_link_in_internal)
32265 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32266 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32267 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32268 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32269 (_IO_do_write_internal, _IO_padn_internal)
32270 (_IO_getline_info_internal, _IO_getline_internal)
32271 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32272 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32273 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32274 (_IO_vfscanf_internal, _IO_vfprintf_internal)
32275 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32276 (_IO_init_internal, _IO_un_link_internal): Don't declare.
32277 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32278 with libc_hidden_ver, remove use of INTUSE.
32279 * libio/genops.c: Likewise.
32280 * libio/freopen.c: Likewise.
32281 * libio/freopen64.c: Likewise.
32282 * libio/iofclose.c: Likewise.
32283 * libio/iofdopen.c: Likewise.
32284 * libio/iofflush.c: Likewise.
32285 * libio/iofflush_u.c: Likewise.
32286 * libio/iofgets.c: Likewise.
32287 * libio/iofgets_u.c: Likewise.
32288 * libio/iofopen.c: Likewise.
32289 * libio/iofopncook.c: Likewise.
32290 * libio/iofread.c: Likewise.
32291 * libio/iofread_u.c: Likewise.
32292 * libio/ioftell.c: Likewise.
32293 * libio/iofwrite.c: Likewise.
32294 * libio/iogetline.c: Likewise.
32295 * libio/iogets.c: Likewise.
32296 * libio/iogetwline.c: Likewise.
32297 * libio/iopadn.c: Likewise.
32298 * libio/iopopen.c: Likewise.
32299 * libio/ioseekoff.c: Likewise.
32300 * libio/ioseekpos.c: Likewise.
32301 * libio/iosetbuffer.c: Likewise.
32302 * libio/iosetvbuf.c: Likewise.
32303 * libio/ioungetc.c: Likewise.
32304 * libio/ioungetwc.c: Likewise.
32305 * libio/iovdprintf.c: Likewise.
32306 * libio/iovsprintf.c: Likewise.
32307 * libio/iovsscanf.c: Likewise.
32308 * libio/memstream.c: Likewise.
32309 * libio/obprintf.c: Likewise.
32310 * libio/oldfileops.c: Likewise.
32311 * libio/oldiofclose.c: Likewise.
32312 * libio/oldiofdopen.c: Likewise.
32313 * libio/oldiofopen.c: Likewise.
32314 * libio/oldiopopen.c: Likewise.
32315 * libio/oldstdfiles.c: Likewise.
32316 * libio/putc.c: Likewise.
32317 * libio/setbuf.c: Likewise.
32318 * libio/setlinebuf.c: Likewise.
32319 * libio/stdfiles.c: Likewise.
32320 * libio/strops.c: Likewise.
32321 * libio/vasprintf.c: Likewise.
32322 * libio/vscanf.c: Likewise.
32323 * libio/vsnprintf.c: Likewise.
32324 * libio/vswprintf.c: Likewise.
32325 * libio/wfiledoalloc.c: Likewise.
32326 * libio/wfileops.c: Likewise.
32327 * libio/wgenops.c: Likewise.
32328 * libio/wmemstream.c: Likewise.
32329 * libio/wstrops.c: Likewise.
32330 * libio/__fpurge.c: Likewise.
32331 * libio/__fsetlocking.c: Likewise.
32332 * assert/assert.c: Likewise.
32333 * debug/fgets_chk.c: Likewise.
32334 * debug/fgets_u_chk.c: Likewise.
32335 * debug/fread_chk.c: Likewise.
32336 * debug/fread_u_chk.c: Likewise.
32337 * debug/gets_chk.c: Likewise.
32338 * debug/obprintf_chk.c: Likewise.
32339 * debug/vasprintf_chk.c: Likewise.
32340 * debug/vdprintf_chk.c: Likewise.
32341 * debug/vsnprintf_chk.c: Likewise.
32342 * debug/vsprintf_chk.c: Likewise.
32343 * malloc/mtrace.c: Likewise.
32344 * misc/error.c: Likewise.
32345 * misc/syslog.c: Likewise.
32346 * stdio-common/asprintf.c: Likewise.
32347 * stdio-common/fxprintf.c: Likewise.
32348 * stdio-common/getw.c: Likewise.
32349 * stdio-common/isoc99_fscanf.c: Likewise.
32350 * stdio-common/isoc99_scanf.c: Likewise.
32351 * stdio-common/isoc99_vfscanf.c: Likewise.
32352 * stdio-common/isoc99_vscanf.c: Likewise.
32353 * stdio-common/isoc99_vsscanf.c: Likewise.
32354 * stdio-common/printf-prs.c: Likewise.
32355 * stdio-common/printf_fp.c: Likewise.
32356 * stdio-common/printf_fphex.c: Likewise.
32357 * stdio-common/printf_size.c: Likewise.
32358 * stdio-common/putw.c: Likewise.
32359 * stdio-common/scanf.c: Likewise.
32360 * stdio-common/sprintf.c: Likewise.
32361 * stdio-common/tmpfile.c: Likewise.
32362 * stdio-common/vfprintf.c: Likewise.
32363 * stdio-common/vfscanf.c: Likewise.
32364 * stdlib/strfmon_l.c: Likewise.
32365 * sunrpc/openchild.c: Likewise.
32366 * sunrpc/xdr_stdio.c: Likewise.
32367 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32368 * sysdeps/mach/hurd/tmpfile.c: Likewise.
32370 2012-05-24 Roland McGrath <roland@hack.frob.com>
32372 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32374 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32375 in the third column, to generate for the shared library an IFUNC
32376 that uses _dl_vdso_vsym.
32377 * Makerules (COMPILE.c, compile-stdin.c): New variables.
32378 * Makeconfig (object-suffixes-noshared): New variable.
32380 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32381 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32382 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32383 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32386 * include/sys/time.h (__gettimeofday): Remove macro.
32387 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32388 * time/gettimeofday.c (__gettimeofday): Remove #undef.
32390 (__gettimeofday): Add libc_hidden_def.
32391 (gettimeofday): Add libc_hidden_weak.
32392 * sysdeps/mach/gettimeofday.c: Likewise.
32393 * sysdeps/posix/gettimeofday.c: Likewise.
32394 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32395 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32396 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32397 (__gettimeofday_internal): Remove strong_alias.
32398 (__gettimeofday): Add libc_hidden_def.
32399 (gettimeofday): Add libc_hidden_weak.
32400 * sysdeps/unix/syscalls.list (gettimeofday):
32401 Remove __gettimeofday_internal alias.
32403 2012-05-24 Daniel Jacobowitz <drow@false.org>
32404 H.J. Lu <hongjiu.lu@intel.com>
32407 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32408 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32409 (largebin_index_32_big): New.
32410 (largebin_index): Use it for 16-byte alignment.
32411 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
32412 correction with front_misalign.
32414 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32431 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32437 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32442 * scripts/data/c++-types-x32-linux-gnu.data: New file.
32443 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32445 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32449 * math/libm-test.inc (exp_test): Add test from bug 14036.
32450 (pow_test): Add test from bug 10846.
32452 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32454 (special_function): Do not include flags in test name.
32455 (parse_args): Likewise.
32456 * sysdeps/i386/fpu/libm-test-ulps: Update.
32457 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32458 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32459 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32462 * math/gen-libm-test.pl (%beautify): Add entries for underflow
32464 * math/libm-test.inc ("Philosophy"): Update comment about
32466 (UNDERFLOW_EXCEPTION): New macro.
32467 (UNDERFLOW_EXCEPTION_OK): Likewise.
32468 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32469 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32470 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32471 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32472 (INVALID_EXCEPTION_OK): Update value.
32473 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32474 (OVERFLOW_EXCEPTION_OK): Likewise.
32475 (IGNORE_ZERO_INF_SIGN): Likewise.
32476 (test_exceptions): Handle underflow exceptions.
32477 (acos_test): Update for underflow exception expectations.
32478 (cexp_test): Likewise.
32479 (clog_test): Likewise.
32480 (clog10_test): Likewise.
32481 (csqrt_test): Likewise.
32482 (ctan_test): Likewise.
32483 (ctanh_test): Likewise.
32484 (exp_test): Likewise.
32485 (exp10_test): Likewise.
32486 (exp2_test): Likewise.
32487 (expm1_test): Likewise.
32488 (fma_test): Likewise.
32489 (j0_test): Likewise.
32490 (jn_test): Likewise.
32491 (nexttoward_test): Likewise.
32492 (pow_test): Likewise.
32493 (scalbn_test): Likewise.
32494 (scalbln_test): Likewise.
32495 (tan_test): Likewise.
32496 (y1_test): Likewise.
32497 * sysdeps/i386/fpu/libm-test-ulps: Update.
32498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32500 2012-05-23 David S. Miller <davem@davemloft.net>
32502 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32503 (__libc_sigaction): Remove unused local variables.
32505 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32507 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32509 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
32511 mktime: avoid signed integer overflow
32512 * time/mktime.c (__mktime_internal): Do not mishandle the case
32513 where diff == INT_MIN.
32515 mktime: simplify computation of average
32516 * time/mktime.c (ranged_convert): Use new time_t_avg function
32517 instead of rolling our own (probably-slower) code.
32519 mktime: do not assume signed right shift propagates sign bit
32520 * time/mktime.c (isdst_differ): New static function.
32521 (__mktime_internal): No need to normalize tm_isdst now.
32522 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32525 mktime: merge another wrapv change from gnulib
32526 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32527 from some compilers.
32529 mktime: remove incorrect attempt at unusual arithmetics
32530 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32531 The code didn't really work on such machines anyway.
32532 (TYPE_MINIMUM): Assume two's complement.
32533 (twos_complement_arithmetic): Verify that long_int and time_t
32534 are two's complement (or unsigned, in the latter case).
32536 mktime: check signed shifts on long_int and time_t, too
32537 * time/mktime.c (SHR): Check that shifts work as desired
32538 on the types long_int and time_t too, as SHR is used on
32541 mktime: do not assume 'long' is wide enough
32542 * time/mktime.c (verify): Move decl up.
32543 (long_int): New type.
32544 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32545 to remove assumption in the code that 'long' is wide enough to
32546 store year values. This assumption is not true on x32 and on
32547 some non-glibc platforms.
32549 mktime: merge wrapv change from gnulib
32550 * time/mktime.c (WRAPV): New macro.
32551 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32552 (guess_time_tm, __mktime_internal): Do not assume that signed
32553 integer overflow wraps around; modern compilers generate code
32554 where this assumption is no longer valid.
32556 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32558 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32559 Replace "jmp L(pseudo_end)" with "ret".
32560 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32563 2012-05-23 Andreas Jaeger <aj@suse.de>
32565 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32566 * sysdeps/unix/sysv/linux/poll.c: Remove file.
32568 2012-05-23 Andreas Jaeger <aj@suse.de>
32569 Maximilian Attems <max@stro.at>
32571 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32574 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32576 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32577 code so that pseudo_end is just ret and the stack pointer is
32578 correct also for static library in error case.
32580 2012-05-23 Joseph Myers <joseph@codesourcery.com>
32582 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32583 move to syscalls.list.
32584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32589 * manual/install.texi (Running make install): Do not mention Linux
32590 kernel version for which pt_chown is not needed.
32591 (Linux): Do not mention problems with nscd with 2.0 kernels.
32592 * INSTALL: Regenerated.
32594 2012-05-23 Andreas Jaeger <aj@suse.de>
32596 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32597 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32599 * sysdeps/unix/sysv/linux/s390/bits/mman.h
32600 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32601 * sysdeps/unix/sysv/linux/sh/bits/mman.h
32602 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32603 * sysdeps/unix/sysv/linux/i386/bits/mman.h
32604 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32605 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32606 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32607 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32608 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32609 * sysdeps/unix/sysv/linux/bits/in.h
32610 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32612 2012-05-22 Roland McGrath <roland@hack.frob.com>
32614 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32615 (PREPARE_VERSION): Just use assert instead, it will be elided
32616 under [NDEBUG] anyway.
32618 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32620 * sysdeps/unix/sysv/linux/Makefile: Include
32621 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32622 (sysdep_routines): Remove sysctl.
32623 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32624 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32625 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32626 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32627 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32629 2012-05-22 Andreas Jaeger <aj@suse.de>
32631 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32632 that pseudo_end is just ret and the stack pointer is correct also
32633 for static library in error case.
32635 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
32638 * nss/nsswitch.c (defconfig_entries): New variable.
32639 (__nss_database_lookup): Don't leak defconfig entries.
32640 (nss_parse_service_list): Don't leak on error paths.
32641 (free_database_entries): New function.
32642 (free_defconfig): New function.
32643 (free_mem): Move common code to free_database_entries.
32645 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32647 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32649 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32651 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32652 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32653 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32655 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32656 (INTERNAL_SYSCALL_TYPES): Likewise.
32657 (LOAD_ARGS_TYPES_[1-6]): Likewise.
32658 (LOAD_REGS_TYPES_[1-6]): Likewise.
32659 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32660 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32662 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32664 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32665 copysignl for GLIBC_2_0.
32666 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32667 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32668 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32669 logbl for GLIBC_2_0.
32670 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32671 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32673 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32675 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32676 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32678 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32681 * time/mktime.c: Update copyright years.
32683 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
32685 mktime: merge comment-quoting-style change from gnulib
32686 * time/mktime.c: Quote 'like this' in comments.
32687 The GNU coding standards suggest that we no longer quote `like this',
32688 as "`" and "'" are typically rendered asymmetrically nowadays.
32689 The typical gnulib style is to quote 'like this' when quoting
32690 code, and "like this" when quoting English.
32692 * time/mktime.c (compile-command): Add "-I.".
32694 mktime: merge mktime-internal.h change from gnulib
32695 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32697 mktime: merge time_r change from gnulib
32698 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32700 mktime: merge DEBUG change from gnulib
32701 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32702 case system <time.h> has a #define.
32704 mktime: merge <sys/types.h> change from gnulib
32705 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32706 since <time.t> is now guaranteed to define time_t.
32708 mktime: merge HAVE_CONFIG_H change from gnulib
32709 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32711 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32713 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32716 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32718 (struct rusage): Use anonymous union to pad each field to
32721 2012-05-21 David S. Miller <davem@davemloft.net>
32723 * Makefules (o-iterator): Remove .s cases.
32724 (compile-command.s): Delete.
32725 (COMPILE.s): Delete.
32726 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32728 2012-05-21 Joseph Myers <joseph@codesourcery.com>
32730 * configure.in (libc_cv_predef_stack_protector): Only consider
32731 "foobar" and "__stack_chk_fail" lines in libc_undefs.
32732 * configure: Regenerated.
32734 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32736 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32737 New macro. Use R*LP on int and pointer.
32738 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
32739 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
32740 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
32741 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
32743 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
32744 [__WORDSIZE_TIME64_COMPAT32] instead of
32745 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
32746 (struct utmp): Likewise.
32747 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
32748 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
32750 (__WORDSIZE_TIME64_COMPAT32): This.
32751 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
32752 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
32753 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
32754 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
32755 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
32756 (__WORDSIZE_TIME64_COMPAT32): New macro.
32758 2012-05-21 Andreas Jaeger <aj@suse.de>
32760 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
32761 only if [SHARED]. Add prototype for __wcschr_ia32.
32763 2012-05-21 Roland McGrath <roland@hack.frob.com>
32765 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
32766 of %rbp unmolested in the jmp_buf while mangling the low bits.
32767 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
32768 unmolested high bits of %rbp while demangling the low bits.
32769 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32771 2012-05-21 Andreas Jaeger <aj@suse.de>
32773 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
32774 * sunrpc/svc_simple.c: Use it for registerrpc.
32775 * sunrpc/xcrypt.c: Use it for passwd2des.
32777 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
32779 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32781 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
32782 Don't define if [__SYSCALL_WORDSIZE != 32].
32783 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
32786 2012-05-21 Bruno Haible <bruno@clisp.org>
32787 Andreas Jaeger <aj@suse.de>
32789 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
32790 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
32791 inptr and inend for must_buffer_ch.
32792 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
32793 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
32794 * stdio-common/Makefile (tests): Remove bug15.
32795 (bug15-ENV): Remove macro.
32796 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
32799 2012-05-19 Andreas Jaeger <aj@suse.de>
32800 Roland McGrath <roland@hack.frob.com>
32802 * manual/contrib.texi: Completely rewritten. It contains now an
32803 alphabetical list of contributors and their contributions.
32805 2012-05-21 Richard Henderson <rth@twiddle.net>
32807 * misc/getauxval.c (__getauxval): Use unsigned long int.
32808 * misc/sys/auxv.h: Include <sys/cdefs.h>.
32809 (getauxval): Use unsigned long int.
32811 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32813 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32815 2012-05-21 Roland McGrath <roland@hack.frob.com>
32817 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
32818 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
32819 __alignof__ (long double).
32821 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32825 2012-05-20 Richard Henderson <rth@twiddle.net>
32827 * misc/getauxval.c: New file.
32828 * misc/sys/auxv.h: New file.
32829 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
32830 (routines): Add getauxval.
32831 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
32832 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
32833 * elf/dl-sysdep.c (_dl_auxv): Remove.
32834 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
32835 * elf/dl-support.c (_dl_auxv): New variable.
32836 (_dl_aux_init): Initialize it.
32837 * manual/startup.texi (Auxiliary Vector): New node.
32838 * sysdeps/generic/bits/hwcap.h: New file.
32839 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
32840 * sysdeps/powerpc/sysdep.h: ... here. Include it.
32841 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
32842 * sysdeps/sparc/sysdep.h: ... here. Include it.
32843 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
32844 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
32845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
32848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
32849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
32850 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
32851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
32854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
32856 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32860 2012-05-19 David S. Miller <davem@davemloft.net>
32862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32864 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32867 * math/s_ccosh.c: Include <float.h>
32868 (__ccosh): Avoid internal overflow calculating sinh and cosh
32869 values before multiplying by sin and cos values.
32870 * math/s_ccoshf.c: Likewise.
32871 * math/s_ccoshl.c: Likewise.
32872 * math/s_csin.c: Likewise.
32873 * math/s_csinf.c: Likewise.
32874 * math/s_csinl.c: Likewise.
32875 * math/s_csinh.c: Likewise.
32876 * math/s_csinhf.c: Likewise.
32877 * math/s_csinhl.c: Likewise.
32878 * math/libm-test.inc (ccos_test): Add more tests.
32879 (ccosh_test): Likewise.
32880 (csin_test): Likewise.
32881 (csinh_test): Likewise.
32882 * sysdeps/i386/fpu/libm-test-ulps: Update.
32883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32885 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
32887 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
32888 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
32890 * sysdeps/x86_64/x32/_itoa.h: Add comment.
32892 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32894 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
32895 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
32896 * sysdeps/powerpc/soft-fp/Versions: Likewise.
32897 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
32898 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
32899 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
32900 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
32901 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
32902 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
32903 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
32904 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
32905 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
32906 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
32907 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
32908 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
32909 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
32910 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
32911 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32912 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32913 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32914 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
32915 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
32916 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32917 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32918 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32919 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32920 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32921 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32922 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32923 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32924 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32926 2012-05-18 Andreas Jaeger <aj@suse.de>
32928 * csu/.gitignore: Delete.
32930 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32932 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32933 (timex): Use __syscall_slong_t.
32935 2012-05-18 Andreas Jaeger <aj@suse.de>
32936 Carlos O'Donell <carlos_odonell@mentor.com>
32938 * manual/install.texi (Configuring and compiling): Update
32939 description about files modified in the source directory.
32940 * INSTALL: Regenerated.
32942 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32944 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32945 value. Use "or" to set return value to -1.
32946 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32947 negate return value.
32949 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32951 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32952 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
32953 failure if the compiler has Graphite support disabled.
32954 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32956 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32957 (CFLAGS-memmove.c): Likewise.
32958 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32961 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32963 * sysdeps/x86_64/x32/_itoa.h: New file.
32965 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32966 getdents system call only if kernel and user dirents have the
32967 same d_ino and d_off.
32969 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32970 LLONG_MAX != LONG_MAX.
32971 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32972 (_fitoa_word): Likewise.
32974 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32976 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32977 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32978 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32980 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32981 include <bits/wordsize.h>. Check __x86_64__ instead of
32983 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32984 if __x86_64__ is defined. Use anonymous union on fpstate.
32986 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32989 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
32991 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32992 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32993 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32994 Refer to _rtld_local_ro instead of _rtld_global_ro.
32995 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32997 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32999 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33001 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33002 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33003 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33005 * sysdeps/powerpc/powerpc32/dl-machine.c
33006 (__elf_machine_runtime_setup) [PROF]: Don't reference
33009 2012-05-18 Andreas Jaeger <aj@suse.de>
33011 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33012 function only available for GCCs before 3.4 since GCC 3.4
33013 introduced a builtin.
33015 (llrintf): Likewise.
33016 (llrint): Likewise.
33023 (nearbyint): Likewise.
33024 (nearbyintf): Likewise.
33028 (floorf): Likewise.
33030 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33032 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33033 on both fields and cast pointer to __syscall_ulong_t.
33035 * bits/types.h (__fsword_t): New type.
33036 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33037 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33038 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33039 (__FSWORD_T_TYPE): Likewise.
33040 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33041 (__FSWORD_T_TYPE): Likewise.
33042 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33043 (__FSWORD_T_TYPE): Likewise.
33044 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33045 (__FSWORD_T_TYPE): Likewise.
33046 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33047 __SWORD_TYPE with __fsword_t.
33048 (statfs64): Likewise.
33050 2012-05-17 David S. Miller <davem@davemloft.net>
33052 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33054 2012-05-17 Andreas Jaeger <aj@suse.de>
33056 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33059 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33061 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33063 2012-05-17 Andreas Jaeger <aj@suse.de>
33065 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33068 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33070 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33072 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33074 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33075 * sysdeps/x86_64/tst-mallocalign1.c: New file.
33077 2012-05-17 Andreas Jaeger <aj@suse.de>
33078 Carlos O'Donell <carlos_odonell@mentor.com>
33081 * sysdeps/x86_64/multiarch/init-arch.h
33082 (bit_YMM_Usable): Rename to...
33083 (bit_AVX_Usable): ... this.
33084 (bit_FMA4_Usable): New macro.
33085 (bit_XMM_state): New macro.
33086 (bit_YMM_state): New macro.
33087 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33088 [__ASSEMBLER__] (index_AVX_Usable): ... this.
33089 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33090 (CPUID_OSXSAVE): New macro.
33091 (CPUID_AVX): New macro.
33092 (CPUID_FMA4): New macro.
33093 (index_YMM_Usable): Rename to...
33094 (index_AVX_Usable): ... this.
33095 (HAS_AVX): Use HAS_ARCH_FEATURE.
33096 (HAS_FMA4): Likewise.
33097 (HAS_YMM_USABLE): Remove.
33098 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33099 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33101 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33102 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33103 * sysdeps/x86_64/multiarch/Makefile: Likewise.
33104 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33105 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33107 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33109 * math/libm-test.c: Support platforms without multiple rounding modes.
33110 * math/bug-nextafter.c: Support platforms without FP exceptions.
33111 * math/bug-nexttoward.c: Likewise.
33112 * math/test-fenv.c: Likewise.
33113 * math/test-misc.c: Likewise.
33114 * stdlib/bug-getcontext.c: Likewise.
33116 2012-05-17 Andreas Jaeger <aj@suse.de>
33118 * manual/examples/search.c (critter_cmp): Change signature to
33120 * manual/string.texi (Collation Functions): Likewise.
33122 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33124 * bits/types.h: Fold copyright years.
33125 * bits/typesizes.h: Likewise.
33126 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33127 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33128 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33129 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33130 * time/time.h: Likewise.
33132 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
33135 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33136 in instead of returning them. Return void.
33137 (__libc_mallinfo): Accumulate over all arenas.
33138 (__malloc_stats): Adjust for change in int_mallinfo interface.
33140 2012-05-16 Roland McGrath <roland@hack.frob.com>
33143 * configure.in (NM): Add AC_CHECK_TOOL for it.
33144 (libc_extra_cflags): New substituted variable.
33145 Check for -fstack-protector being used implicitly.
33146 * configure: Regenerated.
33147 * config.make.in (config-extra-cflags): New variable,
33148 gets @libc_extra_cflags@.
33149 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33152 * configure.in: Check for _FORTIFY_SOURCE being predefined.
33153 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33154 * configure: Regenerated.
33155 * config.make.in (CPPUNDEFS): New substituted variable.
33156 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33157 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33158 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33160 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33162 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33163 (mq_attr): Use __syscall_slong_t.
33165 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33167 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33168 Check __x86_64__ instead of __WORDSIZE.
33169 (_STAT_VER_LINUX): Likewise.
33170 (stat): Check __x86_64__ instead of __WORDSIZE. Use
33171 __syscall_ulong_t and __syscall_slong_t.
33172 (stat64): Likewise.
33174 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33176 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33178 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33180 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33182 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33184 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33187 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33188 include <bits/wordsize.h>. Check __x86_64__ instead of
33190 (greg_t): Use "__extension__ long long int" if __x86_64__ is
33192 (mcontext_t): Replace "unsigned long" with "unsigned long long".
33194 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33195 include <bits/wordsize.h>. Check __x86_64__ instead of
33197 (user_regs_struct): Use "__extension__ unsigned long long"
33198 instead of "unsigned long" if __x86_64__ is defined.
33199 (user): Likewise. Pad after pointer field if __ILP32__ is
33202 2012-05-16 Joseph Myers <joseph@codesourcery.com>
33204 * configure.in (makeinfo): Require version 4.5 or later. Allow
33206 * configure: Regenerated.
33207 * manual/install.texi (texinfo): Increase version requirement to
33209 * INSTALL: Regenerated.
33211 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33213 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33215 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33217 * sysdeps/x86_64/x32/ffs.c: New file.
33219 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33221 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33222 defined. Use __syscall_ulong_t.
33223 (shminfo): Use __syscall_ulong_t.
33224 (shm_info): Likewise.
33226 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33229 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33231 (msgqnum_t): Use __syscall_ulong_t.
33232 (msglen_t): Likewise.
33233 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
33236 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33237 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33239 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33241 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33242 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33244 * sysvipc/sys/msg.h (msgbuf): Replace long int with
33247 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33248 include <bits/wordsize.h>. Check __x86_64__ instead of
33251 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33252 "unsigned long long int" if __x86_64__ is defined.
33253 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33255 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33256 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33257 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33259 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33261 (GET_PC): Cast to uintptr_t first.
33262 (GET_FRAME): Likewise.
33263 (GET_STACK): Likewise.
33265 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33266 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33267 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33268 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33269 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33270 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33271 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33272 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33273 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33274 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33275 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33276 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33277 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33278 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33279 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33280 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33281 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33282 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33283 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33284 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33285 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33286 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33287 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33288 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33289 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33290 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33291 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33292 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33293 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33295 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
33297 * Makerules (+depfiles): Also collect depfiles from .oS in
33299 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33300 .oS, $(libnldbl-routines)).
33302 * Makerules (native-compile-mkdep-flags): Define.
33303 * sunrpc/Makefile (extra-objs): Add $(addprefix
33304 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33305 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33306 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
33307 calling $(make-target-directory).
33309 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33311 * bits/types.h (__snseconds_t): Removed.
33312 * time/time.h (struct timespec): Replace __snseconds_t with
33314 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33315 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33317 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33318 (__SNSECONDS_T_TYPE): Likewise.
33319 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33320 (__SNSECONDS_T_TYPE): Likewise.
33321 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33322 (__SNSECONDS_T_TYPE): Likewise.
33324 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33326 * sysdeps/mach/hurd/bits/typesizes.h
33327 (__SYSCALL_SLONG_TYPE): New macro.
33328 (__SYSCALL_ULONG_TYPE): Likewise.
33330 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33332 * bits/types.h (__syscall_slong_t): New type.
33333 (__syscall_ulong_t): Likewise.
33335 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33336 (__SYSCALL_ULONG_TYPE): Likewise.
33337 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33338 (__SYSCALL_SLONG_TYPE): Likewise.
33339 (__SYSCALL_ULONG_TYPE): Likewise.
33340 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33341 (__SYSCALL_SLONG_TYPE): Likewise.
33342 (__SYSCALL_ULONG_TYPE): Likewise.
33343 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33344 (__SYSCALL_SLONG_TYPE): Likewise.
33345 (__SYSCALL_ULONG_TYPE): Likewise.
33347 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33349 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33350 Add sigaltstack-offsets.sym.
33351 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33352 <sigaltstack-offsets.h>.
33353 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
33354 longjmp_msg pointer.
33355 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
33356 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33358 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33360 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33362 * elf/stackguard-macros.h: Remove file.
33363 * sysdeps/generic/stackguard-macros.h: New file.
33364 * sysdeps/i386/stackguard-macros.h: Likewise.
33365 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33366 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33367 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33368 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33369 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33370 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33371 * sysdeps/x86_64/stackguard-macros.h: Likewise.
33372 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33373 <elf/stackguard-macros.h>.
33376 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33377 __aligned__ in attribute.
33378 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33379 (gregset_t): Likewise.
33381 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33383 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33384 * sysdeps/x86_64/64/Implies-after: Here. New file.
33385 * sysdeps/x86_64/x32/Implies-after: New file.
33387 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33389 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33390 and access return value for _dl_profile_fixup. Use R10_LP to
33393 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33395 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33397 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33399 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33400 * sysdeps/x86_64/x32/sysdep.h: New file.
33402 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33404 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33405 * sysdeps/x86_64/setjmp.S: Likewise.
33407 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33409 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33410 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33411 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33412 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33413 remove unused global constant.
33415 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
33417 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33418 include of <not-cancel.h>.
33420 2012-05-15 Roland McGrath <roland@hack.frob.com>
33422 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33424 2012-05-15 Jeff Law <law@redhat.com>
33425 Andreas Jaeger <aj@suse.de>
33428 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33430 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33431 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33432 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33433 code changing __hst_map_handle.map.
33435 2012-05-15 Roland McGrath <roland@hack.frob.com>
33437 * configure.in (sysnames): Look for Implies-before and Implies-after
33439 * configure: Regenerated.
33441 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33443 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33444 8-byte data alignment with LP_SIZE alignment.
33446 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33448 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33451 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33453 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33455 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33457 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33458 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33459 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33461 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33463 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33465 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33466 (stackinfo_sub_sp): Likewise.
33468 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33470 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33473 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33475 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33478 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33480 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33483 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33485 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33487 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33489 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33490 into R11_LP and load __x86_64_shared_cache_size_half into
33493 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33495 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33498 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33500 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33502 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33504 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33506 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33507 powerpc32/power7/fpu/s_logb.c via #include.
33508 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33509 powerpc32/power7/fpu/s_logbf.c via #include.
33510 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33511 powerpc32/power7/fpu/s_logbl.c via #include.
33513 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33515 * README.libm: Remove file.
33517 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33519 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33520 count for x32. Use R*_LP and omit operand-size suffix.
33522 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33524 * shlib-versions: Move x86_64-.*-linux.* entries to ...
33525 * sysdeps/x86_64/64/shlib-versions: Here. New file.
33526 * sysdeps/x86_64/x32/shlib-versions: New file.
33528 2012-05-14 Roland McGrath <roland@hack.frob.com>
33530 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33531 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33532 Use _dl_fatal_printf instead.
33534 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33536 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33537 set if not set by the user. Do not allow for being unset.
33538 * sysdeps/unix/sysv/linux/configure: Regenerated.
33540 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33542 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33543 the `q' suffix from lea and replace .quad with ASM_ADDR.
33545 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33547 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33548 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
33550 (PTR_DEMANGLE): Likewise.
33552 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33554 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33556 (ASM_ADDR): Likewise.
33557 (RAX_LP): Likewise.
33558 (RBP_LP): Likewise.
33559 (RBX_LP): Likewise.
33560 (RCX_LP): Likewise.
33561 (RDI_LP): Likewise.
33562 (RSI_LP): Likewise.
33563 (RSP_LP): Likewise.
33566 (R10_LP): Likewise.
33567 (R10_LP): Likewise.
33568 (R11_LP): Likewise.
33569 (R12_LP): Likewise.
33570 (R13_LP): Likewise.
33571 (R14_LP): Likewise.
33572 (R15_LP): Likewise.
33574 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33576 * sysdeps/x86_64/x32/dl-machine.h: New file.
33578 2012-05-14 Andreas Jaeger <aj@suse.de>
33580 * manual/Makefile (subdir): Remove export of subdir.
33581 (all): Remove target.
33582 (.PHONY): Remove all from list.
33583 (mkinstalldirs): Remove.
33584 (.PHONY): Remove installdirs from list.
33585 ($(inst_infodir)/libc.info): Use make-target-directory.
33586 (installdirs): Remove.
33587 (subdir_%): Remove.
33588 (glibc-targets): Remove.
33591 ($(objpfx)stubs ../po/manual.pot): Remove.
33592 ($(objpfx)stamp%): Remove.
33593 (make-target-directory): Remove.
33594 (subdir_install): Remove.
33595 (routines): Remove.
33602 * manual/.gitignore: Remove, it's not needed anymore.
33603 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33605 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33607 (texis): Renamed to $(objpfx)texis.
33608 (texis-path): New, contains path to generated files.
33609 (chapters.%): Use texis-path for complete path, add extra argument
33611 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33612 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33613 (summary,texi, stamp-summary): Use complete path of
33614 files. Generate files in build dir.
33615 (dir-add.texi): Build in build dir.
33616 (libm-err.texi,stamp-libm-err): Likewise.
33617 (version.texi, stamp-version): Likewise.
33618 (.%c.texi): Likewise.
33619 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33620 (mostlyclean): Remove target.
33621 (realclean): Remove target.
33622 (generated): Add new variable with contents from mostlyclean and
33623 realclean, remove entries duplicated in common-mostlyclean, add
33624 stamp-libm-err and stamp-version.
33625 (generated-dirs): Add libc directory.
33626 ($(inst_infodir)/libc.info): Install files from build dir.
33628 * manual/install.texi (Configuring and compiling): Adjust since
33629 the info files are not part of the tar ball anymore.
33631 2012-05-14 Andreas Jaeger <aj@suse.de>
33633 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33636 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33639 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33640 to 2.2.0 where earlier.
33641 * sysdeps/unix/sysv/linux/configure: Regenerated.
33642 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33643 Remove conditional code.
33644 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33645 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33646 Remove conditional code.
33647 [!__NR_lchown]: Likewise.
33648 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33649 [__NR_lchown]: Likewise.
33650 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33651 comment referencing __ASSUME_LCHOWN_SYSCALL.
33652 * sysdeps/unix/sysv/linux/i386/sigaction.c
33653 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33654 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33655 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33656 Remove conditional code.
33657 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33658 (__protocol_available): Remove #if 0 code.
33659 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33661 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33662 * sysdeps/unix/sysv/linux/kernel-features.h
33663 (__ASSUME_GETCWD_SYSCALL): Don't define.
33664 (__ASSUME_REALTIME_SIGNALS): Likewise.
33665 (__ASSUME_PREAD_SYSCALL): Likewise.
33666 (__ASSUME_PWRITE_SYSCALL): Likewise.
33667 (__ASSUME_POLL_SYSCALL): Likewise.
33668 (__ASSUME_LCHOWN_SYSCALL): Likewise.
33669 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33671 (__ASSUME_SIOCGIFNAME): Don't define.
33672 (__ASSUME_MSG_NOSIGNAL): Likewise.
33673 (__ASSUME_SENDFILE): Define unconditionally.
33674 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33675 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33677 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33678 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33679 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33680 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33681 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33682 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33683 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33685 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33686 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33688 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33689 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33691 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33692 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33694 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33695 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33697 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33698 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33700 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33701 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33703 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33704 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33706 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33707 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33708 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33709 Remove conditional code.
33710 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33711 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33712 Remove conditional code.
33713 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33714 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33715 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33716 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33717 Remove conditional code.
33718 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33719 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33720 Remove conditional code.
33721 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33722 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33723 Remove conditional code.
33724 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33725 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33726 Remove conditional code.
33727 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33728 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33729 Remove conditional code.
33730 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33731 * sysdeps/unix/sysv/linux/sh/pwrite64.c
33732 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33733 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33734 * sysdeps/unix/sysv/linux/sigaction.c
33735 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33736 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33737 * sysdeps/unix/sysv/linux/sigpending.c
33738 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33739 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33740 * sysdeps/unix/sysv/linux/sigprocmask.c
33741 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33742 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33743 * sysdeps/unix/sysv/linux/sigsuspend.c
33744 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33745 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33746 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33747 (__libc_missing_rt_sigs): Remove.
33748 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
33749 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
33750 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
33751 Remove conditional code.
33752 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
33753 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
33755 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
33756 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
33757 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
33758 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
33760 2012-05-14 Andreas Jaeger <aj@suse.de>
33762 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
33763 it's not used in glibc.
33764 (__coshm1): Likewise.
33765 (__acosh1p): Likewise.
33768 * manual/string.texi (Copying and Concatenation): Add missing
33769 variable in concat example.
33770 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33772 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33775 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
33776 __builtin_clzl with __builtin_clzll.
33778 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33781 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
33784 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33786 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
33787 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
33788 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
33789 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
33791 2012-05-14 Mike Frysinger <vapier@gentoo.org>
33793 * NEWS: Update ia64 info.
33795 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
33797 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
33800 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
33802 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
33803 * sysdeps/unix/syscalls.list (dup3): Likewise.
33804 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
33805 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
33807 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33809 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
33810 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
33812 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33814 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
33816 (TLS_IE): Use mov/add instead of movq/addq to load thread
33818 (TLS_GD_PREFIX): New.
33821 2012-05-11 David S. Miller <davem@davemloft.net>
33823 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
33824 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
33825 (_FPU_SETCW): Likewise.
33827 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33829 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
33830 is 32-byte aligned.
33832 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
33835 * iconvdata/gb18030.c: Update tables.
33836 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
33837 characters specially.
33838 (BODY for TO_LOOP): Add encoding of missing ranges.
33840 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
33843 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
33844 * sysdeps/mach/hurd/dup3.c: Likewise.
33845 * sysdeps/mach/hurd/readlinkat.c: Likewise.
33846 * sysdeps/powerpc/memmove.c:: Likewise.
33848 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33850 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
33851 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
33853 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33855 * elf/elf.h (R_X86_64_RELATIVE64): New.
33856 (R_X86_64_NUM): Updated.
33857 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33858 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
33859 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
33860 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
33861 tst-quad1pie tst-quad2pie
33862 (modules-names): Add tst-quadmod1 tst-quadmod2.
33863 ($(objpfx)tst-quad1): New dependency.
33864 ($(objpfx)tst-quad2): Likewise.
33865 ($(objpfx)tst-quad1pie): Likewise.
33866 ($(objpfx)tst-quad2pie): Likewise.
33867 * sysdeps/x86_64/tst-quad1.c: New file.
33868 * sysdeps/x86_64/tst-quad1pie.c: New file.
33869 * sysdeps/x86_64/tst-quad2.c: Likewise.
33870 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
33871 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33872 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
33873 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
33874 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
33876 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33878 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
33879 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33880 * streams/stropts.h (t_scalar_t): Define type.
33882 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
33883 (_PATH_PRESERVE): Set to "/var/lib".
33884 (_PATH_RWHODIR): Set to "/var/spool/rwho".
33886 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
33889 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
33890 if __dir_mkfile succeeded.
33892 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
33893 checking for _hurd_dtablesize. Unlock it right after having
33894 finished _hurd_dtable allocation.
33896 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33898 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
33899 * sysdeps/mach/hurd/configure: Regenerated.
33900 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
33901 special-casing to...
33902 * sysdeps/gnu/configure.in: ... this new file.
33903 * sysdeps/unix/sysv/linux/configure: Regenerated.
33904 * sysdeps/gnu/configure: New generated file.
33906 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
33907 for Linux: use nsec instead of usec, as well as:
33908 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
33909 members of type struct timespec.
33910 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33912 (struct stat64): Likewise.
33913 (_STATBUF_ST_NSEC): New macro.
33914 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33916 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33917 __strtoul_internal rather than strtoul.
33919 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33921 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33924 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33926 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33927 which preserves existing values.
33928 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33930 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33932 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33933 TIMEOUT values. Return EINVAL for NFDS values either negative or
33934 greater than FD_SETSIZE.
33936 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33938 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33939 allocated, call __vm_protect to finish enabling the existing space, and
33940 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33941 allocate the remainder.
33943 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33945 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33946 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
33948 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33950 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33951 sysdeps/mach/hurd/readlink.c.
33953 * posix/tst-sysconf.c (posix_options): Only use
33954 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33955 _POSIX_SYNCHRONIZED_IO when they are defined
33956 * sysdeps/mach/hurd/bits/posix_opt.h:
33957 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33958 (_XOPEN_REALTIME): Undefine macro.
33959 (_XOPEN_REALTIME_THREADS): Undefine macro.
33960 (_XOPEN_SHM): Undefine macro.
33961 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33963 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33965 (_POSIX_ASYNC_IO): Undefine macro.
33966 (_POSIX_PRIORITIZED_IO): Undefine macro.
33967 (_POSIX_SPIN_LOCKS): Define macro to -1.
33969 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33970 SA_NODEFER, SA_RESETHAND.
33971 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33972 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33975 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33977 * elf/Makefile (pldd-modules): Define unconditionally.
33979 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33981 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33983 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33985 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33986 Return ENOENT when name is empty.
33987 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33989 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33991 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33993 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33995 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33997 Fix mlock in all cases except non-readable pages.
33998 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33999 instead of VM_PROT_ALL as parameter to __vm_wire function.
34001 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34002 (__mkdir): When path is `/', just fail with EEXIST.
34003 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34005 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34007 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34008 <sys/uio.h> (for writev).
34009 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34010 and <sys/param.h> (for MIN).
34012 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34014 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34015 REQUESTED_TIME. Properly set the remaining time and return EINTR
34018 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34020 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34021 Depend on against $(link-rpcuserlibs).
34023 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34025 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34026 (__libc_stack_end): Do not use attribute_relro.
34027 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34028 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34029 to libthread-provided value.
34030 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34033 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34036 * bits/libc-lock.h (__libc_once_get): New macro.
34037 * sysdeps/mach/bits/libc-lock.h: Likewise.
34038 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34039 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34040 instead of using implementation details.
34042 * libio/fileops.c: Unconditionally include <kernel-features.h>.
34043 * libio/freopen.c: Likewise.
34044 * libio/freopen64.c: Likewise.
34045 * misc/syslog.c: Likewise.
34046 * nscd/connections.c: Likewise.
34047 * nscd/netgroupcache.c: Likewise.
34048 * sysdeps/posix/getcwd.c: Likewise.
34050 2012-05-10 Roland McGrath <roland@hack.frob.com>
34052 * math/w_ilogbf.c: Add #include <limits.h>.
34054 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34056 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34057 path instead of returning without unlocking.
34059 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34060 immediate-write ioctls.
34061 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34063 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34065 * sysdeps/mach/hurd/i386/init-first.c (init): Use
34066 __builtin_frame_address instead of making assumptions about the
34067 location of the return address relative to DATA. Force early load of
34068 the return address.
34069 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34070 __builtin_frame_address.
34073 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34074 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
34075 implement dup3 and do some further code clean-ups.
34076 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34077 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34079 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34081 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34083 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34084 HURD_CRITICAL_END around holding _hurd_dtable_lock.
34085 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34086 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34087 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34090 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34091 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
34092 when handler == SIG_ERR, not when handler != SIG_ERR.
34094 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34096 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34097 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34100 accept4 for GNU Hurd.
34101 * include/sys/socket.h (__libc_accept4): New prototype.
34102 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
34103 to implement __libc_accept4.
34104 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34106 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34108 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34109 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34110 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34111 signal-defines.sym.
34113 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34115 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34117 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34119 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34120 assertion on O_CLOEXEC flag.
34121 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34122 * hurd/intern-fd.c: Likewise.
34123 * hurd/port2fd.c: Likewise.
34125 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34128 * bits/in.h (IPV6_PKTINFO): Define new macro.
34129 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34131 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34136 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34137 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34138 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34139 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34140 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34141 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34142 * math/libm-test.inc (logb_test) : Additional logb tests.
34144 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
34145 Andreas Jaeger <aj@suse.de>
34147 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34148 * configure: Regenerated.
34149 * config.h.in (LINK_OBSOLETE_RPC): New macro.
34150 * config.make.in (link-obsolete-rpc): New substituted variable.
34151 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34152 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34153 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34154 (shared-only-routines): Don't set it under [link-obsolete-rpc],
34155 so that libc.a contains the symbols.
34156 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34157 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34158 * sunrpc/auth_none.c: Likewise.
34159 * sunrpc/auth_unix.c: Likewise.
34160 * sunrpc/authdes_prot.c: Likewise.
34161 * sunrpc/authuxprot.c: Likewise.
34162 * sunrpc/clnt_gen.c: Likewise.
34163 * sunrpc/clnt_perr.c: Likewise.
34164 * sunrpc/clnt_raw.c: Likewise.
34165 * sunrpc/clnt_simp.c: Likewise.
34166 * sunrpc/clnt_tcp.c: Likewise.
34167 * sunrpc/clnt_udp.c: Likewise.
34168 * sunrpc/clnt_unix.c: Likewise.
34169 * sunrpc/des_crypt.c: Likewise.
34170 * sunrpc/des_soft.c: Likewise.
34171 * sunrpc/get_myaddr.c: Likewise.
34172 * sunrpc/key_call.c: Likewise.
34173 * sunrpc/key_prot.c: Likewise.
34174 * sunrpc/netname.c: Likewise.
34175 * sunrpc/pm_getmaps.c: Likewise.
34176 * sunrpc/pm_getport.c: Likewise.
34177 * sunrpc/pmap_clnt.c: Likewise.
34178 * sunrpc/pmap_prot.c: Likewise.
34179 * sunrpc/pmap_prot2.c: Likewise.
34180 * sunrpc/pmap_rmt.c: Likewise.
34181 * sunrpc/publickey.c: Likewise.
34182 * sunrpc/rpc_cmsg.c: Likewise.
34183 * sunrpc/rpc_common.c: Likewise.
34184 * sunrpc/rpc_dtable.c: Likewise.
34185 * sunrpc/rpc_prot.c: Likewise.
34186 * sunrpc/rpc_thread.c: Likewise.
34187 * sunrpc/rtime.c: Likewise.
34188 * sunrpc/svc.c: Likewise.
34189 * sunrpc/svc_auth.c: Likewise.
34190 * sunrpc/svc_raw.c: Likewise.
34191 * sunrpc/svc_run.c: Likewise.
34192 * sunrpc/svc_tcp.c: Likewise.
34193 * sunrpc/svc_udp.c: Likewise.
34194 * sunrpc/svc_unix.c: Likewise.
34195 * sunrpc/svcauth_des.c: Likewise.
34196 * sunrpc/xcrypt.c: Likewise.
34197 * sunrpc/xdr.c: Likewise.
34198 * sunrpc/xdr_array.c: Likewise.
34199 * sunrpc/xdr_float.c: Likewise.
34200 * sunrpc/xdr_intXX_t.c: Likewise.
34201 * sunrpc/xdr_mem.c: Likewise.
34202 * sunrpc/xdr_rec.c: Likewise.
34203 * sunrpc/xdr_ref.c: Likewise.
34204 * sunrpc/xdr_sizeof.c: Likewise.
34205 * sunrpc/xdr_stdio.c: Likewise.
34207 2012-05-10 Roland McGrath <roland@hack.frob.com>
34209 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34210 change. Update copyright years.
34212 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34214 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34216 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
34217 Joseph Myers <joseph@codesourcery.com>
34218 Paul Pluzhnikov <ppluzhnikov@google.com>
34221 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34223 [cross-compiling] (extra-libs): Likewise.
34224 [cross-compiling] (extra-libs-others): Likewise.
34225 [cross-compiling] (librpcsvc-routines): Likewise.
34226 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34227 [cross-compiling] (omit-deps): Likewise.
34228 (sunrpc-CPPFLAGS): New variable.
34229 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34230 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34231 (cross-rpcgen-objs): New variable.
34232 (extra-objs): Append $(cross-rpcgen-objs).
34233 ($(cross-rpcgen-objs)): New rule.
34234 ($(objpfx)cross-rpcgen): Likewise.
34235 (rpcgen-cmd): Define to use $(built-program-file). Expand
34237 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34238 ($(objpfx)x%.stmp): Likewise.
34239 * sunrpc/proto.h [IS_IN_build] (_): Define.
34240 [IS_IN_build] (_libc_intl_domainname): Likewise.
34242 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34244 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34245 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34246 and R_X86_64_TPOFF64.
34248 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34250 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34251 sysdeps/unix/sysv/syscalls.list.
34254 * sysdeps/unix/sysv/syscalls.list: Remove file.
34256 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
34259 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34260 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34261 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34262 (__LC_IDENTIFICATION): Make these macros useful in #if
34263 expressions, as required by C99.
34265 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
34267 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34268 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
34271 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
34273 * stdlib/longlong.h: Updated from GCC.
34275 2012-05-09 Andreas Jaeger <aj@suse.de>
34277 * nscd/nscd.c (run_modes): Make named enum, reorder so that
34278 default is first entry.
34279 (run_mode): Set type.
34280 (main): Remove informal message about syslog.
34281 (options): Fix typo.
34284 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34287 (llrintf): Likewise.
34288 (llrint): Likewise.
34291 (nearbyint): Likewise.
34292 (nearbyintf): Likewise.
34294 2012-05-09 Andreas Jaeger <aj@suse.de>
34295 Pedro Alves <palves@redhat.com>
34297 * nscd/nscd.c (run_mode): Use enum.
34298 (main): Cleanup coding style issue.
34300 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
34301 Andreas Jaeger <aj@suse.de>
34303 * nscd/nscd.c (go_background): Replaced with...
34304 (run_mode): ... this.
34305 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34306 (options): Add -F --foreground.
34307 (main): Implement it.
34308 (parse_opt): Parse it.
34310 2012-05-09 Andreas Jaeger <aj@suse.de>
34313 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34314 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34315 -Wconversion warning.
34316 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34319 2012-05-09 Joseph Myers <joseph@codesourcery.com>
34321 * conform/data/locale.h-data (NULL): Use macro-constant. Require
34323 (LC_ALL): Use macro-int-constant.
34324 (LC_COLLATE): Likewise.
34325 (LC_CTYPE): Likewise.
34326 (LC_MESSAGES): Likewise.
34327 (LC_MONETARY): Likewise.
34328 (LC_NUMERIC): Likewise.
34329 (LC_TIME): Likewise.
34330 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34331 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34332 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34333 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34335 [C99-based standards] (float_t): Expect type.
34336 [C99-based standards] (double_t): Expect type.
34337 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
34339 [C99-based standards] (HUGE_VALL): Likewise.
34340 [C99-based standards] (INFINITY): Likewise.
34341 [C99-based standards] (NAN): Likewise.
34342 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34343 [C99-based standards] (FP_NAN): Likewise.
34344 [C99-based standards] (FP_NORMAL): Likewise.
34345 [C99-based standards] (FP_SUBNORMAL): Likewise.
34346 [C99-based standards] (FP_ZERO): Likewise.
34347 [C99-based standards] (FP_FAST_FMA): Use
34348 optional-macro-int-constant. Specify type. Require == 1.
34349 [C99-based standards] (FP_FAST_FMAF): Likewise.
34350 [C99-based standards] (FP_FAST_FMAL): Likewise.
34351 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34352 [C99-based standards] (FP_ILOGBNAN): Likewise.
34353 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34355 [C99-based standards] (MATH_ERREXCEPT): Likewise.
34356 [C99-based standards] (math_errhandling): Specify type.
34357 [ISO99 || ISO11] (signgam): Do not allow.
34358 [non-C99-based standards] (copysignf): Do not allow.
34359 [non-C99-based standards] (exp2f): Likewise.
34360 [non-C99-based standards] (log2f): Likewise.
34361 [non-C99-based standards] (modff): Allow.
34362 [non-C99-based standards] (erff): Do not allow.
34363 [non-C99-based standards] (erfcf): Likewise.
34364 [non-C99-based standards] (gammaf): Likewise.
34365 [non-C99-based standards] (hypotf): Likewise.
34366 [non-C99-based standards] (j0f): Likewise.
34367 [non-C99-based standards] (j1f): Likewise.
34368 [non-C99-based standards] (jnf): Likewise.
34369 [non-C99-based standards] (lgammaf): Likewise.
34370 [non-C99-based standards] (tgammaf): Likewise.
34371 [non-C99-based standards] (y0f): Likewise.
34372 [non-C99-based standards] (y1f): Likewise.
34373 [non-C99-based standards] (ynf): Likewise.
34374 [non-C99-based standards] (isnanf): Likewise.
34375 [non-C99-based standards] (acoshf): Likewise.
34376 [non-C99-based standards] (asinhf): Likewise.
34377 [non-C99-based standards] (atanhf): Likewise.
34378 [non-C99-based standards] (cbrtf): Likewise.
34379 [non-C99-based standards] (expm1f): Likewise.
34380 [non-C99-based standards] (ilogbf): Likewise.
34381 [non-C99-based standards] (log1pf): Likewise.
34382 [non-C99-based standards] (logbf): Likewise.
34383 [non-C99-based standards] (nextafterf): Likewise.
34384 [non-C99-based standards] (remainderf): Likewise.
34385 [non-C99-based standards] (rintf): Likewise.
34386 [non-C99-based standards] (scalbf): Likewise.
34387 [non-C99-based standards] (copysignl): Likewise.
34388 [non-C99-based standards] (exp2l): Likewise.
34389 [non-C99-based standards] (log2l): Likewise.
34390 [non-C99-based standards] (modfl): Allow.
34391 [non-C99-based standards] (erfl): Do not allow.
34392 [non-C99-based standards] (erfcl): Likewise.
34393 [non-C99-based standards] (gammal): Likewise.
34394 [non-C99-based standards] (hypotl): Likewise.
34395 [non-C99-based standards] (j0l): Likewise.
34396 [non-C99-based standards] (j1l): Likewise.
34397 [non-C99-based standards] (jnl): Likewise.
34398 [non-C99-based standards] (lgammal): Likewise.
34399 [non-C99-based standards] (tgammal): Likewise.
34400 [non-C99-based standards] (y0l): Likewise.
34401 [non-C99-based standards] (y1l): Likewise.
34402 [non-C99-based standards] (ynl): Likewise.
34403 [non-C99-based standards] (isnanl): Likewise.
34404 [non-C99-based standards] (acoshl): Likewise.
34405 [non-C99-based standards] (asinhl): Likewise.
34406 [non-C99-based standards] (atanhl): Likewise.
34407 [non-C99-based standards] (cbrtl): Likewise.
34408 [non-C99-based standards] (expm1l): Likewise.
34409 [non-C99-based standards] (ilogbl): Likewise.
34410 [non-C99-based standards] (log1pl): Likewise.
34411 [non-C99-based standards] (logbl): Likewise.
34412 [non-C99-based standards] (nextafterl): Likewise.
34413 [non-C99-based standards] (remainderl): Likewise.
34414 [non-C99-based standards] (rintl): Likewise.
34415 [non-C99-based standards] (scalbl): Likewise.
34416 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34417 [non-C99-based standards] (FP_*): Do not allow.
34418 [C99-based standards] (FP_*): Change to
34419 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34420 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34422 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34423 (SIG_ERR): Likewise.
34424 [X/Open-based standards] (SIG_HOLD): Likewise.
34425 (SIG_IGN): Likewise.
34426 (SIGABRT): Use macro-int-constant. Specify type. Require
34428 (SIGFPE): Likewise.
34429 (SIGILL): Likewise.
34430 (SIGINT): Likewise.
34431 (SIGSEGV): Likewise.
34432 (SIGTER): Likewise.
34433 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34434 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34435 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34436 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34437 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34438 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34439 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34440 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34441 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34442 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34443 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34444 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34445 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34446 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34447 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34448 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34449 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34450 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34451 [X/Open-based standards] (SIGTRAP): Likewise.
34452 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34453 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34454 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34455 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34456 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34459 2012-05-08 Ian Wienand <ianw@vmware.com>
34462 * time/tzset.c (__tzset_parse_tz): Update default rules for
34463 daylight time changes in the Energy Policy Act of 2005.
34465 2012-05-09 Andreas Jaeger <aj@suse.de>
34468 * elf/ldconfig.c (parse_conf): Change string to make clear that
34469 ldconfig only issued a warning if ld.so.conf does not exist.
34471 2012-05-08 David S. Miller <davem@davemloft.net>
34473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34474 movxtod instead of popping the value on the stack.
34476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34478 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
34480 * config.h.in: Add HAVE_ARM_PCS_VFP.
34482 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
34485 * include/features.h: Warn if user requests __FORTIFY_SOURCE
34486 checking but the checks are disabled for any reason.
34488 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
34490 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34491 and ELF64_R_TYPE with ELFW(R_TYPE).
34493 2012-05-08 Joseph Myers <joseph@codesourcery.com>
34495 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34496 (ulimit): Likewise.
34498 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34499 (settimeofday): Likewise.
34501 2012-05-08 Mike Frysinger <vapier@gentoo.org>
34503 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
34504 a struct th_u2 inside the union, and move tu_block/tu_code into
34505 a new th_u3 union of tu_block/tu_code inside of that. Move
34506 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
34507 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
34508 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34509 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34510 (th_stuff): Change to th_u1.tu_stuff.
34512 (th_msg): Change to th_u1.th_u2.tu_data.
34514 2012-05-07 David S. Miller <davem@davemloft.net>
34516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34519 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34520 (SETUP_PIC_REG): Use it.
34521 (SETUP_PIC_REG_LEAF): Use it.
34523 2012-05-07 Joseph Myers <joseph@codesourcery.com>
34527 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34529 (EXPL_FINITE): Likewise.
34530 (FLDLOG): Likewise.
34531 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34532 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34534 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34536 (EXPL_FINITE): Likewise.
34537 (FLDLOG): Likewise.
34538 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34539 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34541 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
34542 test of -max_value argument for long double.
34543 * sysdeps/i386/fpu/libm-test-ulps: Update.
34544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34546 2012-05-06 David S. Miller <davem@davemloft.net>
34548 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34549 quad soft-float symbols whose references which are compiler
34551 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34553 2012-05-06 Joseph Myers <joseph@codesourcery.com>
34557 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34559 (EXPL_FINITE): Likewise.
34560 (FLDLOG): Likewise.
34563 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34564 Adjust comments for base varying.
34565 (__expl_finite): Change alias to EXPL_FINITE.
34566 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34568 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34569 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34570 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34571 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34572 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34574 (EXPL_FINITE): Likewise.
34575 (FLDLOG): Likewise.
34578 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34579 Adjust comments for base varying.
34580 (__expl_finite): Change alias to EXPL_FINITE.
34581 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
34583 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34586 * math/libm-test.inc (check_float_internal): Correct ulp
34587 calculation for subnormal expected results.
34589 2012-05-06 Andreas Jaeger <aj@suse.de>
34591 * Makeconfig (+math-flags): New, set to -frounding-math.
34592 (+cflags): Add +math-flags so that all of glibc gets compiled with
34595 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34597 2012-05-05 Joseph Myers <joseph@codesourcery.com>
34599 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34605 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34606 (__ieee754_expl): Allow for and saturate large arguments.
34607 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34608 (u_threshold): Likewise.
34609 (__exp): Call __ieee754_exp before checking for overflow and
34611 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34612 (u_threshold): Likewise.
34613 (__expf): Call __ieee754_expf before checking for overflow and
34615 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34616 (u_threshold): Likewise.
34617 (__expl): Call __ieee754_expl before checking for overflow and
34619 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34620 (__ieee754_expl): Allow for and saturate large arguments.
34621 * math/libm-test.inc (exp_test): Add another test. Do not allow
34622 missing overflow exception on overflow.
34623 (expm1_test): Do not allow missing overflow exception on overflow.
34625 * sysdeps/i386/fpu/e_expl.c: Move to ...
34626 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
34627 rather than using inline asm.
34628 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34629 * sysdeps/x86_64/fpu/e_expl.S: Copy from
34630 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34632 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34635 (signal): Likewise.
34639 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34641 * sysdeps/unix/syscalls.list (adjtime): Add entry from
34642 sysdeps/unix/common/syscalls.list.
34643 (fchmod): Likewise.
34644 (fchown): Likewise.
34645 (ftruncate): Likewise.
34646 (getrusage): Likewise.
34647 (gettimeofday): Likewise.
34648 (setpgid): Likewise.
34649 (setregid): Likewise.
34650 (setreuid): Likewise.
34651 (sigaction): Likewise.
34652 (truncate): Likewise.
34653 (vhangup): Likewise.
34654 * sysdeps/unix/common/syscalls.list: Remove file.
34655 * sysdeps/unix/bsd/Implies: Don't include unix/common.
34656 * sysdeps/unix/sysv/linux/Implies: Likewise.
34658 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
34660 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34661 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34662 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34666 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34669 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34672 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34675 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34677 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34678 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34680 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34681 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34683 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34684 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34688 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34692 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34695 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34697 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34699 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34703 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34705 * sysdeps/unix/common/bits/dirent.h: Remove file.
34706 * sysdeps/unix/common/bits/fcntl.h: Likewise.
34708 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34709 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34710 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34711 * sysdeps/unix/bsd/isatty.c: Likewise.
34712 * sysdeps/unix/bsd/tcdrain.c: Likewise.
34713 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34714 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34716 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34719 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34720 long double comparison inaccuracies.
34721 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34724 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
34726 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34727 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34729 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34732 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34733 nonzero digits before rounding a hex value.
34734 * stdlib/tst-strtod.c (tests): Add another test.
34736 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34738 * sysdeps/s390/fpu/libm-test-ulps: Update.
34740 2012-05-03 Andreas Jaeger <aj@suse.de>
34742 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
34743 does not get optimized out.
34744 (malloc_opt_barrier): New.
34746 2012-05-03 Andreas Jaeger <aj@suse.de>
34747 Roland McGrath <roland@hack.frob.com>
34749 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
34750 intermediate file deletion.
34751 (generated): Add .symlist files.
34753 2012-05-03 Joseph Myers <joseph@codesourcery.com>
34756 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
34757 Redirect under this condition.
34758 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34759 [__USE_GNU] (__dprintf_chk): Not under this condition.
34760 [__USE_GNU] (__vdprintf_chk): Likewise.
34761 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
34762 under this condition.
34763 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34764 [__USE_XOPEN2K8] (dprintf): Define under this condition.
34765 [__USE_XOPEN2K8] (vdprintf): Likewise.
34766 [__USE_GNU] (__dprintf_chk): Not under this condition.
34767 [__USE_GNU] (__vdprintf_chk): Likewise.
34768 [__USE_GNU] (dprintf): Likewise.
34769 [__USE_GNU] (vdprintf): Likewise.
34771 2012-05-03 Roland McGrath <roland@hack.frob.com>
34773 * elf/Makefile (common-generated): Set this instead of generated for
34774 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
34775 $(all-built-dso)-derived lists.
34777 2012-05-03 Andreas Jaeger <aj@suse.de>
34779 * sysdeps/i386/fpu/libm-test-ulps: Update.
34782 * FAQ.in: Likewise.
34783 * scripts/gen-FAQ.pl: Likewise.
34784 * manual/install.texi (Installation): Point to online location of
34786 * Makefile (files-for-dist): Remove FAQ.
34789 2012-05-02 Allan McRae <allan@archlinux.org>
34791 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
34792 (LDFLAGS-reldepmod5.so): Likewise.
34793 (LDFLAGS-reldep6mod1.so): Likewise.
34794 (LDFLAGS-reldep6mod4.so): Likewise.
34795 (LDFLAGS-reldep8mod3.so): Likewise.
34796 (LDFLAGS-unload4mod1.so): Likewise.
34797 (LDFLAGS-unload4mod2.so): Likewise.
34798 (LDFLAGS-tst-initorder): Likewise.
34799 (LDFLAGS-tst-initordera2.so): Likewise.
34800 (LDFLAGS-tst-initordera3.so): Likewise.
34801 (LDFLAGS-tst-initordera4.so): Likewise.
34802 (LDFLAGS-tst-initorderb2.so): Likewise.
34803 (LDFLAGS-noload): Likewise.
34804 (LDFLAGS-next): Likewise.
34805 (LDFLAGS-order2mod1.so): Likewise.
34806 (LDFLAGS-order2mod2.so): Likewise.
34807 (LDFLAGS-tst-initorder2): Likewise.
34808 (LDFLAGS-tst-initorder2a.so): Likewise.
34809 (LDFLAGS-tst-initorder2b.so): Likewise.
34810 (LDFLAGS-tst-initorder2c.so): Likewise.
34811 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
34813 2012-05-02 David S. Miller <davem@davemloft.net>
34815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34817 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
34820 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
34822 2012-05-02 Andreas Jaeger <aj@suse.de>
34824 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
34825 since we manipulate rounding mode.
34826 (CPPFLAGS-test-idouble.c): Likewise.
34827 (CPPFLAGS-test-ifloat.c): Likewise.
34828 (CFLAGS-test-ldouble.c): Likewise.
34829 (CFLAGS-test-double.c): Likewise.
34830 (CFLAGS-test-float.c): Likewise.
34831 (CFLAGS-test-misc.c): Likewise.
34832 (CFLAGS-test-test-fenv.c): Likewise.
34834 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34838 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
34839 comparisons to determine direction to adjust input.
34841 2012-05-01 Roland McGrath <roland@hack.frob.com>
34843 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
34844 output to the target.
34846 * scripts/localplt.awk: New file.
34847 * elf/Makefile ($(objpfx)check-localplt): Target removed.
34848 (check-localplt-CFLAGS): Variable removed.
34849 ($(all-built-dso:=.jmprel)): New static pattern rule.
34850 (generated): Add those targets.
34851 (localplt-built-dso): New variable.
34852 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
34854 * elf/check-localplt.c: File removed.
34856 * scripts/check-execstack.awk: New file.
34857 * elf/Makefile ($(objpfx)check-execstack): Target removed.
34858 (check-execstack-CFLAGS): Variable removed.
34859 ($(objpfx)check-execstack.h): Target removed.
34860 ($(objpfx)execstack-default): New target.
34861 (generated): Add that instead of check-execstack.h.
34862 ($(all-built-dso:=.phdr)): New static pattern rule.
34863 (generated): Add those targets.
34864 * elf/check-execstack.c: File removed.
34866 * scripts/check-textrel.awk: New file.
34867 * elf/Makefile ($(objpfx)check-textrel): Target removed.
34868 (check-textrel-CFLAGS): Variable removed.
34869 (all-built-dso): Use := to define.o
34870 ($(all-built-dso:=.dyn)): New static pattern rule.
34871 (generated): Add those targets.
34872 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
34873 * config.make.in (READELF): New substituted variable.
34874 * elf/check-textrel.c: File removed.
34876 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34878 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34880 * conform/data/ctype.h-data [C99-based standards] (isblank):
34882 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
34883 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
34884 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34885 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
34886 Specify type. Require positive value.
34887 (EILSEQ): Likewise.
34888 (ERANGE): Likewise.
34889 [ISO || POSIX] (EILSEQ): Do not expect.
34890 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
34891 Specify type. Require positive value.
34892 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
34893 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
34894 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
34895 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
34896 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
34897 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
34898 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
34899 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
34900 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
34901 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
34902 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
34903 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
34904 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
34905 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
34906 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
34907 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
34908 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34909 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
34910 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
34911 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34912 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34913 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34914 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
34915 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
34916 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34917 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34918 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34919 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34920 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34921 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34922 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34923 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34924 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34925 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34926 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34927 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34928 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34929 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34930 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34931 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34932 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34933 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34934 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34935 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34936 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34937 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34938 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34939 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34940 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34941 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34942 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34943 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34944 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34945 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34946 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34947 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34948 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34949 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34950 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34951 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34952 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34953 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34954 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34955 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34956 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34957 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34958 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34959 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34960 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34961 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34962 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34963 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34964 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34965 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34966 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34967 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34968 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34970 (FLT_ROUNDS): Expect as macro, not constant.
34971 (FLT_MANT_DIG): Use macro-int-constant.
34972 (DBL_MANT_DIG): Likewise.
34973 (LDBL_MANT_DIG): Likewise.
34974 (FLT_DIG): Likewise.
34975 (DBL_DIG): Likewise.
34976 (LDBL_DIG): Likewise.
34977 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
34978 (DBL_MIN_EXP): Likewise.
34979 (LDBL_MIN_EXP): Likewise.
34980 (FLT_MAX_EXP): Use macro-int-constant.
34981 (DBL_MAX_EXP): Likewise.
34982 (LDBL_MAX_EXP): Likewise.
34983 (FLT_MAX_10_EXP): Likewise.
34984 (DBL_MAX_10_EXP): Likewise.
34985 (LDBL_MAX_10_EXP): Likewise.
34986 (FLT_MAX): Use macro-constant.
34987 (DBL_MAX): Likewise.
34988 (LDBL_MAX): Likewise.
34989 (FLT_EPSILON): Use macro-constant. Give upper bound.
34990 (DBL_EPSILON): Likewise.
34991 (LDBL_EPSILON): Likewise.
34992 (FLT_MIN): Likewise.
34993 (DBL_MIN): Likewise.
34994 (LDBL_MIN): Likewise.
34995 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34996 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34997 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34998 [ISO11] (FLT_HAS_SUBNORM): Likewise.
34999 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35000 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35001 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35002 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35003 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35004 [ISO11] (FLT_TRUE_MIN): Likewise.
35005 [ISO11] (LDBL_TRUE_MIN): Likewise.
35006 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35007 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35008 (SCHAR_MIN): Use macro-int-constant. Specify type.
35009 (SCHAR_MAX): Likewise.
35010 (UCHAR_MAX): Likewise.
35011 (CHAR_MIN): Likewise.
35012 (CHAR_MAX): Likewise.
35013 (MB_LEN_MAX): Use macro-int-constant.
35014 (SHRT_MIN): Use macro-int-constant. Specify type.
35015 (SHRT_MAX): Likewise.
35016 (USHRT_MAX): Likewise.
35017 (INT_MAX): Likewise.
35018 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35020 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35022 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35024 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35025 bound negative. Suffix upper bound with "L".
35026 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35028 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35030 [C99-based standards] (LLONG_MAX): Likewise.
35031 [C99-based standards] (ULLONG_MAX): Likewise.
35032 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35034 [ISO11] (max_align_t): Require type.
35035 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35037 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35038 from $CFLAGS, without defining away __attribute__ calls.
35039 (checknamespace): Use $CFLAGS_namespace.
35041 * conform/conformtest.pl (@keywords): Only include C99 keywords
35042 for standards based on C99 or C11.
35044 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35046 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35049 * conform/conformtest.pl: Handle "macro-int-constant" and test for
35050 usability of symbols in #if.
35052 * conform/conformtest.pl: If macro or constant types start
35053 "promoted:", expect the symbol to be of the following type
35054 promoted by the integer promotions.
35056 * conform/conformtest.pl: Parse all "constant" and "macro" lines
35057 in one place. Also handle "macro-constant".
35059 * conform/conformtest.pl: Only accept expected macro values with
35060 "==". Parse all "macro" lines in one place.
35061 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35063 * conform/conformtest.pl: Handle braced types on "constant" lines
35064 instead of handling "typed-constant".
35065 * conform/data/signal.h-data: Use "constant" instead of
35068 * conform/conformtest.pl: Handle "optional-" at start of lines in
35069 one place rather than duplicating several cases. Handle each
35070 format of "macro" line with initial "optional-".
35072 * conform/conformtest.pl: Only accept expected constant or
35073 optional-constant values with "==". Parse all "constant" lines in
35074 one place. Parse all "optional-constant" lines in one place.
35075 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35076 * conform/data/fmtmsg.h-data: Likewise.
35077 * conform/data/netinet/in.h-data: Likewise.
35078 * conform/data/tar.h-data: Likewise.
35079 * conform/data/limits.h-data: Use "==" form on "constant" and
35080 "optional-constant" lines.
35082 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35083 Use -std=c99 for XOPEN2K.
35084 (@knownproblems): Remove.
35085 (newtoken): Don't check %isknown.
35087 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35088 Do not expect macro.
35089 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35090 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35091 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35092 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35093 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35094 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35095 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35096 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35097 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35098 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35099 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35100 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35101 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35102 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35103 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35104 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35105 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35106 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35107 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35108 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35109 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35110 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35111 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35112 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35113 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35114 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35115 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35116 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35117 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35118 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35119 [XPG3] (acosh): Likewise.
35120 [XPG3] (asinh): Likewise.
35121 [XPG3] (atanh): Likewise.
35122 [XPG3] (cbrt): Likewise.
35123 [XPG3] (expm1): Likewise.
35124 [XPG3] (ilogb): Likewise.
35125 [XPG3] (log1p): Likewise.
35126 [XPG3] (logb): Likewise.
35127 [XPG3] (nextafter): Likewise.
35128 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35129 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35130 [XPG3] (remainder): Likewise.
35131 [XPG3] (rint): Likewise.
35132 [XPG3 || XPG4 || UNIX98] (round): Likewise.
35133 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35134 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35135 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35136 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35137 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35138 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35139 [UNIX98 || XOPEN2K] (scalb): Expect.
35140 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35141 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35142 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35143 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35144 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35145 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35146 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35147 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35148 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35149 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35150 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35151 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35152 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35153 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35154 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35155 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35156 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35157 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35158 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35159 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35160 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35161 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35162 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35163 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35164 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35165 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35166 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35167 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35168 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35169 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35170 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35171 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35172 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35173 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35174 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35175 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35176 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35177 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35178 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35179 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35180 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35181 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35182 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35183 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35184 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35185 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35186 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35187 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35188 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35189 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35190 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35191 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35192 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35193 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35194 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35195 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35196 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35197 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35198 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35199 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35200 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35201 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35202 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35203 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35204 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35205 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35206 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35207 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35208 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35209 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35210 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35211 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35212 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35213 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35214 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35215 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35216 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35217 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35218 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35219 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35220 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35221 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35222 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35223 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35224 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35225 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35226 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35227 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35228 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35229 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35230 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35231 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35232 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35233 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35234 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35235 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35236 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35237 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35238 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35239 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35240 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35241 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35242 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35243 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35244 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35245 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35246 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35247 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35248 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35249 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35250 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35251 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35252 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35253 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35254 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35255 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35256 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35257 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35258 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35259 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35260 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35261 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35262 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35263 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35264 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35265 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35266 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35267 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35268 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35269 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35270 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35271 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35272 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35273 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35274 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35275 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35276 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35278 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35279 _XOPEN_SOURCE_EXTENDED for XPG4.
35281 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35283 * Makeconfig (localtime): Remove variable.
35284 (inst_localtime-file): Likewise.
35286 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35307 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35311 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35312 comparisons to determine direction to adjust input.
35313 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35314 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35315 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35317 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35319 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35321 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35322 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35324 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35326 * math/libm-test.inc (nexttoward_test): Add more tests.
35328 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35331 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35332 in version GLIBC_2.1, not GLIBC_2.0.
35333 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35336 2012-04-30 Joseph Myers <joseph@codesourcery.com>
35339 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35341 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35342 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35343 * math/libm-test.inc (acos_test): Add more tests.
35344 (asin_test): Likewise.
35345 * sysdeps/i386/fpu/libm-test-ulps: Update.
35346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35349 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35351 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35352 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35353 * math/libm-test.inc (acos_test_tonearest): New function.
35354 (acos_test_towardzero): Likewise.
35355 (acos_test_downward): Likewise.
35356 (acos_test_upward): Likewise.
35357 (asin_test_tonearest): Likewise.
35358 (asin_test_towardzero): Likewise.
35359 (asin_test_downward): Likewise.
35360 (asin_test_upward): Likewise.
35361 (main): Call the new functions.
35362 * sysdeps/i386/fpu/libm-test-ulps: Update.
35363 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35367 * math/e_exp10.c: Include <float.h>.
35368 (__ieee754_exp10): Handle underflow here rather than multiplying
35369 large negative argument by M_LN10.
35370 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35372 * math/e_exp10l.c: Include <float.h>.
35373 (__ieee754_exp10l): Handle underflow here rather than multiplying
35374 large negative argument by M_LN10l.
35375 * math/libm-test.inc (exp10_test): Add another test. Do not allow
35376 spurious overflow exception on underflow.
35378 2012-04-29 Marek Polacek <polacek@redhat.com>
35380 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35381 (__fortify_function): New macro.
35382 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35383 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35384 __extern_always_inline.
35385 * libio/bits/stdio2.h: Likewise.
35386 * libio/bits/stdio.h: Likewise.
35387 * string/string.h: Likewise.
35388 * string/bits/string3.h: Likewise.
35389 * include/stdio.h: Likewise.
35390 * stdlib/bits/stdlib.h: Likewise.
35391 * stdlib/stdlib.h: Likewise.
35392 * rt/bits/mqueue2.h: Likewise.
35393 * rt/mqueue.h: Likewise.
35394 * posix/bits/unistd.h: Likewise.
35395 * posix/unistd.h: Likewise.
35396 * io/bits/poll2.h: Likewise.
35397 * io/bits/fcntl2.h: Likewise.
35398 * io/fcntl.h: Likewise.
35399 * io/sys/poll.h: Likewise.
35400 * misc/bits/syslog.h: Likewise.
35401 * misc/bits/syslog-ldbl.h: Likewise.
35402 * misc/sys/syslog.h: Likewise.
35403 * socket/bits/socket2.h: Likewise.
35404 * socket/sys/socket.h: Likewise.
35405 * debug/tst-chk1.c: Likewise.
35406 * wcsmbs/bits/wchar2.h: Likewise.
35407 * wcsmbs/bits/wchar-ldbl.h: Likewise.
35408 * wcsmbs/wchar.h: Likewise.
35410 2012-04-29 Andreas Jaeger <aj@suse.de>
35412 * Makerules (tests): Remove enable-check-abi protection.
35413 (check-abi-warn): Remove.
35414 (check-abi-%): Remove check-abi-warn usage.
35416 * configure.in: Remove check-abi configure option.
35417 * configure: Regenerated.
35418 * config.make.in (enable-check-abi): Remove.
35420 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
35423 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35424 double functions to double *_finite functions.
35427 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35428 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35430 * stdio-common/Makefile (tests): Add tst-sprintf3.
35431 * stdio-common/tst-sprintf3.c: New file.
35433 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35434 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35436 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35438 * conform/conformtest.pl: Remove duplicate typed-constant
35441 2012-04-28 David S. Miller <davem@davemloft.net>
35443 * Makerules (%.abilist): Add vpath on sysdep_dirs.
35444 (check-abi-%): Remove AWK script prerequisite and explicit
35446 (check-abi): Rewrite to just diff the symlist with the abilist.
35447 (config-tls, config-abi-config): Delete, no longer used.
35448 (update-abi-%): Remove AWK script and explicit abilist directory.
35449 (update-abi): Rewrite to simply compare and conditionally copy the
35450 symlist and the sysdep abilist file. Remove update-abi-config
35452 * abilist/ld.abilist: Remove.
35453 * abilist/libBrokenLocale.abilist: Remove.
35454 * abilist/libanl.abilist: Remove.
35455 * abilist/libcrypt.abilist: Remove.
35456 * abilist/libdl.abilist: Remove.
35457 * abilist/librt.abilist: Remove.
35458 * abilist/libthread_db.abilist: Remove.
35459 * abilist/libutil.abilist: Remove.
35460 * scripts/extract-abilist.awk: Remove.
35461 * scripts/merge-abilist.awk: Remove.
35462 * sysdeps/generic/libcidn.abilist: New file.
35463 * sysdeps/generic/libnss_compat.abilist: New file.
35464 * sysdeps/generic/libnss_db.abilist: New file.
35465 * sysdeps/generic/libnss_dns.abilist: New file.
35466 * sysdeps/generic/libnss_files.abilist: New file.
35467 * sysdeps/generic/libnss_hesiod.abilist: New file.
35468 * sysdeps/generic/libnss_nis.abilist: New file.
35469 * sysdeps/generic/libnss_nisplus.abilist: New file.
35470 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35471 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35472 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35474 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35475 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35476 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35477 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35478 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35479 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35480 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35481 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35482 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35484 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35485 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35486 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35487 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35489 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35490 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35491 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35492 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35493 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35494 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35496 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35497 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35498 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35500 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35501 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35503 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35505 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35507 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35509 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35511 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35513 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35515 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35517 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35519 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35521 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35523 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35525 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35603 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35604 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35605 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35607 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35608 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35609 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35610 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35611 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35612 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35613 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35614 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35615 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35616 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35668 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35670 * conform/conformtest.pl: Fix typo in handling typed-constant from
35673 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35675 * README: Cut down references to pre-2.6 Linux kernels and
35676 Linuxthreads. Update lists of configurations in libc and ports
35677 and sort alphabetically. Say "or newer" with Linux kernel version
35680 * config.h.in [IS_IN_build]: Allow compiling without optimization.
35682 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35685 * math/libm-test.inc (logb_test_downward): New test to expose
35686 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35689 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35692 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35694 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35695 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35697 2012-04-26 Joseph Myers <joseph@codesourcery.com>
35699 * sysdeps/unix/i386/brk.S: Remove file.
35700 * sysdeps/unix/i386/dl-brk.S: Likewise.
35701 * sysdeps/unix/i386/pipe.S: Likewise.
35702 * sysdeps/unix/i386/sigreturn.S: Likewise.
35703 * sysdeps/unix/i386/syscall.S: Likewise.
35704 * sysdeps/unix/i386/vfork.S: Likewise.
35705 * sysdeps/unix/i386/wait.S: Likewise.
35707 * sysdeps/unix/common/tcsendbrk.c: Move to ...
35708 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35710 * configure.in (arm*-none*): Do not allow without
35711 --enable-hacker-mode.
35712 (netbsd*): Remove case setting base_os.
35713 (386bsd*): Likewise.
35714 (freebsd*): Likewise.
35717 (sunos*): Likewise.
35718 (ultrix*): Likewise.
35719 (newsos*): Likewise.
35720 (dynix*): Likewise.
35726 (minix*): Likewise.
35727 (irix4*): Likewise.
35728 (irix6*): Likewise.
35729 (solaris[2-9]*): Likewise.
35731 * configure: Regenerated.
35733 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35736 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
35737 overflow or cancellation in calculating denominator.
35738 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
35739 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
35740 down expression to avoid unexpected rounding in newer GCCs.
35741 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35743 2012-04-26 David S. Miller <davem@davemloft.net>
35745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
35746 long-double compat symbols.
35747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
35751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
35753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
35754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
35755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
35756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
35758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
35759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35761 2012-04-25 David S. Miller <davem@davemloft.net>
35763 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
35764 HWCAP_* values only after the memory barriers have been defined.
35765 (atomic_full_barrier): Define.
35766 (atomic_read_barrier): Define.
35767 (atomic_write_barrier): Define.
35769 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35771 * shlib-versions: Add libgcc_s version information.
35772 * sysdeps/generic/libgcc_s.h: Remove.
35773 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
35775 * sysdeps/gnu/unwind-resume.c: Likewise.
35776 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
35778 2012-04-25 David S. Miller <davem@davemloft.net>
35780 * sysdeps/unix/sparc/brk.S: Delete.
35781 * sysdeps/unix/sparc/dl-brk.S: Delete.
35782 * sysdeps/unix/sparc/pipe.S: Delete.
35783 * sysdeps/unix/sparc/sysdep.S: Delete.
35784 * sysdeps/unix/sparc/sysdep.h: Delete.
35785 * sysdeps/unix/sparc/vfork.S: Delete.
35786 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
35787 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
35788 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
35789 (ret_ERRVAL, r0, r1, MOVE): Define.
35790 (JUMPTARGET): Remove.
35791 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
35792 sysdeps/unix/sparc/sysdep.h
35793 (ENTRY, END): Remove.
35794 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35796 2012-04-25 Joseph Myers <joseph@codesourcery.com>
35798 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
35799 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
35802 * timezone/README: Update upstream location and email address for
35804 * timezone/zdump.c: Update from tzcode 2012b.
35805 * timezone/zic.c: Likewise.
35807 * configure.in (libc_cv_as_needed): Remove test.
35808 * configure: Regenerated.
35809 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
35810 conditional definition.
35811 [$(have-as-needed) != yes] (no-as-needed): Likewise.
35812 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
35813 * config.make.in (have-as-needed): Remove variable.
35815 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35816 Paul Pluzhnikov <ppluzhnikov@google.com>
35818 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
35821 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
35823 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
35824 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
35825 * sysdeps/sh/strlen.S: Likewise.
35827 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35829 * sysdeps/unix/fork.S: Remove file.
35830 * sysdeps/unix/i386/fork.S: Likewise.
35831 * sysdeps/unix/sparc/fork.S: Likewise.
35833 * sysdeps/unix/system.c: Remove file.
35834 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
35836 * sysdeps/unix/getegid.S: Remove file.
35837 * sysdeps/unix/geteuid.S: Likewise.
35839 2012-04-24 Roland McGrath <roland@hack.frob.com>
35841 * scripts/check-localplt.awk: New file.
35842 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
35844 * scripts/data/localplt-generic.data: Add a comment.
35846 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
35847 NODE when __dir_mkfile failed.
35848 * sysdeps/mach/hurd/symlinkat.c: Likewise.
35849 Reported by Ludovic Courtès <ludo@gnu.org>.
35851 2012-04-24 Andreas Jaeger <aj@suse.de>
35853 * Makerules (common-clean): Also remove gen-as-const-headers
35856 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35858 * Makerules (native-compile): Do not change working directory for
35859 build. Use $(OUTPUT_OPTION) in command.
35860 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
35862 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35865 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
35866 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
35867 * math/libm-test.inc (floor_test): Add more tests.
35868 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
35870 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35872 * sysdeps/unix/getdents.c: Remove file.
35873 * sysdeps/unix/sysv/getdents.c: Likewise.
35874 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
35876 * sysdeps/unix/syscalls.list (madvise): Add syscall from
35877 sysdeps/unix/mman/syscalls.list.
35879 (mprotect): Likewise.
35881 (munmap): Likewise.
35882 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
35883 * sysdeps/unix/mman/syscalls.list: Remove.
35884 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35886 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
35887 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
35888 * configure: Regenerated.
35889 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35890 $(libgcc_s_suffix).
35891 * config.make.in (libgcc_s_suffix): Remove variable.
35893 2012-04-23 Joseph Myers <joseph@codesourcery.com>
35895 * sysdeps/unix/sysv/gethostname.c: Move to ...
35896 * sysdeps/posix/gethostname.c: ... here.
35898 * sysdeps/unix/execve.S: Remove file.
35900 * sysdeps/unix/_exit.S: Remove file.
35902 2012-04-23 Andreas Jaeger <aj@suse.de>
35905 * manual/Makefile: Remove make dist support, there's no
35906 need for a stand-alone documentation tar ball.
35907 (TEXI2DVI): Define always, it's not in Makeconfig.
35910 (edition): Removed.
35911 (glibc-doc-$(edition).tar): Removed
35915 (ETAGS): Remove, it's in Makeconfig.
35916 (move-if-change): Remove, it's in Makeconfig.
35918 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
35921 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35922 (strtod, strtof, strtold, strtol, strtoul, strtoq)
35923 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35924 (strtod_l, strtof_l, strtold_l): Remove __wur.
35925 It is not necessarily an error to ignore strtol's return value.
35926 One can reliably look at the stored endptr to decide whether
35927 the number had valid syntax.
35929 2012-04-21 Andreas Jaeger <aj@suse.de>
35932 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35934 2012-04-21 Joseph Myers <joseph@codesourcery.com>
35936 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35937 * sysdeps/unix/sysv/Versions: Remove file.
35939 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
35942 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35944 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
35947 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35948 version from __vm86.
35950 2012-04-20 Joseph Myers <joseph@codesourcery.com>
35952 * sysdeps/unix/common/lxstat.c: Remove file.
35953 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35955 * sysdeps/unix/sysv/Makefile: Remove file.
35957 * sysdeps/unix/sysv/direct.h: Remove file.
35959 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35960 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35961 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35962 * sysdeps/unix/sysv/bits/signum.h: Likewise.
35963 * sysdeps/unix/sysv/bits/stat.h: Likewise.
35964 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35965 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35967 * sysdeps/unix/sysv/setrlimit.c: Remove file.
35969 * sysdeps/unix/xmknod.c: Remove file.
35970 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35972 * sysdeps/unix/sysv/settimeofday.c: Remove file.
35974 * sysdeps/unix/sysv/i386/time.S: Remove file.
35976 * sysdeps/unix/fxstat.c: Remove file.
35977 * sysdeps/unix/xstat.c: Likewise.
35978 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35980 * sysdeps/unix/sysv/sigaction.c: Remove file.
35982 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35983 (sysdep_headers): Remove variable.
35984 [termio.h not in sysdep_headers] (generated): Likewise.
35985 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35986 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35987 * sysdeps/unix/sysv/tcdrain.c: Likewise.
35988 * sysdeps/unix/sysv/tcflow.c: Likewise.
35989 * sysdeps/unix/sysv/tcflush.c: Likewise.
35990 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35991 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35992 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35993 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35994 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35996 * sysdeps/unix/siglist.c: Remove file.
35998 * sysdeps/unix/getppid.S: Remove file.
36000 * sysdeps/unix/mkdir.c: Remove file.
36001 * sysdeps/unix/rmdir.c: Likewise.
36003 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36005 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36007 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36008 errlist-compat value.
36010 2012-04-18 David S. Miller <davem@davemloft.net>
36012 * sysdeps/generic/memcopy.h (reg_char): Delete.
36013 * debug/strcat_chk.c: Use char, not reg_char.
36014 * debug/strcpy_chk.c: Likewise.
36015 * debug/strncat_chk.c: Likewise.
36016 * debug/strncpy_chk.c: Likewise.
36017 * string/memchr.c: Likewise.
36018 * string/memrchr.c: Likewise.
36019 * string/rawmemchr.c: Likewise.
36020 * string/strcat.c: Likewise.
36021 * string/strchr.c: Likewise.
36022 * string/strchrnul.c: Likewise.
36023 * string/strcmp.c: Likewise.
36024 * string/strcpy.c: Likewise.
36025 * string/strncat.c: Likewise.
36026 * string/strncmp.c: Likewise.
36027 * string/strncpy.c: Likewise.
36029 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36031 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36032 __builtin_memcopy is called when src and dest ranges are known to not
36035 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36037 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36038 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36039 fwd_align_merge macro call.
36040 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36041 bwd_align_merge macro call.
36042 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36044 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36046 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36047 bwd_align_merge macros.
36048 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36049 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36050 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36052 2012-04-18 David S. Miller <davem@davemloft.net>
36054 * sysdeps/sparc/sparc64/memcopy.h: Delete.
36056 2012-04-18 Andreas Jaeger <aj@suse.de>
36059 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36060 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36061 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36063 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36064 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36065 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36067 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36068 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36069 Adjust for changed ldbl-128 files.
36071 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36072 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36073 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36075 2012-04-17 David S. Miller <davem@davemloft.net>
36077 * sysdeps/sparc/sparc32/memcopy.h: Delete.
36079 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
36081 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36082 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36083 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36084 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36085 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36086 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36088 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36091 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36092 * math/libm-test.inc: Add ilogb errno and exception tests.
36093 * math/w_ilogb.c: New file: ilogb wrapper.
36094 * math/w_ilogbf.c: New file: ilogbf wrapper.
36095 * math/w_ilogbl.c: New file: ilogbl wrapper.
36096 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36097 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36098 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36099 exception being thrown with 0.0 as argument.
36100 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36101 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36102 exception being thrown with 0.0 as argument.
36103 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36104 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36105 exception being thrown with 0.0 as argument.
36106 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36107 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36108 exception being thrown with 0.0 as argument.
36109 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36110 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36111 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36112 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36113 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36114 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36115 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36116 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36117 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36119 2012-04-17 Petr Baudis <pasky@ucw.cz>
36121 * include/sys/uio.h: Change __vector to __iovec to avoid clash
36124 2012-04-16 Marek Polacek <polacek@redhat.com>
36126 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36128 2012-04-16 Marek Polacek <polacek@redhat.com>
36130 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36131 operands of fdivp instruction.
36133 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36135 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36136 * elf/tst-auditmod3b.c: Likewise.
36137 * elf/tst-auditmod4b.c: Likewise.
36138 * elf/tst-auditmod5b.c: Likewise.
36139 * elf/tst-auditmod6b.c: Likewise.
36140 * elf/tst-auditmod6c.c: Likewise.
36141 * elf/tst-auditmod7b.c: Likewise.
36142 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36143 * sysdeps/x86_64/preconfigure.in: Likewise.
36144 * sysdeps/x86_64/preconfigure: Regenerated.
36146 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36148 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36151 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
36153 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36154 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36156 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
36159 * locale/iso-639.def: Fix gl language name. Spotted by
36162 2012-04-12 Roland McGrath <roland@hack.frob.com>
36165 * libio/libio.h (__io_write_fn): Update comment.
36167 2012-04-12 Petr Baudis <pasky@ucw.cz>
36170 * stdio.texi (Hook Functions): The user provided writer function
36171 is not allowed to return -1.
36173 2012-04-11 David S. Miller <davem@davemloft.net>
36175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36177 2012-04-11 Mike Frysinger <vapier@gentoo.org>
36179 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36180 Add a leading slash to rtkaio.
36182 2012-04-11 Jim Meyering <meyering@redhat.com>
36185 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36186 It is not necessarily an error to ignore fwrite's return
36187 value. One can reliably use ferror to test for errors after
36190 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36192 * bits/types.h (__snseconds_t): New type.
36193 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36195 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36196 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36197 (__SNSECONDS_T_TYPE): Likewise.
36198 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36199 (__SNSECONDS_T_TYPE): Likewise.
36200 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36201 (__SNSECONDS_T_TYPE): Likewise.
36203 2012-04-10 Andreas Jaeger <aj@suse.de>
36206 * manual/time.texi (Processor Time): Return type of times is
36207 elapsed real time since an arbitrary point in the past.
36208 (CPU Time): Move CLK_TCK from here...
36209 (Processor Time): ...to here. Correct description.
36210 * manual/conf.texi (Constants for Sysconf): Correct description of
36213 2012-04-10 David S. Miller <davem@davemloft.net>
36216 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36217 where the is a gap between DT_REL(A) and DT_JMPREL.
36219 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36221 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36222 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36223 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36225 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36227 * elf/dl-support.c (_dl_inhibit_cache): New variable.
36228 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36229 (dl_main): Handle --inhibit-cache.
36230 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36232 * elf/dl-load.c (_dl_map_object): Use it.
36233 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36235 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36238 * sysdeps/i386/fpu/e_powl.S (p78): New object.
36239 (__ieee754_powl): Saturate large exponents rather than testing for
36240 overflow of y*log2(x).
36241 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36242 * math/libm-test.inc (pow_test): Do not permit spurious overflow
36246 * math/s_ctan.c: Include <float.h>.
36247 (__ctan): Avoid internal overflow or cancellation in calculating
36249 * math/s_ctanf.c: Likewise.
36250 * math/s_ctanl.c: Likewise.
36251 * math/s_ctanh.c: Likewise.
36252 * math/s_ctanhf.c: Likewise.
36253 * math/s_ctanhl.c: Likewise.
36254 * math/libm-test.inc (ctan_test): Add more tests.
36255 (ctanh_test): Likewise.
36256 * sysdeps/i386/fpu/libm-test-ulps: Update.
36257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36259 2012-04-09 Andreas Jaeger <aj@suse.de>
36262 * manual/filesys.texi (Directory Entries): Mention that d_namlen
36263 is an optional BSD extension.
36266 * manual/stdio.texi (Opening Streams): Document additional fopen
36269 2012-04-09 Roland McGrath <roland@hack.frob.com>
36271 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36272 %eax without telling the compiler.
36274 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
36277 * manual/install.texi: Use sourceware.org.
36279 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36282 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36283 (__ieee754_pow): Generate overflow and underflow using huge*huge
36284 and tiny*tiny rather than just returning constant infinity or zero
36285 for large exponents.
36286 * math/libm-test.inc (pow_test): Require overflow exceptions for
36287 applicable cases of large exponents.
36290 * sysdeps/i386/fpu/e_pow.S (p10): New object.
36291 (__ieee754_pow): Use iterative multiplication algorithm only for
36292 integer exponents with absolute value below 1024. Check for odd
36293 integer exponents when using algorithm for real exponents.
36294 * math/libm-test.inc (pow_test): Add more tests.
36295 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36297 2012-04-08 Joseph Myers <joseph@codesourcery.com>
36300 * math/libm-test.inc (exp_test): Do not allow overflow exception
36303 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
36306 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36307 instead of __kernel_standard_f.
36309 2012-04-08 Mike Frysinger <vapier@gentoo.org>
36311 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36312 * sysdeps/x86_64/memset_chk.S: Likewise.
36314 2012-04-08 Andreas Jaeger <aj@suse.de>
36317 * manual/startup.texi (Environment Access): Describe return value
36318 for putenv and setenv.
36321 * manual/filesys.texi (Directory Entries): Add description for
36325 * manual/filesys.texi (Directory Entries): Clarify that it's file
36326 system not operating system in the description of DT_UNKNOWN.
36329 * manual/syslog.texi (closelog): Fix reference, it's openlog.
36331 2012-04-08 Stephen Compall <s11@member.fsf.org>
36334 * manual/llio.texi (Opening and Closing Files): Add cross
36335 reference to explain mode argument.
36337 2012-04-07 Mike Frysinger <vapier@gentoo.org>
36339 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36340 * sysdeps/x86_64/memset_chk.S: Likewise.
36342 2012-04-07 David S. Miller <davem@davemloft.net>
36344 * elf/elf.h (R_SPARC_WDISP10): Define.
36345 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36347 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36348 R_SPARC_SIZE64 and R_SPARC_H34.
36350 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
36352 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36353 conditions and remove no longer applicable assertion.
36355 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36357 * bits/byteswap.h: Include <features.h>.
36358 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36359 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36361 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36363 * bits/byteswap.h (__bswap_16): Removed.
36364 Include <bits/byteswap-16.h> to get __bswap_16.
36365 * sysdeps/i386/bits/byteswap.h: Likewise.
36366 * sysdeps/s390/bits/byteswap.h: Likewise.
36367 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36368 * bits/byteswap-16.h: New file.
36369 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36370 * sysdeps/s390/bits/byteswap-16.h: Likewise.
36371 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36372 * string/Makefile (headers): Add bits/byteswap-16.h.
36374 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36377 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36379 * nss/Makefile (tests-static, tests): Add tst-nss-static.
36380 * nss/tst-nss-static.c: New.
36382 2012-04-06 Robert Millan <rmh@gnu.org>
36385 * manual/llio.texi (File Position Primitive): lseek
36386 refers to WHENCE when it really means OFFSET.
36388 2012-04-06 Andreas Jaeger <aj@suse.de>
36390 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36391 strncmp declarations.
36393 * abilist/libc.abilist: Add __poll and __ppoll.
36395 2012-04-05 David S. Miller <davem@davemloft.net>
36397 * scripts/check-local-headers.sh: Accept a host triplet in the
36398 path matched by the exclude regexp.
36400 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36402 * sysdeps/powerpc/powerpc32/dl-machine.h
36403 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36404 * sysdeps/s390/s390-32/dl-machine.h
36405 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36406 * sysdeps/sparc/sparc32/dl-machine.h
36407 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36408 * sysdeps/sparc/sparc64/dl-machine.h
36409 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36411 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36413 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36414 undefined symbol errors.
36416 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36419 2012-04-05 Michael Matz <matz@suse.de>
36422 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36424 2012-04-05 Andreas Jaeger <aj@suse.de>
36427 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36430 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36432 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36433 which ROUND is no valid rounding mode.
36435 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36437 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36439 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36441 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36443 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36444 an exception using FPU order intentionally.
36446 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36448 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36449 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36450 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36451 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36453 2012-04-05 Simon Josefsson <simon@josefsson.org>
36456 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36457 EINVAL when BUFLEN is too smal.
36459 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
36462 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36463 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36465 2012-04-03 Andreas Jaeger <aj@suse.de>
36468 * manual/setjmp.texi (System V contexts): Fix sentence.
36471 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36472 New macro for this case.
36473 [!__GNUC__] (__bswap_64): New inline function for this case.
36474 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36475 * bits/byteswap.h: Likewise.
36476 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36477 ull, guard with __GLIBC_HAVE_LONG_LONG.
36479 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36480 __GLIBC_HAVE_LONG_LONG.
36482 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36483 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36485 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36488 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36489 inptr and inend, rather than using last_ch.
36491 2012-04-02 David S. Miller <davem@davemloft.net>
36493 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36494 * stdio-common/printf-parse.h (read_int): Change return type to
36495 'int', return -1 on INT_MAX overflow.
36496 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36497 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
36498 overflows INT_MAX. Check for overflow of in-format-string precision
36499 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
36500 SIZE_MAX not INT_MAX for integer overflow test.
36501 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36502 skip the construct in the format string but do not record anything.
36503 * stdio-common/bug22.c: Adjust to test both width/prevision
36504 INT_MAX overflow as well as total length INT_MAX overflow. Check
36505 explicitly for proper errno values.
36507 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
36509 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36511 * string/test-strcmp.c [! WIDE]: Likewise.
36512 * time/tst-mktime2.c: Likewise for INT_MAX.
36513 * string/test-string.h: #include <sys/param.h> for MIN.
36515 * csu/init-first.c (__libc_init_first): Call __ctype_init.
36516 * sysdeps/i386/init-first.c (init): Likewise.
36517 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36518 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36519 * sysdeps/sh/init-first.c (init): Likewise.
36521 2012-04-01 Ulrich Drepper <drepper@gmail.com>
36523 * po/ru.po: Update from translation team.
36524 * po/vi.po: Likewise.
36526 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36528 * resolv/nss_dns/dns-host.c: Merge copyright years.
36530 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36532 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36533 Optimize memcpy with prefetch if
36534 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
36535 src, dst pointers have unequal 16 byte alignments.
36537 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36540 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36541 from a CNAME entry and return the minimum ttl for the query.
36542 (gaih_getanswer_slice): Likewise.
36544 2012-03-30 Jeff Law <law@redhat.com>
36546 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36548 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36549 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36551 * resolv/nss_dns/dns-host.c: Update copyright year.
36553 2012-03-30 Ulrich Drepper <drepper@gmail.com>
36555 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36556 requests to save a system call. Fix check that all bytes are sent.
36558 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36559 comments for sendmmsg.
36561 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36564 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36565 with only 1 character between 0x0041 and 0x01b0.
36566 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36567 * wcsmbs/tst-mbsnrtowcs.c: New file.
36569 2012-03-29 David S. Miller <davem@davemloft.net>
36571 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36572 small copies by hand.
36574 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36577 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36578 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36581 2012-03-28 David S. Miller <davem@davemloft.net>
36583 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36584 that branches into memcpy.
36585 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36586 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36587 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36588 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36589 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36591 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36592 implementation too.
36593 * sysdeps/sparc/mempcpy.S: New file.
36595 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36596 the IFUNC routine in the libc case.
36597 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36599 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36600 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36601 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36602 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36603 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36604 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36605 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36606 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36608 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36609 loop to 256 bytes instead of 64 bytes and fix test signedness.
36611 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36612 * sysdeps/sparc/sparc32/Makefile: rather than here...
36613 * sysdeps/sparc/sparc64/Makefile: and here.
36615 2012-03-28 Ulrich Drepper <drepper@gmail.com>
36617 * malloc/mallocbug.c: Avoid warnings about unused variables.
36619 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36622 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36623 in the right place. Discard and retry query if response is
36624 larger than input buffer size.
36626 2012-03-28 Joseph Myers <joseph@codesourcery.com>
36631 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36632 x for large integer exponent.
36633 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36634 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
36635 sign of result as needed afterwards.
36636 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36637 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36638 result for underflowing pow the same as for overflow.
36639 (__kernel_standard_l): Handle powl overflow and underflow here
36640 rather than calling __kernel_standard.
36641 * math/libm-test.inc (pow_test): Add more tests.
36656 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36657 * sysdeps/ieee754/k_standard.c: Include <float.h>.
36658 (__kernel_standard_l): New function.
36659 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36661 * math/w_acosl.c (__acosl): Likewise.
36662 * math/w_asinl.c (__asinl): Likewise.
36663 * math/w_atan2l.c (__atan2l): Likewise.
36664 * math/w_atanhl.c (__atanhl): Likewise.
36665 * math/w_coshl.c (__coshl): Likewise.
36666 * math/w_exp10l.c (__exp10l): Likewise.
36667 * math/w_exp2l.c (__exp2l): Likewise.
36668 * math/w_fmodl.c (__fmodl): Likewise.
36669 * math/w_hypotl.c (__hypotl): Likewise.
36670 * math/w_j0l.c (__j0l, __y0l): Likewise.
36671 * math/w_j1l.c (__j1l, __y1l): Likewise.
36672 * math/w_jnl.c (__jnl, __ynl): Likewise.
36673 * math/w_lgammal.c (__lgammal): Likewise.
36674 * math/w_log10l.c (__log10l): Likewise.
36675 * math/w_log2l.c (__log2l): Likewise.
36676 * math/w_logl.c (__logl): Likewise.
36677 * math/w_powl.c (__powl): Likewise.
36678 * math/w_remainderl.c (__remainderl): Likewise.
36679 * math/w_scalbl.c (sysv_scalbl): Likewise.
36680 * math/w_sinhl.c (__sinhl): Likewise.
36681 * math/w_sqrtl.c (__sqrtl): Likewise.
36682 * math/w_tgammal.c (__tgammal): Likewise.
36683 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36684 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36685 * math/libm-test.inc (acos_test): Add more tests.
36686 (acosh_test): Likewise.
36687 (asin_test): Likewise.
36688 (atanh_test): Likewise.
36689 (exp_test): Likewise.
36690 (exp10_test): Likewise.
36691 (exp2_test): Likewise.
36692 (expm1_test): Likewise.
36693 (lgamma_test): Likewise.
36694 (log_test): Likewise.
36695 (log10_test): Likewise.
36696 (log1p_test): Likewise.
36697 (log2_test): Likewise.
36698 (pow_test): Do not allow some spurious overflow exceptions.
36699 (sqrt_test): Add more tests.
36700 (tgamma_test): Likewise.
36701 (y0_test): Likewise.
36702 (y1_test): Likewise.
36703 (yn_test): Likewise.
36705 2012-03-27 Anton Blanchard <anton@samba.org>
36707 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36709 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36710 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36711 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36713 2012-03-27 David S. Miller <davem@davemloft.net>
36715 * conform/Makefile: Run run-conformtest.sh using $(BASH).
36717 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36718 have-as-vis3 check.
36720 2012-03-27 Andreas Jaeger <aj@suse.de>
36722 * sysdeps/x86_64/elf/configure.in: Moved to ...
36723 * sysdeps/x86_64/configure.in: ... here.
36724 * sysdeps/x86_64/elf/start.S: Moved to ...
36725 * sysdeps/x86_64/start.S: ... here.
36726 * sysdeps/x86_64/elf/configure: Delete.
36728 * sysdeps/x86_64/configure.in: Merge contents from
36729 sysdeps/i386/configure.in (without i686 check).
36731 * sysdeps/i386/elf/Versions: Merge into ...
36732 * sysdeps/i386/Versions: ... this.
36733 * sysdeps/i386/elf/Versions: Delete file.
36734 * sysdeps/i386/elf/start.S: Moved to ...
36735 * sysdeps/i386/start.S: ...here.
36736 * sysdeps/i386/elf/configure.in: Merge into...
36737 * sysdeps/i386/configure.in: ...here.
36738 * sysdeps/i386/elf/configure.in: Delete file.
36739 * sysdeps/i386/elf/configure: Delete file.
36741 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
36742 * debug/backtracesyms.c: ... here.
36743 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
36744 * debug/backtracesymsfd.c: ... here.
36745 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
36746 * sysdeps/generic/ifunc-sel.h: ... here.
36748 * sysdeps/unix/i386/start.c: Delete file.
36749 * sysdeps/unix/sparc/start.c: Delete file.
36750 * sysdeps/unix/start.c: Delete file.
36752 * sysdeps/sh/elf/configure.in: Moved to ...
36753 * sysdeps/sh/configure.in: ... here.
36754 * sysdeps/sh/elf/start.S: Moved to ...
36755 * sysdeps/sh/start.S: ... here.
36756 * sysdeps/sh/elf/configure: Delete file.
36758 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
36759 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
36760 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
36761 * sysdeps/powerpc/powerpc64/entry.h: ... here.
36762 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
36763 * sysdeps/powerpc/powerpc64/start.S: here.
36764 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
36765 * sysdeps/powerpc/powerpc64/Makefile: ... this.
36766 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
36767 * sysdeps/powerpc/powerpc64/configure.in: ... this.
36768 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
36770 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
36771 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
36772 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
36773 * sysdeps/powerpc/powerpc32/start.S: ... here.
36774 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
36775 * sysdeps/powerpc/powerpc32/configure.in: ... this.
36776 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
36778 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
36779 * sysdeps/powerpc/ifunc-sel.h: ... here.
36780 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
36781 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
36783 * sysdeps/sparc/elf/configure.in: Moved to ...
36784 * sysdeps/sparc/configure.in: ... here.
36785 * sysdeps/sparc/elf/configure: Delete file.
36786 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
36787 * sysdeps/sparc/sparc32/start.S: ... here.
36788 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
36789 * sysdeps/sparc/sparc64/start.S: ... here.
36790 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
36791 * sysdeps/sparc/sparc32/Makefile: ... this.
36792 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
36793 * sysdeps/sparc/sparc64/Makefile: ... this.
36795 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
36796 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
36797 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
36798 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
36799 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
36800 * sysdeps/s390/s390-32/setjmp.S: ... here.
36801 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
36802 * sysdeps/s390/s390-32/configure.in: ... here.
36803 * sysdeps/s390/s390-32/elf/configure: Delete file.
36804 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
36805 * sysdeps/s390/s390-32/start.S: ... here.
36807 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
36808 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
36809 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
36810 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
36811 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
36812 * sysdeps/s390/s390-64/setjmp.S: ... here.
36813 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
36814 * sysdeps/s390/s390-64/configure.in: ... here
36815 * sysdeps/s390/s390-64/elf/configure: Delete file.
36816 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
36817 * sysdeps/s390/s390-64/start.S: ... here.
36818 * sysdeps/s390/s390-64/elf/configure: Delete.
36820 * configure.in: Remove support for elf directories in sysdeps.
36822 * configure: Regenerated.
36823 * sysdeps/i386/configure: Regenerated.
36824 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36825 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36826 * sysdeps/s390/s390-32/configure: Regenerated.
36827 * sysdeps/s390/s390-64/configure: Regenerated.
36828 * sysdeps/sh/configure: Regenerated.
36829 * sysdeps/sparc/configure: Regenerated.
36830 * sysdeps/x86_64/configure: Regenerated.
36832 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
36834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36836 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
36837 denormal result into account.
36839 2012-03-25 Roland McGrath <roland@hack.frob.com>
36841 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
36842 Reported by Allan McRae <allan@archlinux.org>.
36844 2012-03-23 Jeff Law <law@redhat.com>
36846 * nss/getnssent.c (__nss_getent): Fix typo.
36848 2012-03-23 David S. Miller <davem@davemloft.net>
36850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36852 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
36854 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
36855 to pad to uint64_t for each field.
36856 (dl_tls_index): Replace unsigned long with uint64_t.
36858 2012-03-23 Daniel Jacobowitz <dmj@google.com>
36859 Paul Pluzhnikov <ppluzhnikov@google.com>
36862 * grp/Makefile (otherlibs): Don't set it.
36863 * inet/Makefile (otherlibs): Likewise.
36864 * login/Makefile (otherlibs): Likewise.
36865 * nscd/Makefile (otherlibs): Likewise.
36866 * posix/Makefile (otherlibs): Likewise.
36867 * pwd/Makefile (otherlibs): Likewise.
36868 * rt/Makefile (otherlibs): Likewise.
36869 * sunrpc/Makefile (otherlibs): Likewise.
36870 * nss/Makefile (otherlibs): Likewise.
36871 Add libnss_files to routines and static-only-routines.
36872 ($(objpfx)getent): Remove rule.
36873 * resolv/Makefile: Add libnss_dns and libresolv to routines and
36874 static-only-routines.
36876 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36879 * math/s_cexp.c: Include <float.h>.
36880 (__cexp): Handle exp result overflowing not necessarily
36881 overflowing both real and imaginary parts of result.
36882 * math/s_cexpf.c: Likewise.
36883 * math/s_cexpl.c: Likewise.
36884 * math/libm-test.inc (cexp_test): Add more tests.
36885 * sysdeps/i386/fpu/libm-test-ulps: Update.
36886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36888 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36890 * include/link.h (ELFW): New macro.
36891 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
36892 Replace ELF64_R_TYPE with ELFW(R_TYPE).
36894 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36896 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
36899 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36901 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
36903 (struct La_x32_retval): Likewise.
36905 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36907 * sysdeps/x86_64/preconfigure.in: New file.
36908 * sysdeps/x86_64/preconfigure: New generated file.
36910 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36913 * math/e_exp2l.c: Include <float.h>.
36914 (__ieee754_exp2l): Handle overflow and underflow cases
36915 separately. Only pass fractional part of argument to
36917 * math/libm-test.inc (exp2_test): Add more tests.
36919 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36920 negating x to take absolute value.
36921 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36923 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36924 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36926 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36927 computing low part if x was negated.
36928 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36930 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36932 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36933 la_x32_gnu_pltexit.
36934 (pltexit): Cast int_retval to ptrdiff_t.
36935 * elf/tst-auditmod3b.c: Likewise.
36936 * elf/tst-auditmod4b.c: Likewise.
36937 * elf/tst-auditmod5b.c: Likewise.
36938 * elf/tst-auditmod6b.c: Likewise.
36939 * elf/tst-auditmod6c.c: Likewise.
36940 * elf/tst-auditmod7b.c: Likewise.
36942 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36943 and x32_gnu_pltexit.
36945 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36946 __ELF_NATIVE_CLASS.
36947 (La_x32_regs): New macro.
36948 (La_x32_retval): Likewise.
36949 (la_x32_gnu_pltenter): New function prototype.
36950 (la_x32_gnu_pltexit): Likewise.
36952 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
36954 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36959 * configure.in (libc_cv_cc_nofma): Check for option to disable
36960 generation of FMA instructions.
36961 * configure: Regenerate.
36962 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36963 * sysdeps/ieee754/dbl-64/Makefile: New file.
36964 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36965 Remove brandred-fma4.
36966 (CFLAGS-brandred-fma4.c): Remove.
36967 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36968 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36970 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36973 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36975 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36976 LLONG_MAX != LONG_MAX.
36977 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36978 (_fitoa_word): Likewise.
36979 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36980 LLONG_MAX != LONG_MAX.
36981 * stdio-common/_itowa.h: Include <_itoa.h>.
36982 (_itowa_word): Use _ITOA_WORD_TYPE on value.
36983 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
36984 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
36985 only if not defined.
36986 (_ITOA_WORD_TYPE): Likewise.
36987 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36988 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36990 2012-03-21 David S. Miller <davem@davemloft.net>
36992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36994 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36996 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36997 of x86_64 when setting libc_cv_slibdir, libdir and
36999 * sysdeps/unix/sysv/linux/configure: Regenerated.
37001 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37003 * manual/lang.texi (Old Varargs): Remove section.
37004 (How Variadic): Update menu.
37005 (va_start): Do not mention varargs.h.
37007 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37008 Joseph Myers <joseph@codesourcery.com>
37010 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37012 * configure: Regenerated.
37014 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37016 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37017 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37020 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37023 * Makefile (files-for-dist): Remove NOTES.
37024 (NOTES): Remove rule.
37025 * README: Don't refer to NOTES.
37026 * manual/creature.texi: Don't include macros.texi.
37027 * manual/intro.texi (creature.texi): Remove comment referring to
37030 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37031 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37032 * configure: Regenerated.
37033 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37034 LIBC_TRY_CC_OPTION.
37035 (libc_cv_as_i686): Likewise.
37036 (libc_cv_cc_avx): Likewise.
37037 (libc_cv_cc_sse2avx): Likewise.
37038 (libc_cv_cc_fma4): Likewise.
37039 (libc_cv_cc_novzeroupper): Likewise.
37040 * sysdeps/i386/configure: Regenerated.
37043 * sysdeps/i386/fpu/s_cexp.S: Remove.
37044 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37045 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37046 * math/libm-test.inc (cexp_test): Add more tests.
37047 * sysdeps/i386/fpu/libm-test-ulps: Update.
37048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37050 2012-03-21 Allan McRae <allan@archlinux.org>
37052 * timezone/Makefile: Do not install iso3166.tab and zone.tab
37054 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37057 * math/w_exp2.c: Do not include <float.h>.
37058 (o_threshold, u_threshold): Remove.
37059 (__exp2): Calculate result before checking finiteness and calling
37061 * math/w_exp2f.c: Likewise.
37062 * math/w_exp2l.c: Likewise.
37063 * math/libm-test.inc (exp2_test): Require overflow exception for
37067 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37068 range of signed 64-bit integers before using fistpll. Remove
37069 checks for whether integers fit in mantissa bits.
37070 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37071 the range of signed 32-bit integers before using fistpl. Remove
37072 checks for whether integers fit in mantissa bits.
37073 * sysdeps/i386/fpu/e_powl.S (p64): New object.
37074 (__ieee754_powl): Test for y outside the range of signed 64-bit
37075 integers before using fistpll. Reduce 64-bit values to 63-bit
37077 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37078 divide-by-zero is raised for zero to large negative powers.
37079 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37080 (__ieee754_powl): Test for y outside the range of signed 64-bit
37081 integers before using fistpll. Reduce 64-bit values to 63-bit
37083 * math/libm-test.inc (pow_test): Add more tests.
37085 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37087 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37088 <stdio-common/_itoa.h>.
37089 * debug/segfault.c: Likewise.
37090 * elf/dl-cache.c: Likewise.
37091 * elf/dl-minimal.c: Likewise.
37092 * elf/dl-misc.c: Likewise.
37093 * elf/dl-sysdep.c: Likewise.
37094 * elf/dl-version.c: Likewise.
37095 * elf/rtld.c: Likewise.
37096 * hurd/hurdsock.c: Likewise.
37097 * hurd/lookup-retry.c: Likewise.
37098 * malloc/malloc.c: Likewise.
37099 * malloc/mtrace.c: Likewise.
37100 * nscd/nscd_getgr_r.c: Likewise.
37101 * nscd/nscd_getpw_r.c: Likewise.
37102 * nscd/nscd_getserv_r.c: Likewise.
37103 * posix/getopt_init.c: Likewise.
37104 * posix/wordexp.c: Likewise.
37105 * stdio-common/_itoa.c: Likewise.
37106 * stdio-common/printf_fphex.c: Likewise.
37107 * stdio-common/vfprintf.c: Likewise.
37108 * string/_strerror.c: Likewise.
37109 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37110 * sysdeps/i386/i686/hp-timing.h: Likewise.
37111 * sysdeps/mach/_strerror.c: Likewise.
37112 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37113 * sysdeps/mach/hurd/sethostid.c: Likewise.
37114 * sysdeps/mach/hurd/xmknodat.c: Likewise.
37115 * sysdeps/mach/xpg-strerror.c: Likewise.
37116 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37117 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37118 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37119 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37120 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37121 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37122 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37123 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37124 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37125 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37126 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37127 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37128 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37129 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37130 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37131 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37132 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37133 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37134 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37135 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37136 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37138 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37140 * stdio-common/_itoa.h: Moved to ...
37141 * sysdeps/generic/_itoa.h: Here.
37143 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37145 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37146 instead of "_itoa.h" and "_itowa.h".
37147 * stdio-common/vfprintf.: Likewise.
37149 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37151 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37153 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37154 (__signbit): Likwise.
37155 (llrintf): Likwise.
37158 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37160 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37163 2012-03-20 Joseph Myers <joseph@codesourcery.com>
37165 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37166 OVERFLOW_EXCEPTION_OK.
37167 * math/libm-test.inc ("Philosophy"): Update comment about
37169 (OVERFLOW_EXCEPTION): Define.
37170 (OVERFLOW_EXCEPTION_OK): Likewise.
37171 (INVALID_EXCEPTION_OK): Renumber.
37172 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37173 (IGNORE_ZERO_INF_SIGN): Likewise.
37174 (test_exceptions): Handle FE_OVERFLOW.
37175 (exp10_test): Expect overflow exceptions.
37176 (exp2_test): Likewise.
37177 (expm1_test): Likewise.
37178 (nextafter_test): Likewise.
37179 (pow_test): Likewise.
37180 (scalbn_test): Likewise.
37181 (scalbln_test): Likewise.
37183 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37185 * sysdeps/x86_64/bits/atomic.h
37186 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37188 (atomic_exchange_acq): Likewise.
37189 (__arch_exchange_and_add_body): Likewise.
37190 (__arch_add_body): Likewise.
37191 (atomic_add_negative): Likewise.
37192 (atomic_add_zero): Likewise.
37194 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37196 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37197 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37199 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37201 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37202 Check __x86_64__ instead of __WORDSIZE.
37204 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37206 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37208 2012-03-19 David S. Miller <davem@davemloft.net>
37210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37212 * sysdeps/sparc/fpu/fenv_private.h: New file.
37213 * sysdeps/sparc/fpu/math_private.h: Use it.
37214 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37216 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37217 (libc_feholdexcept_setroundl): Remove.
37218 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37220 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37221 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37223 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37225 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37226 int64_t instead of long int.
37227 (INSERT_WORDS64): Likwise.
37229 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37231 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37232 _Unwind_GetCFA return to _Unwind_Ptr first.
37234 2012-03-19 Joseph Myers <joseph@codesourcery.com>
37237 * math/s_clog.c: Include <float.h>.
37238 (__clog): Scale large or subnormal inputs.
37239 * math/s_clogf.c: Likewise.
37240 * math/s_clogl.c: Likewise.
37241 * math/s_clog10.c: Include <float.h>.
37242 (M_LOG10_2): Define.
37243 (__clog10): Scale large or subnormal inputs.
37244 * math/s_clog10f.c: Likewise.
37245 * math/s_clog10l.c: Likewise.
37246 * math/libm-test.inc (clog_test): Add more tests.
37247 (clog10_test): Likewise.
37248 * sysdeps/i386/fpu/libm-test-ulps: Update.
37249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37252 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37254 * math/libm-test.inc (atan2_test): Add another test.
37256 * Makerules (common-objdir-compile): Remove.
37257 * sysdeps/unix/Makefile (config-generated): Do not add
37258 $(unix-generated) to variable.
37259 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37260 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37262 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37264 [generic bits/local_lim.h] (before-compile): Do not append to
37266 [generic bits/local_lim.h] (common-generated): Likewise.
37267 [generic sys/param.h] (before-compile): Do not append to variable.
37268 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37269 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37270 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37271 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37273 [generic sys/param.h] (sys/param.h-includes): Remove variable.
37274 [generic sys/param.h] (sys/param.h-includes): Remove rule.
37275 [generic sys/param.h] ($(addprefix
37276 $(common-objpfx),$(sys/param.h-includes))): Likewise.
37277 [generic sys/param.h] (common-generated): Do not append to
37279 [generic sys/param.h] (sysdep_headers): Likewise.
37280 [generic bits/errno.h] (before-compile): Do not append to
37282 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37284 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37285 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37286 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37287 [generic bits/errno.h] (common-generated): Do not append to
37289 [generic bits/ioctls.h] (before-compile): Do not append to
37291 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37293 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37294 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37295 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37297 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37298 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37299 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37300 [generic bits/ioctls.h] (common-generated): Do not append to
37302 [generic sys/syscall.h] (syscall.h): Remove variable.
37303 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37305 [generic sys/syscall.h] (before-compile): Do not append to
37307 [generic sys/syscall.h] (common-generated): Likewise.
37308 * sysdeps/unix/errnos-tmpl.c: Remove file.
37309 * sysdeps/unix/errnos.awk: Likewise.
37310 * sysdeps/unix/ioctls-tmpl.c: Likewise.
37311 * sysdeps/unix/ioctls.awk: Likewise.
37312 * sysdeps/unix/mk-local_lim.c: Likewise.
37313 * sysdeps/unix/snarf-ioctls: Likewise.
37315 2012-03-19 Richard Henderson <rth@twiddle.net>
37317 * sysdeps/i386/fpu/fenv_private.h: New file.
37318 * sysdeps/i386/fpu/math_private.h: Use it.
37319 (math_opt_barrier, math_force_eval): Remove.
37320 (libc_feholdexcept_setround_53bit): Remove.
37321 (libc_feupdateenv_53bit): Remove.
37322 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37323 (math_opt_barrier, math_force_eval): Remove.
37324 (libc_feholdexcept): Remove.
37325 (libc_feholdexcept_setround): Remove.
37326 (libc_fetestexcept, libc_fesetenv): Remove.
37327 (libc_feupdateenv_test): Remove.
37328 (libc_feupdateenv, libc_feholdsetround): Remove.
37329 (libc_feresetround): Remove.
37331 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37332 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37334 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37335 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37336 (libc_feupdateenv_testl): New.
37337 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37338 (libc_feupdateenv_testf): New.
37339 (libc_feupdateenv): Use libc_feupdateenv_test.
37340 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37341 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37343 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37344 (libc_feholdsetroundf, libc_feholdsetroundl): New.
37345 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37346 (libc_feresetround_noex): New.
37347 (libc_feresetround_noexf): New.
37348 (libc_feresetround_noexl): New.
37349 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37350 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37351 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37352 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37354 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37355 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37357 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37358 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37359 SET_RESTORE_ROUND_NOEX.
37360 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37361 SET_RESTORE_ROUND_NOEXF.
37362 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37363 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37364 (libc_feholdsetroundf): New.
37365 (libc_feresetround, libc_feresetroundf): New.
37367 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37368 (libc_feholdexcept_setround_53bit): Convert from macro to function.
37369 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
37371 * sysdeps/generic/math_private.h: Include <fenv.h>.
37372 (default_libc_feholdexcept): New.
37373 (default_libc_feholdexcept_setround): New.
37374 (default_libc_fesetenv, default_libc_feupdateenv): New.
37375 (libc_feholdexcept): Only define if undefined.
37376 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37377 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37378 (libc_feholdexcept_setroundl): Likewise.
37379 (libc_feholdexcept_setround_53bit): Likewise.
37380 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37381 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37382 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37383 (libc_feupdateenv_53bit): Likewise.
37384 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37385 (libc_feholdexcept): Convert from macro to inline function.
37386 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37387 (libc_fesetenv, libc_feupdateenv): Likewise.
37389 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37390 not previously defined.
37391 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37392 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37393 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37394 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37395 * sysdeps/ieee754/flt-32/math_private.h: New file.
37396 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37397 math_private.h below SET_FLOAT_WORD.
37398 (__isnan, __isinf_ns, __finite): Remove.
37399 (__isnanf, __isinf_nsf, __finitef): Remove.
37401 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
37403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37405 2012-03-17 David S. Miller <davem@davemloft.net>
37408 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37411 2012-03-16 David S. Miller <davem@davemloft.net>
37413 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37417 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37419 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37420 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37421 sysdep_routines when subdir is sysvipc.
37422 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37423 __getshmlba helper.
37425 * sysdeps/sparc/fpu/libm-test/ulps: Update.
37427 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37429 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37432 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37434 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37435 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37436 (__lround): Renamed to ...
37437 (__llround): This. Replace long int with long long int.
37438 Define lround functions as aliases of llround functions.
37439 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37441 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37443 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37444 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
37445 adresses to uintptr_t. Replace "long int" and "unsigned long
37446 int" with "greg_t" on va_arg.
37448 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37450 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37451 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37453 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37454 Move e_machine check before EI_CLASS check. Handle x32
37455 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37456 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37457 SKIP_EM_IA_64 and include
37458 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37460 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37461 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37462 (add_system_dir): New macro.
37464 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37465 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37467 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37478 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37480 * math/w_j0f.c (j0f): Likewise.
37482 * math/w_j0l.c (__j0l): Likewise.
37484 * math/w_j1.c (j1): Likewise.
37486 * math/w_j1f.c (j1f): Likewise.
37488 * math/w_j1l.c (__j1l): Likewise.
37490 * math/w_jn.c (jn): Likewise.
37492 * math/w_jnf.c (jnf): Likewise.
37494 * math/w_jnl.c (__jnl): Likewise.
37496 * math/libm-test.inc (j0_test): Add more tests.
37497 (j1_test): Likewise.
37498 (jn_test): Likewise. Add trailing semicolon to existing test.
37499 (y0_test): Likewise.
37500 (y1_test): Likewise.
37501 * sysdeps/i386/fpu/libm-test-ulps: Update.
37502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37506 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37507 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37508 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37509 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37510 (__tanl): Set errno for infinite argument.
37511 * sysdeps/i386/fpu/mptan.c: Remove.
37512 * sysdeps/i386/fpu/s_tan.S: Likewise.
37513 * sysdeps/i386/fpu/s_tanl.S: Likewise.
37514 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37515 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37516 * math/libm-test.inc (tan_test): Add more tests and enable more
37517 tests for double and long double.
37518 * sysdeps/i386/fpu/libm-test-ulps: Update.
37519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37521 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
37523 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37524 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37526 2012-03-16 Roland McGrath <roland@hack.frob.com>
37528 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37529 * configure.in: Use it for both main tree and add-ons.
37530 * configure: Regenerated.
37532 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37534 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37536 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37538 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37542 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37543 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37544 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37545 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37546 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37548 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37549 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37550 != 0 for prec == 2.
37551 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37552 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37553 * sysdeps/i386/fpu/s_cosl.S: Likewise.
37554 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37555 * sysdeps/i386/fpu/s_sinl.S: Likewise.
37556 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37557 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37558 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37559 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37560 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37561 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37562 * math/libm-test.inc (cos_test): Add more tests and enable more
37563 tests for long double.
37564 (sin_test): Likewise.
37565 (sincos_test): Likewise.
37566 * sysdeps/i386/fpu/libm-test-ulps: Update.
37567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37569 2012-03-16 David S. Miller <davem@davemloft.net>
37571 * sysdeps/sparc/fpu/math_private.h: New file.
37573 2012-03-15 David S. Miller <davem@davemloft.net>
37575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37581 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37582 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37583 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37584 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37585 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37589 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37590 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37592 * sysdeps/sparc/sparc-ifunc.h: New file.
37593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37617 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37618 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37619 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37620 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37621 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37622 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37623 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37624 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37625 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37626 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37627 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37628 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37629 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37630 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37631 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37632 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37633 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37634 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37635 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37636 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37638 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37640 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37644 2012-03-15 Andreas Jaeger <aj@suse.de>
37647 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37648 ieee754/flt-32 implementation for sin, cos and sincos.
37649 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37650 * sysdeps/i386/fpu/s_cosf.S: Likewise.
37651 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37652 * sysdeps/i386/fpu/s_sinf.S: Likewise.
37653 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37654 ieee754/flt-32 implementation for tan.
37656 * math/libm-test.inc (cos_test): Enable some large input tests for
37658 (sin_test): Likewise.
37659 (sincos_test): Likewise.
37660 (tan_test): Add tests for large input.
37662 * sysdeps/i386/fpu/libm-test-ulps: Update.
37664 2012-03-15 Andreas Jaeger <aj@suse.de>
37667 * math/libm-test.inc (cos_test): Add more test cases.
37668 (sin_test): Likewise.
37669 (sincos_test): Likewise.
37671 2012-03-15 Andreas Jaeger <aj@suse.de>
37674 * math/libm-test.inc (cos_test): Add a test case for large input
37676 (sin_test): Likewise.
37677 (sincos_test): Likewise.
37679 2012-03-15 Andreas Jaeger <aj@suse.de>
37680 Joseph Myers <joseph@codesourcery.com>
37683 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
37684 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37685 * sysdeps/i386/fpu/branred.c: Likewise.
37686 * sysdeps/i386/fpu/dosincos.c: Likewise.
37687 * sysdeps/i386/fpu/mpa.c: Likewise.
37688 * sysdeps/i386/fpu/s_cos.S: Likewise.
37689 * sysdeps/i386/fpu/s_sin.S: Likewise.
37690 * sysdeps/i386/fpu/s_sincos.S: Likewise.
37691 * sysdeps/i386/fpu/sincos32.c: Likewise.
37693 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37695 (libc_feupdateenv_53bit): Define.
37696 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37698 (libc_feupdateenv_53bit): Define.
37700 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37701 53 bit (without extend i386 double precision).
37703 * math/libm-test.inc (sincos_test): Add tests for large input.
37707 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37709 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37713 2012-03-15 David S. Miller <davem@davemloft.net>
37715 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37716 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37717 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37718 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37723 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37724 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37725 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37726 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37727 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
37730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
37733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
37735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
37736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
37738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
37739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
37741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
37742 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
37743 fmin/fmax sysdep routines.
37744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37746 2012-03-14 David S. Miller <davem@davemloft.net>
37748 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37749 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
37750 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
37751 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
37752 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
37753 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
37754 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
37755 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
37756 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
37757 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
37758 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
37759 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
37760 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
37761 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
37762 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
37763 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
37764 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
37765 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
37766 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
37767 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
37768 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
37769 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
37770 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
37771 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
37772 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
37773 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
37774 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
37775 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
37776 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
37778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
37780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
37781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
37783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
37784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
37786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
37787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
37789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
37790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
37792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
37793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
37795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
37797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
37799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
37801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
37803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
37805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
37807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
37808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
37810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
37811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
37813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
37814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
37816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
37817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
37820 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37825 * sysdeps/sparc/configure.in: New file.
37826 * sysdeps/sparc/configure: Generate.
37827 * configure.in (libc_cv_sparc_as_vis3): Substitute.
37828 * configure: Regenerate.
37829 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
37830 * config.make.in (have-as-vis3): New.
37831 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
37832 available use -Av9d instead of -Av9a.
37833 * sysdeps/sparc/sparc64/Makefile: Likewise.
37834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
37835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
37837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
37839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
37841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
37843 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
37844 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
37845 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
37846 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
37847 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
37849 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
37850 fzeros/fnegs to load 0x80000000 into a float register instead of
37852 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
37854 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37856 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37858 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
37859 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
37860 ($(inst_includedir)/bits/syscall.h): Remove rule.
37861 ($(objpfx)bits/syscall.d): Include instead of
37862 $(objpfx)syscall-list.d.
37863 (generated): Change syscall-list.h and syscall-list.d to
37864 bits/syscall.h and bits/syscall.d.
37866 2012-03-14 Roland McGrath <roland@hack.frob.com>
37869 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
37871 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37874 * math/s_csqrt.c: Include <float.h>.
37875 (__csqrt): Scale large or subnormal inputs.
37876 * math/s_csqrtf.c: Likewise.
37877 * math/s_csqrtl.c: Likewise.
37878 * math/libm-test.inc (csqrt_test): Add more tests.
37879 * sysdeps/i386/fpu/libm-test-ulps: Update.
37880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37883 * math/libm-test.inc (hypot_test): Add more tests.
37885 2012-03-13 David S. Miller <davem@davemloft.net>
37888 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
37889 double-precision for the calculation instead of scaling.
37891 2012-03-13 Joseph Myers <joseph@codesourcery.com>
37893 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
37894 manipulate bits before adding and subtracting TWO52[sx].
37895 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
37896 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
37898 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
37900 2012-03-13 David S. Miller <davem@davemloft.net>
37902 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
37903 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
37904 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
37905 rtld-global-offsets.h
37906 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37908 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
37911 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37913 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37914 'err' in the ifdef scope in which it is actually used.
37916 * nss/nss_db/db-init.c: Include string.h
37918 2012-03-12 David S. Miller <davem@davemloft.net>
37920 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37921 masking out of the most significant byte of random value used.
37922 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37923 Fix coding style in previous change.
37925 * sysdeps/unix/sysv/linux/kernel-features.h
37926 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37927 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37929 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37932 2012-03-11 David S. Miller <davem@davemloft.net>
37934 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37935 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37936 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37937 for 'resultvar' otherwise things get truncated on 64-bit.
37939 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37940 Fix masking out of the most significant byte of random value used.
37942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37944 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
37946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37948 2012-03-09 David S. Miller <davem@davemloft.net>
37950 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37951 variables with appropriate CPP guards.
37952 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37953 from the frame pointer, not the stack pointer. Correct layout
37954 comments. Fix test on resulting framesize and the management of
37955 the outregs buffer for pltexit. Preserve floating point return
37956 values across _dl_call_pltexit call.
37957 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37958 framesize and the management of the outregs buffer for pltexit.
37959 Preserve floating point return values across _dl_call_pltexit
37961 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37962 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37963 (la_sparc64_gnu_pltexit): New functions.
37964 (print_exit): Fix format string for return register value.
37966 2012-03-10 Joseph Myers <joseph@codesourcery.com>
37968 * sunrpc/Makefile (others): Add rpcgen.
37969 ($(objpfx)rpcgen): Remove special build rule and dependency on
37971 * sunrpc/rpcgen.c: New file.
37973 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
37976 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37977 * stdio-common/bug-vfprintf-nargs.c: Likewise.
37978 * sysdeps/i386/crti.S: Likewise.
37979 * sysdeps/i386/crtn.S: Likewise.
37980 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37981 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37982 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37983 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37984 * sysdeps/sh/crti.S: Likewise.
37985 * sysdeps/sh/crtn.S: Likewise.
37986 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37989 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37991 * locale/programs/locfile-kw.gperf: Likewise.
37992 * locale/programs/charmap-kw.h: Regenerated.
37993 * locale/programs/locfile-kw.h: Likewise.
37996 * intl/plural.y: Replace FSF snail mail address with URL.
37997 * intl/plural.c: Regenerated.
37999 2012-03-09 Richard Henderson <rth@twiddle.net>
38001 * include/math_private.h: Remove file.
38002 * math/math_private.h: Move file ...
38003 * sysdeps/generic/math_private.h: ... here.
38005 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38006 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38007 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38009 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38010 and <math_private.h>.
38011 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38012 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38013 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38014 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38015 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38016 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38017 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38018 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38019 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38020 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38021 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38022 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38023 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38024 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38025 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38026 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38027 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38028 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38029 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38030 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38031 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38032 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38033 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38034 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38035 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38036 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38037 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38038 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38039 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38040 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38041 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38042 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38043 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38044 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38045 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38046 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38047 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38048 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38049 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38050 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38051 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38052 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38053 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38054 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38055 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38056 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38057 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38058 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38059 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38060 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38061 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38062 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38063 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38064 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38065 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38066 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38067 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38068 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38069 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38070 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38071 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38072 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38073 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38074 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38075 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38076 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38077 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38078 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38079 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38080 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38081 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38082 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38083 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38084 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38085 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38086 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38087 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38088 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38089 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38090 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38091 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38092 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38093 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38094 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38095 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38096 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38097 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38098 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38099 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38100 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38101 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38102 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38103 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38104 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38105 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38106 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38107 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38108 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38109 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38110 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38111 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38112 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38113 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38114 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38115 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38116 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38117 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38118 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38119 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38120 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38121 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38122 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38123 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38124 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38125 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38126 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38127 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38128 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38129 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38130 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38131 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38132 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38133 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38134 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38135 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38136 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38137 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38138 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38139 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38140 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38141 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38142 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38143 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38144 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38145 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38146 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38147 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38148 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38149 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38150 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38151 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38152 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38153 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38154 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38155 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38156 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38157 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38158 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38159 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38160 * sysdeps/ieee754/k_standard.c: Likewise.
38161 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38162 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38163 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38164 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38165 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38166 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38167 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38168 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38169 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38170 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38171 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38172 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38173 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38174 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38175 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38176 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38177 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38178 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38179 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38180 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38181 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38182 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38183 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38184 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38185 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38186 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38187 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38188 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38189 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38190 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38191 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38192 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38193 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38194 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38195 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38196 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38197 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38198 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38199 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38200 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38201 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38202 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38203 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38204 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38205 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38206 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38207 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38208 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38209 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38210 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38211 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38212 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38213 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38214 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38215 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38216 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38217 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38218 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38219 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38220 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38221 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38222 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38223 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38224 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38225 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38226 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38227 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38228 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38229 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38230 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38231 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38232 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38233 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38234 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38235 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38236 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38237 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38238 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38239 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38240 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38241 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38242 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38243 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38244 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38245 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38246 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38247 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38248 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38249 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38250 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38251 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38252 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38253 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38254 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38255 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38256 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38257 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38258 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38259 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38260 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38261 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38262 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38263 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38264 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38265 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38266 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38267 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38268 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38269 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38270 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38271 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38272 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38273 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38274 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38275 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38276 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38277 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38278 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38279 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38280 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38281 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38282 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38283 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38284 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38285 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38286 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38287 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38288 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38289 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38290 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38291 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38292 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38293 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38294 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38295 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38296 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38297 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38298 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38299 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38300 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38301 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38302 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38303 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38304 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38305 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38306 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38307 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38308 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38309 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38310 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38311 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38312 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38313 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38314 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38315 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38316 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38317 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38318 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38319 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38320 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38321 * sysdeps/ieee754/s_lib_version.c: Likewise.
38322 * sysdeps/ieee754/s_matherr.c: Likewise.
38323 * sysdeps/ieee754/s_signgam.c: Likewise.
38324 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38325 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38326 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38327 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38328 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38329 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38330 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38331 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38332 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38333 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38334 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38335 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38336 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38337 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38338 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38339 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38340 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38341 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38342 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38343 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38344 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38346 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38348 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38349 * sunrpc/rpc_main.c: Likewise.
38350 * sunrpc/rpc_svcout.c: Likewise.
38352 2012-03-09 David S. Miller <davem@davemloft.net>
38354 * include/math_private.h: New file.
38356 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38358 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38359 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38360 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38361 from <bits/socket_type.h>.
38362 (enum __socket_type): Don't define here.
38363 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38364 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38365 bits/socket_type.h.
38368 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38369 checking __USE_GNU.
38371 * Makerules ($(inst_includedir)/%.h): New rule.
38372 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38373 (install-others): Remove variable setting.
38374 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38376 2012-03-08 Richard Henderson <rth@twiddle.net>
38378 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38379 from macro to inline function; merge with the
38380 !__LIBC_INTERNAL_MATH_INLINES version.
38381 (__ieee754_sqrtf): Likewise.
38383 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38384 to inline function.
38385 (__rintf, __floor, __floorf): Likewise.
38387 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38388 macro to inline function.
38389 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38391 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38392 not <math/math_private.h>.
38394 2012-03-08 David S. Miller <davem@davemloft.net>
38396 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38398 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38400 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
38402 * resolv/gai_misc.c (handle_requests): Fix struct timespec
38404 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38405 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38407 2012-03-08 Ulrich Drepper <drepper@gmail.com>
38409 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
38410 be defined individually, they must be defined as a block. Define
38411 S for printing a string instead of hidint the different by using a
38412 macro for adding the 'l'.
38413 * stdio-common/tst-fphex-wide.c: Adjust.
38415 2012-03-07 Marek Polacek <polacek@redhat.com>
38417 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38419 2012-03-08 Marek Polacek <polacek@redhat.com>
38422 * stdio-common/Makefile (tests): Add tst-fphex-wide.
38423 * stdio-common/tst-fphex.c: Define a few macros to make the
38424 test reusable. Use them.
38425 * stdio-common/tst-fphex-wide.c: New file.
38427 2012-03-08 Joseph Myers <joseph@codesourcery.com>
38430 * manual/macros.texi (gnusystems): New macro.
38431 (nongnusystems): Likewise.
38432 (gnulinuxhurdsystems): Likewise.
38433 (gnuhurdsystems): Likewise..
38434 (gnulinuxsystems): Likewise.
38435 * manual/charset.texi: Use new macros or @theglibc{} to refer to
38436 variants of the GNU system, not "GNU system".
38437 * manual/conf.texi: Likewise.
38438 * manual/errno.texi: Likewise. Update example of errno macro
38440 * manual/filesys.texi: Likewise.
38441 (getumask): Document as specific to GNU/Hurd.
38442 * manual/install.texi: Likewise. Reword some references to
38444 * manual/intro.texi: Likewise.
38445 * manual/io.texi: Likewise.
38446 (File Name Portability): Detail which constraints are inapplicable
38447 to all GNU systems and which are only inapplicable to GNU/Hurd.
38448 * manual/job.texi: Likewise.
38449 * manual/llio.texi: Likewise.
38450 (O_NOCTTY): Document as present on GNU/Linux.
38451 * manual/maint.texi: Likewise.
38452 * manual/memory.texi: Likewise.
38453 * manual/pattern.texi: Likewise.
38454 * manual/pipe.texi: Likewise.
38455 * manual/process.texi: Likewise.
38456 * manual/resource.texi: Likewise.
38457 (RUSAGE_CHILDREN): Remove statement about specifying a particular
38459 * manual/setjmp.texi: Likewise.
38460 * manual/signal.texi: Likewise.
38461 * manual/startup.texi: Likewise.
38462 * manual/stdio.texi: Likewise.
38463 * manual/terminal.texi: Likewise.
38464 (ONLCR): Document as POSIX.
38465 (OXTABS): Document availability on GNU/Linux as XTABS.
38466 (ONOEOT): Document availability separately from other bits.
38467 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38468 * manual/time.texi: Likewise.
38469 * manual/users.texi: Likewise.
38470 * INSTALL: Regenerated.
38471 * sysdeps/gnu/errlist.c: Regenerated.
38473 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38474 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38475 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
38477 * configure: Regenerated.
38479 2012-03-07 Joseph Myers <joseph@codesourcery.com>
38481 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38482 default includes instead of AC_HEADER_CHECK.
38483 * sysdeps/i386/configure: Regenerated.
38486 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38487 * math/s_cacoshf.c (__cacoshf): Likewise.
38488 * math/s_cacoshl.c (__cacoshl): Likewise.
38489 * math/s_casinh.c (__casinh): Set signs of result from argument.
38490 * math/s_casinhf.c (__casinhf): Likewise.
38491 * math/s_casinhl.c (__casinhl): Likewise.
38492 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38493 (casinh_test): Add more tests.
38494 * sysdeps/i386/fpu/libm-test-ulps: Update.
38495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38497 2012-03-07 Ulrich Drepper <drepper@gmail.com>
38499 * po/zh_TW.po: Update from translation team.
38501 * login/Makefile (distribute): Remove variable.
38502 * catgets/Makefile: Likewise.
38503 * mach/Makefile: Likewise.
38504 * malloc/Makefile: Likewise.
38505 * misc/Makefile: Likewise.
38506 * iconv/Makefile: Likewise.
38507 * nscd/Makefile: Likewise.
38508 * hurd/Makefile: Likewise.
38509 * manual/Makefile: Likewise.
38510 * locale/Makefile: Likewise.
38511 * intl/Makefile: Likewise.
38512 * conform/Makefile: Likewise.
38513 * nss/Makefile: Likewise.
38514 * time/Makefile: Likewise.
38515 * soft-fp/Makefile: Likewise.
38516 * dirent/Makefile: Likewise.
38517 * gmon/Makefile: Likewise.
38518 * po/Makefile: Likewise.
38519 * rt/Makefile: Likewise.
38520 * socket/Makefile: Likewise.
38521 * math/Makefile: Likewise.
38522 * signal/Makefile: Likewise.
38523 * debug/Makefile: Likewise.
38524 * elf/Makefile: Likewise.
38525 * timezone/Makefile: Likewise.
38526 * stdlib/Makefile: Likewise.
38527 * iconvdata/Makefile: Likewise.
38528 * sunrpc/Makefile: Likewise.
38529 * io/Makefile: Likewise.
38530 * argp/Makefile: Likewise.
38531 * inet/Makefile: Likewise.
38532 * hesiod/Makefile: Likewise.
38533 * grp/Makefile: Likewise.
38534 * csu/Makefile: Likewise.
38535 * wctype/Makefile: Likewise.
38536 * crypt/Makefile: Likewise.
38537 * libio/Makefile: Likewise.
38538 * string/Makefile: Likewise.
38539 * nis/Makefile: Likewise.
38540 * resolv/Makefile: Likewise.
38541 * stdio-common/Makefile: Likewise.
38542 * wcsmbs/Makefile: Likewise.
38543 * dlfcn/Makefile: Likewise.
38544 * posix/Makefile: Likewise.
38547 * timezone/Makefile: Don't install timezone files, just the programs
38550 2012-03-06 Ulrich Drepper <drepper@gmail.com>
38552 * nss/databases.def: Add missing gshadow entry.
38554 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
38556 2012-03-06 Marek Polacek <polacek@redhat.com>
38559 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38560 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38561 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38562 * stdio-common/tst-long-dbl-fphex.c: New file.
38564 2012-03-06 David S. Miller <davem@davemloft.net>
38566 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38567 (set_obp_int): New function.
38568 (get_obp_int): New function.
38569 (__get_clockfreq_via_dev_openprom): Likewise.
38570 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38571 Avoid unused variable warnings on 'val' and use builtin_expect.
38572 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38574 (INLINE_CLONE_SYSCALL): Likewise.
38576 2012-03-05 David S. Miller <davem@davemloft.net>
38578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38580 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
38582 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38584 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38585 only for |x| >= 40.
38586 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38588 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
38590 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38591 Replace gettimeofday with __vdso_gettimeofday.
38593 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38594 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38595 __vdso_clock_gettime and __vdso_getcpu.
38597 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38598 time with __vdso_time.
38600 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38602 * manual/lang.texi (size_t): Note types to which size_t may be
38603 equivalent with the GNU C Library, but do not describe when
38604 differences between them are significant.
38606 2012-03-05 Andreas Jaeger <aj@suse.de>
38608 * sysdeps/i386/fpu/libm-test-ulps: Update.
38610 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38613 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38614 (__ieee754_pow): Save and restore rounding mode and use
38615 round-to-nearest for main computations.
38616 * math/libm-test.inc (pow_test_tonearest): New function.
38617 (pow_test_towardzero): Likewise.
38618 (pow_test_downward): Likewise.
38619 (pow_test_upward): Likewise.
38620 (main): Call the new functions.
38621 * sysdeps/i386/fpu/libm-test-ulps: Update.
38622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38625 * math/libm-test.inc (cosh_test_tonearest): New function.
38626 (cosh_test_towardzero): Likewise.
38627 (cosh_test_downward): Likewise.
38628 (cosh_test_upward): Likewise.
38629 (sinh_test_tonearest): Likewise.
38630 (sinh_test_towardzero): Likewise.
38631 (sinh_test_downward): Likewise.
38632 (sinh_test_upward): Likewise.
38633 (main): Call the new functions.
38634 * sysdeps/i386/fpu/libm-test-ulps: Update.
38635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38637 2012-03-05 Tom de Vries <tom@codesourcery.com>
38639 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38640 default stack guard is set in last bytes.
38641 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38643 2012-03-05 Kees Cook <keescook@chromium.org>
38645 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38648 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38649 possibly allocate from heap instead of stack.
38650 * stdio-common/bug-vfprintf-nargs.c: New file.
38651 * stdio-common/Makefile (tests): Add nargs overflow test.
38653 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
38655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38657 2012-03-03 Marek Polacek <polacek@redhat.com>
38659 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38660 * math/math_private.h: Likewise.
38661 * stdlib/tst-strtod.c: Likewise.
38662 * sysdeps/i386/i486/bits/atomic.h: Likewise.
38663 * sysdeps/x86_64/bits/atomic.h: Likewise.
38665 2012-03-02 David S. Miller <davem@davemloft.net>
38667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38671 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38672 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38673 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38674 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38676 2012-03-02 Roland McGrath <roland@hack.frob.com>
38679 * manual/examples/README: New file, says the example source files
38680 can be used under GPL>=2.
38681 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38682 line containing just "*/".
38683 * manual/examples/add.c: Add copyright header (GPL>=2).
38684 * manual/examples/argp-ex1.c: Likewise.
38685 * manual/examples/argp-ex2.c: Likewise.
38686 * manual/examples/argp-ex3.c: Likewise.
38687 * manual/examples/argp-ex4.c: Likewise.
38688 * manual/examples/atexit.c: Likewise.
38689 * manual/examples/db.c: Likewise.
38690 * manual/examples/dir.c: Likewise.
38691 * manual/examples/dir2.c: Likewise.
38692 * manual/examples/execinfo.c: Likewise.
38693 * manual/examples/filecli.c: Likewise.
38694 * manual/examples/filesrv.c: Likewise.
38695 * manual/examples/fmtmsgexpl.c: Likewise.
38696 * manual/examples/genpass.c: Likewise.
38697 * manual/examples/inetcli.c: Likewise.
38698 * manual/examples/inetsrv.c: Likewise.
38699 * manual/examples/isockad.c: Likewise.
38700 * manual/examples/longopt.c: Likewise.
38701 * manual/examples/memopen.c: Likewise.
38702 * manual/examples/memstrm.c: Likewise.
38703 * manual/examples/mkfsock.c: Likewise.
38704 * manual/examples/mkisock.c: Likewise.
38705 * manual/examples/mygetpass.c: Likewise.
38706 * manual/examples/pipe.c: Likewise.
38707 * manual/examples/popen.c: Likewise.
38708 * manual/examples/rprintf.c: Likewise.
38709 * manual/examples/search.c: Likewise.
38710 * manual/examples/select.c: Likewise.
38711 * manual/examples/setjmp.c: Likewise.
38712 * manual/examples/sigh1.c: Likewise.
38713 * manual/examples/sigusr.c: Likewise.
38714 * manual/examples/stpcpy.c: Likewise.
38715 * manual/examples/strdupa.c: Likewise.
38716 * manual/examples/strftim.c: Likewise.
38717 * manual/examples/strncat.c: Likewise.
38718 * manual/examples/subopt.c: Likewise.
38719 * manual/examples/swapcontext.c: Likewise.
38720 * manual/examples/termios.c: Likewise.
38721 * manual/examples/testopt.c: Likewise.
38722 * manual/examples/testpass.c: Likewise.
38723 * manual/examples/timeval_subtract.c: Likewise.
38726 * manual/time.texi (Elapsed Time): Move timeval_subtract example
38728 * manual/timeval_subtract.c.texi: ... here, new file.
38730 2012-03-02 David S. Miller <davem@davemloft.net>
38732 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38734 2012-03-02 Joseph Myers <joseph@codesourcery.com>
38737 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
38738 (__sin): Save and restore rounding mode and use round-to-nearest
38739 for all computations.
38740 (__cos): Save and restore rounding mode and use round-to-nearest
38741 for all computations.
38742 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
38744 (tan): Save and restore rounding mode and use round-to-nearest for
38746 * math/libm-test.inc (cos_test_tonearest): New function.
38747 (cos_test_towardzero): Likewise.
38748 (cos_test_downward): Likewise.
38749 (cos_test_upward): Likewise.
38750 (sin_test_tonearest): Likewise.
38751 (sin_test_towardzero): Likewise.
38752 (sin_test_downward): Likewise.
38753 (sin_test_upward): Likewise.
38754 (tan_test_tonearest): Likewise.
38755 (tan_test_towardzero): Likewise.
38756 (tan_test_downward): Likewise.
38757 (tan_test_upward): Likewise.
38758 (main): Call the new functions.
38759 * sysdeps/i386/fpu/libm-test-ulps: Update.
38760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38763 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
38764 small n, then large n, before computing and testing k+n.
38765 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38766 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
38768 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
38770 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
38771 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
38772 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
38773 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
38774 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38775 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38776 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
38777 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
38778 * math/libm-test.inc (scalbn_test): Add more tests.
38779 (scalbln_test): Likewise.
38781 * manual/filesys.texi (mode_t): Describe constraints on size and
38782 signedness, not exact equivalence to a particular type.
38784 (ino64_t): Likewise.
38786 (nlink_t): Likewise.
38787 (blkcnt_t): Likewise.
38788 (blkcnt64_t): Likewise.
38789 * manual/llio.texi (off_t): Likewise.
38792 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
38793 (__ieee754_exp): Save and restore rounding mode and use
38794 round-to-nearest for all computations.
38795 * math/libm-test.inc (exp_test_tonearest): New function.
38796 (exp_test_towardzero): Likewise.
38797 (exp_test_downward): Likewise.
38798 (exp_test_upward): Likewise.
38799 (main): Call the new functions.
38800 * sysdeps/i386/fpu/libm-test-ulps: Update.
38801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38803 2012-03-01 Chris Demetriou <cgd@google.com>
38805 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
38806 have predictable order.
38808 2012-03-01 David S. Miller <davem@davemloft.net>
38810 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
38812 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
38813 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
38814 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
38815 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
38817 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
38818 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
38819 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
38820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
38821 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
38822 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
38823 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
38824 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
38825 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
38827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38829 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
38830 * sysdeps/sparc/fpu/libm-test-ulps: to here.
38831 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
38833 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
38834 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38835 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38836 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
38837 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
38838 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
38839 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
38840 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38841 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38842 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
38843 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
38844 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38845 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38846 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38847 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38848 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38849 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
38850 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
38851 * sysdeps/sparc/elf/configure: Regenerated.
38853 2012-03-01 Joseph Myers <joseph@codesourcery.com>
38855 * configure.in (AS, LD): Require binutils 2.20 or later.
38856 * configure: Regenerated.
38857 * manual/install.texi (Tools for Compilation): Give binutils 2.20
38858 as required minimum version.
38859 * INSTALL: Regenerated.
38863 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
38864 before squaring exponent.
38865 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
38866 bottom long double and 27 bits of top long double before squaring
38868 * math/libm-test.inc (erfc_test): Add more tests.
38869 * sysdeps/i386/fpu/libm-test-ulps: Update.
38870 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38873 2012-03-01 Kai Tietz <ktietz@redhat.com>
38875 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
38876 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
38877 containing bit-fields.
38878 * soft-fp/extended.h (_FP_UNION_E): Likewise.
38879 * soft-fp/single.h (_FP_UNION_S): Likewise.
38880 * soft-fp/double.h (_FP_UNION_D): Likewise.
38882 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38885 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
38886 not include ../strcmp.S.
38887 [USE_AS_STRNCASECMP_L]: Likewise.
38888 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
38889 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
38890 * sysdeps/i386/i686/multiarch/strncase_l-c.c
38891 (__strncasecmp_l_ia32): Define as alias to
38892 __strncasecmp_l_nonascii.
38895 * math/libm-test.inc (expm1_test): Add test for bug 5794.
38896 * sysdeps/i386/fpu/libm-test-ulps: Update.
38897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38899 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
38900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38902 2012-02-29 Jeff Law <law@redhat.com>
38904 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
38905 out of bounds read.
38907 2012-02-29 Marek Polacek <polacek@redhat.com>
38910 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
38911 * elf/Makefile: Add rules to run tst-unused-dep.out.
38913 2012-02-28 David S. Miller <davem@davemloft.net>
38915 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
38916 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38917 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38918 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38919 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38920 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38922 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38924 * math/libm-test.inc (llround_test): Move one test from
38925 lround_test. Use TEST_f_L in moved test.
38926 (lround_test): Move misplaced test to llround_test. Add testcase
38929 2012-02-28 Ulrich Drepper <drepper@gmail.com>
38931 * sysdeps/x86_64/fpu/e_expf.S: New file.
38932 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38934 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
38937 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38938 of remain_len that may cause incomplete multi-byte character and
38940 * posix/bug-regex33.c: New file.
38941 * posix/Makefile (tests): Add bug-regex33.
38943 2012-02-28 Joseph Myers <joseph@codesourcery.com>
38945 * manual/macros.texi: New file.
38946 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38947 * manual/libc.texinfo: Include macros.texi.
38948 * manual/creatute.texi: Likewise.
38949 * manual/install.texi: Likewise.
38950 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38951 @glibcadj{} in references to the GNU C Library.
38952 * manual/charset.texi: Likewise.
38953 * manual/conf.texi: Likewise.
38954 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
38955 when not using those macros.
38956 * manual/creature.texi: Likewise.
38957 * manual/crypt.texi: Likewise.
38958 * manual/errno.texi: Likewise.
38959 * manual/filesys.texi: Likewise.
38960 * manual/header.texi: Likewise.
38961 * manual/install.texi: Likewise.
38962 * manual/intro.texi: Likewise.
38963 * manual/io.texi: Likewise.
38964 * manual/job.texi: Likewise.
38965 * manual/lang.texi: Likewise.
38966 * manual/libc.texiinfo: Likewise.
38967 * manual/llio.texi: Likewise.
38968 * manual/locale.texi: Likewise.
38969 * manual/maint.texi: Likewise.
38970 * manual/math.texi: Likewise.
38971 * manual/memory.texi: Likewise.
38972 * manual/message.texi: Likewise.
38973 * manual/nss.texi: Likewise.
38974 * manual/pattern.texi: Likewise.
38975 * manual/process.texi: Likewise.
38976 * manual/resource.texi: Likewise.
38977 * manual/search.texi: Likewise.
38978 * manual/setjmp.texi: Likewise.
38979 * manual/signal.texi: Likewise.
38980 * manual/socket.texi: Likewise.
38981 * manual/startup.texi: Likewise.
38982 * manual/stdio.texi: Likewise.
38983 * manual/string.texi: Likewise.
38984 * manual/sysinfo.texi: Likewise.
38985 * manual/syslog.texi: Likewise.
38986 * manual/terminal.texi: Likewise.
38987 * manual/time.texi: Likewise.
38988 * manual/users.texi: Likewise.
38989 * INSTALL: Regenerated.
38990 * NOTES: Regenerated.
38991 * sysdeps/gnu/errlist.c: Regenerated.
38993 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
38995 * include/dirent.h: Include <dirstream.h> before
38998 2012-02-28 David S. Miller <davem@davemloft.net>
39000 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39001 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39002 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39003 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39005 2012-02-27 David S. Miller <davem@davemloft.net>
39007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39009 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39010 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39013 frame pointer instead of stack pointer relative arg slot.
39014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39015 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39016 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39018 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39021 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39023 2012-02-27 David S. Miller <davem@davemloft.net>
39025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39029 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39030 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39031 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39032 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39034 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39036 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39037 later. Allow versions 5-9.
39038 * configure: Regenerated.
39039 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39040 required minimum version and 4.6 as recommended version. Do not
39041 mention bugs in GCC 2.7 and 2.8.
39042 * INSTALL: Regenerated.
39044 2012-02-27 David S. Miller <davem@davemloft.net>
39046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39050 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39051 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39052 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39053 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39055 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39056 manipulate bits before adding and subtracting TWO112[sx].
39057 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39059 2012-02-27 Roland McGrath <roland@hack.frob.com>
39062 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39063 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39064 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39065 being in POSIX, because they are in 1003.1-2008.
39067 * rt/tst-aio.c: Include <fcntl.h>.
39068 * rt/tst-aio7.c: Likewise.
39069 * rt/tst-aio64.c: Likewise.
39071 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39073 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39075 * manual/install.texi (--with-headers): Describe headers as
39076 interface headers, not private headers.
39077 (Specific advice for GNU/Linux systems): Describe use of headers
39078 from "make headers_install", not private headers from older
39080 * INSTALL: Regenerated.
39081 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39083 * sysdeps/unix/sysv/linux/configure: Regenerated.
39085 * manual/llio.texi (fclean): Remove documentation.
39087 * manual/Makefile (libc-texi-generated): New variable. Include
39089 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39090 $(libc-texi-generated), not duplicated list of files.
39091 (version.texi, stamp-version): New rules.
39092 (realclean): Remove $(libc-texi-generated), not individual files
39093 from that list. Do not remove dir-add.texinfo.
39094 * manual/libc.texinfo: Comment out uses of edition numbers and
39095 references to printed manual. Remove last-updated dates.
39096 (EDITION): Comment out.
39098 (VERSION, UPDATED): Remove.
39099 (version.texi): Include.
39101 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
39103 * sysdeps/posix/spawni.c: Include <signal.h>.
39104 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39105 * sysdeps/pthread/aio_fsync.c: Likewise.
39107 2012-02-26 Ulrich Drepper <drepper@gmail.com>
39109 * conform/Makefile (tests): Run only when not cross-compiling and
39110 when fast-check is not defined.
39112 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39113 * conform/data/limits.h-data: Fixes for POSIX2008.
39114 * conform/run-conformtest.sh: Run all tests.
39115 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39117 * include/bits/dlfcn.h: Likewise.
39118 * include/langinfo.h: Likewise.
39119 * include/monetary.h: Likewise.
39120 * include/sys/poll.h: Likewise.
39122 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39124 * posix/spawn.h: Define __need_sigset_t.
39125 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39126 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39127 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
39128 to get sigevent_t only.
39129 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39130 only for __USE_GNU.
39131 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39132 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39133 process_vm_writev only for __USE_GNU.
39134 * termios/termios.h: Declare tcgetsid also for POSIX2008.
39136 * conform/Makefile: For now ignore errors from run-conformtest.
39137 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
39138 POSIX to avoid namespace pollution. Don't prepend headers.
39139 * conform/data/aio.h-data: Fixes for POSIX testing.
39140 * conform/data/fcntl.h-data: Likewise.
39141 * conform/data/glob.h-data: Likewise.
39142 * conform/data/grp.h-data: Likewise.
39143 * conform/data/pthread.h-data: Likewise.
39144 * conform/data/pwd.h-data: Likewise.
39145 * conform/data/signal.h-data: Likewise.
39146 * conform/data/spawn.h-data: Likewise.
39147 * conform/data/stdio.h-data: Likewise.
39148 * conform/data/stdlib.h-data: Likewise.
39149 * conform/data/stropts.h-data: Likewise.
39150 * conform/data/sys/mman.h-data: Likewise.
39151 * conform/data/sys/stat.h-data: Likewise.
39152 * conform/data/sys/types.h-data: Likewise.
39153 * conform/data/sys/wait.h-data: Likewise.
39154 * conform/data/time.h-data: Likewise.
39155 * conform/data/unistd.h-data: Likewise.
39156 * conform/data/utime.h-data: Likewise.
39158 * io/sys/stat.h: fchmod was always in POSIX.
39159 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39160 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39161 * rt/aio.h: Define __need_timespec before including <time.h>.
39162 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39163 struct. Add forward declaration of pthread_attr_t and use it in
39165 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39166 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39167 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39168 always remove CLK_TCK definition.
39170 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
39172 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39174 2012-02-25 Ulrich Drepper <drepper@gmail.com>
39176 * conform/run-conformtest.sh: New file.
39177 * conform/Makefile: Run run-conformtest for tests.
39178 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
39181 * conform/data/uchar.h-data: New file.
39182 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39183 * conform/data/arpa/inet.h-data: Likewise.
39184 * conform/data/assert.h-data: Likewise.
39185 * conform/data/complex.h-data: Likewise.
39186 * conform/data/cpio.h-data: Likewise.
39187 * conform/data/ctype.h-data: Likewise.
39188 * conform/data/dirent.h-data: Likewise.
39189 * conform/data/dlfcn.h-data: Likewise.
39190 * conform/data/errno.h-data: Likewise.
39191 * conform/data/fcntl.h-data: Likewise.
39192 * conform/data/float.h-data: Likewise.
39193 * conform/data/fmtmsg.h-data: Likewise.
39194 * conform/data/fnmatch.h-data: Likewise.
39195 * conform/data/ftw.h-data: Likewise.
39196 * conform/data/glob.h-data: Likewise.
39197 * conform/data/grp.h-data: Likewise.
39198 * conform/data/iconv.h-data: Likewise.
39199 * conform/data/inttypes.h-data: Likewise.
39200 * conform/data/langinfo.h-data: Likewise.
39201 * conform/data/libgen.h-data: Likewise.
39202 * conform/data/limits.h-data: Likewise.
39203 * conform/data/locale.h-data: Likewise.
39204 * conform/data/math.h-data: Likewise.
39205 * conform/data/monetary.h-data: Likewise.
39206 * conform/data/mqueue.h-data: Likewise.
39207 * conform/data/ndbm.h-data: Likewise.
39208 * conform/data/net/if.h-data: Likewise.
39209 * conform/data/netdb.h-data: Likewise.
39210 * conform/data/netinet/in.h-data: Likewise.
39211 * conform/data/nl_types.h-data: Likewise.
39212 * conform/data/poll.h-data: Likewise.
39213 * conform/data/pthread.h-data: Likewise.
39214 * conform/data/pwd.h-data: Likewise.
39215 * conform/data/regex.h-data: Likewise.
39216 * conform/data/sched.h-data: Likewise.
39217 * conform/data/search.h-data: Likewise.
39218 * conform/data/semaphore.h-data: Likewise.
39219 * conform/data/setjmp.h-data: Likewise.
39220 * conform/data/signal.h-data: Likewise.
39221 * conform/data/spawn.h-data: Likewise.
39222 * conform/data/stdarg.h-data: Likewise.
39223 * conform/data/stdio.h-data: Likewise.
39224 * conform/data/stdlib.h-data: Likewise.
39225 * conform/data/string.h-data: Likewise.
39226 * conform/data/strings.h-data: Likewise.
39227 * conform/data/stropts.h-data: Likewise.
39228 * conform/data/sys/ipc.h-data: Likewise.
39229 * conform/data/sys/mman.h-data: Likewise.
39230 * conform/data/sys/msg.h-data: Likewise.
39231 * conform/data/sys/resource.h-data: Likewise.
39232 * conform/data/sys/select.h-data: Likewise.
39233 * conform/data/sys/sem.h-data: Likewise.
39234 * conform/data/sys/shm.h-data: Likewise.
39235 * conform/data/sys/socket.h-data: Likewise.
39236 * conform/data/sys/stat.h-data: Likewise.
39237 * conform/data/sys/statvfs.h-data: Likewise.
39238 * conform/data/sys/time.h-data: Likewise.
39239 * conform/data/sys/timeb.h-data: Likewise.
39240 * conform/data/sys/times.h-data: Likewise.
39241 * conform/data/sys/types.h-data: Likewise.
39242 * conform/data/sys/uio.h-data: Likewise.
39243 * conform/data/sys/un.h-data: Likewise.
39244 * conform/data/sys/utsname.h-data: Likewise.
39245 * conform/data/sys/wait.h-data: Likewise.
39246 * conform/data/syslog.h-data: Likewise.
39247 * conform/data/tar.h-data: Likewise.
39248 * conform/data/termios.h-data: Likewise.
39249 * conform/data/utime.h-data: Likewise.
39250 * conform/data/utmpx.h-data: Likewise.
39251 * conform/data/varargs.h-data: Likewise.
39252 * conform/data/wchar.h-data: Likewise.
39253 * conform/data/wctype.h-data: Likewise.
39254 * conform/data/wordexp.h-data: Likewise.
39256 * include/stropts.h: New file.
39257 * include/uchar.h: New file.
39258 * include/aio.h: Changes to allow conformtest.pl to use the headers.
39259 * include/assert.h: Likewise.
39260 * include/ctype.h: Likewise.
39261 * include/dirent.h: Likewise.
39262 * include/dlfcn.h: Likewise.
39263 * include/fcntl.h: Likewise.
39264 * include/fnmatch.h: Likewise.
39265 * include/glob.h: Likewise.
39266 * include/grp.h: Likewise.
39267 * include/libio.h: Likewise.
39268 * include/locale.h: Likewise.
39269 * include/math.h: Likewise.
39270 * include/net/if.h: Likewise.
39271 * include/netdb.h: Likewise.
39272 * include/netinet/in.h: Likewise.
39273 * include/pthread.h: Likewise.
39274 * include/pwd.h: Likewise.
39275 * include/regex.h: Likewise.
39276 * include/sched.h: Likewise.
39277 * include/search.h: Likewise.
39278 * include/setjmp.h: Likewise.
39279 * include/signal.h: Likewise.
39280 * include/stdio.h: Likewise.
39281 * include/stdlib.h: Likewise.
39282 * include/string.h: Likewise.
39283 * include/sys/cdefs.h: Likewise.
39284 * include/sys/mman.h: Likewise.
39285 * include/sys/msg.h: Likewise.
39286 * include/sys/resource.h: Likewise.
39287 * include/sys/select.h: Likewise.
39288 * include/sys/socket.h: Likewise.
39289 * include/sys/stat.h: Likewise.
39290 * include/sys/statvfs.h: Likewise.
39291 * include/sys/time.h: Likewise.
39292 * include/sys/times.h: Likewise.
39293 * include/sys/uio.h: Likewise.
39294 * include/sys/utsname.h: Likewise.
39295 * include/sys/wait.h: Likewise.
39296 * include/termios.h: Likewise.
39297 * include/time.h: Likewise.
39298 * include/ulimit.h: Likewise.
39299 * include/unistd.h: Likewise.
39300 * include/utime.h: Likewise.
39301 * include/wchar.h: Likewise.
39302 * include/wctype.h: Likewise.
39303 * include/wordexp.h: Likewise.
39305 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39307 * time/time.h: TIME_UTC must be a macro.
39308 Make timespec_get available for ISO C11 only as well.
39310 2012-02-24 Ulrich Drepper <drepper@gmail.com>
39312 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39313 Reported by Peng Haitao <penght@cn.fujitsu.com>.
39315 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39317 * configure.in: Use -o not -a in test for unsupported multi-arch.
39319 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39321 * manual/texinfo.tex: Update to version 2012-01-19.16.
39323 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39325 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39327 2012-02-24 Roland McGrath <roland@hack.frob.com>
39330 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39331 * manual/fdl-1.3.texi: New file.
39332 * manual/fdl-1.1.texi: File removed.
39335 * manual/libc.texinfo (FDL_VERSION): New @set.
39336 Use it for mention of FDL in cover text.
39337 (Documentation License): Use it in @include file name.
39339 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39340 Roland McGrath <roland@hack.frob.com>
39343 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39344 (not LONG_LONG_MAX and LONG_LONG_MIN.
39345 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39346 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
39348 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39350 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39354 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39355 manipulate bits before adding and subtracting TWO23[sx].
39356 * math/libm-test.inc (nearbyint_test): Add more tests.
39358 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39361 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39362 bits before adding and subtracting TWO23[sx].
39363 * math/libm-test.inc (rint_test): Add more tests.
39364 (rint_test_tonearest): Likewise.
39365 (rint_test_towardzero): Likewise.
39366 (rint_test_downward): Likewise.
39367 (rint_test_upward: Likewise.
39369 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39372 * include/stdc-predef.h: New file. Extracted from features.h.
39373 * include/features.h: Include stdc-predef.h.
39374 * Makefile (headers): Add stdc-predef.h.
39375 * CONFORMANCE (Compiler limitations): Update.
39377 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39379 * manual/libc.texinfo (VERSION, UPDATED): Revert.
39381 2012-02-21 David S. Miller <davem@davemloft.net>
39383 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39384 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39386 2012-02-20 David S. Miller <davem@davemloft.net>
39388 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39389 using a normal save/restore sequence, rather than allocating a
39390 dummy stack frame just to store a frame pointer and restore.
39391 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39393 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39395 * manual/install.texi: Fix stray word in line-wrapped comment.
39397 2012-02-20 David S. Miller <davem@davemloft.net>
39399 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39400 both binutils and gcc support GOTDATA.
39402 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39403 "rd %pc" in the PIC register setup sequences.
39405 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39406 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39407 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39408 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39409 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39410 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39411 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39412 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39413 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39414 (SYSCALL_ERROR_HANDLER): Likewise.
39415 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39416 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39417 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39418 (SYSCALL_ERROR_HANDLER): Likewise.
39420 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39421 (HAVE_GCC_GOTDATA): New.
39422 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39423 relocation support in both binutils and gcc.
39424 * sysdeps/sparc/elf/configure: Regenerate.
39426 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39427 * sysdeps/sparc/sparc32/elf/configure: Delete.
39428 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39429 * sysdeps/sparc/sparc64/elf/configure: Delete.
39430 * sysdeps/sparc/elf/configure.in: New file.
39431 * sysdeps/sparc/elf/configure: Generate.
39433 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39434 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39435 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39436 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39437 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39439 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39441 * manual/install.texi: Do not mention specific glibc version
39443 * manual/libc.texinfo (VERSION, UPDATED): Update.
39444 (@copying): Use @copyright{} and range of years.
39446 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39449 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39450 [crti.S not in sysdirs] (generated): Do not append.
39451 [crti.S not in sysdirs] (omit-deps): Likewise.
39452 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39453 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39454 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39455 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39456 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39458 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39459 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39460 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39461 * csu/defs.awk: Remove file.
39462 * sysdeps/generic/initfini.c: Likewise.
39463 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39465 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39468 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39470 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39471 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39472 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39473 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39474 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39475 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39477 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39478 (__EPOLL_PACKED): Define to empty if not defined by
39480 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39481 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39484 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39486 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39487 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39488 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39489 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39491 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39492 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39495 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39497 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39499 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39500 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39501 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39504 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
39506 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39507 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39509 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
39511 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39512 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39514 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39516 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39519 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
39521 * math/w_acos.c: Use non-signaling floating-point comparisons.
39522 * math/w_acosf.c: Likewise.
39523 * math/w_acosh.c: Likewise.
39524 * math/w_acoshf.c: Likewise.
39525 * math/w_acoshl.c: Likewise.
39526 * math/w_acosl.c: Likewise.
39527 * math/w_asin.c: Likewise.
39528 * math/w_asinf.c: Likewise.
39529 * math/w_asinl.c: Likewise.
39530 * math/w_atanh.c: Likewise.
39531 * math/w_atanhf.c: Likewise.
39532 * math/w_atanhl.c: Likewise.
39533 * math/w_exp2.c: Likewise.
39534 * math/w_exp2f.c: Likewise.
39535 * math/w_exp2l.c: Likewise.
39536 * math/w_j0.c: Likewise.
39537 * math/w_j0f.c: Likewise.
39538 * math/w_j0l.c: Likewise.
39539 * math/w_j1.c: Likewise.
39540 * math/w_j1f.c: Likewise.
39541 * math/w_j1l.c: Likewise.
39542 * math/w_jn.c: Likewise.
39543 * math/w_jnf.c: Likewise.
39544 * math/w_log.c: Likewise.
39545 * math/w_log10.c: Likewise.
39546 * math/w_log10f.c: Likewise.
39547 * math/w_log10l.c: Likewise.
39548 * math/w_log2.c: Likewise.
39549 * math/w_log2f.c: Likewise.
39550 * math/w_log2l.c: Likewise.
39551 * math/w_logf.c: Likewise.
39552 * math/w_logl.c: Likewise.
39553 * math/w_sqrt.c: Likewise.
39554 * math/w_sqrtf.c: Likewise.
39555 * math/w_sqrtl.c: Likewise.
39556 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39557 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39558 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39559 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39560 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39562 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39565 * manual/string.texi (strnlen): Use correct parameter name in
39566 equivalent expression.
39568 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39571 * manual/users.texi (seteuid): Consistently use neweuid for
39574 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39577 * manual/nss.texi (Services in the NSS configuration): Correct
39578 list of services in example configuration file.
39580 2012-02-19 Nick Bowler <nbowler@draconx.ca>
39583 * manual/arith.texi: Remove statements about negative zero
39584 behaving identically to zero.
39586 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39589 * manual/install.texi: Do not document upgrading from libc5.
39591 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39594 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39596 2012-02-18 David S. Miller <davem@davemloft.net>
39598 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39599 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39600 %o7 across the call.
39601 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39603 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39604 SETUP_PIC_REG_LEAF.
39605 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39606 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39607 * sysdeps/sparc/crtn.S: Likewise.
39609 2012-02-17 Ulrich Drepper <drepper@gmail.com>
39611 * aout/Makefile: Remove.
39613 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
39616 * manual/examples/argp-ex1.c (main): Format definition in GNU
39618 * manual/examples/argp-ex2.c (main): Likewise.
39619 * manual/examples/argp-ex3.c (main): Likewise.
39620 * manual/examples/argp-ex4.c (main): Likewise.
39621 * manual/examples/longopt.c (main): Use new-style prototype
39623 * manual/examples/strncat.c (main): Specify return type and use
39624 (void) for arguments.
39625 * manual/examples/subopt.c (main): Use char **argv argument.
39627 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39630 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39633 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
39636 * manual/string.texi (strchr): Change when strchrnul is
39639 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
39642 * manual/locale.texi (setlocale): Document LOCPATH.
39644 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39647 * manual/process.texi (execle): Move @dots{} before last argument.
39649 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
39652 * manual/charset.texi (Generic Charset Conversion): Fix typo
39653 (LC_TYPE -> LC_CTYPE).
39655 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
39658 * manual/arith.texi (scalbn): Use @var{} on parameter names.
39659 (scalbnf): Likewise.
39660 (scalbnl): Likewise.
39661 (scalbln): Likewise.
39662 (scalblnf): Likewise.
39663 (scalblnl): Likewise.
39664 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39665 (vwarnx): Likewise.
39668 * manual/filesys.texi (telldir): Use braces around return type.
39669 * manual/llio.texi (mmap): Add space after comma.
39670 (mmap64): Likewise.
39671 * manual/math.texi (jn): Use @var{} on parameter names.
39677 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39679 * manual/resource.texi (ulimit): Use @dots{} instead of literal
39681 (sched_get_priority_min): Remove semicolon on @deftypefun line.
39682 (sched_get_priority_max): Likewise.
39683 * manual/signal.texi (sigvec): Add space after comma.
39684 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39686 (if_indextoname): Likewise.
39687 (if_freenameindex): Likewise.
39688 (sendto): Use ',' instead of '.' in prototype.
39689 * manual/startup.texi (syscall): Use @dots{} instead of literal
39691 * manual/stdio.texi (__fpending): Separate initial words of
39692 paragraph from @deftypefun line.
39693 * manual/syslog.texi (syslog): Use @dots{} instead of literal
39695 (vsyslog): Use @var{} on parameter names.
39696 * manual/terminal.texi (stty): Use @var{} on parameter names.
39697 * manual/users.texi (getutmp): Use @var{} on parameter names.
39698 (getutmpx): Likewise.
39700 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39703 * manual/stdio.texi (fopen): Fix typos in description of
39706 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
39709 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39710 get clock_id definition.
39712 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
39715 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39716 (madvise): Cast every argument to void on its own.
39718 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39721 * manual/startup.texi (Exit Status): Fix typo.
39723 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39726 * manual/examples/argp-ex1.c: Include <stdlib.h>.
39727 * manual/examples/argp-ex2.c: Likewise.
39728 * manual/examples/argp-ex3.c: Likewise.
39730 2012-02-16 Richard Henderson <rth@redhat.com>
39732 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39733 * sysdeps/s390/s390-32/initfini.c: Remove.
39734 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
39735 * sysdeps/s390/s390-64/initfini.c: Remove.
39737 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39739 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
39740 compiler output for sysdeps/generic/initfini.c.
39741 * sysdeps/sh/elf/initfini.c: Remove file.
39743 2012-02-16 David S. Miller <davem@davemloft.net>
39746 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
39748 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
39749 * sysdeps/sparc/crti.S: New file.
39750 * sysdeps/sparc/crtn.S: New file.
39751 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
39752 * sysdeps/sparc/sparc64/Makefile: Likewise.
39754 2012-02-15 Mike Frysinger <vapier@gentoo.org>
39757 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
39759 2012-02-15 Roland McGrath <roland@hack.frob.com>
39762 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
39764 * mach/devstream.c (cookie_io_functions_t): Macro removed.
39765 (write, read, close): Likewise.
39766 Patch by Aurelien Jarno <aurelien@aurel32.net>.
39768 2012-02-15 Joseph Myers <joseph@codesourcery.com>
39770 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
39771 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
39772 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
39773 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
39775 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
39776 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39779 2012-02-14 Marek Polacek <polacek@redhat.com>
39781 * sysdeps/x86_64/crti.S: New file.
39782 * sysdeps/x86_64/crtn.S: New file.
39783 * sysdeps/x86_64/elf/initfini.c: Remove file.
39785 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39787 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
39788 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
39789 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
39790 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
39792 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
39793 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39796 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39798 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
39799 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
39800 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
39801 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
39803 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
39804 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39807 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
39809 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
39810 __feraiseexcept instead of feraiseexcept.
39812 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
39813 nanosleep invocations.
39814 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
39815 strings, and add error checking for a nanosleep invocations.
39817 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
39819 Replace FSF snail mail address with URLs, as per GNU coding standards.
39820 Most of the snail mail addresses were wrong anyway, and omitting
39821 them makes the source code easier to maintain. Almost all of the
39822 changes are to license notices and to locale LC_IDENTIFICATION
39823 addresses, except for this one:
39824 * manual/libc.texinfo: In "Published by", give the FSF's URL,
39825 not its snail mail address.
39827 2012-02-09 Richard Henderson <rth@twiddle.net>
39829 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
39830 of kernel-features.h.
39832 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
39834 2012-02-08 Marek Polacek <polacek@redhat.com>
39836 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
39837 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
39838 * sysdeps/gnu/_G_config.h: Likewise.
39839 * sysdeps/generic/_G_config.h: Likewise.
39841 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
39843 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
39845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39847 * sysdeps/powerpc/powerpc32/crti.S: New file.
39848 * sysdeps/powerpc/powerpc32/crtn.S: New file.
39849 * sysdeps/powerpc/powerpc64/crti.S: New file.
39850 * sysdeps/powerpc/powerpc64/crtn.S: New file.
39852 * Makeconfig (have-initfini): Don't set.
39853 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
39854 * configure.in (nopic_initfini): Don't substitute.
39855 * config.h.in (HAVE_INITFINI): Don't #undef.
39856 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
39857 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
39859 2012-02-08 Joseph Myers <joseph@codesourcery.com>
39861 Support crti.S and crtn.S provided directly by architectures.
39862 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
39863 [crti.S in sysdirs] (omit-deps): Likewise.
39864 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
39865 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
39866 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
39867 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
39868 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
39869 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
39870 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
39871 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
39872 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
39873 compiler output for sysdeps/generic/initfini.c.
39874 * sysdeps/i386/elf/Makefile: Remove file.
39875 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
39877 2012-02-07 Marek Polacek <polacek@redhat.com>
39879 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
39880 * sysdeps/gnu/_G_config.h: Likewise.
39881 * sysdeps/mach/hurd/_G_config.h: Likewise.
39883 2012-02-07 Marek Polacek <polacek@redhat.com>
39885 * math/Makefile (tests): Add tst-CMPLX2.
39886 * math/tst-CMPLX2.c: New file.
39888 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
39890 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39892 * math/libm-test.inc (jn_test): Add missing L suffix.
39894 2012-02-06 Marek Polacek <polacek@redhat.com>
39896 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
39897 * sysdeps/i386/fpu/e_powf.S: Likewise.
39898 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39899 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39900 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39901 * sysdeps/i386/fpu/e_pow.S: Likewise.
39902 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39903 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39904 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39905 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39906 * sysdeps/i386/fpu/e_log2.S: Likewise.
39907 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39908 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39909 * sysdeps/i386/fpu/e_powl.S: Likewise.
39910 * sysdeps/i386/fpu/s_log1p.S: Likewise.
39911 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39912 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39913 * sysdeps/i386/fpu/e_logl.S: Likewise.
39914 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39915 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
39916 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39917 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39918 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39919 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39920 * sysdeps/i386/fpu/e_log.S: Likewise.
39921 * sysdeps/i386/fpu/s_cexp.S: Likewise.
39922 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39923 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39924 * sysdeps/i386/fpu/e_logf.S: Likewise.
39925 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39926 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39927 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39928 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39929 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39930 * sysdeps/i386/fpu/e_log10.S: Likewise.
39931 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39932 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39933 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39934 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39935 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39936 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39937 * sysdeps/i386/asm-syntax.h: Likewise.
39938 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39939 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39940 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39941 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39942 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39943 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39944 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39945 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39946 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39947 * sysdeps/powerpc/sysdep.h: Likewise.
39948 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39949 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39951 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39954 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39956 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39958 * sysdeps/i386/sysdep.h: Include <features.h>.
39959 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39962 2012-02-05 Joseph Myers <joseph@codesourcery.com>
39964 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39966 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39969 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39971 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39972 (SETUP_PIC_REG): Use GET_PC_THUNK.
39973 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39976 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39978 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39979 for non-PIC compilation.
39980 (SETUP_PIC_REG): Add .p2align directive.
39981 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39982 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39983 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39984 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39985 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39986 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39987 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39988 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39989 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39990 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39991 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39992 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39993 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39994 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39995 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39996 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39997 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39998 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39999 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40000 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40001 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40002 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40003 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40004 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40005 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40006 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40007 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40008 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40009 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40010 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40011 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40012 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40013 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40014 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40015 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40016 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40017 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40018 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40019 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40020 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40021 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40023 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40025 * math/tst-CMPLX.c: Include <stdio.h>.
40027 2012-01-31 Joseph Myers <joseph@codesourcery.com>
40029 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40031 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40032 * sysdeps/sparc/bits/mathdef.h: Likewise.
40034 2012-01-31 Marek Polacek <polacek@redhat.com>
40036 * libio/libio.h: Don't define _PARAMS.
40037 * locale/programs/config.h: Don't define PARAMS.
40038 * stdlib/strtol_l.c: Likewise.
40039 (__strtol_l): Remove PARAMS from the prototype.
40041 2012-01-31 Ulrich Drepper <drepper@gmail.com>
40043 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
40044 names. Just use the correct names. Remove unnecessary wrapper
40046 * malloc/arena.c: Likewise.
40047 * malloc/hooks.c: Likewise.
40049 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40050 ARENA_TEST says not to. Simplify test for creation of a new arena.
40051 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40053 2012-01-30 Ulrich Drepper <drepper@gmail.com>
40055 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40057 (update_get_addr): New function.
40058 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40059 GET_ADDR_MODULE parameter.
40061 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40063 * crypt/cert.c: Remove __STDC__ conditionals.
40064 * crypt/crypt-entry.c: Likewise.
40065 * crypt/crypt_util.c: Likewise.
40066 * libio/filedoalloc.c: Likewise.
40067 * libio/fileops.c: Likewise.
40068 * libio/genops.c: Likewise.
40069 * libio/iofclose.c: Likewise.
40070 * libio/iofdopen.c: Likewise.
40071 * libio/iofopen.c: Likewise.
40072 * libio/iofopen64.c: Likewise.
40073 * libio/iogetdelim.c: Likewise.
40074 * libio/iopopen.c: Likewise.
40075 * libio/obprintf.c: Likewise.
40076 * libio/oldfileops.c: Likewise.
40077 * libio/oldiofclose.c: Likewise.
40078 * libio/oldiofdopen.c: Likewise.
40079 * libio/oldiofopen.c: Likewise.
40080 * libio/oldiopopen.c: Likewise.
40081 * libio/wfiledoalloc.c: Likewise.
40082 * libio/wgenops.c: Likewise.
40083 * locale/programs/xmalloc.c: Likewise.
40084 * misc/syslog.c: Likewise.
40085 * stdio-common/xbug.c: Likewise.
40086 * string/memchr.c: Likewise.
40087 * string/memcmp.c: Likewise.
40088 * string/memrchr.c: Likewise.
40089 * string/rawmemchr.c: Likewise.
40090 * sysdeps/posix/getcwd.c: Likewise.
40091 * time/strftime_l.c: Likewise.
40093 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40095 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40096 * config.make.in (config-cflags-sse2avx): Define.
40097 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40100 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
40102 * scripts/config.guess: Update from upstream config git repository.
40103 * scripts/config.sub: Likewise.
40105 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
40107 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40109 (R_TILEPRO_*, R_TILEGX_*): New macros.
40111 * scripts/firstversions.awk: Fix bug in version range handling.
40113 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40115 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40117 * include/sys/epoll.h: New file.
40118 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40121 2012-01-28 Ulrich Drepper <drepper@gmail.com>
40123 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40124 Avoid unnecessary __WORDSIZE == 64 test.
40125 (fmaxf): Use VEX format if possible.
40130 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40131 * math/math_private.h: Remove libc_fegetround* and
40133 * sysdeps/i386/configure.in: Check for -msse2avx.
40134 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40135 also if SSE2AVX is defined.
40136 Remove libc_fegetround* and libc_fesetround*.
40137 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40138 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
40139 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40141 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40142 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40143 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40144 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40145 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40147 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40149 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40151 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40153 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40155 2012-01-27 Ulrich Drepper <drepper@gmail.com>
40158 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40160 * Makeconfig (libm): Define.
40161 * elf/Makefile: Add rules to build and run tst-relsort1.
40162 * elf/tst-relsort1.c: New file.
40163 * elf/tst-relsort1mod1.c: New file.
40164 * elf/tst-relsort1mod2.c: New file.
40166 2012-01-27 Joseph Myers <joseph@codesourcery.com>
40168 * math/s_ldexp.c: Remove __STDC__ conditionals.
40169 * math/s_ldexpf.c: Likewise.
40170 * math/s_ldexpl.c: Likewise.
40171 * math/s_nextafter.c: Likewise.
40172 * math/s_nexttowardf.c: Likewise.
40173 * math/s_significand.c: Likewise.
40174 * math/s_significandf.c: Likewise.
40175 * math/s_significandl.c: Likewise.
40176 * math/w_jnl.c: Likewise.
40177 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40178 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40179 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40180 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40181 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40182 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40183 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40184 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40185 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40186 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40187 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40188 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40189 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40190 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40191 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40192 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40193 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40194 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40195 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40196 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40197 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40198 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40199 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40200 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40201 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40202 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40203 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40204 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40205 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40206 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40207 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40208 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40209 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40210 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40211 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40212 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40213 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40214 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40215 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40216 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40217 * sysdeps/ieee754/k_standard.c: Likewise.
40218 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40219 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40220 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40221 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40222 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40223 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40224 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40225 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40226 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40227 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40228 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40229 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40230 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40231 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40232 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40233 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40234 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40235 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40236 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40237 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40238 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40239 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40240 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40241 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40242 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40243 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40244 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40245 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40246 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40247 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40248 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40249 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40250 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40251 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40252 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40253 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40254 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40255 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40256 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40257 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40258 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40259 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40260 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40261 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40262 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40263 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40264 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40265 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40266 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40267 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40268 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40269 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40270 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40271 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40272 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40273 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40274 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40275 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40276 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40277 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40278 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40279 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40280 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40281 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40282 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40283 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40284 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40285 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40286 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40287 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40288 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40289 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40290 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40291 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40292 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40293 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40294 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40295 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40296 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40297 * sysdeps/ieee754/s_matherr.c: Likewise.
40298 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40299 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40300 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40301 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40303 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40305 * crypt/md5.h: Remove __STDC__ conditionals.
40306 * libio/libioP.h: Likewise.
40307 * locale/programs/config.h: Likewise.
40308 * sysdeps/generic/sysdep.h: Likewise.
40309 * sysdeps/i386/asm-syntax.h: Likewise.
40310 * sysdeps/s390/asm-syntax.h: Likewise.
40311 * sysdeps/unix/sysdep.h: Likewise.
40312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40315 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40317 * libio/libio.h: Remove __STDC__ conditionals.
40318 * malloc/obstack.h: Likewise.
40319 * math/complex.h: Likewise.
40320 * math/math.h: Likewise.
40321 * sysdeps/generic/_G_config.h: Likewise.
40322 * sysdeps/gnu/_G_config.h: Likewise.
40323 * sysdeps/mach/hurd/_G_config.h: Likewise.
40324 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40325 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40326 * sysdeps/sparc/bits/mathdef.h: Likewise.
40328 2012-01-26 Ulrich Drepper <drepper@gmail.com>
40331 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40332 Clean up HAS_* macros.
40333 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40334 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40336 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40338 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40339 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40340 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40341 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40342 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40344 2012-01-25 Joseph Myers <joseph@codesourcery.com>
40346 * elf/tst-unique3.cc (gets): Remove declaration.
40347 * elf/tst-unique3lib.cc (gets): Likewise.
40348 * elf/tst-unique3lib2.cc (gets): Likewise.
40349 * elf/tst-unique4.cc (gets): Likewise.
40351 2012-01-24 Ulrich Drepper <drepper@gmail.com>
40353 * include/stdio.h: Add C++ protection. Add gets declarations and
40355 * debug/tst-chk1.c: Don't declare gets here.
40356 * stdio-common/tst-gets.c: Likewise.
40358 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40360 * posix/glob: Remove directory.
40362 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40364 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40366 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
40368 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40369 of the non-standard EPFNOSUPPORT.
40371 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
40373 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40374 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40375 ANYWHERE set to 1 only on KERN_NO_SPACE error.
40377 2012-01-21 Ulrich Drepper <drepper@gmail.com>
40379 * wcsmbs/uchar.h: Test __STDC_VERSION__.
40381 2012-01-20 Ulrich Drepper <drepper@gmail.com>
40383 * nscd/aicache.c (addhstaiX): Do not cache negative results of
40385 * nscd/grpcache.c (cache_addgr): Likewise.
40386 * nscd/hstcache.c (cache_addhst): Likewise.
40387 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40388 * nscd/pwdcache.c (cache_addpw): Likewise.
40389 * nscd/servicescache.c (cache_addserv): Likewise.
40391 2012-01-16 Ulrich Drepper <drepper@gmail.com>
40393 * malloc/malloc.c: Various cleanups.
40394 * malloc/hooks.c: Likewise.
40396 * stdlib/Makefile (tests): Add bug-fmtmsg1.
40397 * stdlib/bug-fmtmsg1.c: New file.
40399 * stdlib/fmtmsg.c (init): Add missing unlock.
40400 Patch by Peng Haitao <penght@cn.fujitsu.com>.
40402 2012-01-12 Marek Polacek <polacek@redhat.com>
40404 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40407 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40409 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40410 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40411 macro to ensure uniqueness of label name.
40412 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40413 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40415 2012-01-11 Ulrich Drepper <drepper@gmail.com>
40417 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40419 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40420 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40421 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40422 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40424 2012-01-10 Ulrich Drepper <drepper@gmail.com>
40426 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40428 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40429 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40430 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40432 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40434 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40435 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40436 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40437 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40439 * math/bits/math-finite.h: Add ldexp support.
40441 2012-01-10 Marek Polacek <polacek@redhat.com>
40443 * locale/programs/localedef.h (show_archive_content): Add noreturn
40446 2012-01-09 Ulrich Drepper <drepper@gmail.com>
40448 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40450 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40452 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40454 * io/Makefile (headers): Add bits/poll2.h.
40456 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
40458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40459 typo #include statement.
40461 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40463 * include/sys/cdefs.h: Define __attribute_alloc_size.
40464 * catgets/gencat.c: Add alloc_size attribute and apply consistently
40465 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40466 * elf/pldd.c: Likewise.
40467 * iconv/iconv_charmap.c: Likewise.
40468 * iconv/iconvconfig.c: Likewise.
40469 * iconv/strtab.c: Likewise.
40470 * locale/programs/locale.c: Likewise.
40471 * locale/programs/localedef.h: Likewise.
40472 * locale/programs/simple-hash.c: Likewise.
40473 * nscd/nscd.h: Likewise.
40474 * nss/makedb.c: Likewise.
40475 * sysdeps/generic/ldconfig.h: Likewise.
40476 * locale/programs/localedef.c: Remove xmalloc prototype.
40477 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40479 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40481 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40484 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40486 * math/Makefile (tests): Add tst-CMPLX.
40487 * math/tst-CMPLX.c: New file.
40489 * math/complex.h (CMPLXL): Fix typo.
40491 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40492 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40494 * debug/tst-chk1.c: Add poll and ppoll tests.
40495 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40496 * include/sys/poll.h: Add hidden proto for ppoll.
40497 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40498 * sysdeps/mach/hurd/ppoll.c: Likewise.
40499 * io/ppoll.c: Likewise.
40500 * debug/poll_chk.c: New file.
40501 * debug/ppoll_chk.c: New file.
40502 * include/bits/poll2.h: New file.
40503 * io/bits/poll2.h: New file.
40506 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40508 * configure.in: static is always set to yes. Remove.
40509 * config.make.in: Don't set build-static.
40510 * Makeconfig: Remove use of build-static.
40511 * dlfcn/Makefile: Likewise.
40512 * elf/Makefile: Likewise.
40513 * math/Makefile: Likewise.
40514 * misc/Makefile: Likewise.
40515 * nptl/Makefile: Likewise.
40516 * sysdeps/mach/hurd/Makefile: Likewise.
40518 * configure.in: PWD_P is not used anymore.
40519 * config.make.in: Remove PWD_P entry.
40521 * configure.in: Remove last remnants of RANLIB.
40522 No need to check for signed size_t anymore.
40523 Don't set libc_commonpagesize and libc_relro_required here for Alpha
40525 Remove __builtin_expect test because we require at least gcc 3.4.
40526 * aclocal.m4: Likewise.
40528 * wcsmbs/mbrtoc16.c: Implement using towc function.
40529 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40530 * wcsmbs/wcsmbsload.c: Likewise.
40531 * iconv/gconv_simple.c: Likewise.
40532 * iconv/gconv_int.h: Likewise.
40533 * iconv/gconv_builtin.h: Likewise.
40534 * iconv/iconv_prog.c: Remove CHAR16 handling.
40536 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40538 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40540 * configure.in: Remove --with-elf and --enable-bounded options.
40541 Dont set base_machine for ia64. More non-ELF conditions removed.
40542 Remove testing and setting of leading underscore information.
40543 * config.make.in (build-bounded): Set to no.
40544 * config.h.in: Remove NO_UNDERSCORES entry.
40545 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
40547 * csu/start.c: Remove !NO_UNDERSCORE code.
40548 * locale/localeinfo.h: Likewise.
40549 * sysdeps/generic/machine-gmon.h: Likewise.
40550 * sysdeps/generic/sysdep.h: Likewise.
40551 * sysdeps/i386/sysdep.h: Likewise.
40552 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40553 * sysdeps/mach/sysdep.h: Likewise.
40554 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40555 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40556 * sysdeps/sh/sysdep.h: Likewise.
40557 * sysdeps/sparc/sparc32/alloca.S: Likewise.
40558 * sysdeps/unix/i386/sysdep.S: Likewise.
40559 * sysdeps/unix/sparc/start.c: Likewise.
40560 * sysdeps/unix/sparc/sysdep.S: Likewise.
40561 * sysdeps/unix/sparc/sysdep.h: Likewise.
40562 * sysdeps/unix/start.c: Likewise.
40563 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40564 * sysdeps/x86_64/sysdep.h: Likewise.
40566 2012-01-07 Ulrich Drepper <drepper@gmail.com>
40569 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40571 * argp/argp-fmtstream.h: Use const instead __const.
40572 * argp/argp.h: Likewise.
40573 * assert/assert.h: Likewise.
40574 * bits/fenv.h: Likewise.
40575 * bits/sched.h: Likewise.
40576 * bits/sigset.h: Likewise.
40577 * bits/sigthread.h: Likewise.
40578 * catgets/nl_types.h: Likewise.
40579 * conform/data/pthread.h-data: Likewise.
40580 * crypt/crypt-private.h: Likewise.
40581 * crypt/crypt.h: Likewise.
40582 * crypt/crypt_util.c: Likewise.
40583 * ctype/ctype.h: Likewise.
40584 * debug/execinfo.h: Likewise.
40585 * debug/mbsnrtowcs_chk.c: Likewise.
40586 * debug/mbsrtowcs_chk.c: Likewise.
40587 * debug/wcsnrtombs_chk.c: Likewise.
40588 * debug/wcsrtombs_chk.c: Likewise.
40589 * debug/wcstombs_chk.c: Likewise.
40590 * dirent/dirent.h: Likewise.
40591 * dlfcn/dlfcn.h: Likewise.
40592 * elf/neededtest4.c: Likewise.
40593 * grp/grp.h: Likewise.
40594 * gshadow/gshadow.h: Likewise.
40595 * iconv/gconv.h: Likewise.
40596 * iconv/gconv_int.h: Likewise.
40597 * iconv/gconv_simple.c: Likewise.
40598 * iconv/iconv.h: Likewise.
40599 * iconv/loop.c: Likewise.
40600 * iconv/skeleton.c: Likewise.
40601 * include/aio.h: Likewise.
40602 * include/aliases.h: Likewise.
40603 * include/argz.h: Likewise.
40604 * include/arpa/inet.h: Likewise.
40605 * include/assert.h: Likewise.
40606 * include/dirent.h: Likewise.
40607 * include/dlfcn.h: Likewise.
40608 * include/execinfo.h: Likewise.
40609 * include/fcntl.h: Likewise.
40610 * include/fenv.h: Likewise.
40611 * include/glob.h: Likewise.
40612 * include/grp.h: Likewise.
40613 * include/libintl.h: Likewise.
40614 * include/mntent.h: Likewise.
40615 * include/netdb.h: Likewise.
40616 * include/pwd.h: Likewise.
40617 * include/rpc/netdb.h: Likewise.
40618 * include/sched.h: Likewise.
40619 * include/search.h: Likewise.
40620 * include/shadow.h: Likewise.
40621 * include/signal.h: Likewise.
40622 * include/stdio.h: Likewise.
40623 * include/stdlib.h: Likewise.
40624 * include/string.h: Likewise.
40625 * include/sys/socket.h: Likewise.
40626 * include/sys/stat.h: Likewise.
40627 * include/sys/statfs.h: Likewise.
40628 * include/sys/statvfs.h: Likewise.
40629 * include/sys/syslog.h: Likewise.
40630 * include/sys/time.h: Likewise.
40631 * include/sys/uio.h: Likewise.
40632 * include/time.h: Likewise.
40633 * include/unistd.h: Likewise.
40634 * include/utmp.h: Likewise.
40635 * include/wchar.h: Likewise.
40636 * include/wctype.h: Likewise.
40637 * inet/aliases.h: Likewise.
40638 * inet/arpa/inet.h: Likewise.
40639 * inet/netinet/ether.h: Likewise.
40640 * inet/netinet/in.h: Likewise.
40641 * intl/libintl.h: Likewise.
40642 * io/bits/fcntl2.h: Likewise.
40643 * io/fcntl.h: Likewise.
40644 * io/ftw.h: Likewise.
40645 * io/sys/poll.h: Likewise.
40646 * io/sys/stat.h: Likewise.
40647 * io/sys/statfs.h: Likewise.
40648 * io/sys/statvfs.h: Likewise.
40649 * io/utime.h: Likewise.
40650 * libio/bits/stdio.h: Likewise.
40651 * libio/bits/stdio2.h: Likewise.
40652 * libio/libio.h: Likewise.
40653 * libio/libioP.h: Likewise.
40654 * libio/stdio.h: Likewise.
40655 * locale/lc-ctype.c: Likewise.
40656 * locale/locale.h: Likewise.
40657 * login/utmp.h: Likewise.
40658 * malloc/arena.c: Likewise.
40659 * malloc/malloc.c: Likewise.
40660 * malloc/malloc.h: Likewise.
40661 * malloc/mcheck.c: Likewise.
40662 * malloc/mtrace.c: Likewise.
40663 * math/bits/mathcalls.h: Likewise.
40664 * math/fenv.h: Likewise.
40665 * math/math_private.h: Likewise.
40666 * misc/bits/error.h: Likewise.
40667 * misc/bits/syslog.h: Likewise.
40668 * misc/err.h: Likewise.
40669 * misc/error.h: Likewise.
40670 * misc/fstab.h: Likewise.
40671 * misc/mntent.h: Likewise.
40672 * misc/regexp.h: Likewise.
40673 * misc/search.h: Likewise.
40674 * misc/sgtty.h: Likewise.
40675 * misc/sys/mman.h: Likewise.
40676 * misc/sys/syslog.h: Likewise.
40677 * misc/sys/uio.h: Likewise.
40678 * misc/sys/xattr.h: Likewise.
40679 * misc/ttyent.h: Likewise.
40680 * nis/rpcsvc/ypclnt.h: Likewise.
40681 * nss/nss.h: Likewise.
40682 * posix/bits/unistd.h: Likewise.
40683 * posix/fnmatch.h: Likewise.
40684 * posix/glob.h: Likewise.
40685 * posix/sched.h: Likewise.
40686 * posix/spawn.h: Likewise.
40687 * posix/sys/wait.h: Likewise.
40688 * posix/unistd.h: Likewise.
40689 * posix/wordexp.h: Likewise.
40690 * pwd/pwd.h: Likewise.
40691 * resolv/netdb.h: Likewise.
40692 * resource/sys/resource.h: Likewise.
40693 * rt/aio.h: Likewise.
40694 * rt/bits/mqueue2.h: Likewise.
40695 * rt/mqueue.h: Likewise.
40696 * shadow/shadow.h: Likewise.
40697 * signal/signal.h: Likewise.
40698 * socket/send.c: Likewise.
40699 * socket/sendto.c: Likewise.
40700 * socket/sys/socket.h: Likewise.
40701 * stdio-common/printf.h: Likewise.
40702 * stdlib/bits/stdlib.h: Likewise.
40703 * stdlib/fmtmsg.h: Likewise.
40704 * stdlib/monetary.h: Likewise.
40705 * stdlib/stdlib.h: Likewise.
40706 * stdlib/ucontext.h: Likewise.
40707 * streams/stropts.h: Likewise.
40708 * string/argz.h: Likewise.
40709 * string/bits/string2.h: Likewise.
40710 * string/string.h: Likewise.
40711 * string/strings.h: Likewise.
40712 * sunrpc/rpc/auth.h: Likewise.
40713 * sunrpc/rpc/auth_des.h: Likewise.
40714 * sunrpc/rpc/clnt.h: Likewise.
40715 * sunrpc/rpc/netdb.h: Likewise.
40716 * sunrpc/rpc/pmap_clnt.h: Likewise.
40717 * sunrpc/rpc/xdr.h: Likewise.
40718 * sysdeps/generic/inttypes.h: Likewise.
40719 * sysdeps/generic/net/if.h: Likewise.
40720 * sysdeps/generic/sys/swap.h: Likewise.
40721 * sysdeps/gnu/net/if.h: Likewise.
40722 * sysdeps/gnu/utmpx.h: Likewise.
40723 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40724 * sysdeps/i386/i486/bits/string.h: Likewise.
40725 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40726 * sysdeps/s390/bits/string.h: Likewise.
40727 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40728 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40729 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40730 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40731 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40732 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40733 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40734 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
40735 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
40736 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
40737 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
40738 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40739 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
40740 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40741 * sysdeps/unix/sysv/linux/readv.c: Likewise.
40742 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
40743 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40744 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40745 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40746 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40747 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40748 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
40749 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
40750 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
40751 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
40752 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
40753 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
40754 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40755 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
40756 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
40757 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
40758 * sysvipc/sys/ipc.h: Likewise.
40759 * sysvipc/sys/msg.h: Likewise.
40760 * sysvipc/sys/sem.h: Likewise.
40761 * sysvipc/sys/shm.h: Likewise.
40762 * termios/termios.h: Likewise.
40763 * time/sys/time.h: Likewise.
40764 * time/time.h: Likewise.
40765 * wcsmbs/bits/wchar2.h: Likewise.
40766 * wcsmbs/uchar.h: Likewise.
40767 * wcsmbs/wchar.h: Likewise.
40768 * wctype/wctype.h: Likewise.
40771 * Makeconfig: Remove all but ELF support including AIX support.
40772 * Makerules: Likewise.
40773 * config.h.in: Likewise.
40774 * config.make.in: Likewise.
40775 * configure: Likewise.
40776 * configure.in: Likewise.
40777 * csu/Makefile: Likewise.
40778 * csu/version.c: Likewise.
40779 * debug/Makefile: Likewise.
40780 * dlfcn/Makefile: Likewise.
40781 * elf/Makefile: Likewise.
40782 * extra-lib.mk: Likewise.
40783 * iconv/Makefile: Likewise.
40784 * include/libc-symbols.h: Likewise.
40785 * include/shlib-compat.h: Likewise.
40786 * resolv/Makefile: Likewise.
40787 * resolv/res_libc.c: Likewise.
40788 * rt/Makefile: Likewise.
40789 * sysdeps/i386/asm-syntax.h: Likewise.
40790 * sysdeps/i386/sysdep.h: Likewise.
40791 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40792 * sysdeps/mach/sysdep.h: Likewise.
40793 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
40794 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
40795 * sysdeps/s390/asm-syntax.h: Likewise.
40796 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40797 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40798 * sysdeps/sh/sysdep.h: Likewise.
40799 * sysdeps/unix/sparc/sysdep.h: Likewise.
40800 * sysdeps/wordsize-32/divdi3.c: Likewise.
40801 * sysdeps/x86_64/sysdep.h: Likewise.
40803 * argp/Versions: Remove _argp_unlock_xxx.
40806 * abilist/ld.abilist: Update. Adjust for removal of tls option.
40807 * abilist/libBrokenLocale.abilist: Likewise.
40808 * abilist/libanl.abilist: Likewise.
40809 * abilist/libc.abilist: Likewise.
40810 * abilist/libcrypt.abilist: Likewise.
40811 * abilist/libdl.abilist: Likewise.
40812 * abilist/libm.abilist: Likewise.
40813 * abilist/libnsl.abilist: Likewise.
40814 * abilist/libpthread.abilist: Likewise.
40815 * abilist/libresolv.abilist: Likewise.
40816 * abilist/librt.abilist: Likewise.
40817 * abilist/libthread_db.abilist: Likewise.
40818 * abilist/libutil.abilist: Likewise.
40819 * abilist/libnss_db.abilist: New file.
40821 * scripts/abilist.awk: Add support for indirect functions.
40823 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
40825 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
40827 * shlib-versions: Remove entries for ports architectures.
40829 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
40831 * elf/stackguard-macros.h: Remove support for IA-64.
40832 * elf/tst-auditmod1.c: Likewise.
40833 * sysdeps/generic/ldsodefs.h: Likewise.
40835 * sysdeps/unix/sysv/linux/configure.in: Ports should define
40836 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
40840 * configure.in: Remove --enable-omitfp support.
40842 * config.make.in: Likewise.
40843 * Makeconfig: Likewise.
40844 * manual/install.texi: Likewise.
40846 In case anyone cares, the IA-64 architecture could move to ports.
40847 * sysdeps/ia64/*: Removed.
40848 * sysdeps/unix/sysv/linux/ia64/*: Removed.
40849 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
40852 * configure.in: Remove entries for unsupported architectures.
40855 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
40856 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
40858 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
40859 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
40860 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
40861 fall back to using wcrtomb.
40862 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
40863 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
40865 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
40866 * wcsmbs/tst-c16c32-1.c: New file.
40868 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
40871 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
40873 * elf/tst-unique3.cc: Add explicit declaration of gets.
40874 * elf/tst-unique3lib.cc: Likewise.
40875 * elf/tst-unique3lib2.cc: Likewise.
40876 * elf/tst-unique4.cc: Likewise.
40878 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
40880 2012-01-06 Joseph Myers <joseph@codesourcery.com>
40883 * assert/assert.h (static_assert): Don't define for C++.
40884 * libio/stdio.h (gets): Do declare for C++ <= C++11.
40885 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
40887 2012-01-03 Ulrich Drepper <drepper@gmail.com>
40889 * iconv/loop.c (single loop): Fix assertion in storing of
40892 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
40894 2012-01-01 Ulrich Drepper <drepper@gmail.com>
40896 * posix/getconf.c: Update copyright year.
40897 * nss/getent.c: Likewise.
40898 * nss/makedb.c: Likewise.
40899 * iconv/iconvconfig.c: Likewise.
40900 * iconv/iconv_prog.c: Likewise.
40901 * elf/ldconfig.c: Likewise.
40902 * elf/pldd.c: Likewise.
40903 * elf/sotruss.ksh: Likewise.
40904 * catgets/gencat.c: Likewise.
40905 * csu/version.c: Likewise.
40906 * elf/ldd.bash.in: Likewise.
40907 * elf/sprof.c (print_version): Likewise.
40908 * locale/programs/locale.c: Likewise.
40909 * locale/programs/localedef.c: Likewise.
40910 * login/programs/pt_chown.c: Likewise.
40911 * nscd/nscd.c (print_version): Likewise.
40912 * debug/xtrace.sh: Likewise.
40913 * malloc/memusage.sh: Likewise.
40914 * malloc/mtrace.pl: Likewise.
40915 * debug/catchsegv.sh: Likewise.
40917 2011-12-30 Jakub Jelinek <jakub@redhat.com>
40919 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40922 2011-12-24 Ulrich Drepper <drepper@gmail.com>
40925 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40926 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40928 * iconv/gconv_int.h: Likewise.
40929 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40930 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40931 from libc for GLIBC_2.16.
40932 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40933 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40934 * wcsmbs/uchar.h: Really define mbstate_t.
40935 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40936 * wcsmbs/c16rtomb.c: New file.
40937 * wcsmbs/mbrtoc16.c: New file.
40938 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40939 for C/POSIX locale.
40940 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40941 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40943 * wcsmbs/wchar.h: Add missing __restrict.
40945 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40948 * time/Makefile (routines): Add timespec_get.
40949 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40950 * time/time.h: Define TIME_UTC and declare timespec_get. Define
40951 timespec for ISO C11.
40952 * time/timespec_get.c: New file.
40953 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40954 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40957 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40958 * stdlib/stdlib.h: Declare aligned_alloc.
40959 * Versions.def: Add GLIBC_2.16 for libc.
40960 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40963 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40966 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40970 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40973 * assert/assert.h (static_assert): Define.
40975 * version.h: Update for 2.16 development version.
40978 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40981 * version.h (RELEASE): Bump for 2.15 release.
40982 * include/features.h (__GLIBC_MINOR__): Bump to 15.
40984 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40985 Patch by Marek Polacek <mpolacek@redhat.com>.
40987 * bits/byteswap.h: Protect long long constants with __extension__.
40988 * sysdeps/i386/bits/byteswap.h: Likewise.
40989 * sysdeps/ia64/bits/byteswap.h: Likewise.
40990 * sysdeps/s390/bits/byteswap.h: Likewise.
40991 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40993 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40996 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40997 destination buffer.
40998 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41000 2011-12-23 Marek Polacek <polacek@redhat.com>
41002 * elf/dl-addr.c (determine_info): Add inline keyword.
41003 * elf/tst-auditmod4b.c (check_avx): Likewise.
41004 * elf/tst-auditmod6b.c (check_avx): Likewise.
41005 * elf/tst-auditmod6c.c (check_avx): Likewise.
41006 * elf/tst-auditmod7b.c (check_avx): Likewise.
41008 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41010 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41013 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41016 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41017 processing for last bytes.
41019 2011-08-06 Bruno Haible <bruno@clisp.org>
41022 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41023 U+0385, not to U+1FEE.
41026 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41027 entry for U+00A5 U+0301.
41029 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41032 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41033 buffer for the output is too small.
41035 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41039 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41040 SSE flags if possible.
41042 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41045 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41046 processing for last bytes.
41048 2011-12-22 Joseph Myers <joseph@codesourcery.com>
41050 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41051 (syscall-list-default-options, syscall-list-default-condition)
41052 (syscall-list-includes): Define.
41053 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41054 list of ABIs and options and #if conditions for each ABI. Do not
41055 handle common syscalls between ABIs specially.
41056 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41058 (syscall-list-variants, syscall-list-32bit-options)
41059 (syscall-list-32bit-condition, syscall-list-64bit-options)
41060 (syscall-list-64bit-condition): Define.
41061 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41062 (syscall-list-variants, syscall-list-32bit-options)
41063 (syscall-list-32bit-condition, syscall-list-64bit-options)
41064 (syscall-list-64bit-condition): Define.
41065 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41067 (syscall-list-variants, syscall-list-32bit-options)
41068 (syscall-list-32bit-condition, syscall-list-64bit-options)
41069 (syscall-list-64bit-condition): Define.
41070 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41072 (syscall-list-variants, syscall-list-32bit-options)
41073 (syscall-list-32bit-condition, syscall-list-64bit-options)
41074 (syscall-list-64bit-condition): Define.
41076 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41078 * locale/iso-639.def: Add brx entry.
41081 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41082 Proposed by Mariusz_Cukr <marcukr@op.pl>.
41084 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41085 __feraiseexcept_renamed.
41087 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41090 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41091 EPOLLET with unsigned values.
41092 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41093 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41095 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41096 to large cancellation.
41097 * math/s_cacoshf.c: Likewise.
41098 * math/s_cacoshl.c: Likewise.
41100 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
41104 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41105 * math/s_cacoshf.c: Likewise.
41106 * math/s_cacoshl.c: Likewise.
41108 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41111 * iconv/gconv.h: Define __GCONV_SWAP.
41112 * iconvdata/unicode.c: The swap bit must be stored in __flags.
41113 * iconvdata/utf-16.c: Likewise.
41114 * iconvdata/utf-32.c: Likewise.
41116 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
41119 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41120 numerator after shifting it by one limb.
41122 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
41124 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41125 under [__USE_EXTERN_INLINES].
41127 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41130 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41132 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41134 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41135 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41137 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41138 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41139 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41140 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41141 for strncasecmp/strncasecmp_l compilation.
41142 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41143 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41145 2011-12-08 Marek Polacek <mpolacek@redhat.com>
41148 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41151 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41154 * time/tzfile.c (__tzfile_read): Check values from file header.
41156 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41158 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41159 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41160 * powerpc/powerpc32/dl-start.S: Likewise.
41161 * powerpc/powerpc32/elf/start.S: Likewise.
41162 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41163 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41164 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41165 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41166 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41167 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41168 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41169 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41170 * powerpc/powerpc32/fpu/s_round.S: Likewise.
41171 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41172 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41173 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41174 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41175 * powerpc/powerpc32/memset.S: Likewise.
41176 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41177 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41178 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41179 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41180 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41181 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41182 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41183 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41184 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41185 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41186 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41187 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41188 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41190 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41192 * math/libm-test.inc: Added more nearbyint tests.
41193 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41194 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41195 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41196 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41198 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
41200 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41203 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41205 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41206 Add wcscpy-ssse3 wcscpy-c.
41207 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41208 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41209 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41210 * sysdeps/x86_64/wcschr.S: New file.
41211 * sysdeps/x86_64/wcsrchr.S: New file.
41212 * string/test-strcmp.c: Remove checking of wcscmp function for
41214 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41215 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41216 wcsrchr-sse2 wcsrchr-c.
41217 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41218 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41219 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41220 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41221 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41222 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41223 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41224 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41225 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41226 * wcsmbc/wcschr.c (WCSCHR): New macro.
41228 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41230 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41231 * wcsmbs/test-wcsrchr.c: New file.
41232 * string/test-strrchr.c: Add wcsrchr support.
41234 * wcsmbs/test-wcscpy.c: New file.
41235 * string/test-strcpy.c: Add wcscpy support.
41238 2011-12-10 Ulrich Drepper <drepper@gmail.com>
41240 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41243 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
41246 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41248 2011-12-04 Ulrich Drepper <drepper@gmail.com>
41250 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41251 Minor optimizations.
41253 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41254 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41255 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41257 2011-12-03 Ulrich Drepper <drepper@gmail.com>
41259 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41260 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41261 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41262 for gcc to avoid warnings.
41263 * inet/Makefile (tests): Add tst-checks.
41264 * inet/tst-checks.c: New file.
41266 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41269 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41272 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41273 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41275 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41277 2011-12-02 Ulrich Drepper <drepper@gmail.com>
41279 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41282 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41284 2011-11-29 Joseph Myers <joseph@codesourcery.com>
41286 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41287 conditional on GCC version.
41288 (__arch_compare_and_exchange_val_8_acq)
41289 (__arch_compare_and_exchange_val_16_acq)
41290 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41291 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41292 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41294 2011-12-02 Joseph Myers <joseph@codesourcery.com>
41296 * sysdeps/sh/backtrace.c: New file.
41298 2011-12-02 Andreas Schwab <schwab@redhat.com>
41300 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
41303 2011-12-01 Andreas Schwab <schwab@redhat.com>
41305 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41306 falling back to utime.
41308 2011-11-30 Andreas Schwab <schwab@redhat.com>
41310 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41311 expectations for float.
41313 2011-11-29 Andreas Schwab <schwab@redhat.com>
41315 * locale/weight.h (findidx): Add parameter len.
41316 * locale/weightwc.h (findidx): Likewise.
41317 * posix/fnmatch_loop.c (FCT): Adjust caller.
41318 * posix/regcomp.c (build_equiv_class): Likewise.
41319 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41320 * posix/regexec.c (check_node_accept_bytes): Likewise.
41321 * string/strcoll_l.c (STRCOLL): Likewise.
41322 * string/strxfrm_l.c (STRXFRM): Likewise.
41324 2011-11-17 Ulrich Drepper <drepper@gmail.com>
41326 * Makefile.in: Remove CVSOPT handling.
41327 * configure.in: Remove use of AC_REVISION.
41328 * iconvdata/Makefile (distribute): No need to filter out CVS.
41329 * scripts/list-sources.sh: Remove CVS, subversion and monotone
41332 2011-11-16 Andreas Schwab <schwab@redhat.com>
41334 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41335 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41336 [USE_AS_STRNCASECMP_L]: Likewise.
41337 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41338 NO_TLS_DIRECT_SEG_REFS.
41339 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41340 Fix argument offsets for non-PIC.
41341 [USE_AS_STRNCASECMP_L]: Likewise.
41342 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41343 NO_TLS_DIRECT_SEG_REFS.
41345 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41347 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41349 * locale/loadlocale.c (_nl_load_locale): Likewise.
41351 2011-11-15 Andreas Schwab <schwab@redhat.com>
41353 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41354 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41355 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41356 (SYSCALL_GETTIME): Set errno on error.
41358 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41359 count references to noai6ai_cached.
41361 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41363 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41365 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41366 FD_CLOEXEC for /proc/self/maps.
41368 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41369 FD_CLOEXEC for /proc/meminfo.
41371 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41374 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
41375 FD_CLOEXEC for given file.
41377 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41379 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41380 FD_CLOEXEC for /etc/hosts.
41381 (_gethtent): Likewise.
41383 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41385 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41386 cancellation and set FD_CLOEXEC for /etc/netgroup.
41388 * nss/nss_files/files-key.c (search): Don't allow cancellation when
41389 reading /etc/publickey.
41391 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41392 allow cancellation when reading /etc/group.
41394 * nss/nss_files/files-alias.c (internal_setent): Don't allow
41396 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
41398 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41399 when using data file.
41401 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41403 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41404 (write_nis_obj): Use "c" and "e" in fopen.
41406 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41408 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41410 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41412 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41414 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41417 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41419 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41421 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41423 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41424 file parsing and set FD_CLOEXEC.
41426 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41428 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41430 2011-11-14 Andreas Schwab <schwab@redhat.com>
41432 * malloc/arena.c (arena_get2): Don't call reused_arena when
41433 _int_new_arena failed.
41435 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41437 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41438 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41439 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41440 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41441 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41442 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41443 to compile strcasecmp and strncasecmp.
41444 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41445 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41447 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41449 2011-11-13 Ulrich Drepper <drepper@gmail.com>
41451 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41452 locale-defines.sym to gen-as-const-headers.
41453 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41454 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41455 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41456 to compile strcasecmp and strncasecmp.
41457 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41458 strcasecmp_l and strncasecmp_l.
41459 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41460 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41461 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41462 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41463 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41464 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41465 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41466 * sysdeps/i386/i686/multiarch/strncase.S: New file.
41467 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41468 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41469 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41471 2011-11-12 Ulrich Drepper <drepper@gmail.com>
41473 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41474 result of SYSDEP_GETTIME_CPU to retval.
41475 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41476 parameter list to macro. Remove trailing semicolon. Adjust users.
41478 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41481 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41483 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41485 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41486 from unused variable.
41488 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41490 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41493 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41496 * sunrpc/rpc_prot.c (rejected): Fix case value.
41498 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41499 unsigned long long int to avoid warnings in shift.
41501 * posix/regex_internal.c (re_string_reconstruct): Actually use result
41503 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41506 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41507 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41508 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41510 * nis/nis_table.c (nis_list): Use variable of correct type for
41511 result of __follow_path call.
41513 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41515 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41516 of math functions ceil, trunc, floor, round, and sqrt, when
41517 avaliable on the platform.
41518 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41520 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41521 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41522 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41524 2011-10-30 Marek Polacek <mpolacek@redhat.com>
41526 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41527 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41529 2011-11-11 Roland McGrath <roland@hack.frob.com>
41531 * include/unistd.h: Fix __readlink return type.
41532 Reported by Chris Metcalf <cmetcalf@tilera.com>.
41534 2011-11-11 Ulrich Drepper <drepper@gmail.com>
41536 * stdlib/ucontext.h: Undo last change for makecontext.
41538 2011-11-11 Andreas Schwab <schwab@redhat.com>
41540 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41542 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41543 * setjmp/setjmp.h: Mark functions as non-leaf.
41544 * setjmp/bits/setjmp2.h: Likewise.
41545 * stdlib/ucontext.h: Likewise.
41547 2011-11-10 Andreas Schwab <schwab@redhat.com>
41549 * malloc/arena.c (_int_new_arena): Don't increment narenas.
41550 (reused_arena): Don't check arena limit.
41551 (arena_get2): Atomically check arena limit.
41553 2011-11-08 Ulrich Drepper <drepper@gmail.com>
41555 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41556 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41558 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41561 2011-11-07 Andreas Schwab <schwab@redhat.com>
41563 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41564 handler when locking.
41566 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41567 Fix size of allocated buffer.
41569 2011-11-04 Andreas Schwab <schwab@redhat.com>
41572 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41573 declarations for long double functions.
41574 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41576 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41578 2011-11-03 Andreas Schwab <schwab@redhat.com>
41580 * nscd/nscd.c (main): Don't start AVC thread until credentials are
41583 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41586 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
41588 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41590 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
41592 * include/alloca.h (stackinfo_alloca_round): Define.
41593 (extend_alloca): Use it.
41594 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41595 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41598 * scripts/check-local-headers.sh: Ignore libaudit.h.
41600 * nscd/Makefile (extra-objs): Make recursively expanded.
41602 2011-11-01 Ulrich Drepper <drepper@gmail.com>
41604 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41605 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41607 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41608 * posix/tst-rfc3484-2.c: Likewise.
41609 * posix/tst-rfc3484-3.c: Likewise.
41611 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41613 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41615 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41616 process_vm_writev from libc using GLIBC_2.15 version.
41618 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41620 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
41622 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41625 2011-10-31 Ulrich Drepper <drepper@gmail.com>
41628 * nss/getent.c (initgroups_keys): Show error message in case no group
41631 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41632 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41633 __bump_nl_timestamp.
41634 * nscd/connections (nscd_init): When host database is served open
41635 netlink socket and request notification about configuration changes.
41636 (main_loop_poll): Track netlink file descriptor and bump timestamp
41637 in case data becomes available.
41638 (main_loop_epoll): Likewise.
41639 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41640 (database_pers_head): Add extra_data fileds.
41641 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41642 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41643 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41645 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41646 in6ai data, call __free_in6ai.
41647 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41648 Add -DHAVE_NETLINK.
41649 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
41650 interface information. Reuse previous data if netlink timestamp
41652 (__bump_nl_timestamp): New function.
41653 (__free_in6ai): New function.
41655 2011-10-30 Ulrich Drepper <drepper@gmail.com>
41657 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41658 close_not_cancel_no_status here.
41659 (__check_pf): Reorganize code a bit to not call close twice if OOM.
41661 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41664 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41667 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41668 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41669 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41671 2011-07-03 Andreas Jaeger <aj@suse.de>
41674 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41675 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41676 * math/libm-test.inc (sin_test): Add test case.
41678 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41681 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41682 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41684 * elf/chroot_canon.c (chroot_canon): Cleanups.
41686 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41689 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41690 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41692 * string/test-strchr.c: Make usable for strchrnul testing.
41693 * string/test-strchrnul.c: New file.
41694 * string/Makefile (strop-tests): Add strchrnul.
41696 * po/it.po: Update from translation team.
41697 * po/es.po: Likewise.
41699 2011-10-28 Ulrich Drepper <drepper@gmail.com>
41701 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41702 the three constants needed as parameters. Drop the others.
41703 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41704 __m128i_strloadu_tolower.
41705 Create and initialize variable zero and use it in all the places
41706 where _mm_setzero_si128 was used.
41708 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41709 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41710 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41711 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41713 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41714 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41715 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41716 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41717 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41718 __mpranred, __mptan.
41719 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41720 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41721 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41722 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41723 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41724 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41725 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41726 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41727 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41729 2011-10-28 Andreas Schwab <schwab@redhat.com>
41731 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41732 redefine if SHARED.
41733 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
41735 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
41736 wide char related routines to wcsmbs subdir.
41738 2011-10-27 Andreas Schwab <schwab@redhat.com>
41741 * misc/sys/cdefs.h (__THROWNL): Define.
41742 * posix/unistd.h: Use __THREADNL instead of __THREAD
41743 for memory synchronization functions.
41745 2011-10-26 Roland McGrath <roland@hack.frob.com>
41748 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
41750 * manual/stdio.texi (Obstack Streams): Node removed.
41752 2011-10-26 Andreas Schwab <schwab@redhat.com>
41754 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
41755 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41756 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41758 * math/math_private.h (math_force_eval): Allow non-addressable
41760 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
41762 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41764 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
41765 file is not needed.
41767 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
41768 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
41769 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41770 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41771 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41772 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41773 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41774 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
41776 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
41777 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
41778 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
41779 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
41780 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
41781 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
41782 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
41783 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
41784 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
41785 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
41786 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
41787 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
41788 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
41789 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
41790 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
41791 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
41792 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
41793 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
41794 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
41796 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
41797 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
41799 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
41800 place. Use VEX encoding when compiling for AVX.
41802 2011-10-25 Andreas Schwab <schwab@redhat.com>
41804 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
41805 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41807 * string/test-strchr.c (do_test): Don't generate NUL bytes.
41809 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41811 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
41812 useless if() expression.
41813 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41814 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41815 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41816 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41817 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41818 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41819 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41820 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41821 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41822 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41823 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41824 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41825 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41826 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41827 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41828 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41829 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41830 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41831 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41833 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
41835 2011-10-25 Andreas Schwab <schwab@redhat.com>
41837 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
41839 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41841 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41843 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
41844 .text section. Avoid duplicate constants.
41845 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41846 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41847 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41848 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41849 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41850 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41851 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41852 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41853 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41854 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
41855 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41856 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41857 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41858 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41859 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41860 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41861 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41862 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41863 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41864 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41865 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41866 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41867 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41868 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
41869 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
41870 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
41871 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
41872 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
41873 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
41874 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
41875 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
41876 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
41877 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41878 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
41879 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
41880 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
41881 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
41882 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
41883 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
41884 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
41885 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
41886 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
41887 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
41888 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
41889 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
41891 2011-10-24 Ulrich Drepper <drepper@gmail.com>
41893 * sysdeps/x86_64/dla.h: Move to ...
41894 * sysdeps/x86_64/fpu/dla.h: ...here.
41895 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
41896 situations. Use __builtin_fma only for gcc 4.6 and up.
41898 * config.make.in: Add have-mfma4 entry.
41899 * configure.in: Substitute libc_cv_cc_fma4.
41900 * math/Makefile (dbl-only-routines): Add sincostab.
41901 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
41902 Use __sincostab not sincos.
41903 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
41905 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41906 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41907 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41908 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
41910 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
41911 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
41912 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41913 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41915 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
41916 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41918 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
41919 define aliases when function name is a macro.
41920 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41921 sysdeps/ieee754/dbl-64/sincos.tbl.
41922 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41923 fma4-enabled routines.
41924 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41925 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41926 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41927 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41928 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41929 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41930 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41931 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41932 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41933 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41934 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41935 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41936 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41937 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41938 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41939 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41940 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41941 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41942 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41943 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41944 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41945 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41946 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41947 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41948 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41949 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41950 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41951 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41952 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41953 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41955 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41957 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41958 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41959 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41960 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41961 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41962 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41963 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41964 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41966 2011-10-24 Andreas Schwab <schwab@redhat.com>
41968 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41970 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41972 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41974 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41976 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41978 * string/strnlen.c: Don't define STRNLEN, reverse logic.
41979 Remove unused variable magic_bits.
41980 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41982 * string/strnlen.c: Define and use STRNLEN macro.
41983 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41984 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41985 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41986 * wcsmbs/wcslen.c: Define and use WCSLEN.
41987 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41988 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41989 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41990 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41991 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41992 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41993 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41995 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41997 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41998 strnlen-sse2-no-bsf.
41999 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42000 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42001 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42002 Add strnlen support.
42003 (USE_AS_STRNLEN): New macro.
42004 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42005 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42006 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42007 * sysdeps/x86_64/wcslen.S: New file.
42009 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42011 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42012 XMM-moves are used for copying on small sizes.
42014 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42016 * wcsmbs/Makefile (strop-tests): Add wcschr.
42017 * wcsmbs/test-wcschr.c: New file.
42018 * string/test-strchr.c: Update.
42019 Add wcschr support.
42022 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42024 * wcsmbs/Makefile (strop-tests): Add wcslen.
42025 * wcsmbs/test-wcslen.c: New file.
42026 * string/test-strlen.c: Update.
42027 Add wcslen support.
42030 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42032 * po/it.po: Update from translation team.
42034 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42036 * sysdeps/x86_64/wcscmp.S: Update.
42037 Fix wrong comparison semantics.
42038 wcscmp shall use signed comparison not unsigned.
42039 Don't use substraction to avoid overflow bug.
42040 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42041 * wcsmbc/wcscmp.c: Likewise.
42042 * string/test-strcmp.c: Likewise.
42043 Add new tests to check cases with negative values.
42045 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42047 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42048 * sysdeps/x86_64/dla.h: ...here. New file.
42049 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42050 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42051 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42052 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42053 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42054 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42055 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42056 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42057 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42059 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
42061 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42062 __ynl_finite aliases.
42064 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42066 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42068 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42070 [DLA_FMA] (EMULV): Use DLA_FMA.
42071 [DLA_FMA] (MUL12): Use EMULV.
42072 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42073 that are not needed.
42074 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42075 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42076 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42077 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42078 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42079 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42080 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42082 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
42084 * math/s_nan.c: Undef __nan.
42085 * math/s_nanf.c: Undef __nanf.
42086 * math/s_nanl.c: Undef __nanl.
42087 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42090 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42092 * math/s_catan.c: Add branch predictions.
42093 * math/s_catanf.c: Likewise.
42094 * math/s_catanh.c: Likewise.
42095 * math/s_catanhf.c: Likewise.
42096 * math/s_catanhl.c: Likewise.
42097 * math/s_catanl.c: Likewise.
42098 * math/s_cexp.c: Likewise.
42099 * math/s_cexpf.c: Likewise.
42100 * math/s_cexpl.c: Likewise.
42101 * math/s_clog.c: Likewise.
42102 * math/s_clog10.c: Likewise.
42103 * math/s_clog10f.c: Likewise.
42104 * math/s_clog10l.c: Likewise.
42105 * math/s_clogf.c: Likewise.
42106 * math/s_clogl.c: Likewise.
42107 * math/s_csqrt.c: Likewise.
42108 * math/s_csqrtf.c: Likewise.
42109 * math/s_csqrtl.c: Likewise.
42110 * math/s_ctanf.c: Likewise.
42111 * math/s_ctanh.c: Likewise.
42112 * math/s_ctanhf.c: Likewise.
42113 * math/s_ctanhl.c: Likewise.
42114 * math/s_ctanl.c: Likewise.
42116 * math/math_private.h: Define __nan, __nanf, __nanl.
42117 * math/s_cacosh.c: Include <math_private.h>.
42118 * math/s_cacoshl.c: Likewise.
42119 * math/s_casinh.c: Likewise.
42120 * math/s_casinhf.c: Likewise.
42121 * math/s_casinhl.c: Likewise.
42122 * math/s_ccos.c: Rely entire on ccosh.
42123 * math/s_ccosf.c: Rely entire on ccoshf.
42124 * math/s_ccosl.c: Rely entirely on ccoshl.
42125 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
42126 Remove tests for FE_INVALID.
42127 * math/s_ccoshf.c: Likewise.
42128 * math/s_ccoshl.c: Likewise.
42129 * math/s_csin.c: Likewise.
42130 * math/s_csinf.c: Likewise.
42131 * math/s_csinh.c Likewise.
42132 * math/s_csinhf.c: Likewise.
42133 * math/s_csinhl.c: Likewise.
42134 * math/s_csinl.c: Likewise.
42135 * math/s_ctan.c: Likewise.
42136 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42137 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42138 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42140 2011-10-21 Ulrich Drepper <drepper@gmail.com>
42142 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42143 compilation problems.
42145 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42148 2011-10-20 Ulrich Drepper <drepper@gmail.com>
42150 * sysdeps/i386/configure.in: Test for -mfma4 option.
42151 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42152 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42153 COMMON_CPUID_INDEX_80000001.
42154 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42155 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42156 use it if FMA3 is not supported.
42157 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42159 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42160 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42162 2011-10-20 Andreas Schwab <schwab@redhat.com>
42165 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42166 it would create a cycle with a link time dependency.
42168 2011-10-19 Ulrich Drepper <drepper@gmail.com>
42170 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42172 * string/Makefile (strop-tests): Add rawmemchr.
42173 * string/test-rawmemchr.c: New file.
42175 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42176 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
42177 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
42178 when compiling str{,n}casecmp and when AVX is available. Hook up
42179 new optimized code in initializers.
42181 2011-10-19 Andreas Schwab <schwab@redhat.com>
42183 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42184 __feraiseexcept instead of feraiseexcept.
42186 2011-10-18 Ulrich Drepper <drepper@gmail.com>
42188 * math/math_private.h: Define defaults for libc_fetestexcept and
42190 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42191 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42192 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42193 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42194 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42195 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42196 libc_fetestexcept and libc_feupdateenv.
42198 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42199 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42200 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42201 * sysdeps/x86_64/fpu/math_private.h: Define special version of
42202 libc_feholdexcept_setround.
42204 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42205 Add s_nearbyint-c and s_nearbyintf-c.
42206 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42207 nearbyintf inlines.
42208 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42209 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42210 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42211 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42213 * math/math_private.h: Define defaults for libc_fegetround,
42214 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42215 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42216 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42217 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42218 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42219 standard functions.
42220 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42221 Remove comments and hacks for old compiler versions.
42222 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42223 libc_fegetround, libc_fesetround, libc_feholdexcept, and
42224 libc_feholdexceptl.
42226 2011-10-18 Andreas Schwab <schwab@redhat.com>
42228 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42229 (__feraiseexcept_renamed): Add __NTH.
42230 (feraiseexcept): Add __NTH. Rename local variables to fix
42231 namespace violations.
42233 2011-10-17 Ulrich Drepper <drepper@gmail.com>
42235 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42237 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42239 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42240 recently added interfaces.
42241 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42243 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42244 about macro parameter expansion.
42246 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42247 __NO_MATH_INLINES is defined. Cleanups.
42249 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42250 and __floorf is target has SSE4.1.
42251 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42252 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42253 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42254 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42256 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42258 (floorf): Likewise.
42260 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42262 2011-10-17 Andreas Schwab <schwab@redhat.com>
42264 * misc/sys/cdefs.h: Fix last change.
42266 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42269 2011-10-16 Ulrich Drepper <drepper@gmail.com>
42271 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42273 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42274 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42275 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42276 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42277 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42278 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42279 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42280 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42281 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42282 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42283 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42284 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42285 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42286 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42287 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42288 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42289 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42290 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42291 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42292 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42293 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42294 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42296 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42297 ceil, ceilf, floor, floorf.
42299 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42300 Perform IRELATIVE relocations last.
42302 * elf/do-rel.h: Add another parameter nrelative, replacing the
42303 local variable with the same name. Change name of the function
42304 to end in Rel or Rela (uppercase).
42305 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42306 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
42307 elf_dynamic_do_##reloc function.
42309 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42311 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42312 is sufficient, at least on modern CPUs.
42314 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42316 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42317 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42319 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42321 * math/bits/math-finite.h: Add entries for exp.
42322 * math/e_expl.c: Add __*_finite alias.
42323 * sysdeps/i386/fpu/e_exp.S: Likewise.
42324 * sysdeps/i386/fpu/e_expf.S: Likewise.
42325 * sysdeps/i386/fpu/e_expl.c: Likewise.
42326 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42327 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42328 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42329 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42330 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42331 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42332 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42334 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42335 is sufficient, at least on modern CPUs.
42337 * ctype/ctype-info.c (__ctype_init): Define.
42338 * include/ctype.h (__ctype_init): Declare.
42339 (__ctype_b_loc): The variable is always initialized.
42340 (__ctype_toupper_loc): Likewise.
42341 (__ctype_tolower_loc): Likewise.
42342 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42343 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42345 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
42347 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42349 * configure.in: Also look in $cxxmachine/include for C++ system
42352 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42354 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42355 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42356 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42357 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
42358 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42359 (USE_AS_WMEMCMP): New macro.
42361 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42362 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42363 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42364 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42365 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42366 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42367 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42368 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42369 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42370 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42371 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42372 (USE_AS_WMEMCMP): New macro.
42373 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42374 * sysdeps/string/test-memcmp.c: Update.
42375 Fix simple_wmemcmp.
42377 * wcsmbs/wmemcmp.c: Update.
42378 (WMEMCMP): New macro.
42381 2011-10-12 Andreas Jaeger <aj@suse.de>
42384 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42386 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42388 * libio/iofwide.c (do_length): Avoid warning.
42390 * ctype/ctype.h (__isctype_f): Add missing __THROW.
42392 2011-10-14 Ulrich Drepper <drepper@gmail.com>
42394 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42396 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42397 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42398 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42399 * sysdeps/i386/i686/fpu/e_log.S: New file.
42400 * sysdeps/i386/i686/fpu/e_logf.S: New file.
42401 * sysdeps/i386/i686/fpu/e_logl.S: New file.
42403 * ctype/ctype.h: Add support for inlined isXXX functions when
42404 compiling C++ code.
42406 2011-10-14 Andreas Schwab <schwab@redhat.com>
42408 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42410 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42412 2011-10-13 Roland McGrath <roland@hack.frob.com>
42415 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42417 2011-10-13 Andreas Schwab <schwab@redhat.com>
42419 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42420 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42423 * sysdeps/x86_64/memrchr.S: Check for zero size.
42425 * string/stratcliff.c: Add memrchr tests.
42427 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42429 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42430 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42431 rawmemchr-sse2 rawmemchr-sse2-bsf.
42432 * sysdeps/i386/i686/multiarch/memchr.S: New file.
42433 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42434 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42435 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42436 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42437 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42438 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42439 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42440 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42441 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42442 * string/memrchr.c (MEMRCHR): New macro.
42444 2011-10-12 Ulrich Drepper <drepper@gmail.com>
42446 Add integration with gcc's -ffinite-math-only and optimize wrapper
42448 * Versions.def: Define GLIBC_2.15 version for libm.
42449 * math/Makefile (headers): Add bits/math-finite.h.
42450 * math/bits/math-finite.h: New file.
42451 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42452 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42453 * math/e_acoshl.c: Add __*_finite alias.
42454 * math/e_acosl.c: Likewise.
42455 * math/e_asinl.c: Likewise.
42456 * math/e_atan2l.c: Likewise.
42457 * math/e_atanhl.c: Likewise.
42458 * math/e_coshl.c: Likewise.
42459 * math/e_exp10.c: Likewise.
42460 * math/e_exp10f.c: Likewise.
42461 * math/e_exp10l.c: Likewise.
42462 * math/e_exp2l.c: Likewise.
42463 * math/e_fmodl.c: Likewise.
42464 * math/e_gammal_r.c: Likewise.
42465 * math/e_hypotl.c: Likewise.
42466 * math/e_j0l.c: Likewise.
42467 * math/e_j1l.c: Likewise.
42468 * math/e_jnl.c: Likewise.
42469 * math/e_lgammal_r.c: Likewise.
42470 * math/e_log10l.c: Likewise.
42471 * math/e_log2l.c: Likewise.
42472 * math/e_logl.c: Likewise.
42473 * math/e_powl.c: Likewise.
42474 * math/e_sinhl.c: Likewise.
42475 * math/e_sqrtl.c: Likewise.
42476 * math/e_scalb.c: Completely rewritten and optimized.
42477 * math/e_scalbf.c: Likewise.
42478 * math/e_scalbl.c: Likewise.
42479 * math/w_acos.c: Likewise.
42480 * math/w_acosf.c: Likewise.
42481 * math/w_acosl.c: Likewise.
42482 * math/w_acosh.c: Likewise.
42483 * math/w_acoshf.c: Likewise.
42484 * math/w_acoshl.c: Likewise.
42485 * math/w_asin.c: Likewise.
42486 * math/w_asinf.c: Likewise.
42487 * math/w_asinl.c: Likewise.
42488 * math/w_atan2.c: Likewise.
42489 * math/w_atan2f.c: Likewise.
42490 * math/w_atan2l.c: Likewise.
42491 * math/w_atanh.c: Likewise.
42492 * math/w_atanhf.c: Likewise.
42493 * math/w_atanhl.c: Likewise.
42494 * math/w_exp10.c: Likewise.
42495 * math/w_exp10f.c: Likewise.
42496 * math/w_exp10l.c: Likewise.
42497 * math/w_fmod.c: Likewise.
42498 * math/w_fmodf.c: Likewise.
42499 * math/w_fmodl.c: Likewise.
42500 * math/w_j0.c: Likewise.
42501 * math/w_j0f.c: Likewise.
42502 * math/w_j0l.c: Likewise.
42503 * math/w_j1.c: Likewise.
42504 * math/w_j1f.c: Likewise.
42505 * math/w_j1l.c: Likewise.
42506 * math/w_jn.c: Likewise.
42507 * math/w_jnf.c: Likewise.
42508 * math/w_log.c: Likewise.
42509 * math/w_logf.c: Likewise.
42510 * math/w_logl.c: Likewise.
42511 * math/w_log10.c: Likewise.
42512 * math/w_log10f.c: Likewise.
42513 * math/w_log10l.c: Likewise.
42514 * math/w_log2.c: Likewise.
42515 * math/w_log2f.c: Likewise.
42516 * math/w_log2l.c: Likewise.
42517 * math/w_pow.c: Likewise.
42518 * math/w_powf.c: Likewise.
42519 * math/w_powl.c: Likewise.
42520 * math/w_remainder.c: Likewise.
42521 * math/w_remainderf.c: Likewise.
42522 * math/w_remainderl.c: Likewise.
42523 * math/w_scalb.c: Likewise.
42524 * math/w_scalbf.c: Likewise.
42525 * math/w_scalbl.c: Likewise.
42526 * math/w_sqrt.c: Likewise.
42527 * math/w_sqrtf.c: Likewise.
42528 * math/w_sqrtl.c: Likewise.
42529 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42530 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
42532 * math/math_private.h: Declare __kernel_standard_f.
42533 * math/w_cosh.c: Remove cruft and optimize a bit.
42534 * math/w_coshf.c: Likewise.
42535 * math/w_coshl.c: Likewise.
42536 * math/w_exp2.c: Likewise.
42537 * math/w_exp2f.c: Likewise.
42538 * math/w_exp2l.c: Likewise.
42539 * math/w_hypot.c: Likewise.
42540 * math/w_hypotf.c: Likewise.
42541 * math/w_hypotl.c: Likewise.
42542 * math/w_lgamma.c: Likewise.
42543 * math/w_lgamma_r.c: Likewise.
42544 * math/w_lgammaf.c: Likewise.
42545 * math/w_lgammaf_r.c: Likewise.
42546 * math/w_lgammal.c: Likewise.
42547 * math/w_lgammal_r.c: Likewise.
42548 * math/w_sinh.c: Likewise.
42549 * math/w_sinhf.c: Likewise.
42550 * math/w_sinhl.c: Likewise.
42551 * math/w_tgamma.c: Likewise.
42552 * math/w_tgammaf.c: Likewise.
42553 * math/w_tgammal.c: Likewise.
42554 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42555 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42556 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42557 Minor optimizations. Pretty printing. Remove cruft.
42558 * sysdeps/i386/fpu/e_acosf.S: Likewise.
42559 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42560 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42561 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42562 * sysdeps/i386/fpu/e_acosl.c: Likewise.
42563 * sysdeps/i386/fpu/e_asin.S: Likewise.
42564 * sysdeps/i386/fpu/e_asinf.S: Likewise.
42565 * sysdeps/i386/fpu/e_atan2.S: Likewise.
42566 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42567 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42568 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42569 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42570 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42571 * sysdeps/i386/fpu/e_exp10.S: Likewise.
42572 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42573 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42574 * sysdeps/i386/fpu/e_exp2.S: Likewise.
42575 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42576 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42577 * sysdeps/i386/fpu/e_fmod.S: Likewise.
42578 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42579 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42580 * sysdeps/i386/fpu/e_hypot.S: Likewise.
42581 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42582 * sysdeps/i386/fpu/e_log.S: Likewise.
42583 * sysdeps/i386/fpu/e_log10.S: Likewise.
42584 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42585 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42586 * sysdeps/i386/fpu/e_log2.S: Likewise.
42587 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42588 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42589 * sysdeps/i386/fpu/e_logf.S: Likewise.
42590 * sysdeps/i386/fpu/e_logl.S: Likewise.
42591 * sysdeps/i386/fpu/e_pow.S: Likewise.
42592 * sysdeps/i386/fpu/e_powf.S: Likewise.
42593 * sysdeps/i386/fpu/e_powl.S: Likewise.
42594 * sysdeps/i386/fpu/e_remainder.S: Likewise.
42595 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42596 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42597 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42598 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42599 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42600 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42601 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42602 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42603 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42604 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42605 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42606 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42607 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42608 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42609 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42610 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42611 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42612 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42613 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42614 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42615 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42616 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42617 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42618 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42619 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42620 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42621 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42622 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42623 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42624 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42625 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42626 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42627 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42628 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42629 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42630 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42631 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42632 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42633 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42634 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42635 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42636 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42637 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42638 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42639 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42640 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42641 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42642 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42643 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42644 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42645 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42646 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42647 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42648 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42649 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42650 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42651 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42652 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42653 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42654 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42655 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42656 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42657 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42658 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42659 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42660 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42661 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42662 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42663 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42664 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42665 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42666 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42667 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42668 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42669 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42670 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42671 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42672 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42673 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42674 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42675 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42676 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42677 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42678 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42679 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42680 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42681 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42682 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42683 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42684 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42685 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42686 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42687 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42688 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42689 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42690 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42691 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42692 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42693 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42694 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42695 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42696 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42697 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42698 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42699 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42700 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42701 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42702 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42703 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42704 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42705 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42706 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42707 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42708 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42709 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42710 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42711 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42712 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42713 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
42714 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42715 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42716 (__isnanf): Likewise.
42717 (__isinf_ns): Likewise.
42718 (__isinf_nsf): Likewise.
42719 (__finite): Likewise.
42720 (__finitef): Likewise.
42721 (__ieee754_sqrt): Define as macro.
42722 (__ieee754_sqrtf): Define as macro.
42723 (__ieee754_sqrtl): Define as macro.
42724 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42726 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42727 __FINITE_MATH_ONLY__ consistent.
42728 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42730 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
42732 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
42735 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
42737 2011-10-09 Ulrich Drepper <drepper@gmail.com>
42739 * po/ja.po: Update from translation team.
42741 2011-10-08 Roland McGrath <roland@hack.frob.com>
42743 * locale/programs/locarchive.c (prepare_address_space): New function.
42744 (create_archive, enlarge_archive, open_archive): Use it.
42746 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
42747 inside [SHARED], where it is used.
42749 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
42751 * nss/getent.c (netgroup_keys): Remove unused variable.
42752 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42754 2011-10-08 Ulrich Drepper <drepper@gmail.com>
42756 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
42757 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
42758 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
42759 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
42760 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
42761 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
42762 * math/Makefile (libm-calls): Add s_isinf_ns.
42763 * math/divtc3.c: Use __isinf_nsl instead of isinf.
42764 * math/multc3.c: Likewise.
42765 * math/s_casin.c: Likewise.
42766 * math/s_casinf.c: Likewise.
42767 * math/s_casinl.c: Likewise.
42768 * math/s_ccos.c: Likewise.
42769 * math/s_ccosf.c: Likewise.
42770 * math/s_ccosl.c: Likewise.
42771 * math/s_ctan.c: Likewise.
42772 * math/s_ctanf.c: Likewise.
42773 * math/s_ctanh.c: Likewise.
42774 * math/s_ctanhf.c: Likewise.
42775 * math/s_ctanhl.c: Likewise.
42776 * math/s_ctanl.c: Likewise.
42777 * math/w_fmod.c: Likewise.
42778 * math/w_fmodf.c: Likewise.
42779 * math/w_fmodl.c: Likewise.
42780 * math/w_remainder.c: Likewise.
42781 * math/w_remainderf.c: Likewise.
42782 * math/w_remainderl.c: Likewise.
42783 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
42784 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
42785 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
42786 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
42787 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
42788 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
42789 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
42790 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
42792 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
42794 * stdio-common/printf_fphex.c: Likewise.
42795 * stdio-common/printf_size.c: Likewise.
42797 * math/e_exp10.c: Include math_private.h using <...> not "...".
42798 * math/e_exp10f.c: Likewise.
42799 * math/e_exp10l.c: Likewise.
42800 * math/e_exp2l.c: Likewise.
42801 * math/e_j0l.c: Likewise.
42802 * math/e_j1l.c: Likewise.
42803 * math/e_jnl.c: Likewise.
42804 * math/e_lgammal_r.c: Likewise.
42805 * math/e_rem_pio2l.c: Likewise.
42806 * math/e_scalb.c: Likewise.
42807 * math/e_scalbf.c: Likewise.
42808 * math/e_scalbl.c: Likewise.
42809 * math/k_cosl.c: Likewise.
42810 * math/k_sinl.c: Likewise.
42811 * math/k_tanl.c: Likewise.
42812 * math/s_cacoshf.c: Likewise.
42813 * math/s_catan.c: Likewise.
42814 * math/s_catanf.c: Likewise.
42815 * math/s_catanh.c: Likewise.
42816 * math/s_catanhf.c: Likewise.
42817 * math/s_catanhl.c: Likewise.
42818 * math/s_catanl.c: Likewise.
42819 * math/s_ccosh.c: Likewise.
42820 * math/s_ccoshf.c: Likewise.
42821 * math/s_ccoshl.c: Likewise.
42822 * math/s_cexp.c: Likewise.
42823 * math/s_cexpf.c: Likewise.
42824 * math/s_cexpl.c: Likewise.
42825 * math/s_clog.c: Likewise.
42826 * math/s_clog10.c: Likewise.
42827 * math/s_clog10f.c: Likewise.
42828 * math/s_clog10l.c: Likewise.
42829 * math/s_clogf.c: Likewise.
42830 * math/s_clogl.c: Likewise.
42831 * math/s_csin.c: Likewise.
42832 * math/s_csinf.c: Likewise.
42833 * math/s_csinh.c: Likewise.
42834 * math/s_csinhf.c: Likewise.
42835 * math/s_csinhl.c: Likewise.
42836 * math/s_csinl.c: Likewise.
42837 * math/s_csqrt.c: Likewise.
42838 * math/s_csqrtf.c: Likewise.
42839 * math/s_csqrtl.c: Likewise.
42840 * math/s_ctan.c: Likewise.
42841 * math/s_ctanf.c: Likewise.
42842 * math/s_ctanh.c: Likewise.
42843 * math/s_ctanhf.c: Likewise.
42844 * math/s_ctanhl.c: Likewise.
42845 * math/s_ctanl.c: Likewise.
42846 * math/s_ldexp.c: Likewise.
42847 * math/s_ldexpf.c: Likewise.
42848 * math/s_ldexpl.c: Likewise.
42849 * math/s_significand.c: Likewise.
42850 * math/s_significandf.c: Likewise.
42851 * math/s_significandl.c: Likewise.
42852 * math/w_acos.c: Likewise.
42853 * math/w_acosf.c: Likewise.
42854 * math/w_acosh.c: Likewise.
42855 * math/w_acoshf.c: Likewise.
42856 * math/w_acoshl.c: Likewise.
42857 * math/w_acosl.c: Likewise.
42858 * math/w_asin.c: Likewise.
42859 * math/w_asinf.c: Likewise.
42860 * math/w_asinl.c: Likewise.
42861 * math/w_atan2.c: Likewise.
42862 * math/w_atan2f.c: Likewise.
42863 * math/w_atan2l.c: Likewise.
42864 * math/w_atanh.c: Likewise.
42865 * math/w_atanhf.c: Likewise.
42866 * math/w_atanhl.c: Likewise.
42867 * math/w_cosh.c: Likewise.
42868 * math/w_coshf.c: Likewise.
42869 * math/w_coshl.c: Likewise.
42870 * math/w_dremf.c: Likewise.
42871 * math/w_exp10.c: Likewise.
42872 * math/w_exp10f.c: Likewise.
42873 * math/w_exp10l.c: Likewise.
42874 * math/w_exp2.c: Likewise.
42875 * math/w_exp2f.c: Likewise.
42876 * math/w_fmod.c: Likewise.
42877 * math/w_fmodf.c: Likewise.
42878 * math/w_fmodl.c: Likewise.
42879 * math/w_hypot.c: Likewise.
42880 * math/w_hypotf.c: Likewise.
42881 * math/w_hypotl.c: Likewise.
42882 * math/w_j0.c: Likewise.
42883 * math/w_j0f.c: Likewise.
42884 * math/w_j0l.c: Likewise.
42885 * math/w_j1.c: Likewise.
42886 * math/w_j1f.c: Likewise.
42887 * math/w_j1l.c: Likewise.
42888 * math/w_jn.c: Likewise.
42889 * math/w_jnf.c: Likewise.
42890 * math/w_jnl.c: Likewise.
42891 * math/w_lgamma.c: Likewise.
42892 * math/w_lgamma_r.c: Likewise.
42893 * math/w_lgammaf.c: Likewise.
42894 * math/w_lgammaf_r.c: Likewise.
42895 * math/w_lgammal.c: Likewise.
42896 * math/w_lgammal_r.c: Likewise.
42897 * math/w_log.c: Likewise.
42898 * math/w_log10.c: Likewise.
42899 * math/w_log10f.c: Likewise.
42900 * math/w_log10l.c: Likewise.
42901 * math/w_log2.c: Likewise.
42902 * math/w_log2f.c: Likewise.
42903 * math/w_log2l.c: Likewise.
42904 * math/w_logf.c: Likewise.
42905 * math/w_logl.c: Likewise.
42906 * math/w_pow.c: Likewise.
42907 * math/w_powf.c: Likewise.
42908 * math/w_powl.c: Likewise.
42909 * math/w_remainder.c: Likewise.
42910 * math/w_remainderf.c: Likewise.
42911 * math/w_remainderl.c: Likewise.
42912 * math/w_scalb.c: Likewise.
42913 * math/w_scalbf.c: Likewise.
42914 * math/w_scalbl.c: Likewise.
42915 * math/w_sinh.c: Likewise.
42916 * math/w_sinhf.c: Likewise.
42917 * math/w_sinhl.c: Likewise.
42918 * math/w_sqrt.c: Likewise.
42919 * math/w_sqrtf.c: Likewise.
42920 * math/w_sqrtl.c: Likewise.
42921 * math/w_tgamma.c: Likewise.
42922 * math/w_tgammaf.c: Likewise.
42923 * math/w_tgammal.c: Likewise.
42925 * po/ja.po: Update from translation team.
42927 2011-09-29 Andreas Jaeger <aj@suse.de>
42930 * sunrpc/netname.c (netname2host): Fix logic.
42934 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42936 * math/w_remainder.c (__remainder): Likewise.
42937 * math/w_remainderf.c (__remainderf): Likewise.
42938 * math/libm-test.inc (remainder_test): Add test cases.
42940 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42942 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
42945 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42947 * string/test-memcmp.c: Avoid unncessary #defines.
42948 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42950 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42952 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42953 Use new sse2 version for core i3 - i7 as it's faster
42954 than sse42 version.
42955 (bit_Prefer_PMINUB_for_stringop): New.
42956 * sysdeps/x86_64/rawmemchr.S: Update.
42957 Replace with faster SSE2 version.
42958 * sysdeps/x86_64/memrchr.S: New file.
42959 * sysdeps/x86_64/memchr.S: Update.
42960 Replace with faster SSE2 version.
42962 2011-09-12 Marek Polacek <mpolacek@redhat.com>
42964 * elf/dl-load.c (lose): Add cast to avoid warning.
42966 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42968 * po/ca.po: Update from translation team.
42970 * inet/getnetgrent_r.c: Hook up nscd.
42971 * nscd/Makefile (routines): Add nscd_netgroup.
42972 (nscd-modules): Add netgroupcache.
42973 (CFLAGS-netgroupcache.c): Define.
42974 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42975 (cache_search): Add const to second parameter.
42976 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42978 (dbs): Add netgrdb entry.
42979 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42980 (verify_persistent_db): Handle netgrdb.
42981 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42982 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42984 (netgroup_response_header): Define.
42985 (innetgroup_response_header): Define.
42986 (datahead): Add netgroup_response_header and innetgroup_response_header
42988 * nscd/nscd.conf: Add entries for netgroup cache.
42989 * nscd/nscd.h (dbtype): Add netgrdb.
42990 (_PATH_NSCD_NETGROUP_DB): Define.
42991 (netgroup_iov_disabled): Declare.
42992 (xmalloc, xcalloc, xrealloc): Move declarations here.
42993 (cache_search): Adjust prototype.
42994 Add netgroup-related prototypes.
42995 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42996 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42997 (__nscd_innetgr): Declare.
42998 * nscd/selinux.c (perms): Use access_vector_t as element type and
42999 add netgroup-related initializers.
43000 * nscd/netgroupcache.c: New file.
43001 * nscd/nscd_netgroup.c: New file.
43002 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43003 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43004 For four parameters use innetgr.
43005 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43006 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43007 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43008 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43010 * nscd/connections.c (register_traced_file): Don't register file
43011 for disabled databases.
43013 2011-10-06 Ulrich Drepper <drepper@gmail.com>
43015 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43017 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43018 from tree and freeing node.
43020 2011-09-25 Jiri Olsa <jolsa@redhat.com>
43022 * nss/nsswitch.c (__nss_database_lookup): Handle
43023 nss_parse_service_list out of memory case.
43025 2011-09-15 Jiri Olsa <jolsa@redhat.com>
43027 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43028 out of memory case.
43030 2011-10-04 Andreas Schwab <schwab@redhat.com>
43032 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43033 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43035 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43036 elf_machine_rela, elf_machine_lazy_rel.
43037 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43038 (ELF_DYNAMIC_DO_REL): Likewise.
43039 (ELF_DYNAMIC_DO_RELA): Likewise.
43040 (ELF_DYNAMIC_RELOCATE): Likewise.
43041 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43042 to ELF_DYNAMIC_DO_REL.
43043 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43044 (dl_main): In trace mode always set __RTLD_NOIFUNC.
43045 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43047 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43048 skip_ifunc, don't call ifunc function if non-zero.
43049 (elf_machine_rela): Likewise.
43050 (elf_machine_lazy_rel): Likewise.
43051 (elf_machine_lazy_rela): Likewise.
43052 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43053 (elf_machine_lazy_rel): Likewise.
43054 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43056 (elf_machine_lazy_rel): Likewise.
43057 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43059 (elf_machine_lazy_rel): Likewise.
43060 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43061 (elf_machine_lazy_rel): Likewise.
43062 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43063 (elf_machine_lazy_rel): Likewise.
43064 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43065 (elf_machine_lazy_rel): Likewise.
43066 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43067 (elf_machine_lazy_rel): Likewise.
43068 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43069 (elf_machine_lazy_rel): Likewise.
43070 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43071 (elf_machine_lazy_rel): Likewise.
43073 2011-09-28 Ulrich Drepper <drepper@gmail.com>
43075 * nss/nss_files/files-init.c (_nss_files_init): Use static
43076 initialization for all the *_traced_file variables.
43078 2011-09-28 Andreas Schwab <schwab@redhat.com>
43080 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43082 2011-09-27 Roland McGrath <roland@hack.frob.com>
43085 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43087 2011-09-27 Andreas Schwab <schwab@redhat.com>
43089 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43090 Reread the line before reparsing it.
43092 2011-09-26 Andreas Schwab <schwab@redhat.com>
43094 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43096 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
43097 Maxim Kuvyrkov <maxim@codesourcery.com>
43098 Joseph Myers <joseph@codesourcery.com>
43100 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43101 if needed for __stack_chk_guard.
43103 2011-09-19 Roland McGrath <roland@hack.frob.com>
43105 * sysdeps/posix/spawni.c (script_execute): Always define it.
43106 It will be optimized away if unused.
43107 (maybe_script_execute): New function.
43108 (__spawni): Call it.
43110 * Makerules: Don't include tls.make.
43111 (config-tls): Always set to thread.
43112 * tls.make.c: File removed.
43114 2011-09-19 Mike Frysinger <vapier@gentoo.org>
43116 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43117 * config.make.in (CPPFLAGS-config): New substituted variable.
43119 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43121 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43124 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43125 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43127 2011-09-15 Roland McGrath <roland@hack.frob.com>
43129 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43130 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43131 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43132 (CALL_FAIL): Likewise.
43133 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43134 (CALL_FAIL): Macro removed.
43135 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43137 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43139 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43140 for __FINITE_MATH_ONLY__ == 1.
43142 2011-09-15 Andreas Schwab <schwab@redhat.com>
43144 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43145 __ieee754_sqrt instead of sqrt.
43146 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43147 __ieee754_sqrtf instead of sqrtf.
43148 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43149 __floorf instead of floorf.
43150 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43151 __floorf, __truncf instead of floorf, truncf.
43153 2011-09-14 Ulrich Drepper <drepper@gmail.com>
43155 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43157 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43158 __extern_always_inline.
43159 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43162 2011-09-14 Andreas Schwab <schwab@redhat.com>
43164 * elf/rtld.c (dl_main): Also relocate in dependency order when
43165 doing symbol dependency testing.
43167 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
43169 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43170 Always define `refsym'.
43172 2011-09-13 Andreas Schwab <schwab@redhat.com>
43174 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43175 (__FD_ELT): Renamed from __FDELT.
43176 * misc/bits/select2.h (__FD_ELT): Likewise.
43177 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43178 __FD_MASK instead of __FDELT, __FDMASK.
43179 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43181 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43184 * elf/Makefile (gen-ldd): Fix pattern.
43186 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43187 (init_tls): Likewise.
43189 2011-09-12 Ulrich Drepper <drepper@gmail.com>
43191 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43193 2011-09-12 Andreas Schwab <schwab@redhat.com>
43195 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43196 `struct cmsghdr *' instead of `void *'.
43197 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43200 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
43202 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43204 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43205 ldd_rewrite_script.
43207 2011-09-11 Ulrich Drepper <drepper@gmail.com>
43209 * configure.in: Remove --with-tls option.
43210 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43211 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43212 out in case it is missing.
43213 * sysdeps/ia64/elf/configure.in: Likewise.
43214 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43215 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43216 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43217 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43218 * sysdeps/sh/elf/configure.in: Likewise.
43219 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43220 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43221 * sysdeps/x86_64/elf/configure.in: Likewise.
43222 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43223 * sysdeps/mach/hurd/tls.h: Likewise.
43226 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43229 * configure.in: Fix use of AC_INIT.
43231 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43233 2011-09-10 Ulrich Drepper <drepper@gmail.com>
43235 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43237 * malloc/hooks.c: Likewise.
43240 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
43241 variables statically.
43242 (narenas): Initialize.
43243 (list_lock): Initialize.
43244 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
43245 initializtion of main_arena and list_lock. Small cleanups.
43246 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43247 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
43248 Add initializers to main_arena and mp_.
43249 (malloc_state): Remove pagesize member. Change all users to use
43252 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43253 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
43254 is always initialized.
43256 * malloc/malloc.c: Removed unused configurations and dead code.
43257 * malloc/arena.c: Likewise.
43258 * malloc/hooks.c: Likewise.
43259 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43261 * include/tls.h: Removed. USE___THREAD must always be defined.
43262 * bits/libc-tsd.h: Don't handle !USE___THREAD.
43263 * elf/dl-libc.c: Likewise.
43264 * elf/dl-tsd.c: Likewise.
43265 * include/errno.h: Likewise.
43266 * include/netdb.h: Likewise.
43267 * include/resolv.h: Likewise.
43268 * inet/herrno-loc.c: Likewise.
43269 * inet/herrno.c: Likewise.
43270 * malloc/arena.c: Likewise.
43271 * malloc/hooks.c: Likewise.
43272 * malloc/malloc.c: Likewise.
43273 * resolv/res-state.c: Likewise.
43274 * resolv/res_libc.c: Likewise.
43275 * sysdeps/i386/dl-machine.h: Likewise.
43276 * sysdeps/ia64/dl-machine.h: Likewise.
43277 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43278 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43279 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43280 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43281 * sysdeps/sh/dl-machine.h: Likewise.
43282 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43283 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43284 * sysdeps/unix/i386/sysdep.S: Likewise.
43285 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43286 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43287 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43288 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43289 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43290 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43291 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43292 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43293 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43294 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43295 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43296 * sysdeps/x86_64/dl-machine.h: Likewise.
43297 * tls.make.c: Likewise.
43299 * configure.in: Remove --with-__thread option. Make tests for
43300 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43301 tls_model attribute fail if no support is available. Remove
43303 * Makeconfig: Adjust for dropped configure option. All features are
43305 * Makerules: Likewise.
43306 * Versions.def: Likewise.
43307 * argp/argp-fmtstream.c: Likewise.
43308 * argp/argp-fmtstream.h: Likewise.
43309 * argp/argp-help.c: Likewise.
43310 * assert/assert.c: Likewise.
43311 * config.h.in: Likewise.
43312 * config.make.in: Likewise.
43313 * configure: Likewise.
43314 * configure.in: Likewise.
43315 * csu/Versions: Likewise.
43316 * csu/init.c: Likewise.
43317 * elf/tst-audit2.c: Likewise.
43318 * elf/tst-tls10.c: Likewise.
43319 * elf/tst-tls10.h: Likewise.
43320 * elf/tst-tls11.c: Likewise.
43321 * elf/tst-tls12.c: Likewise.
43322 * elf/tst-tls14.c: Likewise.
43323 * elf/tst-tlsmod11.c: Likewise.
43324 * elf/tst-tlsmod12.c: Likewise.
43325 * elf/tst-tlsmod13.c: Likewise.
43326 * elf/tst-tlsmod13a.c: Likewise.
43327 * elf/tst-tlsmod14a.c: Likewise.
43328 * elf/tst-tlsmod15b.c: Likewise.
43329 * elf/tst-tlsmod16a.c: Likewise.
43330 * elf/tst-tlsmod16b.c: Likewise.
43331 * elf/tst-tlsmod7.c: Likewise.
43332 * elf/tst-tlsmod8.c: Likewise.
43333 * elf/tst-tlsmod9.c: Likewise.
43334 * gmon/gmon.c: Likewise.
43335 * grp/fgetgrent_r.c: Likewise.
43336 * grp/putgrent.c: Likewise.
43337 * hurd/fopenport.c: Likewise.
43338 * include/libc-symbols.h: Likewise.
43339 * include/tls.h: Likewise.
43340 * intl/gettextP.h: Likewise.
43341 * intl/loadinfo.h: Likewise.
43342 * locale/global-locale.c: Likewise.
43343 * locale/localeinfo.h: Likewise.
43344 * mach/devstream.c: Likewise.
43345 * malloc/arena.c: Likewise.
43346 * malloc/set-freeres.c: Likewise.
43347 * misc/err.c: Likewise.
43348 * misc/getttyent.c: Likewise.
43349 * misc/mntent_r.c: Likewise.
43350 * posix/getopt.c: Likewise.
43351 * posix/wordexp.c: Likewise.
43352 * pwd/fgetpwent_r.c: Likewise.
43353 * resolv/Versions: Likewise.
43354 * resolv/res_hconf.c: Likewise.
43355 * shadow/fgetspent_r.c: Likewise.
43356 * shadow/putspent.c: Likewise.
43357 * stdio-common/printf_fphex.c: Likewise.
43358 * stdio-common/tmpfile.c: Likewise.
43359 * stdlib/abort.c: Likewise.
43360 * stdlib/fmtmsg.c: Likewise.
43361 * sunrpc/auth_unix.c: Likewise.
43362 * sunrpc/clnt_perr.c: Likewise.
43363 * sunrpc/clnt_tcp.c: Likewise.
43364 * sunrpc/clnt_udp.c: Likewise.
43365 * sunrpc/clnt_unix.c: Likewise.
43366 * sunrpc/openchild.c: Likewise.
43367 * sunrpc/svc_simple.c: Likewise.
43368 * sunrpc/svc_tcp.c: Likewise.
43369 * sunrpc/svc_udp.c: Likewise.
43370 * sunrpc/svc_unix.c: Likewise.
43371 * sunrpc/xdr.c: Likewise.
43372 * sunrpc/xdr_array.c: Likewise.
43373 * sunrpc/xdr_rec.c: Likewise.
43374 * sunrpc/xdr_ref.c: Likewise.
43375 * sunrpc/xdr_stdio.c: Likewise.
43377 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43379 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43381 2011-07-03 Andreas Jaeger <aj@suse.de>
43383 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43384 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43385 regenerate with gen-libm-tests.pl.
43387 2010-05-12 Petr Baudis <pasky@suse.cz>
43390 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43391 around j0() zero points by switching to j1().
43392 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43393 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43394 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43395 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43397 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43399 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43401 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
43403 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43404 Patch in part by Pavel Roskin <proski@gnu.org>.
43407 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43409 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
43410 Free memory block if necessary.
43413 * libio/genops.c (INTDEF): For string streams the _lock pointer can
43414 be NULL. Don't lock in this case.
43416 2011-09-09 Roland McGrath <roland@hack.frob.com>
43418 * elf/elf.h (ELFOSABI_GNU): New macro.
43419 (ELFOSABI_LINUX): Define to that.
43421 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
43423 * string/strncat.c (strncat): Undef the symbol in case it has been
43424 defined in bits/string.h.
43426 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43428 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43430 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43433 2011-08-17 Andreas Jaeger <aj@suse.de>
43435 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43437 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
43438 Ian Lance Taylor <iant@google.com>
43440 * math/libm-test.inc (lround_test): New testcase.
43441 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43443 2011-09-08 Ulrich Drepper <drepper@gmail.com>
43445 * Makefile: Remove support for automatic cvs check-ins.
43446 * Makerules: Likewise.
43447 * config.make.in: Likewise.
43448 * configure.in: Likewise.
43449 * intl/Makefile: Likewise.
43450 * locale/Makefile: Likewise.
43451 * po/Makefile: Likewise.
43452 * posix/Makefile: Likewise.
43453 * sysdeps/gnu/Makefile: Likewise.
43454 * sysdeps/mach/hurd/Makefile: Likewise.
43455 * sysdeps/sparc/sparc32/Makefile: Likewise.
43458 * posix/Makefile (bug-regex32-ENV): Define.
43459 Patch by John Stanley <jpsinthemix@verizon.net>.
43461 * misc/Makefile (headers): Add bits/select2.h.
43462 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43463 * misc/bits/select2.h: New file.
43464 * include/bits/select2.h: New file.
43465 * debug/Makefile (routines): Add fdelt_chk.
43466 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43467 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43469 * debug/fdelt_chk.c: New file.
43471 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
43472 * wcsmbs/test-wmemcmp.c: Likewise.
43473 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43474 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43476 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43478 * string/Makefile (strop-tests): Add memcmp.
43479 * string/test-wmemcmp.c: New file.
43480 * string/test-memcmp.c: Add wmemcmp support.
43482 2011-09-08 Roland McGrath <roland@hack.frob.com>
43485 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43488 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43489 garbage value in a __mach_port_mod_refs call in the cases of the
43490 task-self and thread-self ports.
43492 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43494 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43496 2011-09-08 Andreas Schwab <schwab@redhat.com>
43498 * elf/dl-load.c (lose): Check for non-null L.
43500 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43502 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43504 * elf/dl-libc.c (dlerror_run): Pass back error code from
43508 * elf/dl-load.c (lose): Free l_origin if it is valid.
43510 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43512 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43513 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43514 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43515 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43516 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43517 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43519 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43521 * sysdeps/powerpc/fpu/e_hypot.c: New file.
43522 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43523 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43524 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43525 * sysdeps/powerpc/fpu/k_cosf.c: New file.
43526 * sysdeps/powerpc/fpu/k_sinf.c: New file.
43527 * sysdeps/powerpc/fpu/s_cosf.c: New file.
43528 * sysdeps/powerpc/fpu/s_sinf.c: New file.
43529 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43530 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43532 2011-08-15 Alan Modra <amodra@gmail.com>
43535 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43536 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43537 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
43538 ppc_mcount to static-only-routines.
43539 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43541 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43542 __mcount_internal with usual JUMPTARGET. Remove useless nop.
43544 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
43546 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43547 for finite and infinity parameters.
43549 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43551 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43552 and add nop instructions for throughput optimization.
43553 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43555 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
43557 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43558 aligned copy for power7 with vector-scalar instructions.
43559 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43561 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
43563 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43566 2011-09-07 Andreas Schwab <schwab@redhat.com>
43569 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43572 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43574 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43575 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43576 syscall wrapper around clock_gettime in __vdso_clock_gettime.
43577 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43580 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43582 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43583 Forgot to demangle the pointer.
43585 * sysdeps/i386/sysdep.h: Define atom_text_section.
43586 * sysdeps/x86_64/sysdep.h: Likewise.
43587 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43588 section with atom_text_section.
43589 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43590 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43591 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43592 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43593 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43595 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43596 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43597 already be defined. Change to take two parameters and don't assign
43598 result to variable. Adjust all users.
43599 Define INTERNAL_GETTIME if not already defined.
43600 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43602 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43603 HAVE_CLOCK_GETTIME_VSYSCALL.
43604 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43606 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43607 gettimeofday vsyscall, just use time.
43609 2011-09-06 Andreas Schwab <schwab@redhat.com>
43611 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43614 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43616 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43618 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43620 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43621 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43622 syscall if possible.
43624 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43626 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43627 e_ident. Don't pass to find_mapsXX.
43628 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43630 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43632 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43633 strchr-sse2-no-bsf strrchr-sse2-no-bsf
43634 * sysdeps/x86_64/multiarch/strchr.S: Update.
43635 Check bit_slow_BSF bit.
43636 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43637 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43638 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43640 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43643 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43645 (tryshell): Define.
43646 (__spawni): Change last parameter to be flag. Test
43647 SPAWN_XFLAGS_USE_PATH flag to use path or not.
43648 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43649 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43650 * posix/spawni.c: Likewise.
43651 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43652 * posix/spawnp.c: Likewise. Change normal version to use
43653 SPAWN_XFLAGS_USE_PATH.
43654 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43655 SPAWN_XFLAGS_TRY_SHELL.
43658 * posix/glob.h: Remove gcc 1.x support.
43661 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43663 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43665 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43666 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43668 * sysdeps/i386/i686/multiarch/strchr.S: New file.
43669 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43670 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43671 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43672 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43673 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43675 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43677 * sysdeps/x86_64/wcscmp.S: New file.
43679 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43680 wcscmp-c wcscmp-sse2
43681 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43682 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43683 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43684 * wcsmbs/wcscmp.c: Allow renaming.
43686 2011-09-05 David S. Miller <davem@davemloft.net>
43688 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43689 stack slot, rather than the struct return pointer slot.
43690 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43691 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43693 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43695 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43697 * po/ja.po: Update from translation team.
43700 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43701 kernel in 64-bit binaries.
43703 2011-09-01 David S. Miller <davem@davemloft.net>
43705 * elf/elf.h (HWCAP_SPARC_*): Move to..
43706 * sysdeps/sparc/sysdep.h: this new file and add new values.
43707 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43708 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43709 _DL_HWCAP_COUNT to 24.
43710 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43712 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43713 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43714 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43715 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43716 instead of magic constants.
43717 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43719 2011-08-31 David S. Miller <davem@davemloft.net>
43721 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43722 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43723 Reimplement to do errno handling inline.
43724 (SYSCALL_ERROR_HANDLER): New macro.
43725 (__SYSCALL_STRING): Do not do errno handling in asm.
43726 (__CLONE_SYSCALL_STRING): Delete.
43727 (__INTERNAL_SYSCALL_STRING): Delete.
43728 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43729 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43730 (PSEUDO): Reimplement to do errno handling inline.
43731 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
43732 (SYSCALL_ERROR_HANDLER): New macro.
43733 (__SYSCALL_STRING): Do not do errno handling in asm.
43734 (__CLONE_SYSCALL_STRING): Delete.
43735 (__INTERNAL_SYSCALL_STRING): Delete.
43736 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
43737 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
43739 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
43740 (inline_syscall*): Add 'err' argument.
43741 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
43742 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
43743 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
43744 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
43746 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
43747 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43749 2011-08-30 Andreas Schwab <schwab@redhat.com>
43751 * elf/rtld.c (dl_main): Relocate objects in dependency order.
43753 2011-08-29 Jiri Olsa <jolsa@redhat.com>
43755 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
43758 2011-08-24 David S. Miller <davem@davemloft.net>
43760 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
43762 2011-08-24 Andreas Schwab <schwab@redhat.com>
43764 * elf/Makefile: Add rules to build and run unload8 test.
43765 * elf/unload8.c: New file.
43766 * elf/unload8mod1.c: New file.
43767 * elf/unload8mod1x.c: New file.
43768 * elf/unload8mod2.c: New file.
43769 * elf/unload8mod3.c: New file.
43771 * elf/dl-close.c (_dl_close_worker): Reset private search list if
43774 2011-08-23 David S. Miller <davem@davemloft.net>
43776 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
43777 subtract stack bias.
43778 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
43779 %sp not %fp in calculations.
43780 (_JMPBUF_UNWINDS_ADJ): Likewise.
43782 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
43783 (aio_suspend): Call it to force an exception region around the
43784 AIO_MISC_WAIT() invocation.
43786 2011-08-23 Andreas Schwab <schwab@redhat.com>
43788 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
43791 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
43793 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
43795 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
43796 and <dl-machine.h>.
43797 (Elf64_FuncDesc): Remove.
43799 2011-08-22 David S. Miller <davem@davemloft.net>
43801 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
43802 sigaltstack check, add missing cfi directives.
43803 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
43804 missing cfi directives, and sigaltstack handling.
43806 2011-08-16 Andreas Schwab <schwab@redhat.com>
43809 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
43810 object is seen twice.
43811 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43813 * elf/Makefile (distribute): Add tst-initorder2.c.
43814 (tests): Add tst-initorder2.
43815 (modules-names): Add tst-initorder2a tst-initorder2b
43816 tst-initorder2c tst-initorder2d. Add rules to build them.
43817 ($(objpfx)tst-initorder2.out): New rule.
43818 * elf/tst-initorder2.c: New file.
43819 * elf/tst-initorder2.exp: New file.
43821 2011-08-22 Andreas Schwab <schwab@redhat.com>
43823 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
43825 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
43826 dependencies back to end of function.
43828 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43829 $(elfobjdir)/ld.so.
43831 2011-08-21 Ulrich Drepper <drepper@gmail.com>
43833 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
43834 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
43835 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
43836 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
43837 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
43838 of __vdso_gettimeofday.
43839 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
43840 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
43842 (_libc_vdso_platform_setup): Remove initialization of
43843 __vdso_gettimeofday and __vdso_time.
43845 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43847 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
43848 and fgetc_unlocked.
43849 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
43852 * elf/dl-open.c (add_to_global): Report additions to the global scope
43853 for LD_DEBUG=scopes.
43854 (dl_open_worker): Also print scope of newly loaded dependencies.
43855 (_dl_show_scope): Indicate if there is no scope.
43858 * stdio-common/Makefile (tests): Add bug24.
43859 * stdio-common/bug24.c: New file.
43861 2011-08-19 Andreas Jaeger <aj@suse.de>
43864 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
43865 non-existant file when using close-on-exec mode.
43867 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43869 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
43870 the very first instruction.
43872 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
43873 the CFI state in the end.
43874 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
43875 inclusion of dl-trampoline.h.
43876 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
43878 2011-08-19 Andreas Schwab <schwab@redhat.com>
43880 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
43881 expectations for long double.
43883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
43884 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
43886 2011-08-14 David S. Miller <davem@davemloft.net>
43888 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
43889 artificual limit depends upon the system page size.
43891 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43893 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
43894 * resolv/Makefile: Define CFLAGS-libresolv.
43896 2011-08-17 Andreas Schwab <schwab@redhat.com>
43898 * nss/makedb.c (compute_tables): Make variables used in nested
43901 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43903 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
43904 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
43905 if buffer was too small.
43907 * elf/pldd.c (main): Attach to all threads in the process.
43908 Rewrite /proc handling to use *at functions.
43910 2011-08-16 Ulrich Drepper <drepper@gmail.com>
43912 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43913 specifies first scope to show.
43914 (dl_open_worker): Update callers. Move printing scope of new
43915 object to before the relocation.
43916 * elf/rtld.c (dl_main): Update _dl_show_scope call.
43917 * sysdeps/generic/ldsodefs.h: Update declaration.
43919 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43920 string for the scope number.
43922 2011-08-14 Ulrich Drepper <drepper@gmail.com>
43924 * nscd/servicescache.c (cache_addserv): Make sure written is always
43927 2011-08-14 Roland McGrath <roland@hack.frob.com>
43929 * sysdeps/i386/i486/bits/atomic.h
43930 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43931 statement expression, so as to suppress "set but not used" warning.
43932 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43934 * string/strncat.c (STRNCAT): Use prototype definition.
43936 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43937 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43939 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43940 (localedef-modules): Add localedef.
43941 (locale-modules): Add locale.
43943 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43944 * elf/rtld.c (dl_main): Invert order of assignment in last change,
43945 to avoid a warning.
43947 2011-08-14 David S. Miller <davem@davemloft.net>
43949 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43950 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43952 2011-08-13 Ulrich Drepper <drepper@gmail.com>
43954 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
43955 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43956 * elf/rtld.c (dl_main): Set l_name of vDSO.
43957 Call _dl_show_scope when DL_DEBUG_SCOPES.
43958 (process_dl_debug): Recognize scopes flag and also set it for all.
43959 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43960 Declare _dl_show_scope.
43962 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43963 (do_dlopen): Pass caller_dlopen to dl_open.
43964 (__libc_dlopen_mode): Initialize caller_dlopen.
43966 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43967 of libc. Make tolower call locale-independent. Optimize a bit by
43968 using isdigit instead of isalnum.
43969 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43971 2011-08-12 Ulrich Drepper <drepper@gmail.com>
43973 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43974 was a dependency or dynamically loaded.
43976 2011-08-11 Ulrich Drepper <drepper@gmail.com>
43978 * intl/l10nflist.c: Allow architecture-specific pop function.
43979 * sysdeps/x86_64/l10nflist.c: New file.
43981 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43984 2011-08-10 Andreas Schwab <schwab@redhat.com>
43986 * include/dirent.h: Add libc_hidden_proto for scandirat and
43987 scandirat64. Don't declare __scandirat64.
43988 * dirent/scandirat.c: Add libc_hidden_def.
43989 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43990 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43992 2011-08-10 David S. Miller <davem@davemloft.net>
43994 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43996 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43997 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43998 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44000 2011-08-09 Ulrich Drepper <drepper@gmail.com>
44002 * Versions.def [libc]: Add GLIBC_2.15.
44003 * dirent/Makefile (routines): Add scandirat and scandirat64.
44004 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44006 * dirent/dirent.h: Declare scandirat and scandirat64.
44007 * dirent/scandirat.c: New file.
44008 * dirent/scandirat64.c: New file.
44009 * sysdeps/wordsize-64/scandirat.c: New file.
44010 * sysdeps/wordsize-64/scandirat64.c: New file.
44011 * dirent/opendir.c: Define opendirat.
44012 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44014 * dirent/scandir64.c: Adjust for scandir.c change.
44015 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44016 __scandirat64, and __scandir_cancel_handler.
44017 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44018 additional parameter and use openat instead of open (outside of ld.so).
44019 Add new __opendir as wrapper around __opendirat.
44020 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44021 here without requiring old scandirat implementation.
44023 2011-08-08 Ulrich Drepper <drepper@gmail.com>
44025 * dirent/scandir.c (cancel_handler): Renamed to
44026 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44027 defined. Adjust users.
44028 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44029 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44031 2011-08-04 Ulrich Drepper <drepper@gmail.com>
44033 * string/test-string.h (IMPL): Use __STRING to expand name and then
44036 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44039 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44041 * string/Makefile: Update.
44042 (strop-tests): Append strncat.
44043 * string/test-wcscmp.c: New file.
44044 New comprehensive test for wcscmp.
44045 * string/test-strcmp.c: Update.
44046 (WIDE): New define.
44048 2011-07-22 Andreas Schwab <schwab@redhat.com>
44050 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44053 2011-07-26 Andreas Schwab <schwab@redhat.com>
44055 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44056 encoding to ACE if AI_IDN.
44058 2011-08-01 Jakub Jelinek <jakub@redhat.com>
44060 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44061 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44063 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44065 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44066 Fix overflow bug in strncat.
44067 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44069 * string/test-strncat.c: Update.
44070 Add new tests for checking overflow bugs.
44072 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44074 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44075 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44076 * sysdeps/i386/i686/multiarch/strcat.S: New file.
44077 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44078 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44079 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44080 * sysdeps/i386/i686/multiarch/strncat.S: New file.
44081 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44082 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44084 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44085 (USE_AS_STRCAT): Define.
44086 Add strcat and strncat support.
44087 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44089 2011-07-25 Andreas Schwab <schwab@redhat.com>
44091 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44092 __n bigger than INT_MAX+1.
44093 (__strncmp_g): Likewise.
44095 2011-07-23 Ulrich Drepper <drepper@gmail.com>
44097 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44098 * libio/stido.h: Likewise.
44100 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44102 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44105 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44106 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44107 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44108 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44109 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44112 * scripts/test-installation.pl: Don't expect libnss_test1 to be
44115 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44117 (_dl_x86_64_save_sse): Likewise.
44119 2011-07-22 Ulrich Drepper <drepper@gmail.com>
44121 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44123 (_dl_x86_64_save_sse): Likewise.
44125 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44127 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44129 2011-07-21 Andreas Schwab <schwab@redhat.com>
44131 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44133 (_dl_x86_64_save_sse): Use correct AVX check.
44135 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44137 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44138 bug in strncpy/strncat.
44139 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44141 2011-07-21 Ulrich Drepper <drepper@gmail.com>
44143 * string/tester.c (test_strcat): Add tests for different alignments
44144 of source and destination.
44145 (test_strncat): Likewise.
44147 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44150 * posix/glob.c (glob): Check passed in values before using them in
44151 expressions to avoid some overflows.
44152 (glob_in_dir): Likewise.
44155 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44156 check for AVX enablement so that we don't crash with old kernels and
44158 * elf/tst-audit4.c: Add same checks here.
44159 * elf/tst-audit6.c: Likewise.
44161 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44163 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
44165 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44167 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44169 * po/cs.po: Update from translation team.
44170 * po/bg.po: Likewise.
44172 2011-07-12 Marek Polacek <mpolacek@redhat.com>
44174 * misc/sys/cdefs.h: Add support for const attribute.
44175 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44176 to gnu_dev_{major,minor,makedev} functions.
44178 2011-07-20 Marek Polacek <mpolacek@redhat.com>
44180 * intl/dcigettext.c (get_output_charset): Add missing bracket.
44182 2011-07-20 Andreas Schwab <schwab@redhat.com>
44184 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44187 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44189 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44190 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44191 register in order to avoid conflicts with the soft frame pointer
44192 being held in r11 when necessary.
44193 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44194 (INTERNAL_VSYSCALL_NCS): Likewise.
44196 2011-07-14 Marek Polacek <mpolacek@redhat.com>
44198 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44199 * elf/dl-fini.c (_dl_fini): Adjust caller.
44200 * elf/dl-close.c (_dl_close_worker): Likewise.
44201 * sysdeps/generic/ldsodefs.h: Adjust declaration.
44203 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44205 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44206 "aux_cache->nlibs < 0".
44208 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44209 in the reload-count case.
44211 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44213 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44214 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44215 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44216 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44217 * sysdeps/x86_64/multiarch/strcat.S: New file.
44218 * sysdeps/x86_64/multiarch/strncat.S: New file.
44219 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44220 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44221 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44222 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44223 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44224 (USE_AS_STRCAT): Define.
44225 Add strcat and strncat support.
44226 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44227 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44228 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44229 * string/strncat.c: Update.
44230 (USE_AS_STRNCAT): Define.
44231 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44232 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44234 * sysdeps/x86_64/multiarch/init-arch.h
44235 (bit_Prefer_PMINUB_for_stringop): New.
44236 (index_Prefer_PMINUB_for_stringop): Likewise.
44237 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44238 bit_Prefer_PMINUB_for_stringop.
44240 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44242 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44244 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44245 of casting of buffer.
44246 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44247 buffer32 and buffer64.
44248 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44249 writes instead of casting of buffer.
44250 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44252 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44255 2011-07-19 Andreas Schwab <schwab@redhat.com>
44257 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44259 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44261 * nscd/nscd.c (termination_handler): Don't do anything for a database
44262 if it has not yet been initialized.
44264 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44266 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44268 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44270 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44272 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44274 * po/nl.po: Update from translation team.
44275 * po/sv.po: Likewise.
44277 2011-07-16 Roland McGrath <roland@hack.frob.com>
44279 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44280 now disallowed by GCC.
44282 * configure.in (use-default-link): Default to yes if a test -shared
44283 link meets our qualifications.
44284 * configure: Regenerated.
44286 * config.make.in (output-format): New variable.
44287 * configure.in: Check for ld --print-output-format support.
44288 * configure: Regenerated.
44289 * Makerules ($(common-objpfx)format.lds)
44290 [$(output-format) != unknown]: Just use $(output-format),
44291 instead of the linker-script munging.
44293 2011-07-14 Roland McGrath <roland@hack.frob.com>
44295 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44296 of $(common-objpfx)shlib.lds.
44297 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44299 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44300 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44302 * configure.in (-z relro check): Adjust test code to add a large
44303 writable data section after it.
44304 * configure: Regenerated.
44306 2011-07-11 Roland McGrath <roland@hack.frob.com>
44308 * configure.in (-z relro check): Fix test code to make the variable
44310 * configure: Regenerated.
44312 2011-07-11 Ulrich Drepper <drepper@gmail.com>
44314 * nscd/nscd.h (struct traced_file): Define.
44315 (struct database_dyn): Remove inotify_descr, reset_res, and filename
44316 elements. Add traced_files.
44317 (inotify_fd): Declare.
44318 (register_traced_file): Declare.
44319 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44320 (inotify_fd): Export.
44321 (resolv_conf_descr): Remove.
44322 (nscd_init): Move inotify descriptor creation to main.
44323 Don't register files for notification here.
44324 (register_traced_file): New function.
44325 (invalidate_cache): Don't use reset_res to determine whether to call
44326 res_init, go through the list of registered files.
44327 (main_loop_poll): The inotify descriptors are now stored in the
44328 structures for the traced files.
44329 (main_loop_epoll): Likewise
44330 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
44331 to __nss_disable_nscd.
44332 * nscd/cache.c (prune_cache): There is no single inotify descriptor
44333 for a database anymore. Check the records for all the registered
44335 * nss/Makefile (libnss_files-routines): Add files-init.
44336 (libnss_db-routines): Add db-init.
44337 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44338 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44339 * nss/nss_db/db-init.c: New file.
44340 * nss/nss_files/files-init.c: New file.
44341 * nss/nsswitch.c (nss_load_library): New function. Broken out of
44342 __nss_lookup_function.
44343 (__nss_lookup_function): Call nss_load_library.
44344 (nss_load_all_libraries): New function.
44345 (__nss_disable_nscd): Take parameter with callback function for files
44346 to register. Set is_nscd. Load all the DSOs for the NSS modules
44347 used for the cached services.
44348 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44349 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44350 options for features to all the files in nscd.
44352 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44354 2011-07-10 Roland McGrath <roland@hack.frob.com>
44356 * csu/elf-init.c (__libc_csu_init): Comment typo.
44358 2011-07-09 Ulrich Drepper <drepper@gmail.com>
44360 * po/pl.po: Update from translation team.
44361 * po/ja.po: Likewise.
44362 * po/ru.po: Likewise.
44363 * po/ko.po: Likewise.
44364 * po/fr.po: Likewise.
44366 2011-07-09 Roland McGrath <roland@hack.frob.com>
44368 * configure.in (.ctors/.dtors header and trailer check):
44369 Use an empirical test on a built program.
44370 * configure: Regenerated.
44372 * configure.in (-z relro check): Use an empirical test on a built DSO.
44373 Detect, but do not require, on ia64.
44374 * configure: Regenerated.
44376 * configure.in (READELF): Find it with AC_CHECK_TOOL.
44377 Update tests that use readelf to use $READELF instead.
44378 * configure: Regenerated.
44380 2011-07-08 Ulrich Drepper <drepper@gmail.com>
44382 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44383 if the result is not used.
44385 2011-07-05 Andreas Jaeger <aj@suse.de>
44388 * stdlib/tst-strtod.c: Add testcase.
44390 2011-07-07 Ulrich Drepper <drepper@gmail.com>
44392 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44393 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
44394 The latter has a higher limit. Take additional parameter to pass to
44396 (__pathconf): Pass file to __statfs_link_max.
44397 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44399 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44403 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44404 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44406 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44407 (__statfs_filesize_max): Likewise.
44408 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44410 2011-07-05 Andreas Jaeger <aj@suse.de>
44412 * resolv/res_comp.c (dn_skipname): Remove unused variable.
44414 2011-07-06 Marek Polacek <mpolacek@redhat.com>
44416 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44418 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44421 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
44423 * Makefile (strop-tests): Add strncat.
44424 * string/test-strncat.c: New file.
44426 2011-06-30 Marek Polacek <mpolacek@redhat.com>
44428 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44430 2011-06-21 Andreas Jaeger <aj@suse.de>
44432 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44433 Copy rule from iconvdata/Makefile.
44435 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44438 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44439 but no long options are defined, just return 'W'.
44441 2011-06-22 Marek Polacek <mpolacek@redhat.com>
44444 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44446 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44448 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44450 (innetgr): Likewise.
44452 2011-07-05 Roland McGrath <roland@hack.frob.com>
44454 * config.make.in (install_root): Default to $(DESTDIR).
44456 2011-07-05 Ulrich Drepper <drepper@gmail.com>
44458 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44460 2011-07-02 Roland McGrath <roland@hack.frob.com>
44462 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44464 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44465 containing directory rather than embedding absolute directory names.
44467 * scripts/check-local-headers.sh: Rewritten using awk.
44468 Match by word, not by line. Print error messages for matches.
44469 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44471 * Makerules [shlib-lds-flags empty]:
44472 ($(common-objpfx)libc_pic.opts): New target.
44473 ($(common-objpfx)libc_pic.os.clean): New target.
44474 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44476 * config.make.in (OBJCOPY): New variable.
44477 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44478 * configure: Regenerated.
44480 * config.make.in (use-default-link): New variable.
44481 * configure.in (use_default_link): Grok --with-default-link to set it.
44482 * configure: Regenerated.
44483 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44484 (shlib-lds, shlib-lds-flags): Define to empty.
44486 * Makerules (shlib-lds): New variable.
44487 (shlib-lds-flags): New variable.
44488 (build-shlib, build-moduile, build-module-asneeded): Use it.
44489 ($(common-objpfx)libc.so): Use $(shlib-lds).
44490 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44491 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44493 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44494 DT_FLAGS/DT_FLAGS_1 with zero flags.
44496 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44497 linker script munging.
44499 2011-07-02 Ulrich Drepper <drepper@gmail.com>
44501 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44503 * crypt/sha512.c (sha512_process_block): Perform total addition using
44504 128-bit if possible.
44505 (__sha512_finish_ctx): Likewise.
44506 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44508 * crypt/sha256.c (SWAP64): Define.
44509 (sha256_process_block): Perform total addition using 64-bit if
44511 (__sha256_finish_ctx): Likewise.
44513 2011-07-01 Ulrich Drepper <drepper@gmail.com>
44515 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
44516 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44517 * nscd/hstcache.c (cache_addhst): Likewise.
44518 * nscd/grpcache.c (cache_addgr): Likewise.
44519 * nscd/aicache.c (addhstaiX): Likewise
44520 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44522 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
44524 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44525 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44526 * nscd/hstcache.c (cache_addhst): Likewise.
44527 * nscd/grpcache.c (cache_addgr): Likewise.
44528 * nscd/aicache.c (addhstaiX): Likewise
44530 2011-07-01 Andreas Schwab <schwab@redhat.com>
44532 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44533 domain only when needed.
44535 2011-06-30 Andreas Schwab <schwab@redhat.com>
44537 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44538 is always restored.
44540 2011-06-29 Ulrich Drepper <drepper@gmail.com>
44542 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44543 are re-adding the entry.
44544 * nscd/servicescache.c (cache_addserv): Likewise.
44546 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
44548 * sysdeps/generic/dl-irel.h: fix protection against multiple
44550 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44552 2011-06-28 Ulrich Drepper <drepper@gmail.com>
44555 * malloc/memusage.sh: Fix quoting in message.
44556 * debug/xtrace.sh: Likewise.
44558 * configure.in: Remove support for --experimental-malloc option, make
44560 * config.make.in: Likewise.
44561 * malloc/Makefile: Likewise.
44563 2011-06-27 Andreas Schwab <schwab@redhat.com>
44565 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44566 two-byte characters.
44568 2011-06-27 Roland McGrath <roland@hack.frob.com>
44570 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44571 AC_CACHE_CHECK invocation.
44572 * configure: Regenerated.
44574 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44576 2011-06-27 Ulrich Drepper <drepper@gmail.com>
44579 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
44580 bit from old_res_options.
44582 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44584 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44585 value type for setfct.
44587 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
44589 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44590 __gettimeofday instead of gettimeofday.
44592 2011-06-26 Ulrich Drepper <drepper@gmail.com>
44594 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44596 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
44598 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44600 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44603 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44605 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44606 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44607 strcpy-sse2-unaligned strncpy-sse2-unaligned
44608 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44609 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44610 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44611 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44612 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44613 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44614 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44615 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44616 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44617 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44618 (STRCPY): Support SSE2 and SSSE3 versions.
44620 2011-06-24 Ulrich Drepper <drepper@gmail.com>
44623 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44624 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44625 kernels which artificially limit size of requests.
44627 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44629 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44630 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44631 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44632 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44633 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44634 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44635 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44636 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44637 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44638 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44639 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44640 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44641 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44642 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44643 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44644 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44645 Enable unaligned load optimization for Intel Core i3, i5 and i7
44647 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44649 (index_Fast_Unaligned_Load): Define.
44650 (HAS_FAST_UNALIGNED_LOAD): Define.
44652 2011-06-23 Marek Polacek <mpolacek@redhat.com>
44654 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44656 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44659 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44660 until it is clear that the information is realy needed.
44661 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44663 2011-06-22 Andreas Schwab <schwab@redhat.com>
44665 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44667 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44669 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44670 /sys/devices/system/cpu/online if it is usable.
44672 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44673 reading the information from the /proc filesystem to once a second.
44675 2011-06-21 Andreas Jaeger <aj@suse.de>
44677 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44678 NULL after inclusion of kernel headers.
44680 2011-06-21 Ulrich Drepper <drepper@gmail.com>
44682 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44683 calls to internal_setent.
44686 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44687 addresses using gethostbyname4_r ignore IPv4 addresses.
44689 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44690 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
44692 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44694 2011-06-20 David S. Miller <davem@davemloft.net>
44696 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44698 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44700 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44701 (elf_irel): Use it.
44702 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44703 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44704 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44705 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44706 * sysdeps/x86_64/dl-irel.h: Likewise.
44708 * elf/dl-runtime.c: Use elf_ifunc_invoke.
44709 * elf/dl-sym.c: Likewise.
44711 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44713 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
44714 need to dereference resplen2.
44716 2011-06-14 Andreas Schwab <schwab@redhat.com>
44718 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44720 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44722 * Makeconfig: Define vardbdir and inst_vardbdir.
44723 * nss/Makefile: Add rules to install db-Makefile.
44725 * nss/nss_db/db-XXX.c: Cleanup.
44727 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44728 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44730 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44731 * nss/makedb.c: Implement -g option to specify that value strings
44732 are generated and should not be added to table iterated over for
44734 * nss/nss_db/db-initgroups.c: New file.
44736 * nss/getent.c: Add support for initgroups lookups through getgrouplist
44739 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
44740 (internal_getgrouplist): Adjust to name change.
44741 Update use_initgroups_entry if this is not the first call.
44742 * nss/databases.def: Add initgroups entry.
44744 * nss/makedb.c (compute_tables): Check result of multiple hash table
44745 sizes to minimize maximum chain length.
44747 2011-06-14 Ulrich Drepper <drepper@gmail.com>
44749 * Versions.def: Add entry for libnss_db.
44750 * shlib-versions: Likewise.
44751 * nss/Makefile: Add rules to build libnss_db.
44752 * nss/Versions: Add libnss_db information. Organize libnss_files
44754 * nss/db-Makefile: Add gshadow support. Change rules for the new
44755 makedb progra. Some minor improvements to generate smaller files.
44756 * nss/nss_db/nss_db.h: Move NSS database header data structures to
44758 * nss/makedb.c: ...here.
44759 Improve database format to be smaller and require less memory at
44761 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
44763 * nss/nss_db/db-netgrp.c: Likewise.
44764 * nss/nss_db/db-open.c: Likewise.
44765 * nss/nss_files/flies-XXX.x: Adjust comments.
44766 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
44767 * nss/nss_files/files-grp.c: Likewise.
44768 * nss/nss_files/files-hosts.c: Likewise.
44769 * nss/nss_files/files-network.c: Likewise.
44770 * nss/nss_files/files-proto.c: Likewise.
44771 * nss/nss_files/files-pwd.c: Likewise.
44772 * nss/nss_files/files-rpc.c: Likewise.
44773 * nss/nss_files/files-service.c: Likewise.
44774 * nss/nss_files/files-sgrp.c: Likewise.
44775 * nss/nss_files/files-spwd.c: Likewise.
44776 * nss/nss_db/db-alias.c: Removed.
44777 * nss/nss_db/dummy-db.h: Removed.
44779 2011-06-02 Ulrich Drepper <drepper@gmail.com>
44781 * nss/makedb.c: Rewritten to not use database library.
44782 * nss/Makefile: Update to build new makedb program.
44784 2011-06-14 Andreas Jaeger <aj@suse.de>
44786 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
44787 memset declaration.
44789 2011-06-10 Andreas Schwab <schwab@redhat.com>
44791 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
44794 2011-06-10 Roland McGrath <roland@hack.frob.com>
44796 * Makerules (shlib.lds): Fail if the linker script comes out empty.
44797 * elf/Makefile ($(objpfx)ld.so): Likewise.
44799 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
44800 Don't list ld.so twice in dependencies.
44802 * posix/bug-regex31.c: Include <stdlib.h>.
44804 * nscd/hstcache.c (cache_addhst): Remove unused variable.
44806 * nis/nss_compat/compat-spwd.c
44807 (getspent_next_nss_netgr): Remove unused variable.
44808 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
44810 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
44811 nonmembers" output to use the right array.
44813 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
44815 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
44817 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
44818 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
44819 * catgets/gencat.c (read_input_file): Likewise.
44820 * locale/programs/locarchive.c (enlarge_archive): Likewise.
44822 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
44823 variable definition inside #if's controlling its use.
44825 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
44827 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
44829 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
44831 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
44834 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
44836 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
44837 * configure: Regenerated.
44839 * Makerules: Revert last change.
44840 * elf/Makefile: Likewise.
44842 2011-06-09 Roland McGrath <roland@hack.frob.com>
44844 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
44845 * elf/Makefile ($(objpfx)librtld.os): Likewise.
44846 (reloc-link): Likewise.
44848 2011-06-09 Ulrich Drepper <drepper@gmail.com>
44850 * elf/Makefile: Add rules to build pldd.
44851 * elf/pldd.c: New file.
44852 * elf/pldd-xx.c: New file.
44854 2011-06-07 Ulrich Drepper <drepper@gmail.com>
44856 * version.h: Update for 2.15 development version.
44858 2011-06-07 David S. Miller <davem@davemloft.net>
44860 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
44862 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
44863 elf_machine_lazy_rel): Likewise.
44864 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44865 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
44866 elf_machine_lazy_rel): Likewise.
44867 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
44868 dl_hwcap via passed in argument.
44869 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
44872 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44874 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
44876 2011-06-06 Roland McGrath <roland@hack.frob.com>
44879 * manual/fdl-1.1.texi: New file, verbatim from:
44880 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
44881 * manual/lgpl-2.1.texi: New file, verbatim from:
44882 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
44883 * manual/Makefile (licenses): New variable, list those new file names.
44885 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
44887 * manual/fdl.texi: File removed.
44888 * manual/lesser.texi: File removed.
44889 * manual/libc.texinfo (Copying, Documentation License):
44890 Use new @include file names, put @appendix directive before @include.
44892 2011-06-04 Jakub Jelinek <jakub@redhat.com>
44895 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
44896 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
44897 (mq_open): Add __NTH.
44899 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
44901 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44902 Assume Intel Core i3/i5/i7 processor if AVX is available.
44904 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44906 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44909 2011-05-31 Andreas Schwab <schwab@redhat.com>
44911 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44912 memory. Use alloca_account. Fix memory leak when retrying.
44914 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44916 * version.h (RELEASE): Bump for 2.14 release.
44917 * include/features.h (__GLIBC_MINOR__): Bump to 14.
44919 * config.make.in (RANLIB): Remove entry.
44921 2011-05-30 Ulrich Drepper <drepper@gmail.com>
44923 * po/Makefile (po-sed-cmd): Add ksh to extensions.
44924 (libc.pot): Work around missing support for .ksh extension in xgettext.
44927 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44928 if both request failed.
44929 (send_dg): In case of server errors clear resplen or *resplen2.
44932 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44933 when there are multiple maps.
44934 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44935 (_dl_fini): Remove test here.
44937 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44939 2011-05-29 Ulrich Drepper <drepper@gmail.com>
44942 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44943 bit from old_res_options.
44944 (gaih_inet): Likewise.
44947 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
44950 * resolv/res_init.c (res_setoptions): Make the code more compact.
44953 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44957 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44959 * malloc/malloc.h: Mark malloc hook variables as deprecated.
44962 * malloc/malloc.h: Declare malloc hook variables as volatile.
44964 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44968 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44969 raise in the comment.
44970 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44971 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44972 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44974 2011-05-28 Ulrich Drepper <drepper@gmail.com>
44977 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44978 grow the buffers more if it already has to be sufficient.
44979 (build_wcs_upper_buffer): Likewise.
44980 * posix/regexec.c (check_matching): Likewise.
44981 (clean_state_log_if_needed): Likewise.
44982 (extend_buffers): Don't enlarge buffers beyond size of the input
44984 Patches mostly by Emil Wojak <emil@wojak.eu>.
44985 * posix/bug-regex32.c: New file.
44986 * posix/Makefile (tests): Add bug-regex32.
44988 * locale/findlocale.c (_nl_find_locale): Return right away if
44989 _nl_explode_name failed.
44990 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44992 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44994 * debug/xtrace.sh: Unify messages.
44995 * malloc/memusage.sh: Likewise.
44998 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44999 time symbol from vDSO. Substitute with vsyscall if not available.
45000 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45003 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45004 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45005 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45006 Add sendmmsg and internal_sendmmsg.
45007 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45008 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45009 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45011 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45012 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45013 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45015 2011-05-27 Ulrich Drepper <drepper@gmail.com>
45018 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45019 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45021 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45025 * iconvdata/Makefile (tests): Add bug-iconv9.
45026 * iconvdata/bug-iconv9.c: New file.
45028 2011-05-27 Andreas Schwab <schwab@redhat.com>
45031 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45033 2011-05-25 Jakub Jelinek <jakub@redhat.com>
45035 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45036 (struct user_regs_struct): Change intcs field back to cs.
45038 2011-05-25 Ulrich Drepper <drepper@gmail.com>
45040 * po/ja.po: Update from translation team.
45042 2011-05-23 Ulrich Drepper <drepper@gmail.com>
45045 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45046 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45048 2011-05-20 Andreas Schwab <schwab@redhat.com>
45050 * stdlib/longlong.h: Update from GCC.
45052 2011-05-23 Andreas Schwab <schwab@redhat.com>
45054 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45056 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45057 Add parameter name.
45058 (__sysconf): Pass it down.
45060 2011-05-22 Ulrich Drepper <drepper@gmail.com>
45063 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45065 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45066 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45067 add in in __libc_use_alloca calls. Adjust callers.
45068 (glob): Use malloc in some situations.
45070 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45071 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45074 2011-05-21 Ulrich Drepper <drepper@gmail.com>
45076 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45077 and CLOCK_BOOTTIME_ALARM.
45080 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45083 * string/_strerror.c (__strerror_r): Print negative errors as signed
45087 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45088 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45089 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45091 * configure.in: Fix typo in redirection and correct removal of test
45092 files in two cases.
45095 * locale/setlocale.c (new_composite_name): Fix test to check for
45096 identical name of all categories.
45099 * libio/filedoalloc.c (local_isatty): New function.
45100 (_IO_file_doallocate): Use local_isatty.
45101 * stdio-common/perror.c (perror): In case a new stream is used
45102 forward the stream error.
45103 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45106 2011-05-20 Ulrich Drepper <drepper@gmail.com>
45109 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45111 * include/alloca.h (extend_alloca_account): Define.
45114 * posix/regex.h: Fix comments with documentation of user-accessible
45115 fields after compilation and describe correct free'ing of pattern
45116 after re_compile_pattern.
45117 Patch by Reuben Thomas <rrt@sc3d.org>.
45119 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
45121 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45122 and -mno-altivec to prevent the compiler from using Altivec and/or
45123 VSX instructions when the corresponding registers are not available.
45125 2011-05-19 Andreas Schwab <schwab@redhat.com>
45127 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45129 2011-05-19 Ulrich Drepper <drepper@gmail.com>
45131 * libio/freopen.c (freopen): Use __dup2, not dup2.
45132 * libio/freopen64.c (freopen64): Likewise.
45134 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
45137 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45138 * math/Makefile (tests): Add test-powl.
45139 (CFLAGS-test-powl.c): Define.
45140 * math/test-powl.c: New file.
45142 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
45144 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45146 2011-05-17 Ulrich Drepper <drepper@gmail.com>
45149 * iconvdata/gb18030.c: Update to GB18020-2005.
45151 2011-05-16 Ulrich Drepper <drepper@gmail.com>
45153 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45154 RE_SYNTAX_POSIX_AWK): Update to match recent development.
45155 Patch by Aharon Robbins <arnold@skeeve.com>.
45158 * stdlib/putenv.c (putenv): Don't always create copy of the variable
45162 * misc/pselect.c (__pselect): Handle timeout value errors hidden
45163 through underflows.
45166 * misc/error.c (error_at_line): Ensure file_name and old_file_name
45167 point to strings before performing equality test for error_one_per_line
45171 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45174 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45175 (struct user_fpregs_struct): Avoid __uint*_t types.
45178 * malloc/mtrace.c (tr_where): Add additional parameter to point to
45179 symbol info. Use it instead of calling _dl_addr locally.
45180 (lock_and_info): New function.
45181 (tr_freehook): Call lock_and_info and pass symbol info as additional
45182 parameter to tr_where.
45183 (tr_mallochook): Likewise.
45184 (tr_reallochook): Likewise.
45185 (tr_memalignhook): Likewise.
45187 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
45188 used and couldn't be at all thread-safe.
45190 2011-05-15 Ulrich Drepper <drepper@gmail.com>
45192 * libio/freopen.c (freopen): Don't close old file descriptor
45193 before the new one is opened. Instead dup the new file descriptor
45194 to the old one after the new stream is created.
45195 * libio/freopen64.c (freopen64): Likewise.
45196 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45197 * libio/fileops.c (_IO_new_file_close_it): Handle new
45198 _IO_FLAGS2_NOCLOSE flag.
45199 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45200 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45201 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45202 _IO_FLAGS2_NOCLOSE flag.
45203 * include/unistd.h: Add hidden_proto for dup3.
45204 Define __have_dup3.
45205 * io/dup3.c: Define hidden symbol.
45206 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45209 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45210 when an incomplete long option is used.
45211 * posix/tst-getopt_long1.c: New file.
45212 * posix/Makefile (tests): Add tst-getopt_long1.
45215 * scripts/config.guess: Update from autoconf-2.68.
45216 * scripts/config.sub: Likewise.
45219 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45221 (has_cpuclock): ...this. New function.
45222 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45223 macro here based on has_cpuclock code.
45226 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45227 First byte (not low byte) is now always NUL.
45228 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45230 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45231 Use non-cancelable interfaces.
45234 * locale/iso-639.def: Add entry for Sorani.
45237 * include/stdlib.h: Move include protection to the right place.
45238 Define abort_msg_s. Declare __abort_msg with it.
45239 * stdlib/abort.c (__abort_msg): Adjust type.
45240 * assert/assert.c (__assert_fail_base): New function. Majority
45241 of code from __assert_fail. Allocate memory for __abort_msg with
45243 (__assert_fail): Now call __assert_fail_base.
45244 * assert/assert-perr.c: Remove bulk of implementation. Use
45245 __assert_fail_base.
45246 * include/assert.hL Declare __assert_fail_base.
45247 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45249 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45251 2011-05-14 Ulrich Drepper <drepper@gmail.com>
45255 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45256 until all modules are registered in the DTV.
45257 * elf/Makefile: Add rules to build and run tst-tls19.
45258 * elf/tst-tls19.c: New file.
45259 * elf/tst-tls19mod1.c: New file.
45260 * elf/tst-tls19mod2.c: New file.
45261 * elf/tst-tls19mod3.c: New file.
45262 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45265 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45269 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45270 two-byte sequence errors.
45271 * iconvdata/Makefile (tests): Add bug-iconv8.
45272 * iconvdata/bug-iconv8.c: New file.
45275 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45278 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45281 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45282 (dummy_getcfa): New function.
45283 (init): Get _Unwind_GetCFA address, use dummy if not found.
45284 (backtrace_helper): In recursion check, also check whether CFA changes.
45285 (__backtrace): Completely initialize arg.
45287 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45288 storing incomplete byte sequence in state object. Avoid testing for
45289 guaranteed too small input if we know there is enough data available.
45291 2011-05-11 Andreas Schwab <schwab@redhat.com>
45293 * Makeconfig (+link-pie): Indent.
45294 * Rules (binaries-pie): Define if $(have-fpie) and
45296 (binaries-shared): Also filter out $(binaries-pie).
45297 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45298 * nscd/Makefile (others-pie): Add nscd.
45299 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45300 ($(objpfx)nscd): Remove command override.
45301 * login/Makefile (others-pie): Add pt_chown.
45302 ($(objpfx)pt_chown): Remove command override.
45303 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45304 remove command overrides.
45306 2011-05-13 Ulrich Drepper <drepper@gmail.com>
45308 * libio/tst_putwc.c: Fix error messages.
45311 * libio/fileops.c (_IO_new_file_close_it): Always flush when
45312 currently writing and seek to current position when not.
45313 * libio/Makefile (tests): Add bug-fclose1.
45314 * libio/bug-fclose1.c: New file.
45316 2011-05-12 Ulrich Drepper <drepper@gmail.com>
45319 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45320 don't set DF_1_NODELETE here.
45321 (do_lookup_x): When entering new entry test for copy relocation
45322 and if necessary set DF_1_NODELETE flag.
45323 * elf/tst-unique4.cc: New file.
45324 * elf/tst-unique4.h: New file.
45325 * elf/tst-unique4lib.cc: New file.
45326 * elf/Makefile: Add rules to build and run tst-unique4.
45327 Patch by Piotr Bury <pbury@goahead.com>.
45329 2011-05-11 Ulrich Drepper <drepper@gmail.com>
45332 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45335 * misc/mntent_r.c (addmntent): Flush the stream after the output
45338 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45339 (is_trusted_path_normalize): Skip initial colon. Append slash
45340 to empty buffer. Duplicate is_trusted_path code but allow
45341 constructed patch to be prefix.
45342 (is_dst): Allow $ORIGIN followed by /.
45343 (_dl_dst_substitute): Correct clearing of check_for_trusted.
45344 Correct testing of result of is_trusted_path_normalize
45345 (decompose_rpath): Fix warning.
45347 2011-05-10 Ulrich Drepper <drepper@gmail.com>
45350 * grp/initgroups.c (internal_getgrouplist): When we found the service
45351 list through the initgroups entry in nsswitch.conf do not always
45352 continue on a successful lookup. Don't always use the
45353 __nss_group_database value if it is set.
45354 * nss/nsswitch.conf (initgroups): Change action for successful db
45355 lookup to continue for compatibility.
45357 2011-05-09 Ulrich Drepper <drepper@gmail.com>
45360 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45362 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45364 * iconvdata/tst-tables.sh: Likewise.
45365 * iconvdata/cp770.c: New file.
45366 * iconvdata/cp771.c: New file.
45367 * iconvdata/cp772.c: New file.
45368 * iconvdata/cp773.c: New file.
45369 * iconvdata/cp774.c: New file.
45370 * iconvdata/testdata/CP770: New file.
45371 * iconvdata/testdata/CP770..UTF8: New file.
45372 * iconvdata/testdata/CP771: New file.
45373 * iconvdata/testdata/CP771..UTF8: New file.
45374 * iconvdata/testdata/CP772: New file.
45375 * iconvdata/testdata/CP772..UTF8: New file.
45376 * iconvdata/testdata/CP773: New file.
45377 * iconvdata/testdata/CP773..UTF8: New file.
45378 * iconvdata/testdata/CP774: New file.
45379 * iconvdata/testdata/CP774..UTF8: New file.
45381 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45383 * iconvdata/gen-8bit-gap.sh: Likewise.
45384 * iconvdata/gen-8bit.sh: Likewise.
45386 * locale/iso-639.def: Add ary entry.
45389 * locale/C-translit.h.in: Add U20A1 transliteration.
45392 * locale/iso-639.def: Add wae entry.
45393 Patch by Kevin Bortis <bortis@translate-wae.ch>.
45396 * locale/programs/localedef.c (construct_output_path): Use ssize_t
45400 * locale/C-translit.h.in: Add entry for U20B9.
45401 Patch by pravin.d.s@gmail.com.
45403 2011-05-08 Ulrich Drepper <drepper@gmail.com>
45406 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45407 ENAMETOOLONG use generic getcwd.
45408 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
45409 in rtld. Use *stat64.
45410 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
45411 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45412 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45413 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45414 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45415 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45416 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45417 __fstatat64 macros.
45418 * include/dirent.h: Add libc_hidden_proto for rewinddir.
45419 * dirent/rewinddir.c: Add libc_hidden_def.
45420 * sysdeps/mach/hurd/rewinddir.c: Likewise.
45421 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
45423 * include/dirent.h (__alloc_dir): Add flags parameter.
45424 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45425 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45427 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
45428 from fdopendir if O_CLOEXEC is already set.
45430 2011-03-15 Alan Modra <amodra@gmail.com>
45432 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45433 l_tls_firstbyte_offset non-zero. Save padding offset in
45434 l_tls_firstbyte_offset for later use.
45435 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45436 freeing static tls block.
45438 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
45440 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45441 where #ifdef was intended. The intent is to prevent ARG_MAX from
45442 being defined by the kernel headers.
45444 2011-05-07 Ulrich Drepper <drepper@gmail.com>
45447 * resolv/resolv.h: Define RES_NOTLDQUERY.
45448 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45449 no-tld-query and set RES_NOTLDQUERY.
45450 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45451 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45452 modern BIND to search name as TLD unless forbidden.
45454 2011-05-07 Petr Baudis <pasky@suse.cz>
45455 Ulrich Drepper <drepper@gmail.com>
45458 * elf/dl-load.c (fillin_rpath): Move trusted path check...
45459 (is_trusted_path): ...to here.
45460 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45461 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45462 using is_trusted_path_normalize() in setuid scripts.
45464 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45466 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45467 __BEGIN/__END_DECLS.
45469 2011-05-06 Ulrich Drepper <drepper@gmail.com>
45471 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45472 NSS_STATUS_NOTFOUND if no record was found.
45474 2011-05-05 Andreas Schwab <schwab@redhat.com>
45476 * sunrpc/Makefile (headers): Add rpc/netdb.h.
45477 (headers-not-in-tirpc): Remove rpc/netdb.h
45478 * resolv/netdb.h: Revert last change.
45480 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45482 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45483 circular dependency between libgcc.a and libc.a.
45485 2011-05-05 Andreas Schwab <schwab@redhat.com>
45487 * resolv/netdb.h: Don't include <rpc/netdb.h>.
45488 * nis/Makefile: Don't install rpcsvc/*.
45489 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45490 instead of <rpc/types.h>.
45491 (MAXHOSTNAMELEN): Define.
45493 2011-05-03 Andreas Schwab <schwab@redhat.com>
45495 * elf/ldconfig.c (add_dir): Don't crash on empty path.
45497 2011-04-28 Maciej Babinski <mbabinski@google.com>
45500 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45501 gethostbyname4_r when IPv6 results are possible.
45503 2011-05-02 Ulrich Drepper <drepper@gmail.com>
45506 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45507 _PC_PIPE_BUF handling.
45509 2011-04-30 Bruno Haible <bruno@clisp.org>
45512 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45513 * resolv/netdb.h (getnameinfo): Change type of flags parameter
45515 * inet/getnameinfo.c (getnameinfo): Likewise.
45517 2011-04-29 Ulrich Drepper <drepper@gmail.com>
45519 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45520 to groups setting in database lookup.
45521 * nss/nsswitch.conf: Add initgroups entry.
45523 2011-04-22 Ulrich Drepper <drepper@gmail.com>
45526 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45528 Patch by Eric Blake <eblake@redhat.com>.
45530 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
45532 * sunrpc/Makefile (need-export-routines): Add svc_run.
45533 (routines): Remove svc_run.
45534 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45535 * sunrpc/clnt_perr.c (clnt_perrno): Export.
45536 * sunrpc/svc_run.c (svc_run): Likewise.
45537 * sunrpc/svc_udp.c (svcudp_create): Likewise.
45539 2011-04-21 Ulrich Drepper <drepper@gmail.com>
45541 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45542 problem in reallocation in last patch.
45544 2011-04-20 Ulrich Drepper <drepper@gmail.com>
45546 * sunrpc/Makefile: Move inclusion of Rules.
45548 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45550 * nss/nss_files/files-initgroups.c: New file.
45551 * nss/Makefile (libnss_files-routines): Add files-initgroups.
45552 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45553 _nss_files_initgroups_dyn.
45555 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
45557 * elf/elf.h (R_ARM_IRELATIVE): Define.
45559 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45561 * po/ru.po: Update from translation team.
45563 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45565 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45568 2011-02-06 Mike Frysinger <vapier@gentoo.org>
45571 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45572 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45573 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45574 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45575 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45577 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
45579 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45581 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45582 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45583 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45585 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45588 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45590 * stdlib/bug-getcontext.c: New file.
45591 * stdlib/Makefile: Add rules to build and run bug-getcontext.
45593 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45595 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45596 instructions into .machine "z9-109".
45597 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45598 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45600 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45602 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45603 between environment variables and auxiliary vector.
45605 2011-04-16 Ulrich Drepper <drepper@gmail.com>
45607 * Makefile: Add rules to build linkobj/libc.so.
45608 * include/libc-symbols.h: Define libc_hidden_nolink.
45609 * include/rpc/auth.h: Mark functions which are to be hidden.
45610 * include/rpc/auth_des.h: Likewise.
45611 * include/rpc/auth_unix.h: Likewise.
45612 * include/rpc/clnt.h: Likewise.
45613 * include/rpc/des_crypt.h: Likewise.
45614 * include/rpc/key_prot.h: Likewise.
45615 * include/rpc/pmap_clnt.h: Likewise.
45616 * include/rpc/pmap_prot.h: Likewise.
45617 * include/rpc/pmap_rmt.h: Likewise.
45618 * include/rpc/rpc_msg.h: Likewise.
45619 * include/rpc/svc.h: Likewise.
45620 * include/rpc/svc_auth.h: Likewise.
45621 * include/rpc/xdr.h: Likewise.
45622 * nis/Makefile: Link all DSOs against linkobj/libc.so.
45623 * nss/Makefile: Likewise.
45624 * sunrpc/Makefile: Don't install headers. Build library with normal
45625 entry points. Don't build rpcinfo. Link RPC tests appropriately.
45626 * sunrpc/auth_des.c: Hide exported symbols by default, export some
45627 for the compat linking library. Remove use of INTDEF/INTUSE.
45628 * sunrpc/auth_none.c: Likewise.
45629 * sunrpc/auth_unix.c: Likewise.
45630 * sunrpc/authdes_prot.c: Likewise.
45631 * sunrpc/authuxprot.c: Likewise.
45632 * sunrpc/clnt_gen.c: Likewise.
45633 * sunrpc/clnt_perr.c: Likewise.
45634 * sunrpc/clnt_raw.c: Likewise.
45635 * sunrpc/clnt_simp.c: Likewise.
45636 * sunrpc/clnt_tcp.c: Likewise.
45637 * sunrpc/clnt_udp.c: Likewise.
45638 * sunrpc/clnt_unix.c: Likewise.
45639 * sunrpc/des_crypt.c: Likewise.
45640 * sunrpc/des_soft.c: Likewise.
45641 * sunrpc/get_myaddr.c: Likewise.
45642 * sunrpc/key_call.c: Likewise.
45643 * sunrpc/key_prot.c: Likewise.
45644 * sunrpc/netname.c: Likewise.
45645 * sunrpc/pm_getmaps.c: Likewise.
45646 * sunrpc/pm_getport.c: Likewise.
45647 * sunrpc/pmap_clnt.c: Likewise.
45648 * sunrpc/pmap_prot.c: Likewise.
45649 * sunrpc/pmap_prot2.c: Likewise.
45650 * sunrpc/pmap_rmt.c: Likewise.
45651 * sunrpc/publickey.c: Likewise.
45652 * sunrpc/rpc_cmsg.c: Likewise.
45653 * sunrpc/rpc_common.c: Likewise.
45654 * sunrpc/rpc_dtable.c: Likewise.
45655 * sunrpc/rpc_prot.c: Likewise.
45656 * sunrpc/rpc_thread.c: Likewise.
45657 * sunrpc/rtime.c: Likewise.
45658 * sunrpc/svc.c: Likewise.
45659 * sunrpc/svc_auth.c: Likewise.
45660 * sunrpc/svc_authux.c: Likewise.
45661 * sunrpc/svc_raw.c: Likewise.
45662 * sunrpc/svc_run.c: Likewise.
45663 * sunrpc/svc_simple.c: Likewise.
45664 * sunrpc/svc_tcp.c: Likewise.
45665 * sunrpc/svc_udp.c: Likewise.
45666 * sunrpc/svc_unix.c: Likewise.
45667 * sunrpc/svcauth_des.c: Likewise.
45668 * sunrpc/xcrypt.c: Likewise.
45669 * sunrpc/xdr.c: Likewise.
45670 * sunrpc/xdr_array.c: Likewise.
45671 * sunrpc/xdr_float.c: Likewise.
45672 * sunrpc/xdr_intXX_t.c: Likewise.
45673 * sunrpc/xdr_mem.c: Likewise.
45674 * sunrpc/xdr_rec.c: Likewise.
45675 * sunrpc/xdr_ref.c: Likewise.
45676 * sunrpc/xdr_sizeof.c: Likewise.
45677 * sunrpc/xdr_stdio.c: Likewise.
45679 2011-04-10 Ulrich Drepper <drepper@gmail.com>
45682 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45683 * sysdeps/ia64/dl-tls.h: Likewise.
45684 * sysdeps/powerpc/dl-tls.h: Likewise.
45685 * sysdeps/s390/dl-tls.h: Likewise.
45686 * sysdeps/sh/dl-tls.h: Likewise.
45687 * sysdeps/sparc/dl-tls.h: Likewise.
45688 * sysdeps/x86_64/dl-tls.h: Likewise.
45689 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45691 2011-03-14 Andreas Schwab <schwab@redhat.com>
45693 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45694 rpath element also skip the following colon.
45695 (expand_dynamic_string_token): Add is_path parameter and pass
45696 down to DL_DST_REQUIRED and _dl_dst_substitute.
45697 (decompose_rpath): Call expand_dynamic_string_token with
45698 non-zero is_path. Ignore empty rpaths.
45699 (_dl_map_object_from_fd): Call expand_dynamic_string_token
45702 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
45704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45707 2011-04-09 Ulrich Drepper <drepper@gmail.com>
45710 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45711 Patch by Filipe David Manana <fdmanana@apache.org>.
45713 2011-04-07 Andreas Schwab <schwab@redhat.com>
45715 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45716 Maintain aligned stack.
45717 (CHECK_RSP): Remove unused macro.
45719 2011-04-03 Ulrich Drepper <drepper@gmail.com>
45721 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45722 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45724 2011-04-02 Ulrich Drepper <drepper@gmail.com>
45726 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45728 * include/features.h: Mention __USE_XOPEN2K8 in comment.
45730 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
45733 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45734 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
45735 * sysdeps/x86_64/memmove.c: New file.
45736 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
45737 (memcpy): Renamed to ...
45738 (__new_memcpy): This.
45739 (memcpy): Provide GLIBC_2_14 memcpy.
45740 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
45741 (memcpy): Provide GLIBC_2_2_5 memcpy.
45743 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45746 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
45748 2011-03-30 Andreas Schwab <schwab@redhat.com>
45750 * misc/syncfs.c: New file.
45751 * misc/Makefile (routines): Add syncfs.
45752 * posix/unistd.h: Declare syncfs.
45753 * sysdeps/unix/syscalls.list: Add syncfs.
45755 2011-04-01 Andreas Schwab <schwab@redhat.com>
45757 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
45759 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45760 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45761 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45762 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45763 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45764 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
45765 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45767 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45769 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
45770 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45771 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
45772 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45773 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45774 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45775 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45777 * io/Makefile: Compile fallocate.c, fallocate64.c, and
45778 sync_file_range.c with -fexceptions.
45779 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
45780 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
45781 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
45782 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
45783 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
45784 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45785 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
45786 sync_file_range as cancellation point
45787 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
45788 now a wrapper around __call_sync_file_range with cancellation handling.
45789 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
45790 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
45791 function name to __call_sync_file_range.
45792 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
45793 Add call_sync_file_range.
45795 2011-04-01 Andreas Schwab <schwab@redhat.com>
45797 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45800 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45802 * iconv/iconv.h: Fix typo in comment.
45803 * io/fcntl.h: Likewise.
45804 * libio/stdio.h: Likewise.
45805 * posix/spawn.h: Likewise.
45806 * posix/unistd.h: Likewise.
45807 * stdlib/stdlib.h: Likewise.
45808 * time/time.h: Likewise.
45809 * wcsmbs/wchar.h: Likewise.
45811 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
45812 open_by_handle): Add.
45813 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
45814 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
45815 Augment a few comments.
45816 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45817 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45818 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45819 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45820 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45821 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
45824 * io/fcntl.h (AT_EMPTY_PATH): Define.
45826 2011-03-30 Ulrich Drepper <drepper@gmail.com>
45828 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
45829 * sysdeps/unix/sysv/linux/bits/time.h: New file.
45830 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
45832 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
45833 * Versions.def: Add GLIBC_2.14.
45834 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
45837 2011-03-22 Ulrich Drepper <drepper@gmail.com>
45839 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
45841 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45843 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
45846 * string/test-strncmp.c (do_page_test): New function.
45847 (check2): Likewise.
45848 (test_main): Call check2.
45849 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
45851 2011-03-20 Ulrich Drepper <drepper@gmail.com>
45854 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
45855 Handle cache information in CPU leaf 4.
45856 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45858 2011-03-18 Ulrich Drepper <drepper@gmail.com>
45861 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
45862 character representation.
45863 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
45865 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
45867 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
45868 END(__isnan) to END(__isnanf) to match function entry point/label
45869 EALIGN(__isnanf,...).
45871 2011-03-10 Jakub Jelinek <jakub@redhat.com>
45873 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
45875 2011-03-10 Ulrich Drepper <drepper@gmail.com>
45878 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
45879 copy from the symbol referenced in the relocation to initialize the
45881 Patch by Piotr Bury <pbury@goahead.com>.
45882 * elf/Makefile: Add rules to build and tst-unique3.
45883 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
45884 * elf/tst-unique3.cc: New file.
45885 * elf/tst-unique3.h: New file.
45886 * elf/tst-unique3lib.cc: New file.
45887 * elf/tst-unique3lib2.cc: New file.
45889 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
45891 2011-03-10 Mike Frysinger <vapier@gentoo.org>
45893 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
45894 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
45897 2011-03-06 Ulrich Drepper <drepper@gmail.com>
45899 * elf/dl-load.c (_dl_map_object): If we are looking for the first
45900 to-be-loaded object along a path to loader is ld.so.
45902 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45903 Ulrich Drepper <drepper@gmail.com>
45905 * sysdeps/x86_64/memset.S: After aligning destination, code
45906 branches to different locations depending on the value of
45907 misalignment, when multiarch is enabled. Fix this.
45909 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45911 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45912 Set _x86_64_preferred_memory_instruction for AMD processsors.
45913 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45914 Set bit_Prefer_SSE_for_memop for AMD processors.
45916 2011-03-04 Ulrich Drepper <drepper@gmail.com>
45918 * libio/fmemopen.c (fmemopen): Optimize a bit.
45920 2011-03-03 Andreas Schwab <schwab@redhat.com>
45922 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45924 2011-03-03 Roland McGrath <roland@redhat.com>
45926 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45928 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
45930 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
45931 __bzero_ultra1 instead of __memset_ultra1.
45933 2011-02-23 Andreas Schwab <schwab@redhat.com>
45934 Ulrich Drepper <drepper@gmail.com>
45937 * include/link.h (struct link_map): Add l_orig_initfini.
45938 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45939 returning unsuccessfully.
45940 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45941 close of a file loaded at startup, restore the original l_initfini
45943 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45944 list, store the pointer.
45945 * elf/Makefile ($(objpfx)noload-mem): New rule.
45946 (noload-ENV): Define.
45947 (tests): Add $(objpfx)noload-mem.
45948 * elf/noload.c: Include <memcheck.h>.
45949 (main): Call mtrace. Close all opened handles.
45951 2011-02-17 Andreas Schwab <schwab@redhat.com>
45954 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45955 dependencies are missing.
45957 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
45959 Fix __if_freereq crash: Unlike the generic version which uses free,
45961 * sysdeps/mach/hurd/ifreq.h: New file.
45963 2011-01-27 Petr Baudis <pasky@suse.cz>
45964 Ulrich Drepper <drepper@gmail.com>
45967 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45968 to extend_alloca().
45969 * stdio-common/bug23.c: New file.
45970 * stdio-common/Makefile (tests): Add bug23.
45972 2010-09-28 Andreas Schwab <schwab@redhat.com>
45973 Ulrich Drepper <drepper@gmail.com>
45976 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45977 before performing relro protection. At old place add assertion
45978 to make sure nothing changed.
45980 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
45981 Glauber de Oliveira Costa <glommer@gmail.com>
45983 * elf/elf.h: Add new ARM TLS relocs.
45985 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
45987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45988 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45990 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
45992 * sysdeps/wordsize-64/tst-writev.c: New file.
45994 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
45996 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45997 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45998 insns in _dl_start to prevent a TOC reference before relocs are
46001 2011-02-15 Ulrich Drepper <drepper@gmail.com>
46004 * Makeconfig: Remove RANLIB definition.
46005 * Makerules: Don't use RANLIB.
46006 * aclocal.m4: Remove ranlib test.
46007 * configure.in: No need to check for ranlib.
46008 * elf/rtld-Rules: Don't use RANLIB.
46010 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46012 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46014 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46015 inclusion protection macro.
46017 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46018 SIGRTMIN and SIGRTMAX and print information in that case only when
46019 SIGRTMIN is defined.
46021 2011-02-11 Jakub Jelinek <jakub@redhat.com>
46023 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46024 arginfo fn returning -1.
46026 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46027 and thousands string is zero terminated.
46029 2011-02-03 Andreas Schwab <schwab@redhat.com>
46031 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46032 sysdeps/unix/sysv/linux/bits/socket.h.
46034 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46036 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46037 (__CPU_COUNT): Remove old macros.
46038 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46039 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46040 (__CPU_ALLOC, __CPU_FREE): Add macros.
46041 (__sched_cpualloc, __sched_cpufree): Add declarations.
46043 2011-02-05 Ulrich Drepper <drepper@gmail.com>
46045 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46046 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46047 * nscd/aicache.c (addhstaiX): Return timeout of added value.
46048 (readdhstai): Return value of addhstaiX call.
46049 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46050 (addgrbyX): Return value returned by cache_addgr.
46051 (readdgrbyname): Return value returned by addgrbyX.
46052 (readdgrbygid): Likewise.
46053 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46054 (addpwbyX): Return value returned by cache_addpw.
46055 (readdpwbyname): Return value returned by addhstbyX.
46056 (readdpwbyuid): Likewise.
46057 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46058 (addservbyX): Return value returned by cache_addserv.
46059 (readdservbyname): Return value returned by addservbyX:
46060 (readdservbyport): Likewise.
46061 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46062 (addhstbyX): Return value returned by cache_addhst.
46063 (readdhstbyname): Return value returned by addhstbyX.
46064 (readdhstbyaddr): Likewise.
46065 (readdhstbynamev6): Likewise.
46066 (readdhstbyaddrv6): Likewise.
46067 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46068 (readdinitgroups): Return value returned by addinitgroupsX.
46069 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46070 (prune_cache): Keep track of timeout value of re-added entries.
46071 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46072 * nscd/nscd.h: Adjust prototypes of readd* functions.
46074 2011-02-04 Roland McGrath <roland@redhat.com>
46076 * nis/nis_server.c (nis_servstate): Use the right name for 0.
46077 (nis_stats): Likewise.
46078 * nis/nis_modify.c (nis_modify): Likewise.
46079 * nis/nis_remove.c (nis_remove): Likewise.
46080 * nis/nis_add.c (nis_add): Likewise.
46082 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46084 * posix/fnmatch_loop.c: Add some consts.
46086 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46088 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
46091 * config.make.in (config-cflags-novzeroupper): Define.
46092 * configure.in: Substitute libc_cv_cc_novzeroupper.
46093 * elf/Makefile (AVX-CFLAGS): Define.
46094 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46095 (CFLAGS-tst-auditmod4a.c): Likewise.
46096 (CFLAGS-tst-auditmod4b.c): Likewise.
46097 (CFLAGS-tst-auditmod6b.c): Likewise.
46098 (CFLAGS-tst-auditmod6c.c): Likewise.
46099 (CFLAGS-tst-auditmod7b.c): Likewise.
46100 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46102 2011-02-02 Ulrich Drepper <drepper@gmail.com>
46104 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46105 function to the callback.
46106 Patch partly by Jiri Olsa <jolsa@redhat.com>.
46108 2011-02-02 Andreas Schwab <schwab@redhat.com>
46110 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46113 2011-01-19 Ulrich Drepper <drepper@gmail.com>
46116 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46118 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46120 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46123 * elf/Makefile: Add rules to build and run new test.
46124 * elf/tst-initorder.c: New file.
46125 * elf/tst-initorder.exp: New file.
46126 * elf/tst-initordera1.c: New file.
46127 * elf/tst-initordera2.c: New file.
46128 * elf/tst-initordera3.c: New file.
46129 * elf/tst-initordera4.c: New file.
46130 * elf/tst-initorderb1.c: New file.
46131 * elf/tst-initorderb2.c: New file.
46132 * elf/tst-order-a1.c: New file.
46133 * elf/tst-order-a2.c: New file.
46134 * elf/tst-order-a3.c: New file.
46135 * elf/tst-order-a4.c: New file.
46136 * elf/tst-order-b1.c: New file.
46137 * elf/tst-order-b2.c: New file.
46138 * elf/tst-order-main.c: New file.
46139 New test case by George Gensure <werkt0@gmail.com>.
46141 2010-10-01 Andreas Schwab <schwab@redhat.com>
46143 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46144 decoding ACE if AI_CANONIDN.
46146 2011-01-18 Ulrich Drepper <drepper@gmail.com>
46148 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46150 2011-01-17 Ulrich Drepper <drepper@gmail.com>
46152 * version.h (RELEASE): Bump for 2.13 release.
46153 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46155 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46157 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46159 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46160 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46161 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46162 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46163 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46164 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46166 * posix/getconf.c: Update copyright year.
46167 * catgets/gencat.c: Likewise.
46168 * csu/version.c: Likewise.
46169 * debug/catchsegv.sh: Likewise.
46170 * debug/xtrace.sh: Likewise.
46171 * elf/ldconfig.c: Likewise.
46172 * elf/ldd.bash.in: Likewise.
46173 * elf/sprof.c (print_version): Likewise.
46174 * iconv/iconv_prog.c: Likewise.
46175 * iconv/iconvconfig.c: Likewise.
46176 * locale/programs/locale.c: Likewise.
46177 * locale/programs/localedef.c: Likewise.
46178 * malloc/memusage.sh: Likewise.
46179 * malloc/mtrace.pl: Likewise.
46180 * nscd/nscd.c (print_version): Likewise.
46181 * nss/getent.c: Likewise.
46183 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46184 PF_CAIF, and PF_ALG.
46185 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46187 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
46189 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46190 (modules-names): Use them.
46191 (ifunc-test-modules, ifunc-pie-tests): Define.
46192 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46193 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46194 (test-extras): Likewise.
46195 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46196 $(compile-command.c).
46197 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46198 (all-built-dso): Define.
46199 (check-textrel.out, check-execstack.out): Depend on it.
46201 * configure.in: Don't override --enable-multi-arch.
46203 2011-01-15 Ulrich Drepper <drepper@gmail.com>
46206 * nscd/hstcache.c (tryagain): Define.
46207 (cache_addhst): Return tryagain not notfound for temporary errors.
46208 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46211 2011-01-14 Ulrich Drepper <drepper@gmail.com>
46214 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46215 to make the syscall.
46216 * sysdeps/unix/sysv/linux/setgroups.c: New file.
46219 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46220 and fall back to matching as normal character if the string ends before
46221 the matching ']' is found. This is what POSIX requires.
46222 * posix/testfnm.c: Adjust test result.
46223 * posix/globtest.sh: Adjust test result. Add new test.
46224 * posix/tst-fnmatch.input: Likewise.
46225 * posix/tst-fnmatch2.c: Add new test.
46227 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
46229 * elf/Makefile (check-execstack): Revert last change. Depend on
46231 (check-execstack.h): New target.
46232 (generated): Add check-execstack.h.
46233 * elf/check-execstack.c: Include "check-execstack.h".
46234 (main): Revert last change.
46235 (handle_file): Return zero if GNU_STACK is absent and
46236 DEFAULT_STACK_PERMS doesn't include PF_X.
46238 2011-01-13 Ulrich Drepper <drepper@gmail.com>
46240 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46241 in child fails because the descriptor is already closed.
46242 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46243 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46244 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46247 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46251 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46252 temporary buffer used to handle multi lookups locally.
46253 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46255 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46257 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46260 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
46262 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46263 alignment for SSE2.
46265 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46268 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46269 characters. When rounding increased number of integer digits recompute
46271 * stdio-common/tst-grouping.c: New file.
46272 * stdio-common/Makefile: Add rules to build and run tst-grouping.
46274 2011-01-09 Ulrich Drepper <drepper@gmail.com>
46276 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46277 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
46279 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46281 * bits/select.h: Likewise.
46283 2011-01-08 Ulrich Drepper <drepper@gmail.com>
46285 * po/ja.po: Update from translation team.
46287 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
46290 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46291 implementation just like for lxstat, fxstatat, et al.
46293 2010-12-27 Jim Meyering <meyering@redhat.com>
46296 * posix/regexec.c (build_trtable): Return failure indication upon
46297 calloc failure. Otherwise, re_search_internal could infloop on OOM.
46299 2010-12-25 Ulrich Drepper <drepper@gmail.com>
46302 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46303 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46304 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46305 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46308 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46311 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46312 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46314 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
46316 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46317 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46318 script has SORT_BY_INIT_PRIORITY.
46319 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46320 NO_CTORS_DTORS_SECTIONS is defined.
46321 * elf/soinit.c: Likewise.
46322 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46323 NO_CTORS_DTORS_SECTIONS is defined.
46324 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46325 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46326 * sysdeps/sh/init-first.c: Likewise.
46327 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46329 2010-12-24 Ulrich Drepper <drepper@gmail.com>
46331 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46332 always use the slow path.
46334 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
46336 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46337 similar rule which adds the sysdep directories to the header search in
46338 order to pick up the correct platform stackinfo.h.
46339 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46340 perform test if it is, otherwise return successfully without testing.
46341 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46342 DEFAULT_STACK_PERMS define in stackinfo.h.
46343 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46344 defined in stackinfo.h.
46345 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46346 DEFAULT_STACK_PERMS defined in stackinfo.h.
46347 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46348 * sysdeps/ia64/stackinfo.h: Likewise.
46349 * sysdeps/s390/stackinfo.h: Likewise.
46350 * sysdeps/sh/stackinfo.h: Likewise.
46351 * sysdeps/sparc/stackinfo.h: Likewise.
46352 * sysdeps/x86_64/stackinfo.h: Likewise.
46353 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46354 PF_X for powerpc64. Retain PF_X for powerpc32.
46356 2010-12-19 Ulrich Drepper <drepper@gmail.com>
46358 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46360 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46361 GETDENTS_64BIT_ALIGNED.
46363 2010-12-14 Ulrich Drepper <dreper@gmail.com>
46365 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46367 2010-12-10 Andreas Schwab <schwab@redhat.com>
46369 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46372 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46373 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46375 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46376 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46378 2010-12-09 Ulrich Drepper <drepper@gmail.com>
46381 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46384 2010-12-09 Jakub Jelinek <jakub@redhat.com>
46386 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46388 2010-12-03 Ulrich Drepper <drepper@gmail.com>
46390 * po/it.po: Update from translation team.
46392 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
46394 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46397 2010-11-30 Ulrich Drepper <drepper@gmail.com>
46399 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46401 2010-11-24 Andreas Schwab <schwab@redhat.com>
46403 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46405 (gaih_getanswer_slice): Likewise.
46407 2010-10-20 Jakub Jelinek <jakub@redhat.com>
46409 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46411 2010-05-31 Petr Baudis <pasky@suse.cz>
46414 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46415 silently even in the chroot mode.
46417 2010-11-22 Ulrich Drepper <drepper@gmail.com>
46419 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46420 last patch a bit. Pretty printing
46422 2010-05-31 Petr Baudis <pasky@suse.cz>
46425 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46426 initialization of skip_initgroups_dyn.
46428 2010-11-19 Ulrich Drepper <drepper@gmail.com>
46430 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46431 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46433 2010-11-16 Ulrich Drepper <drepper@gmail.com>
46435 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46437 2010-11-11 Andreas Schwab <schwab@redhat.com>
46439 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46440 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46441 (tst-fnmatch-ENV): Set MALLOC_TRACE.
46442 ($(objpfx)tst-fnmatch-mem): New rule.
46443 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46444 * posix/tst-fnmatch.c (main): Call mtrace.
46446 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
46448 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46449 Support Intel processor model 6 and model 0x2c.
46451 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
46453 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46456 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
46459 * string/test-strncasecmp.c (check_result): New function.
46460 (do_one_test): Use it.
46461 (check1): New function.
46462 (test_main): Use it.
46463 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46464 Support strcasecmp and strncasecmp.
46466 2010-11-08 Ulrich Drepper <drepper@gmail.com>
46469 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46470 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46472 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
46474 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46476 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46478 * sysdeps/x86_64/multiarch/bzero.S: New file.
46479 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46480 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46481 * sysdeps/x86_64/multiarch/memset.S: New file.
46482 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46483 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46484 Set bit_Prefer_SSE_for_memop for Intel processors.
46485 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46487 (index_Prefer_SSE_for_memop): Define.
46488 (HAS_PREFER_SSE_FOR_MEMOP): Define.
46490 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
46492 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46493 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46495 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
46498 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46499 (__x86_64_raw_data_cache_size_half): Likewise.
46500 (__x86_64_raw_shared_cache_size): Likewise.
46501 (__x86_64_raw_shared_cache_size_half): Likewise.
46503 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46504 (__x86_64_raw_data_cache_size_half): Likewise.
46505 (__x86_64_raw_shared_cache_size): Likewise.
46506 (__x86_64_raw_shared_cache_size_half): Likewise.
46507 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46508 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46509 and __x86_64_raw_shared_cache_size_half. Round
46510 __x86_64_data_cache_size_half, __x86_64_data_cache_size
46511 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46512 to multiple of 256 bytes.
46514 2010-11-03 Ulrich Drepper <drepper@gmail.com>
46517 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46518 of inacessible symlinks. Verify result of symlink before returning it.
46519 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46520 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46522 2010-10-28 Erich Ritz <erichritz@gmail.com>
46524 * math/math.h (isinf): Fix typo in comment.
46526 2010-11-01 Ulrich Drepper <drepper@gmail.com>
46528 * po/da.po: Update from translation team.
46530 2010-10-26 Ulrich Drepper <drepper@gmail.com>
46532 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46533 is added to the list.
46535 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46536 Ulrich Drepper <drepper@gmail.com>
46538 * elf/dl-object.c (_dl_new_object): Don't append the new object to
46539 the global list here. Move code to...
46540 (_dl_add_to_namespace_list): ...here. New function.
46541 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46542 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46543 * elf/dl-load.c (lose): Don't remove the element from the list.
46544 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46545 (_dl_map_object): Likewise.
46547 2010-10-25 Ulrich Drepper <drepper@gmail.com>
46550 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46551 into all bytes of SSE register.
46552 Patch by Richard Li <richardpku@gmail.com>.
46554 2010-10-24 Ulrich Drepper <drepper@gmail.com>
46557 * malloc/malloc.c (_int_free): Fill correct number of bytes when
46560 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
46562 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46563 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46564 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46565 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46570 2010-10-22 Andreas Schwab <schwab@redhat.com>
46572 * include/dlfcn.h (__RTLD_SECURE): Define.
46573 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
46574 mode & __RTLD_SECURE instead.
46575 (open_path): Rename preloaded parameter to secure.
46576 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46577 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46578 * elf/dl-deps.c (openaux): Likewise.
46579 * elf/rtld.c (struct map_args): Remove is_preloaded.
46580 (map_doit): Don't use it.
46581 (dl_main): Likewise.
46582 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46583 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46585 2010-09-09 Andreas Schwab <schwab@redhat.com>
46587 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46588 (sysd-rules-targets): Remove duplicates.
46589 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46590 rtld-%.$o dependency.
46592 2010-10-18 Andreas Schwab <schwab@redhat.com>
46594 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46595 _dl_map_object do it.
46597 2010-10-19 Ulrich Drepper <drepper@gmail.com>
46599 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46600 fast fma builtins, define the macros in the C99 standard.
46601 (FP_FAST_FMAF): Likewise.
46602 (FP_FAST_FMAL): Likewise.
46603 * sysdeps/x86_64/bits/mathdef.h: Likewise.
46605 * bits/mathdef.h: Update copyright year.
46606 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46608 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
46610 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46611 builtins, define the macros in the C99 standard.
46612 (FP_FAST_FMAF): Likewise.
46613 (FP_FAST_FMAL): Likewise.
46614 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46616 (FP_FAST_FMAF): Likewise.
46618 2010-10-15 Jakub Jelinek <jakub@redhat.com>
46621 * math/libm-test.inc (fma_test): Some new testcases.
46622 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46623 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46624 y and infinite z. Do multiplication by C already in long double.
46625 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46626 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46627 y and infinite z. Do bitwise or of inexact bit into u.d.
46628 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46629 * sysdeps/i386/fpu/s_fmaf.S: Removed.
46630 * sysdeps/i386/fpu/s_fma.S: Removed.
46631 * sysdeps/i386/fpu/s_fmal.S: Removed.
46633 2010-10-16 Jakub Jelinek <jakub@redhat.com>
46636 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46637 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46638 computation is not scheduled after fetestexcept. Fix value
46639 of minimum denormal long double.
46641 2010-10-14 Jakub Jelinek <jakub@redhat.com>
46644 * math/libm-test.inc (fma_test): Add some more tests.
46645 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46648 2010-10-15 Andreas Schwab <schwab@redhat.com>
46650 * scripts/data/localplt-s390-linux-gnu.data: New file.
46651 * scripts/data/localplt-s390x-linux-gnu.data: New file.
46653 2010-10-13 Jakub Jelinek <jakub@redhat.com>
46656 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46657 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46659 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46661 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46662 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46663 if one of x and y is very large and the other is subnormal.
46664 * sysdeps/s390/fpu/s_fmaf.c: New file.
46665 * sysdeps/s390/fpu/s_fma.c: New file.
46666 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46667 * sysdeps/powerpc/fpu/s_fma.S: New file.
46668 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46669 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46670 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46672 2010-10-12 Jakub Jelinek <jakub@redhat.com>
46675 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46677 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46678 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46679 * sysdeps/i386/i686/multiarch/s_fma.c: Include
46680 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46681 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46682 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46683 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46685 2010-10-12 Ulrich Drepper <drepper@redhat.com>
46688 * posix/regcomp.c (parse_branch): One more memory leak plugged.
46689 * posix/bug-regex31.input: Add test case.
46691 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46693 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46694 * posix/bug-regex31.input: New file.
46697 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46698 (parse_sub_exp): Fix last change, use postorder.
46700 * posix/bug-regex31.c: New file.
46701 * posix/Makefile: Add rules to build and run bug-regex31.
46703 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46706 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46709 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46710 to have entries in sys_siglist.
46713 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46716 2010-10-07 Jakub Jelinek <jakub@redhat.com>
46719 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46720 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46721 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46722 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46723 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46724 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46725 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46726 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46727 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46728 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46729 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46730 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46731 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46732 * math/ftestexcept.c (fetestexcept): Likewise.
46733 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46734 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
46735 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
46736 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
46737 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
46738 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
46739 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46741 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46744 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
46747 2010-10-06 Ulrich Drepper <drepper@gmail.com>
46749 * string/bug-strstr1.c: New file.
46750 * string/Makefile: Add rules to build and run bug-strstr1.
46752 2010-10-05 Eric Blake <eblake@redhat.com>
46755 * string/str-two-way.h (two_way_long_needle): Always clear memory
46756 when skipping input due to the shift table.
46758 2010-10-03 Ulrich Drepper <drepper@gmail.com>
46761 * malloc/mcheck.c: Handle large requests.
46764 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
46765 for strncmp and strncasecmp.
46766 * string/stratcliff.c: Add tests for strcmp and strncmp.
46767 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
46769 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46771 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
46774 2010-09-30 Andreas Jaeger <aj@suse.de>
46776 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
46777 (CGROUP_SUPER_MAGIC): Define.
46778 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46779 Handle btrfs and cgroup file systems.
46780 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46783 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
46785 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
46786 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
46788 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46791 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
46792 trying to locate the ELF header.
46794 2010-09-27 Andreas Schwab <schwab@redhat.com>
46797 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
46798 Mask out sign-bit copies when constructing f_fsid.
46800 2010-09-24 Petr Baudis <pasky@suse.cz>
46802 * debug/stack_chk_fail_local.c: Add missing licence exception.
46803 * debug/warning-nop.c: Likewise.
46805 2010-09-15 Joseph Myers <joseph@codesourcery.com>
46807 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
46808 implementing getdents64 using getdents syscall, set d_type if
46809 __ASSUME_GETDENTS32_D_TYPE.
46811 2010-09-16 Andreas Schwab <schwab@redhat.com>
46813 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
46814 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
46816 2010-09-21 Ulrich Drepper <drepper@redhat.com>
46819 * posix/unistd.h: Undo change of feature selection for ftruncate from
46822 2010-09-20 Ulrich Drepper <drepper@redhat.com>
46824 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
46827 2010-09-20 Andreas Schwab <schwab@redhat.com>
46829 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
46831 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46833 2010-09-14 Andreas Schwab <schwab@redhat.com>
46835 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
46836 variables after CHECK_SP call.
46837 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
46839 2010-09-13 Andreas Schwab <schwab@redhat.com>
46840 Ulrich Drepper <drepper@redhat.com>
46842 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
46843 re-relocationg ld.so.
46844 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
46845 _dl_init_paths call.
46846 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
46849 2010-09-14 Ulrich Drepper <drepper@redhat.com>
46851 * resolv/res_init.c (__res_vinit): Count the default server we added.
46853 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
46854 Ulrich Drepper <drepper@redhat.com>
46857 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46858 (____longjmp_chk): Use %ebx for saving value across system call.
46861 2010-09-06 Andreas Schwab <schwab@redhat.com>
46863 * manual/Makefile: Don't mix pattern rules with normal rules.
46865 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
46867 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
46869 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
46870 * libio/iofopncook.c (_IO_cookie_init): Likewise.
46871 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
46872 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
46873 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46876 2010-09-04 Ulrich Drepper <drepper@redhat.com>
46879 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
46880 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
46882 2010-09-02 Ulrich Drepper <drepper@redhat.com>
46884 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
46885 * sysdeps/x86_64/addmul_1.S: Likewise.
46886 * sysdeps/x86_64/lshift.S: Likewise.
46887 * sysdeps/x86_64/mul_1.S: Likewise.
46888 * sysdeps/x86_64/rshift.S: Likewise.
46889 * sysdeps/x86_64/sub_n.S: Likewise.
46890 * sysdeps/x86_64/submul_1.S: Likewise.
46892 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
46894 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
46895 Define __sched_param instead of SCHED_* and sched_param when
46896 <bits/sched.h> is included with __need_schedparam defined.
46897 * bits/sched.h [__need_schedparam]
46898 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
46899 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
46900 (__defined_schedparam): Define to 1.
46901 (__sched_param): New structure, identical to sched_param.
46902 (__need_schedparam): Undefine.
46904 2010-08-31 Mike Frysinger <vapier@gentoo.org>
46906 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
46907 (epoll_create1): Declare.
46909 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
46911 2010-08-31 Andreas Schwab <schwab@redhat.com>
46914 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
46915 shifting retval into place.
46917 2010-09-01 Ulrich Drepper <drepper@redhat.com>
46919 * nis/rpcsvc/nis.h: Update copyright notice.
46920 * nis/rpcsvc/nis.x: Likewise.
46921 * nis/rpcsvc/nis_callback.h: Likewise.
46922 * nis/rpcsvc/nis_callback.x: Likewise.
46923 * nis/rpcsvc/nis_object.x: Likewise.
46924 * nis/rpcsvc/nis_tags.h: Likewise.
46925 * nis/rpcsvc/yp.h: Likewise.
46926 * nis/rpcsvc/yp.x: Likewise.
46927 * nis/rpcsvc/ypupd.h: Likewise.
46928 * nis/yp_xdr.c: Likewise.
46929 * nis/ypupdate_xdr.c: Likewise.
46931 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
46932 mainly the body of pmap_getport. Add parameters to specify timeouts.
46933 (pmap_getport): Use __libc_rpc_getport.
46934 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46935 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46936 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46938 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
46940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46943 2010-08-27 Roland McGrath <roland@redhat.com>
46945 * sysdeps/i386/i686/multiarch/Makefile
46946 (CFLAGS-varshift.c): New variable.
46948 2010-08-27 Ulrich Drepper <drepper@redhat.com>
46950 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46951 * sysdeps/i386/i686/multiarch/varshift.c: New file.
46953 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46955 * sysdeps/x86_64/strlen.S: Minimal code improvement.
46957 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
46959 * sysdeps/x86_64/strlen.S: Unroll the loop.
46960 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46961 strlen-sse2 strlen-sse2-bsf.
46962 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46963 __strlen_no_bsf if bit_Slow_BSF is set.
46964 (__strlen_sse42): Removed.
46965 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46966 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46968 2010-08-25 Roland McGrath <roland@redhat.com>
46970 * sysdeps/x86_64/multiarch/varshift.S: File removed.
46971 * sysdeps/x86_64/multiarch/varshift.c: New file.
46972 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46973 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46974 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46975 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46977 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
46979 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46980 strlen-sse2 strlen-sse2-bsf.
46981 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46982 __strlen_sse2_bsf if bit_Slow_BSF is unset.
46983 (__strlen_sse2): Removed.
46984 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46985 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46986 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46987 bit_Slow_BSF for Atom.
46988 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46989 (index_Slow_BSF): Define.
46990 (HAS_SLOW_BSF): Define.
46992 2010-08-25 Ulrich Drepper <drepper@redhat.com>
46995 * resolv/res_init.c (__res_vinit): When no server address at all
46996 is given default to loopback.
46998 2010-08-24 Roland McGrath <roland@redhat.com>
47000 * configure.in: Remove config-name.h generation.
47001 * configure: Regenerated.
47002 * config-name.in: File removed.
47003 * scripts/config-uname.sh: New file.
47004 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47005 ($(objdir)config-name.h): New target.
47007 * sunrpc/rpc_parse.h: Avoid nested comment.
47009 2010-08-24 Richard Henderson <rth@redhat.com>
47010 Ulrich Drepper <drepper@redhat.com>
47011 H.J. Lu <hongjiu.lu@intel.com>
47013 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47014 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47015 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47016 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47017 _mm_alignr_epi8 with _mm_loadu_si128.
47018 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47019 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47020 (__m128i_shift_right): Removed.
47021 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47022 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47023 * sysdeps/x86_64/multiarch/varshift.h: New file.
47024 * sysdeps/x86_64/multiarch/varshift.S: New file.
47026 2010-08-21 Mike Frysinger <vapier@gentoo.org>
47028 * configure.in: Move assembler checks to before sysdep dir checking.
47030 2010-08-20 Petr Baudis <pasky@suse.cz>
47032 * LICENSES: Sync the sunrpc license.
47034 2010-08-19 Ulrich Drepper <drepper@redhat.com>
47036 * sunrpc/auth_des.c: Update copyright notice once again.
47037 * sunrpc/auth_none.c: Likewise.
47038 * sunrpc/auth_unix.c: Likewise.
47039 * sunrpc/authdes_prot.c: Likewise.
47040 * sunrpc/authuxprot.c: Likewise.
47041 * sunrpc/bindrsvprt.c: Likewise.
47042 * sunrpc/clnt_gen.c: Likewise.
47043 * sunrpc/clnt_perr.c: Likewise.
47044 * sunrpc/clnt_raw.c: Likewise.
47045 * sunrpc/clnt_simp.c: Likewise.
47046 * sunrpc/clnt_tcp.c: Likewise.
47047 * sunrpc/clnt_udp.c: Likewise.
47048 * sunrpc/clnt_unix.c: Likewise.
47049 * sunrpc/des_crypt.c: Likewise.
47050 * sunrpc/des_soft.c: Likewise.
47051 * sunrpc/get_myaddr.c: Likewise.
47052 * sunrpc/getrpcport.c: Likewise.
47053 * sunrpc/key_call.c: Likewise.
47054 * sunrpc/key_prot.c: Likewise.
47055 * sunrpc/openchild.c: Likewise.
47056 * sunrpc/pm_getmaps.c: Likewise.
47057 * sunrpc/pm_getport.c: Likewise.
47058 * sunrpc/pmap_clnt.c: Likewise.
47059 * sunrpc/pmap_prot.c: Likewise.
47060 * sunrpc/pmap_prot2.c: Likewise.
47061 * sunrpc/pmap_rmt.c: Likewise.
47062 * sunrpc/rpc/auth.h: Likewise.
47063 * sunrpc/rpc/auth_unix.h: Likewise.
47064 * sunrpc/rpc/clnt.h: Likewise.
47065 * sunrpc/rpc/des_crypt.h: Likewise.
47066 * sunrpc/rpc/key_prot.h: Likewise.
47067 * sunrpc/rpc/netdb.h: Likewise.
47068 * sunrpc/rpc/pmap_clnt.h: Likewise.
47069 * sunrpc/rpc/pmap_prot.h: Likewise.
47070 * sunrpc/rpc/pmap_rmt.h: Likewise.
47071 * sunrpc/rpc/rpc.h: Likewise.
47072 * sunrpc/rpc/rpc_des.h: Likewise.
47073 * sunrpc/rpc/rpc_msg.h: Likewise.
47074 * sunrpc/rpc/svc.h: Likewise.
47075 * sunrpc/rpc/svc_auth.h: Likewise.
47076 * sunrpc/rpc/types.h: Likewise.
47077 * sunrpc/rpc/xdr.h: Likewise.
47078 * sunrpc/rpc_clntout.c: Likewise.
47079 * sunrpc/rpc_cmsg.c: Likewise.
47080 * sunrpc/rpc_common.c: Likewise.
47081 * sunrpc/rpc_cout.c: Likewise.
47082 * sunrpc/rpc_dtable.c: Likewise.
47083 * sunrpc/rpc_hout.c: Likewise.
47084 * sunrpc/rpc_main.c: Likewise.
47085 * sunrpc/rpc_parse.c: Likewise.
47086 * sunrpc/rpc_parse.h: Likewise.
47087 * sunrpc/rpc_prot.c: Likewise.
47088 * sunrpc/rpc_sample.c: Likewise.
47089 * sunrpc/rpc_scan.c: Likewise.
47090 * sunrpc/rpc_scan.h: Likewise.
47091 * sunrpc/rpc_svcout.c: Likewise.
47092 * sunrpc/rpc_tblout.c: Likewise.
47093 * sunrpc/rpc_util.c: Likewise.
47094 * sunrpc/rpc_util.h: Likewise.
47095 * sunrpc/rpcinfo.c: Likewise.
47096 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47097 * sunrpc/rpcsvc/key_prot.x: Likewise.
47098 * sunrpc/rpcsvc/klm_prot.x: Likewise.
47099 * sunrpc/rpcsvc/mount.x: Likewise.
47100 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47101 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47102 * sunrpc/rpcsvc/rex.x: Likewise.
47103 * sunrpc/rpcsvc/rstat.x: Likewise.
47104 * sunrpc/rpcsvc/rusers.x: Likewise.
47105 * sunrpc/rpcsvc/sm_inter.x: Likewise.
47106 * sunrpc/rpcsvc/spray.x: Likewise.
47107 * sunrpc/rpcsvc/yppasswd.x: Likewise.
47108 * sunrpc/rtime.c: Likewise.
47109 * sunrpc/svc.c: Likewise.
47110 * sunrpc/svc_auth.c: Likewise.
47111 * sunrpc/svc_authux.c: Likewise.
47112 * sunrpc/svc_raw.c: Likewise.
47113 * sunrpc/svc_run.c: Likewise.
47114 * sunrpc/svc_simple.c: Likewise.
47115 * sunrpc/svc_tcp.c: Likewise.
47116 * sunrpc/svc_udp.c: Likewise.
47117 * sunrpc/svc_unix.c: Likewise.
47118 * sunrpc/svcauth_des.c: Likewise.
47119 * sunrpc/xcrypt.c: Likewise.
47120 * sunrpc/xdr.c: Likewise.
47121 * sunrpc/xdr_array.c: Likewise.
47122 * sunrpc/xdr_float.c: Likewise.
47123 * sunrpc/xdr_mem.c: Likewise.
47124 * sunrpc/xdr_rec.c: Likewise.
47125 * sunrpc/xdr_ref.c: Likewise.
47126 * sunrpc/xdr_sizeof.c: Likewise.
47127 * sunrpc/xdr_stdio.c: Likewise.
47129 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47132 2010-08-19 Andreas Schwab <schwab@redhat.com>
47134 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47136 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
47138 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47139 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47140 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47141 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47142 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47143 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47144 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47145 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47146 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47147 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47148 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47149 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47150 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47151 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47153 2010-07-26 Anton Blanchard <anton@samba.org>
47155 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47156 * malloc/arena.c (heap_trim): Likewise.
47158 2010-08-16 Ulrich Drepper <drepper@redhat.com>
47160 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47162 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47163 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47165 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
47167 * sysdeps/i386/elf/Makefile: New file.
47169 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47171 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47172 from fanotify_init.
47173 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47174 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47176 2010-08-15 Ulrich Drepper <drepper@redhat.com>
47178 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47180 * sysdeps/multiarch/strcmp.S: Likewise.
47182 2010-08-14 Ulrich Drepper <drepper@redhat.com>
47184 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47185 strncase_l-nonascii.
47186 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47187 Add strncase_l-ssse3.
47188 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47189 * sysdeps/x86_64/strcmp.S: Likewise.
47190 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47191 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47192 * sysdeps/x86_64/strncase.S: New file.
47193 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47194 * sysdeps/x86_64/strncase_l.S: New file.
47195 * string/Makefile (strop-tests): Add strncasecmp.
47196 * string/test-strncasecmp.c: New file.
47198 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47201 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47202 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47204 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47206 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47208 2010-08-12 Ulrich Drepper <drepper@redhat.com>
47210 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47211 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47212 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47214 2010-05-01 Alan Modra <amodra@gmail.com>
47216 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47217 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47218 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47219 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47220 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47221 tidying. Don't tail-call __sigjmp_save for static lib.
47222 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47224 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47225 (CALL_MCOUNT): Add eh info, and nop after bl.
47226 (TAIL_CALL_SYSCALL_ERROR): New macro.
47227 (PSEUDO_RET): Use it.
47228 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47229 Correct save location of integer regs and cr.
47230 (_dl_profile_resolve): Correct cr save location. Delete nops
47231 after bl when SHARED. Reduce cfi size a little by better
47232 placement of cfi directives.
47233 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47234 make a stack frame. Instead use parm save area as a temp.
47235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47236 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
47237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47238 Don't make a stack frame for parent, use parm save area.
47239 Increase child stack frame to 112 bytes. Don't save unused reg,
47240 and adjust reg usage. Set up cfi on error recovery and
47241 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47243 (__makecontext): Add dummy nop after jump to exit.
47244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47245 Use correct parm save area and cr save, reduce stack frame.
47246 Correct cfi for possible PSEUDO_RET frame setup.
47247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47248 Branch to local label emitted by PSEUDO_RET rather than
47251 2010-08-12 Andreas Schwab <schwab@redhat.com>
47254 * locale/programs/locale.c (print_assignment): New function.
47255 (show_locale_vars): Use it.
47257 2010-08-11 Ulrich Drepper <drepper@redhat.com>
47259 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47261 (struct statfs64): Likewise.
47262 (_STATFS_F_FLAGS): Define.
47263 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47264 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47265 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47266 (ST_VALID): Define locally.
47267 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47268 __statvfs_getflags, use the provided value.
47269 * sysdeps/unix/sysv/linux/kernel-features.h: Define
47270 __ASSUME_STATFS_F_FLAGS.
47272 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47274 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47275 Add sys/fanotify.h.
47276 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47277 fanotify_mask for GLIBC_2.13.
47278 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47279 fanotify_init and fanotify_mark.
47280 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47281 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47283 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47285 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47286 prlimit64 for GLIBC_2.13.
47287 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47289 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47292 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47293 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47294 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47295 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
47297 * sysdeps/unix/sysv/linux/prlimit.c: New file.
47300 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47301 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47303 * nss/Makefile: Add rules to build and run tst-nss-test1.
47304 * shlib-versions: Add entry for libnss_test1.
47305 * nss/nss_test1.c: New file.
47306 * nss/tst-nss-test1.c: New file.
47308 * nss/nsswitch.c (__nss_database_custom): Define new variable.
47309 (__nss_configure_lookup): Set appropriate entry in
47310 __nss_configure_lookup to true.
47311 * nss/nsswitch.h: Define enum with indeces of databases in
47312 databases and __nss_database_custom arrays. Declare
47313 __nss_database_custom.
47314 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47315 to avoid using nscd when custom rules are installed.
47316 * nss/getXXbyYY_r.c: Likewise.
47317 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47319 * nss/nss_files/files-parse.c: Whitespace fixes.
47321 2010-08-09 Ulrich Drepper <drepper@redhat.com>
47324 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47325 * posix/fnmatch_loop.c: Likewise.
47327 2010-07-17 Andi Kleen <ak@linux.intel.com>
47329 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47330 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47331 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47332 * Versions.def [GLIBC_2.13]: Add.
47334 2010-08-06 Ulrich Drepper <drepper@redhat.com>
47336 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47337 Also fail if tpwd after pwuid call is NULL.
47339 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
47341 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47342 when converting to ms.
47344 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47346 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47347 EOPNOTSUPP errors with ENOTTY.
47348 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47349 EOPNOTSUPP errors with ENOTTY.
47351 2010-07-31 Ulrich Drepper <drepper@redhat.com>
47353 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47354 Add strcasecmp_l-ssse3.
47355 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47357 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47358 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47359 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47361 2010-07-30 Ulrich Drepper <drepper@redhat.com>
47363 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47365 * string/Makefile (strop-tests): Add strcasecmp.
47366 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47367 strcasecmp_l-nonascii.
47368 (gen-as-const-headers): Add locale-defines.sym.
47369 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47370 * sysdeps/x86_64/strcasecmp.S: New file.
47371 * sysdeps/x86_64/strcasecmp_l.S: New file.
47372 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47373 * sysdeps/x86_64/locale-defines.sym: New file.
47374 * string/test-strcasecmp.c: New file.
47376 * string/test-strcasestr.c: Test both ends of the range of characters.
47377 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47379 2010-07-29 Roland McGrath <roland@redhat.com>
47382 * manual/locale.texi (Yes-or-No Questions): Fix example code.
47384 2010-07-27 Ulrich Drepper <drepper@redhat.com>
47386 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47389 2010-07-27 Andreas Schwab <schwab@redhat.com>
47391 * manual/memory.texi (Malloc Tunable Parameters): Document
47394 2010-07-26 Roland McGrath <roland@redhat.com>
47397 * configure.in (-fgnu89-inline check): Set and substitute
47398 gnu89_inline, not libc_cv_gnu89_inline.
47399 * configure: Regenerated.
47400 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47402 2010-07-26 Ulrich Drepper <drepper@redhat.com>
47404 * string/test-strnlen.c: New file.
47405 * string/Makefile (strop-tests): Add strnlen.
47406 * string/tester.c (test_strnlen): Add a few more test cases.
47407 * string/tst-strlen.c: Better error reporting.
47409 * sysdeps/x86_64/strnlen.S: New file.
47411 2010-07-24 Ulrich Drepper <drepper@redhat.com>
47413 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47414 lower-latency instructions.
47416 2010-07-23 Ulrich Drepper <drepper@redhat.com>
47418 * string/test-strcasestr.c: New file.
47419 * string/test-strstr.c: New file.
47420 * string/Makefile (strop-tests): Add strstr and strcasestr.
47421 * string/str-two-way.h: Don't undefine MAX.
47422 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47424 2010-07-21 Andreas Schwab <schwab@redhat.com>
47426 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47427 strcasestr-nonascii.
47428 (CFLAGS-strcasestr-nonascii.c): Define.
47429 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47430 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47431 Remove unused attribute.
47433 2010-07-20 Roland McGrath <roland@redhat.com>
47435 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47436 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
47437 ld.so.cache was broken. With it, there is no way to disable dsocaps
47438 like LD_HWCAP_MASK can disable hwcaps.
47440 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47442 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47444 2010-07-16 Ulrich Drepper <drepper@redhat.com>
47446 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47447 call in strcasestr.
47448 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47449 __strcasestr_sse42_nonascii.
47450 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47451 strcasestr-nonascii.c.
47452 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47454 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
47456 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47457 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47458 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47459 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47461 2010-07-09 Ulrich Drepper <drepper@redhat.com>
47463 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47466 2010-07-06 Andreas Schwab <schwab@redhat.com>
47469 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47472 2010-07-06 Ulrich Drepper <drepper@redhat.com>
47474 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47475 _PC_PIPE_BUF using F_GETPIPE_SZ.
47477 2010-07-05 Roland McGrath <roland@redhat.com>
47479 * manual/arith.texi (Rounding Functions): Fix rint description
47480 implicit in round description.
47482 2010-07-02 Ulrich Drepper <drepper@redhat.com>
47484 * elf/Makefile: Fix linking for a few tests to make recent linker
47487 2010-06-30 Andreas Schwab <schwab@redhat.com>
47489 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47490 $(common-objpfx)libc_nonshared.a.
47492 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
47494 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47495 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47496 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47497 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47498 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47499 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47500 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47501 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47516 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47517 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47518 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47519 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47520 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47521 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47522 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47523 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47524 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47525 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47526 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47527 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47543 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
47545 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47546 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
47547 * string/memmove.c (memmove): Renamed to ...
47548 (MEMMOVE): ...this. Default to memmove.
47549 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47550 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47552 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47553 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47554 mempcpy-ssse3-back memmove-ssse3-back.
47555 * sysdeps/x86_64/multiarch/bcopy.S: New file .
47556 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47557 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47558 * sysdeps/x86_64/multiarch/memcpy.S: New file.
47559 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47560 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47561 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47562 * sysdeps/x86_64/multiarch/memmove.c: New file.
47563 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47564 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47565 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47566 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47567 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47568 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47570 (index_Fast_Copy_Backward): Define.
47571 (HAS_ARCH_FEATURE): Define.
47572 (HAS_FAST_REP_STRING): Define.
47573 (HAS_FAST_COPY_BACKWARD): Define.
47575 2010-06-21 Andreas Schwab <schwab@redhat.com>
47577 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47578 Restore proper fallback handling.
47580 2010-06-19 Ulrich Drepper <drepper@redhat.com>
47583 * posix/group_member.c (__group_member): Correct checking loop.
47585 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47586 OOM in getpwuid_r correctly. Return error number when the caller
47587 should return, otherwise -1.
47588 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47589 call returning > 0 value.
47590 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47592 2010-06-07 Andreas Schwab <schwab@redhat.com>
47594 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47595 libc_nonshared.a from targets in modules-names.
47597 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
47599 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47602 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
47604 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47605 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47606 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47607 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47609 2010-06-02 Andreas Schwab <schwab@redhat.com>
47611 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47613 2010-06-14 Ulrich Drepper <drepper@redhat.com>
47615 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47617 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47618 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47619 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47620 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47621 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47622 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47624 2010-06-14 Roland McGrath <roland@redhat.com>
47626 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47628 2010-06-07 Jakub Jelinek <jakub@redhat.com>
47630 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47631 __REDIRECT followed by __THROW.
47632 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47633 * posix/getopt.h (getopt): Likewise.
47635 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47637 * hurd/lookup-at.c (__file_name_lookup_at): Accept
47638 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
47639 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47641 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47642 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47644 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
47646 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47648 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
47651 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47652 Properly check family and model.
47654 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
47656 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47658 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
47660 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47662 2010-05-21 Ulrich Drepper <drepper@redhat.com>
47664 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47667 2010-05-19 Andreas Schwab <schwab@redhat.com>
47669 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47672 2010-05-21 Andreas Schwab <schwab@redhat.com>
47674 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47675 and internal_recvmmsg.
47676 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47677 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47678 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47679 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47681 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47682 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47683 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47685 2010-05-20 Andreas Schwab <schwab@redhat.com>
47687 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47689 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
47691 POWER7 optimizations.
47692 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47693 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47695 2010-05-19 Ulrich Drepper <drepper@redhat.com>
47697 * version.h: Update for 2.13 development version.
47699 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
47701 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47702 exceptions. Return 0.
47704 2010-05-07 Roland McGrath <roland@redhat.com>
47706 * elf/ldconfig.c (main): Add a const.
47708 2010-05-06 Ulrich Drepper <drepper@redhat.com>
47710 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47711 (args_options): Add no-idn option.
47712 (ahosts_keys_int): Add idn_flags to ai_flags.
47713 (parse_option): Handle 'i' option to clear idn_flags.
47715 * malloc/malloc.c (_int_free): Possible race in the most recently
47716 added check. Only act on the data if no current modification
47719 See ChangeLog.17 for earlier changes.